Hello,

I'm in the process of evaluating JBoss with a view to switching our resin setup 
to a jboss setup within the next few weeks.

I'm evaluating 4.0.4 RC2.

For the most part the move has gone well - I've been fixing a few problems that 
we had in our webapp and integrating it with Apache (mod_jk is lovely!), but 
I'm now at a part where I'm stuck; I'm hoping someone can assist me.

In our resin set-up, I have the following:
<webapp-default>
        <session-config>
                <session-max>12384</session-max>
                <session-timeout>240</session-timeout>
                <enable-cookies>true</enable-cookies>
                <enable-url-rewriting>true</enable-url-rewriting>
                <cookie-max-age>86400</cookie-max-age>
                <cookie-domain>.site.com</cookie-domain>
        </session-config>
</webapp-default>

This dictates that the resin cluster maintains state for a max of 12384 
sessions, the timeout is 240 minutes, it uses cookies with an expiry set to 24 
hours in advance and with a cookie domain of '.site.com'

Ideally we'd like to be able to replicate this as much as possible within JBoss 
(apart from the session-max, I don't mind if that defaults to much higher).

I've read that JBoss 4.0.4 supports the cookie domain setting, however I have 
the following in my jbossweb-tomcat55/server.xml:


Yet the cookie is still set without the domain name:
17:26:57,992 INFO  [[localhost]]           
Header=Set-Cookie=JSESSIONID=FjYt0NY79k0dTYsHdSyEYQ**.crack; Path=/

I also don't seem to be able to set a future expiry on the cookie (so it 
persists between browser sessions - this is vital to us).

Can anyone assist with these issues?  Everything else is working fine and 
things are very promising but I'm really stuck here (I've been searching google 
and reading the wiki etc for the last three days...)

Thanks in advance,
Jonathan.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935178#3935178

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935178


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to