Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with Session Id generation on JBoss AS 7.1.3

 
madhu raj
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic