Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Multiple Contexts, Single Project/App

843841Oct 28 2004 — edited Nov 10 2004
I need to run multiple web contexts but I only have only project/webapp. Typically you do stuff like this when you want to run two versions of the same web app where each are connecting to a different database. Or you might have one context for DEV and one context for QA. Whatever.

Anyway, I've done this many times in Tomcat. You simply open up the application.xml file and copy and paste the context info and change the context name and whatever parameters. Easy as pie.

However, I'm working with WebSphere 5 and they have a GUI interface to the application.xml file. So through the GUI I try to add another context. When I do that WebSphere asks me which project I want to associate it with, but I can't point to the same project because it gives an error stating that the project is already associated with a context.

Does anyone know how to do this in WebSphere 5?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2004
Added on Oct 28 2004
4 comments
648 views