[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: munger  XML
Profile for munger -> Messages posted by munger [1]
Author Message
Hello community,

We had some difficulties with our application on Wildfly 8 Final. Our application is using CaptainCasa and maybe our solution is helpfull for others too.
Our problem was that with Wildfly RC1 everything works fine. With Wildfly Final, we got a session expired exception with the first sent request (a click on our "login" button).

With help from Mr. Müller, we where able to locate the problem: CaptainCasa uses the jsessionid appended in the URL, no cookies are used. Wildfly Final is using cookies for its session handling as default. Therefore the CaptainCasa Client gets no jsessionid at all.

To change this behaviour, you must change your web.xml and set the tracking-mode to URL.
Here is an example of what works for us:
<session-config>
<session-timeout>30</session-timeout>
<tracking-mode>URL</tracking-mode>
</session-config>

Greetings
Markus
 
Profile for munger -> Messages posted by munger [1]
Go to:   
Powered by JForum 2.1.6 © JForum Team