Just seen this in one of the logs:
2002-02-19 14:50:49 StandardContext[/messagelets]: Servlet /messagelets
threw load() exception
javax.servlet.ServletException: Error instantiating servlet class
org.apache.commons.messagelet.ManagerServlet
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:894)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:809)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3272)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3393
)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:821)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:486)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
er.java:278)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:680)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:394)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:319)
at
org.apache.catalina.startup.HostConfig.run(HostConfig.java:688)
at java.lang.Thread.run(Thread.java:484)
----- Root Cause -----
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:885)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:809)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3272)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3393
)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:821)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:486)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
er.java:278)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:680)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:394)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:319)
at
org.apache.catalina.startup.HostConfig.run(HostConfig.java:688)
at java.lang.Thread.run(Thread.java:484)
the digester stuff is in tomcat_home\server\libs, by the way
surely, it doesnt have to be put in the WAR ?
thanks
-----Original Message-----
From: Paul Brown
Sent: Tuesday, February 19, 2002 2:39 PM
To: 'Tomcat Users List'
Subject: Newbie deployment problem
Hi
these are the steps i've done to deploy a servlet:
1. i've built my WAR (everythings in there, i checked)
2. shut down tomcat 4.0.1
3. deleted the dev tree webapps\messagelets and replaced it
with the messagelets.war
4. added a <context> to server.xml ...
<Context path="/simplepublisherexample" docBase="messagelets"
debug="0" reloadable="false"/>
5. started up tomcat
logging that my servlet does on init() is not seen
when i run Tomcat through JBuilder6 it all works and i see my
servlets init() logging
have i missed a step out?
should System.out logging in a servlet appear through the Tomcat
console (inside overloaded init() method)?
thanks
paul
This message contains confidential information and is intended only for the named
individual
and may not be disseminated without prior permission. If you are not the named
addressee,
you should not disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this message in error and delete this
e-message from your system. E-mail transmission cannot be guaranteed to be secure or
error-free as
information could be intercepted, corrupted, lost, destroyed, delayed in transmission,
incomplete, or may contain viruses. The sender therefore does not accept liability for
any
errors or omissions in the contents of this Message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version. This
message
is provided for informational purposes and should not be construed as a solicitation or
offer to buy or sell any software or services.
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>