Hello,

I am trying to run the struts-example.war from the 20010216 nightly build in
my tomcat 3.2.1

On initialization I can see it initializing properly (reading User from xml
file and all) and I can even bring the main page in the browser
http://localhost/struts-example

If I try to click the Register link in the example app: (which does
http://localhost/struts-example/editRegistration.do?action=Create)

I get a nice 500 error and a stack trace:

Error: 500
Location: /struts-example/editRegistration.do
Internal Servlet Error:

java.lang.ClassCastException: javax.servlet.ServletException
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:354)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78
6)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)


Any clue on what I could have configured wrong? my struts.jar is NOT in my
classpath
I have also added the "AddHandler jserv-servlet .do" to my tomcat.conf file

Thanks for your help,

Christian Billen

Reply via email to