-
1. Re: Issue with Session ID generation in JBoss EAP 6.0.1
jaikiran Aug 22, 2013 9:39 AM (in response to madhusudhanraju_26)How/Why does the session id value matter?
-
2. Re: Issue with Session ID generation in JBoss EAP 6.0.1
madhusudhanraju_26 Aug 22, 2013 10:30 AM (in response to jaikiran)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, is there any way to create session id in which is in older format?
By any chance clustering is leading to this, please suggest...
-
4. Re: Issue with Session ID generation in JBoss EAP 6.0.1
madhusudhanraju_26 Aug 24, 2013 8:51 AM (in response to ctomc)As per the above link, tried to add system property:
JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
but this didn't worked out, still +, - characters are still getting generated.
Is there any other option to suppress these special characters?
-
5. Re: Issue with Session ID generation in JBoss EAP 6.0.1
jaikiran Aug 28, 2013 11:28 PM (in response to madhusudhanraju_26)Post the relevant contents of the file which you changed and the command you use to start the server. Also, post the exact session id that gets generated after this change.
-
6. Re: Issue with Session ID generation in JBoss EAP 6.0.1
jaikiran Aug 28, 2013 11:29 PM (in response to jaikiran)Moved to JBossWeb forum
-
7. Re: Issue with Session ID generation in JBoss EAP 6.0.1
jfclere Aug 29, 2013 3:22 AM (in response to jaikiran)The answer is in https://community.jboss.org/thread/202387
you need 64 characters you need to add 2 to the list.
-
8. Re: Issue with Session ID generation in JBoss EAP 6.0.1
madhusudhanraju_26 Aug 29, 2013 10:41 AM (in response to jfclere)Am starting the server with the following option ( in standalone.xml)
<property name="-Dorg.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET" value="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567892"/>
Before the change session is : Batnv6OgdJf8ipauEMOmxTmr
After above change session id is : vq9gVdMY4gBmPLwrO+q4TSap
Somewhere i read, if <standalone/> tag is present in web.xml, it generates clustered session id, even after removing this tag there no differnce in the way session getting generated...
Is there any way to disable the clustering in JBoss EAP 6.0.1? My ultimate aim is to achive the Session id of the format, 32 character capital alphanumeric session id.
FYI. am running my app is standalone mode and using standalone.xml config file...
-
9. Re: Issue with Session ID generation in JBoss EAP 6.0.1
jfclere Aug 29, 2013 11:48 AM (in response to madhusudhanraju_26)1 of 1 people found this helpful<property name="-Dorg.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET" no
<property name="org.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET" !!!
-
10. Re: Issue with Session ID generation in JBoss EAP 6.0.1
madhusudhanraju_26 Aug 30, 2013 6:43 AM (in response to jfclere)
Thanks for your help....The above solution did worked... Am able to surpress special characters in the session id...JBoss EAP 5.1.2 generates a session id of 32 characters, JBoss EAP 6.0.1 is generating a 25 character session id, is there a way to make JBoss EAP 6.0.1 to generate 32 character session id, please let me know.
-
11. Re: Issue with Session ID generation in JBoss EAP 6.0.1
jfclere Aug 30, 2013 8:38 AM (in response to madhusudhanraju_26)in fact that is not possible you can add a JVMRoute(InstanceID) on the node to have an additional fixed value.