Dude, where's my JSESSIONID?

551 views
Skip to first unread message

MrBuzzy

unread,
Mar 28, 2010, 3:19:08 AM3/28/10
to ra...@googlegroups.com
Hi, I hope this is a simple Q&A...

Does Railo do something funky with the JSESSIONID cookie? (running on Tomcat)
I somewhat expected to see it if I dump the cookie scope, or in firebug, but it's not there.

Thanks.

gary gilbert

unread,
Mar 28, 2010, 5:41:49 AM3/28/10
to ra...@googlegroups.com

did you dump session.sessionid and its not there?

I just checked the cookies on my own site and I found a jsessionid

Gary Gilbert
http://www.garyrgilbert.com/blog


To unsubscribe from this group, send email to railo+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

MrBuzzy

unread,
Mar 28, 2010, 5:49:37 AM3/28/10
to ra...@googlegroups.com
I did.

Interesting, this could be related to the tomcat connector I was
experimenting with.

I will try tomcat direct later and post back.

Thanks.

--
Sent from my mobile device

MrBuzzy

unread,
Mar 29, 2010, 11:00:44 AM3/29/10
to ra...@googlegroups.com
Aha! The session type was set to 'CFML' in the Railo Server administrator.
I've now changed that to 'J2EE' and I'm getting the expected result.

Which means I can now do sticky sessions and load balancing using the Tomcat/IIS connector. Yay.

(Now to work out what's not able to be serialized for session replication...)

MrBuzzy

unread,
Mar 29, 2010, 11:20:50 AM3/29/10
to ra...@googlegroups.com
Going a bit OT now...

This error suggests Railo might be referencing org.apache.catalina.session.StandardSessionFacade (which is not serliazable).

SEVERE: Unable to serialize delta request for sessionid [BDEAF8C03161867E29024751C8D56BA1.jvmrailo]
java.io.NotSerializableException: org.apache.catalina.session.StandardSessionFacade
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)


This doens't quite make sense to me. Unless Railo is referencing that class, like this old post suggests;
http://www.mail-archive.com/tomca...@jakarta.apache.org/msg93256.html

I poked around inside Railo making classes implement Serializable but I just couldn't find the culprit. Can anyone suggest where else to look?

Oh, I also added (hacked) welcome file support into Railo mappings :)

Fun night. 2:15am. Yikes.
Reply all
Reply to author
Forward
0 new messages