tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oLi <oli_l...@yahoo.de>
Subject Re: New Tomcat User - Install Problems
Date Tue, 22 May 2001 12:46:24 GMT
Might be a typo in your Classpath, there's a slash
missing, and I guess that's why Tomcat can't find some
classes that come with the JDK.

> at\lib\xml.jar;c:\jdk1.3\lib;c:jdk1.3\lib\tools.jar
                               ^^^

hope that helps,
oLi 

--- "Sarkar, Indra" <SarkarI@bp.com> schrieb: > Hi,
> 
> i'm trying to run Tomcat 3.2.1 under Windows 2000
> professional.
> 
> i've installed it to c:\tomcat and set TOMCAT_HOME
> to this directory.
> 
> i've set JAVA_HOME to c:\jdk1.3
> 
> i use startup.bat to run tomcat ->
> 
> 	C:\tomcat\bin>startup
> 	Including all jars in c:\tomcat\lib in your
> CLASSPATH.
> 
> 	Using CLASSPATH:
>
c:\tomcat\classes;c:\tomcat\lib\ant.jar;c:\tomcat\lib\dt.jar;c:\tomcat\lib\j
>
asper.jar;c:\tomcat\lib\jaxp.jar;c:\tomcat\lib\parser.jar;c:\tomcat
>
\lib\servlet.jar;c:\tomcat\lib\tools.jar;c:\tomcat\lib\webserver.jar;c:\tomc
> at\lib\xml.jar;c:\jdk1.3\lib;c:jdk1.3\lib\tools.jar
> 
> 	Starting Tomcat in new window
> 	C:\tomcat\bin>
> 
> and the console shows:
> 
> 2001-05-22 12:39:15 - ContextManager: Adding context
> Ctx( /examples )
> Starting tomcat. Check logs/tomcat.log for error
> messages
> 2001-05-22 12:39:15 - ContextManager: Adding context
> Ctx( /admin )
> 2001-05-22 12:39:15 - ContextManager: Adding context
> Ctx(  )
> 2001-05-22 12:39:15 - ContextManager: Adding context
> Ctx( /test )
> 2001-05-22 12:39:15 - PoolTcpConnector: Starting
> HttpConnectionHandler on
> 8080
> 2001-05-22 12:39:15 - PoolTcpConnector: Starting
> Ajp12ConnectionHandler on
> 8007
> 
> 
> All the static html can be accessed fine. However,
> aside from the RequestXXX
> servlets that come with the install, nothing (JSPs
> or servlets) will
> execute. In my browser I get the error:
> 
> Error: 500
> Location: /examples/jsp/dates/date.jsp
> Internal Servlet Error:
> java.lang.NoSuchMethodError
> 	at
>
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:28
> 1)
> 	at
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
> 	at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
>
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
> 	at
>
org.apache.tomcat.core.Handler.service(Handler.java:311)
> 	at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> 	at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> 	at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:210)
> 	at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> 	at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> 
> and the console shows:
> 
> 2001-05-22 01:05:30 - Ctx( /examples ):
> JasperException: R( /examples +
> /jsp/dates/date.jsp + null)
> Cannot read file: \jsp\dates\date.jsp
> 2001-05-22 01:05:30 - Ctx( /examples ): Exception
> in: R( /examples +
> /jsp/dates/date.jsp + null) - j
> ava.lang.NoSuchMethodError
>         at
>
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:28
> 1)
>         at
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
>         at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
>
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
>         at
>
org.apache.tomcat.core.Handler.service(Handler.java:311)
>         at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>         at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>         at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHand
> ler.java:210)
>         at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>         at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>         at java.lang.Thread.run(Thread.java:484)
> 
> Can you suggest what I should do?
> 
> 
> Indra
> 
> 


__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

Mime
View raw message