Unable To Access The Same Applications Deployed On Different Servers Running On The Same Machine
Issue
- When starting two EAP servers on the same host, using port offset and deploying the same ear/war application on both instances which are not the part of a cluster, browsers are unable to maintain sessions with both Servers.
- When switching between instances, nothing works in the browser any more (menu, links, buttons).
- After refreshing the page, the user is redirected to the login page.
- After entering login credentials, the web app starts working, however, the situation is now reversed.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
- One host
- Two EAP servers
- The first instance can be accessed on the URL
http://localhost:8080/myapp - The second instance can be accessed on the URL
http://localhost:8180/myapp
- The first instance can be accessed on the URL
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.