Skip to main content

Glassfish 3.1.2 - BindingProvider.SESSION_MAINTAIN_PROPERTY - doesn´t work

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2012-05-17


i wrote a webservice client. This client uses sessions for authentication. In glassfish version 3.0.1 the session is managed by jax-ws if you set the BindingProvider.SESSION_MAINTAIN_PROPERTY - property on the port i.e:

((BindingProvider) port).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY, Boolean.TRUE);

Now in version 3.1.2 it doesn´t work anymore. jax-ws doesn´t add the session-properties like sessionId etc in the following requests. There is no CookieJar-property in the requestContext anymore. In Version 3.0.1 there was a CookieJar-property on every followging webservice-request.

I doesn´t change the sourcecode. It`s the same on glassfish 3.0.1 and 3.1.2. It`s an EJB-Project.

What ist the difference between glassfish 3.0.1 and 3.1.2. I have no idea.

If you need more informations please let me know.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-11-03

I would be interested in anyone's thoughts on this too. Does the SESSION_MAINTAIN_PROPERTY work correctly on Glassfish 3.1.2?