tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raj Mettai" <rmet...@broward.edu>
Subject tomcat4.1.2 - Servlet Error
Date Wed, 09 Oct 2002 23:01:07 GMT
Hi,

I am running tomcat4.1.2 on solaris8. Tomcat is serving jsp pages fine but when I access servlet
I am getting HTTP Status 404 and I found following exception in localhost_admin* log file.


2002-10-09 18:31:50 ContextConfig[/admin]: Configured an authenticator for method FORM
2002-10-09 18:31:50 StandardManager[/admin]: Seeding random number generator class java.security.SecureRandom
2002-10-09 18:31:50 StandardManager[/admin]: Seeding of random number generator has been completed
2002-10-09 18:31:50 StandardWrapper[/admin:default]: Loading container servlet default
2002-10-09 18:31:50 StandardWrapper[/admin:invoker]: Loading container servlet invoker
2002-10-09 18:31:50 StandardWrapper[/admin:action]: Marking servlet action as unavailable
2002-10-09 18:31:50 StandardContext[/admin]: Servlet /admin threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.webapp.admin.ApplicationServlet
or a class it depends on
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:880)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3341)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
        at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:529)
        at java.lang.reflect.Method.invoke(Native Method)
        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:579)
        at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:646)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1972)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
        at org.apache.commons.digester.Digester.parse(Digester.java:1514)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
        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:2189)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
----- Root Cause -----
java.lang.ClassNotFoundException: org.apache.webapp.admin.ApplicationServlet
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:874)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3341)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
        at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:529)
        at java.lang.reflect.Method.invoke(Native Method)
        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:579)
        at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:646)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1972)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
        at org.apache.commons.digester.Digester.parse(Digester.java:1514)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
        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:2189)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


The application use to work fine on tomcat4.0.4

(all my servlets are under WEB-INF/classes only)

any thoughts ????

thanks
Raj

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message