Hi,

I  have recently started working on Tomcat. 
I am currently  using the  following environment.

OS                      -Win32
Web server                   - Apache Web Server.
Adapter         - mod_jk.dll   (  I have copied it in the Apache's module
directory and have updated  its httpd.conf )
Tomcat                  -jakarta-tomcat-3.2-b8


I have set the  environment  variable as follows :-

TOMCAT_HOME     C:\JAKARTA-TOMCAT-3.2-B8
JAVA_HOME C:\JDK1.3

I  am  able to run  Tomcat as  well as  Apache Web Server i.e., 



After Starting Tomcat :-   



2000-11-29 06:47:20 - ContextManager: Adding context Ctx( /examples )
2000-11-29 06:47:20 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2000-11-29 06:47:20 - ContextManager: Adding context Ctx(  )
2000-11-29 06:47:20 - ContextManager: Adding context Ctx( /test )
2000-11-29 06:47:21 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2000-11-29 06:47:21 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007


After starting Apache:-

Apache/1.3.14 (Win32) mod_jk running...

 Now   to check  that I am able to execute some  of the example JSP
programs, I do the  following

http://localhost:8080/examples/jsp/num/numguess.jsp
<http://localhost:8080/examples/jsp/num/numguess.jsp> 

following exception is  thrown;-

Error: 500
Location: /jsp/num/numguess.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.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
        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)

Please  tell  me where  am  I wrong and I will really appreciate it.


Thanks  in advance,
Rajeev




Reply via email to