different application context

asked 2014-05-12 14:53:38 +0800

inci02 gravatar image inci02


I’m trying to server my application on a context path that is different than the one it has been configured. But it doesn’t work. Can anybody help here?

<virtualhost *=""> ServerName localhost ProxyRequests Off ProxyPreserveHost On

<Proxy *>
    Order deny,allow
    Allow from all

ProxyPass /context1  http://servername:8088/context1_1/
ProxyPassReverse /context1  http://servername:8088/context1_1/

ProxyPass /context2 http://servername:8880/ context2_1
ProxyPassReverse /context2 http://servername:8880/context2_1

<Location />
    Order allow,deny
    Allow from all


JBOSS version: 7.1.1

Apache version: 2.4.9

delete flag offensive retag edit

2 Answers

Sort by » oldest newest most voted

answered 2014-05-12 21:19:18 +0800

nmpallas gravatar image nmpallas
115 4

You are asking wrong question in wrong Fora...try at jboss fora?

link publish delete flag offensive edit

answered 2014-05-14 09:17:24 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi You can not deploy 2 web application in the same domain, even use different port, browser store session cookie for each different domain, when you access domain:8080 then access domain:8081, session cookie of domain:8080 will be replace another new cookie value for domain:8081, then you cannot find the session of domain:8080 with new cookie value, there is the same issue when you deploy 2 JSP application in the same domain.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-05-12 14:53:38 +0800

Seen: 22 times

Last updated: May 14 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More