java - WebSphere, the same context root for multiple war's -
i have task deploy 2 war files on websphere using scripting tool, problem 2 wars should have same context root's:
/app/web/start
and
/app/web/report
the context root these wars "/app"
but websphere default throws error context root exists, maybe can suggest ways solve it?
thanks
/app/web/start
, /app/web/report
not same context roots.
you can define composite context roots in application.xml
:
<context-root>/app/web/start</context-root>
or use apache frontend, proxypass:
proxypass /app/web/start/ http://localhost:9080/app1/web/start/ proxypass /app/web/report/ http://localhost:9080/app2/web/report/
Comments
Post a Comment