Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Fwd: Specify location of server.xml as a start up argument

Anto Paul

2007-03-06

Replies:

Hi dev team,

  Any comments on this ?. It will be nice to run a different application
by flipping server.xml.

---------- Forwarded message ----------
From: Anto Paul <antopaul.list@(protected)>
Date: Feb 13, 2007 1:04 PM
Subject: Specify location of server.xml as a start up argument
To: users@(protected)

Hi,
I run Tomcat from inside Eclipse. I pass the start up parameters to boot
strap class. I want to specify server.xml as an argument so I could switch
between run configuration to run different applications rather than edit
server.xml context element or have 2 tomcat installations. Is it possible ?.
I know about using different catalina.base and I am looking for a simpler
config.


Regards,
Anto Paul
©2008 junlu.com - Jax Systems, LLC, U.S.A.