tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hume, John - NA US HQ Delray" <john.h...@cruisesonly.com>
Subject RE: NoClassDefFoundError : Digester
Date Mon, 05 Jan 2004 22:13:38 GMT
No webapps can see any JARs in server/lib.  I'm not familiar with Balancer,
but I would guess Digester will need to move to common/lib.

-john.


-----Original Message-----
From: 29djeo [mailto:29djeo@michaelstarkie.com]
Sent: Monday, January 05, 2004 4:29 PM
To: tomcat-user@jakarta.apache.org
Subject: NoClassDefFoundError : Digester


I set up Tomcat successfully but when I added the following to my server.xml
file I get NoClassDefFoundError from tomcat:

      <Host name="www.mydomain1.com" debug="0"
         appBase="webapps" 
         unpackWARs="true" autoDeploy="true">

	<Context path="" docBase="mydomain1" debug="1"/>

		<Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="mydomain1_access_log."
suffix=".txt"
                 pattern="common" resolveHosts="false"/>
	</Host>


from the catalina_log file (note I do have commons-digester.jar in the
server/lib directory):

2004-01-05 16:19:52 StandardContext[/balancer]Exception starting filter
BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
	at
org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:107)
	at
org.apache.webapp.balancer.RulesParser.<init>(RulesParser.java:85)
	at
org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:121)
	at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:272)
	at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:355)
	at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:126)
	at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36
46)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
66)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:316)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:859)
	at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:723
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:393)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
	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.start(Bootstrap.java:297)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)


---------------------------------------------------------------------
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