File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Issue with Session Id generation on JBoss AS 7.1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Issue with Session Id generation on JBoss AS 7.1.3" Watch "Issue with Session Id generation on JBoss AS 7.1.3" New topic
Author

Issue with Session Id generation on JBoss AS 7.1.3

madhu raj
Greenhorn

Joined: Jun 27, 2013
Posts: 2
When we migrated from JBoss EAP 5.1.2 to version 6.0.1, the session id that is being created by my java code looks different.

With v5.1.2 session id looks like this : "1D5C800599BA12AD8A10FC54100E7F60"

With v6.0.1 session id looks like this: "u5tvf1Zd5A5F0-4 uwH6VdE7"

The earlier formatted SessionId is sent to another dependent application where it is parsed. Now interacting application sometimes able to parse and sometimes unable to parse the session id in new format.

I'm running app in standalone mode using standalone.xml, is there any way to create session id in which is in older format?

i tried adding -Dorg.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789, but this didn't solved the issue.

How can i suppress +, -special characters?

By any chance clustering is leading to this, please suggest...
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Madhu, welcome to JavaRanch.

It appears that your other thread in the jboss.org community forum has received some response for the same question https://community.jboss.org/thread/231751. Might be better to continue it there.

[My Blog] [JavaRanch Journal]
 
Don't get me started about those stupid light bulbs.
 
subject: Issue with Session Id generation on JBoss AS 7.1.3
 
Similar Threads
Getting parameter from the session throws IllegalStateException,after refresh it's OK
How to prevent user from login in more than one session at the same time?
CMP Entity Bean on JBoss server
Is it possible to create JSESSIOINID per context (web application) in websphere(Single Domain)?
how jboss generates the session id