problem with servlets and tomcat
Hi, I am getting the HTTP 404 message - but my settings have been done - atleast, seems so to me. I access my servlet using http://local:8080/servlet/SimpleServlet and my class file is in webapps/ROOT/WEB-INF/classes. I am trying to set up Tomcat with Servlets before I can migrate my actual application to it. My Web.xml is ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet servlet-nameSimpleServlet/servlet-name servlet-classSimpleServlet/servlet-class /servlet servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping servlet-mapping servlet-nameSimpleServlet/servlet-name url-pattern/SimpleServlet/url-pattern /servlet-mapping /web-app My Server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ Service name=Catalina Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 disableUploadTimeout=true / Engine name=Catalina defaultHost=localhost debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.UserDatabaseRealm debug=0 resourceName=UserDatabase/ Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ /Host /Engine /Service /Server DefaultContext reloadable=true / P.S - I am following settings from http://javaboutique.internet.com/tutorials/Tomcat/configure.html#Servlet-Reloading Any help would be greatly appreciated. Thanks a lot, Sowmya. = The faster you go, the shorter you are. - Einstein __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The mystery of the vanishing window - solved
Hi all, I solved the problem. There was a ; in my JAVA_HOME variable !! No idea how that managed to get there..but thanks for your help everyone. I redirected the startup.bat file messages to another file like Oswald mentioned - which had the message about JAVA_HOME being not defined. So thanks a million Oswald!! Sowmya. __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help with running Tomcat
hi, I'm working on the tomcat server and i have it installed on my laptop running Windows XP. It was working fine , but suddenly since a couple of days, whenever I try to startup using the bat file, the command prompt window just disappears - and the server does not start. There is no change that I have made, either to the classpath or the path of the directory structure. It seems rather mysterious to me. I reinstalled the whole thing - but the problem still remains. Any help would be greatly appreciated. Thanks in advance, Sowmya. __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]