accessing servlet 404 error
I'm just starting my first webapp with Tomcat and have placed the files classes into /tomcat_home/simple: Simple.html, index.class, index.jsp, index.java, Simple.java classes WEB-INF I added the following to Server.xml: Context path=/simple docBase=simple debug=9 reloadable=true / When I try to access: http://servername/simple I get: Ctx(/simple) : Status code:404 request:R( /simple + / + nu ll) msg:null I'm using: Apache 1.3.9 JSDK2.0 mod_jk Tomcat 3.3.1 Any help is greatly appreciated. Julie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: accessing servlet 404 error
just a couple of basics, do the tomcat examples work ? http://servername Are you accessing the correct port ? (8080 by default) http://servername:8080/ Cheers, Julie Jordan jjordan@centonliTo: [EMAIL PROTECTED] ne.com cc: Subject: accessing servlet 404 error 16/12/2002 15:23 Please respond to Tomcat Users List I'm just starting my first webapp with Tomcat and have placed the files classes into /tomcat_home/simple: Simple.html, index.class, index.jsp, index.java, Simple.java classes WEB-INF I added the following to Server.xml: Context path=/simple docBase=simple debug=9 reloadable=true / When I try to access: http://servername/simple I get: Ctx(/simple) : Status code:404 request:R( /simple + / + nu ll) msg:null I'm using: Apache 1.3.9 JSDK2.0 mod_jk Tomcat 3.3.1 Any help is greatly appreciated. Julie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: accessing servlet 404 error
Hi, You must place your files into $TOMCAT_HOME/webapps/simple, and access to http://servername:8080/simple if your server is configured to work on this port (see $TOMCAT_HOME/conf/server.xml, section Service name=Tomcat-Standalone Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false -Message d'origine- De : Julie Jordan [mailto:[EMAIL PROTECTED]] Envoyé : lundi, 16. décembre 2002 16:23 À : [EMAIL PROTECTED] Objet : accessing servlet 404 error I'm just starting my first webapp with Tomcat and have placed the files classes into /tomcat_home/simple: Simple.html, index.class, index.jsp, index.java, Simple.java classes WEB-INF I added the following to Server.xml: Context path=/simple docBase=simple debug=9 reloadable=true / When I try to access: http://servername/simple I get: Ctx(/simple) : Status code:404 request:R( /simple + / + nu ll) msg:null I'm using: Apache 1.3.9 JSDK2.0 mod_jk Tomcat 3.3.1 Any help is greatly appreciated. Julie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: accessing servlet 404 error
Tomcat examples aren't executing. I'll try a reinstall of tomcat. Thanks! - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 16, 2002 10:38 AM Subject: Re: accessing servlet 404 error just a couple of basics, do the tomcat examples work ? http://servername Are you accessing the correct port ? (8080 by default) http://servername:8080/ Cheers, Julie Jordan jjordan@centonliTo: [EMAIL PROTECTED] ne.com cc: Subject: accessing servlet 404 error 16/12/2002 15:23 Please respond to Tomcat Users List I'm just starting my first webapp with Tomcat and have placed the files classes into /tomcat_home/simple: Simple.html, index.class, index.jsp, index.java, Simple.java classes WEB-INF I added the following to Server.xml: Context path=/simple docBase=simple debug=9 reloadable=true / When I try to access: http://servername/simple I get: Ctx(/simple) : Status code:404 request:R( /simple + / + nu ll) msg:null I'm using: Apache 1.3.9 JSDK2.0 mod_jk Tomcat 3.3.1 Any help is greatly appreciated. Julie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]