tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanasaki JiJi <hanas...@hanaden.com>
Subject relocating conf/server.xml
Date Mon, 02 Dec 2002 02:07:42 GMT
I would like to have the following structure.  This way tomcat 
installations can be replaced and the environment variable will make the 
installation use the config from standalone directory.  Deleting the 
tomcat install wont delete the configs :)

/usr/local/tomcat4.1.12

/usr/data/tomcat/conf   <= the conf used by startup
/usr/data/tomcat/webapps

I tried seting CATALINA_BASE=/usr/data/tomcat  and this seems to work on 
one system fine.. on another there are the following errors in the log 
files.
======================
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
Dec 1, 2002 7:52:06 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at 
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
         at 
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
         at 
org.apache.commons.digester.Digester.endElement(Digester.java:1036)
         at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:57
9)





-- 
=================================================================
= Management is doing things right; leadership is doing the     =
=       right things.    - Peter Drucker                        =
=_______________________________________________________________=
=     http://www.sun.com/service/sunps/jdc/javacenter.pdf       =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=================================================================


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message