I have used Jboss for a long time, but recently we've removed our dependenc=
ies on a full blown J2EE container so that we can run in Tomcat. I am tryi=
ng to modify my development environment to support our standard workflow, b=
ut I can't figure out how to get Tomcat to run a specific application as op=
posed to every application under the webapps directory. I've done a lot of=
searching, I'm beginning to think that Tomcat does not support this type o=
f operation, but I wanted to verify that before I rethink our process.
So IF Tomcat worked just like Jboss then this is how it WOULD work. I have=
two versions of my application, compiled and ready to run. They are in th=
e following directories:
C:\apache-tomcat-6\webapps\MyApp_V1
C:\apache-tomcat-6\webapps\MyApp_V2
When I want to start up MyApp_V1, I would pass that name into the startup.b=
at or catalina.bat. In my Jboss deployments I simply start Jboss using 'ru=
n -c MyApp_V1'. Our application's start up time is not insignificant, so s=
tarting both apps is a very bad thing, especially since I'll probably have =
more than two versions. Obviously, I could copy MyApp_Vx in and out of the=
webapps directory as needed, but this type of operation can confuse my IDE=
, so I'd like to avoid it.
I am running on Windows XP and the tomcat version is 6.0.29.
Thanks in advance for the assistance.
|