Update Problem / accessing servlet
Hi, after update from tomcat 4.1.10 to 4.1.18 I have the proplem that I can not access my servlets anymore (Error 404). The path to the servlet is http://www.myhost.com/test/servlet/myservlet.out in the tomcat directory the servlet is located under /tomcat/webapps/test/WEB-INF/classes/myservlet Where do I have to define the test - directory that the url can be found again and why did it work with tomcat 4.1.10 ? Thanks for your help Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Update Problem / accessing servlet
Hi, That migth be because the /servlet/* mapping to the InvokerServlet is remarked in tomcat/conf/web.xml Remove the remark tags, and try again. Hope it helps -reynir -Original Message- From: Christoph Fischer [mailto:[EMAIL PROTECTED] Sent: 12. mars 2003 11:08 To: Tomcat Users List Subject: Update Problem / accessing servlet Hi, after update from tomcat 4.1.10 to 4.1.18 I have the proplem that I can not access my servlets anymore (Error 404). The path to the servlet is http://www.myhost.com/test/servlet/myservlet.out in the tomcat directory the servlet is located under /tomcat/webapps/test/WEB-INF/classes/myservlet Where do I have to define the test - directory that the url can be found again and why did it work with tomcat 4.1.10 ? Thanks for your help Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Update Problem / accessing servlet
Hi, thanks, that got me a little forward but now I get Error 500: javax.servlet.ServletException: Cannot allocate servlet instance for path /test/servlet/myservlet.out at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:435) . any idea ? Chris Reynir Hübner wrote: Hi, That migth be because the /servlet/* mapping to the InvokerServlet is remarked in tomcat/conf/web.xml Remove the remark tags, and try again. Hope it helps -reynir -Original Message- From: Christoph Fischer [mailto:[EMAIL PROTECTED] Sent: 12. mars 2003 11:08 To: Tomcat Users List Subject: Update Problem / accessing servlet Hi, after update from tomcat 4.1.10 to 4.1.18 I have the proplem that I can not access my servlets anymore (Error 404). The path to the servlet is http://www.myhost.com/test/servlet/myservlet.out in the tomcat directory the servlet is located under /tomcat/webapps/test/WEB-INF/classes/myservlet Where do I have to define the test - directory that the url can be found again and why did it work with tomcat 4.1.10 ? Thanks for your help Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Update Problem / accessing servlet - solved
the problem exists only in the 'light edition' of tomcat, must be some function in the servlet Hi, thanks, that got me a little forward but now I get Error 500: javax.servlet.ServletException: Cannot allocate servlet instance for path /test/servlet/myservlet.out at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:435) . any idea ? Chris Reynir Hübner wrote: Hi, That migth be because the /servlet/* mapping to the InvokerServlet is remarked in tomcat/conf/web.xml Remove the remark tags, and try again. Hope it helps -reynir -Original Message- From: Christoph Fischer [mailto:[EMAIL PROTECTED] Sent: 12. mars 2003 11:08 To: Tomcat Users List Subject: Update Problem / accessing servlet Hi, after update from tomcat 4.1.10 to 4.1.18 I have the proplem that I can not access my servlets anymore (Error 404). The path to the servlet is http://www.myhost.com/test/servlet/myservlet.out in the tomcat directory the servlet is located under /tomcat/webapps/test/WEB-INF/classes/myservlet Where do I have to define the test - directory that the url can be found again and why did it work with tomcat 4.1.10 ? Thanks for your help Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]