I helped setup TC-4.1.24/Apache-2.0.45/mod-jk2-2.0.2 on RH8. When I was last associated with it, it seemed to work fine with some simple servlets. Some "modifications" were made ( no one seems to know exactly what ) and now when requesting a servlet, it grinds awhile and returns "Document contains no data"
I tried accessing that TC on port 8080 ( I had left it listening ) and I receive the same error.
I installed a new copy of TC-4.1.24, changed CATALINA_HOME to the new install and receive the same "Document contains.." when trying to access localhost:8080 or localhost:8080/examples, .....
Since it does it with the clean install, I figure it is something other than the TC.
The only exception in the logs is in localhost_admin_log and the salient portion is below. The other logs indicate nothing wrong and catalina.out ends with


Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
May 31, 2003 7:27:30 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
May 31, 2003 7:27:30 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
May 31, 2003 7:27:30 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=14/242 config=/usr/local/tomcat4/conf/jk2.properties



I checked the CLASSPATH to ensure that it was getting to the correct servlet.jar


I only have access to the machine via telnet when I am on campus, so it is a little hard to do too much exploring.

Any help as to where to start looking when I go back will be greatly appreciated.

Gordon

From localhost_admin_log:

2003-05-31 19:27:25 org.apache.webapp.admin.ApplicationServlet: init
2003-05-31 19:27:27 StandardContext[/admin]: Servlet /admin threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet action threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:963)


at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)


at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)


at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
----- Root Cause -----
java.lang.NoSuchMethodError: javax.servlet.ServletConfig.getServletName()Ljava/lang/String;
at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1408)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
at org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet.java:152)


at javax.servlet.GenericServlet.init(GenericServlet.java:266)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

2003-05-31 19:27:27 StandardWrapper[/admin:invoker]: Loading container servlet invoker
2003-05-31 19:27:27 org.apache.catalina.servlets.InvokerServlet: init
2003-05-31 19:27:27 org.apache.jasper.servlet.JspServlet: init





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to