tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob <rob_m...@softhome.net>
Subject Re: Exceptions when starting tomcat 3.2.4
Date Thu, 12 Sep 2002 06:39:43 GMT


salim wrote:
> ur servlet.jar and webserver.jar should be in classpath or lib directory of
> tomcat

It is

 >>>Using classpath:
 >>>
 >>
 > 
/usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/
 >
 > 
webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr
 >
 >>/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/

> ----------
> Salim
> ----- Original Message -----
> From: "Bill Barker" <res0ob23@verizon.net>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Thursday, September 12, 2002 11:51 AM
> Subject: Re: Exceptions when starting tomcat 3.2.4
> 
> 
> 
>>"rob" <rob_mail@softhome.net> wrote in message
>>news:3D7EFD9B.2090601@softhome.net...
>>
>>>I've recently started using tomcat 3.2.4 and am receiving
>>>ClassNotFoundException(s) when starting the servlet container.
>>>
>>>I suspect it's due to a bad classpath but I'm not really
>>>certain what jar file the classes would/should be in.
>>>
>>>I've attached output from starting the server perhaps someone
>>>would be kind enough to tell me how to solve the problem.  All
>>>of the .jar files listed in the classpath exist.  Other than that
>>>there isn't much I can say.
>>>
>>>Any suggestions?
>>
>>Dump 3.2.x and upgrade to at least 3.3.1? ;-)
>>
>>
>>>Thanks
>>>
>>>Rob
>>>
>>>Starting tomcat.
>>>Guessing TOMCAT_HOME from tomcat.sh to /usr/pkg/tomcat/bin/..
>>>Setting TOMCAT_HOME to /usr/pkg/tomcat/bin/..
>>>Using classpath:
>>>
>>
> /usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/
> 
> webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr
> 
>>/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/
>>
>>>java/ant.jar
>>>2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /examples )
>>>Starting tomcat. Check logs/tomcat.log for error messages
>>>2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /admin )
>>>2002-09-11 18:17:32 - ContextManager: Adding context Ctx(  )
>>>2002-09-11 18:17:32 - ContextManager: Adding context Ctx( /test )
>>>2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
>>
>>/struts-example )
>>
>>>2002-09-11 18:17:32 - ContextManager: Adding context Ctx(
>>>/struts-documentation )
>>>java.lang.ClassNotFoundException:
>>>org.apache.tomcat.loader.AdaptiveClassLoader12
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
>>>Source)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>
> org.apache.jasper.servlet.JasperLoader12
> 
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
>>>         at org.apache.tomcat.core.Handler.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>>org.apache.tomcat.loader.AdaptiveClassLoader12
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
>>>Source)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>
> org.apache.jasper.servlet.JasperLoader12
> 
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
>>>         at org.apache.tomcat.core.Handler.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>>org.apache.tomcat.loader.AdaptiveClassLoader12
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
>>>Source)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>
> org.apache.jasper.servlet.JasperLoader12
> 
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
>>>         at org.apache.tomcat.core.Handler.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>>org.apache.tomcat.loader.AdaptiveClassLoader12
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
>>>Source)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>
> org.apache.jasper.servlet.JasperLoader12
> 
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
>>>         at org.apache.tomcat.core.Handler.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>>org.apache.tomcat.loader.AdaptiveClassLoader12
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.getClassLoader(Unknown
>>>Source)
>>>         at
>>>org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>java.lang.ClassNotFoundException:
>>
> org.apache.jasper.servlet.JasperLoader12
> 
>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>>>         at
>>
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> 
>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>>>         at
>>
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> 
>>>         at java.lang.Class.forName0(Native Method)
>>>         at java.lang.Class.forName(Class.java:120)
>>>         at org.apache.jasper.servlet.JspServlet.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.doInit(Unknown Source)
>>>         at org.apache.tomcat.core.Handler.init(Unknown Source)
>>>         at org.apache.tomcat.core.ServletWrapper.init(Unknown Source)
>>>         at
>>>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.initContext(Unknown
>>>Source)
>>>         at org.apache.tomcat.core.ContextManager.init(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
>>>         at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
>>>2002-09-11 18:17:45 - PoolTcpConnector: Starting HttpConnectionHandler
>>>on 8080
>>>2002-09-11 18:17:45 - PoolTcpConnector: Starting Ajp12ConnectionHandler
>>>on 8007
>>
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:
> 
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> 
>>For additional commands, e-mail:
> 
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 



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


Mime
View raw message