Forum Discussion
Rewrite and Jboss with Jsessionid
Just to be clear, what are you trying to accomplish? Do you just want to load balance 2 JBoss nodes? What is not working, persistence or base functionality?
Depending on your TMOS version, a lot of the proxypass functionality is built in, and you do not need to implement an iRule to handle the rewrites.
As for the JSessionID, have you validated through the logs to ensure that it exists in the format you are looking for (for example, proper domain, proper value)?
You should see a log entry on the first response when they JSESSIONID cookie is created: log local0. "127.0.0.1:0: Added persistence record from cookie: [persist lookup uie [string tolower [HTTP::cookie "JSESSIONID"]]]"
I have had customers that the JSESSIONID cookie wasnt generated, but was dropped into the URI, so using the cookie wasnt an option. We were able to shorten things down and extract from the URI to set persistence.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com