Howdy, Look at the tomcat logs: what errors are in there? Yoav Shapira Millennium ChemInformatics
>-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, June 23, 2003 11:20 AM >To: [EMAIL PROTECTED] >Subject: Need help on deploying application > >I have installed Tomcat on my workstation and I'm able to access the >applications supplied with the distribution. I have two Tomcat books and >I'm trying to deploy an application from one of them as a tool to learn >Tomcat basics. I am unable to get to the application. Below is what I >believe to be the essential facts of my situation. I would appreciate >someone looking over this and telling me where I've gone wrong or offering >suggestions on other debugging techniques. Thanks. > >Here is the information from the Tomcat Manager page: >Tomcat version: Apache Tomcat/4.1.24 >JVM version: >1.4.1_02-b06 >JVM supplier: >Sun Microsystems Inc. >OS: >Windows XP >OS version: >5.1 >Processor architecture: >x86 > >My CATALINA_HOME environment variable points to: >D:\Program Files\Apache Group\Tomcat 4.1 > >My application is at this path location: >D:\Program Files\Apache Group\Tomcat 4.1\webapps\apress > >I have the files "login.jsp" and "welcome.jsp" in this directory. > >I have this web.xml file in apress\WEB-INF: ><?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/j2ee/dtds/web-app_2_3.dtd'> > ><web-app> > > <servlet> > <servlet-name>login</servlet-name> > <servlet-class>chapter2.login</servlet-class> > </servlet> > > <taglib> > <taglib-uri>/apress</taglib-uri> > <taglib-location>/WEB-INF/lib/taglib.tld</taglib-location> > </taglib> > ></web-app> > >I have this context element in my server.xml file: ><Context path="/apress" docBase="apress" debug="0" reloadable="true" /> > >When I point my browser at "http://localhost:8080/apress/login.jsp", I get >this error message: >"The requested resource (/apress/login.jsp) is not available." > >When I use the Tomcat Manager application to start the "/apress" >application, I get this error message: >"FAIL - Application at context path /apress could not be started" > >Can anyone point out where I've gone wrong? Thanks. > >-- >Charles Knell >[EMAIL PROTECTED] - email > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
