Apache Server configuration support - tomcat RuntimeException error when starting server

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2007 > tomcat RuntimeException error when starting server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author tomcat RuntimeException error when starting server
SteveL

2007-01-08, 7:26 am

Hi,

I'm a newbie at this, so if more info is need I can supply ( hopefully
! ) but am getting the following error on starting a tomcat server :

Jan 4, 2007 3:24:20 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jan 4, 2007 3:24:20 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jan 4, 2007 3:24:21 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
java.lang.RuntimeException: Unable to create path to config file
:/common/service/tomcat/soft/pkgs/product/indv/4.1.24_JSSE/conf/jk/workers.properties
at
org.apache.ajp.tomcat4.config.BaseJkConfig.getConfigFile(BaseJkConfig.java:428)
at
org.apache.ajp.tomcat4.config.ApacheConfig.initProperties(ApacheConfig.java:263)
at
org.apache.ajp.tomcat4.config.BaseJkConfig.execute(BaseJkConfig.java:162)
at
org.apache.ajp.tomcat4.config.BaseJkConfig.lifecycleEvent(BaseJkConfig.java:153)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

The start command being issued is :

/rte/java/soft/pkgs/product/j2sdk1.4.2_09_JSSE/bin/java
-Djava.endorsed.dirs=/common/service/tomcat/soft/pkgs/product/indv/4.1.24_JSSE/common/endorsed
-classpath
/rte/java/soft/pkgs/product/j2sdk1.4.2_09_JSSE/lib/tools.jar:/common/service/tomcat/soft/pkgs/product/indv/4.1.24_JSSE/bin/bootstrap.jar
-Dcatalina.base=/app/summit/data/sysdata/tomcat/lonx0007
-Dcatalina.home=/common/service/tomcat/soft/pkgs/product/indv/4.1.24_JSSE
-Djava.io.tmpdir=/app/summit/data/sysdata/tomcat/lonx0007/temp
org.apache.catalina.startup.Bootstrap start

.... so I'm forcing tomcat to look in catalina.base for the config
files.

What I'm puzzeled with it that the worker.properties file is stored
under $CATALINA_BASE/conf/jk
but the server is looking in $CATALINA_HOME for this config file.
My understanding was that if $CATALINA_BASE is set, tomcat looks there
for config files.
Can worker.properties be located in $CATALINA_BASE?

The server.xml has been changed to include the following : ( supplied
by a developer )

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="/local/syste
m/soft/apache/pkgs/product/v2.0.53/modules/mod_jk.so"
workersConfig="/app/summit/data/
sysdata/tomcat/lonx0007/conf/jk/workers.properties"/>


.... so I would have thought that the server would look in -

/app/summit/data/sysdata/tomcat/lonx0007/conf/jk

.... which is what $CATALINA_BASE is set to.

Any suggestions on this would be greatly appreciated....
Thanks
Steve

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com