Multiple Contexts, Single Project/App
843841Oct 28 2004 — edited Nov 10 2004I 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?