tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Krause" <JKra...@multivisioninc.com>
Subject Removing Balancer Webapp?
Date Tue, 03 Aug 2004 00:42:40 GMT
How do you remove the balancer webapp. I don't want to deploy my web app
into the webapps directory - I want to use my own path. But everytime I
change the path of the appBase, I get startup errors. Here's my
server.xml file:
 
<Server port="8005" shutdown="SHUTDOWN">
 
  <Service name="Catalina">
    <Connector port="8080" />
 
    <!-- This is here for compatibility only, not required -->
    <Connector port="8009" protocol="AJP/1.3" />
 
    <Engine name="Catalina" defaultHost="localhost">
      <Logger className="org.apache.catalina.logger.FileLogger" />
 
      <Host name="localhost" appBase="webapps" />
    </Engine>
  </Service>
</Server>
 
This is very simple and clean and use to work in Tomcat 4.
 
Heres the startup messages:
 
Starting Tomcat
Using CATALINA_BASE:   /usr/local/tomcat5
Using CATALINA_HOME:   /usr/local/tomcat5
Using CATALINA_TMPDIR: /usr/local/tomcat5/temp
Using JAVA_HOME:       /usr/local/java
Aug 2, 2004 5:36:40 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 2, 2004 5:36:40 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 769 ms
Aug 2, 2004 5:36:40 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 2, 2004 5:36:40 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.27
Aug 2, 2004 5:36:40 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 2, 2004 5:36:40 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx ) 
Aug 2, 2004 5:36:40 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/tomcat/jakarta-tomcat-5.0.27/conf/Catalina/localhost/admin.xml
Aug 2, 2004 5:36:41 PM org.apache.catalina.realm.JAASRealm setContainer
INFO: Setting JAAS app name Catalina
Aug 2, 2004 5:36:41 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Aug 2, 2004 5:36:41 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Aug 2, 2004 5:36:41 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Aug 2, 2004 5:36:43 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/tomcat/jakarta-tomcat-5.0.27/conf/Catalina/localhost/balancer.
xml
Aug 2, 2004 5:36:43 PM org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /dvr/web/balancer does
not exist or is not a readable directory
        at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.jav
a:138)
        at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.
java:3910)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4138
)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeplo
yer.java:903)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
        at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
        at org.apache.commons.digester.Rule.end(Rule.java:276)
        at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
        at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.ja
va:76)
        at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
er.java:488)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Aug 2, 2004 5:36:43 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Aug 2, 2004 5:36:43 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Aug 2, 2004 5:36:43 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Aug 2, 2004 5:36:43 PM org.apache.catalina.core.StandardContext start
SEVERE: Exception during cleanup after start failed
LifecycleException:  Container StandardContext[/balancer] has not been
started
        at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4466)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4371
)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeplo
yer.java:903)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
        at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
        at org.apache.commons.digester.Rule.end(Rule.java:276)
        at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
        at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.ja
va:76)
        at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
er.java:488)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Aug 2, 2004 5:36:43 PM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/tomcat/jakarta-tomcat-5.0.27/conf/Catalina/localhost/manager.x
ml
Aug 2, 2004 5:36:43 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 2, 2004 5:36:43 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Aug 2, 2004 5:36:43 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/27
config=/usr/local/tomcat5/conf/jk2.properties
Aug 2, 2004 5:36:43 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2919 ms

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


Mime
View raw message