  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | jsp deployment | jsp deployment 2004-02-13 - By BAO RuiXian
Back
Jerry Ford wrote:
> Sorry, that's a cut-and-paste error that does not appear in the real > server.xml. Only one </context> end tag; the root context is closed > before the EBook context begins: <context... />
The configuration seems okay then. BTW, can you run http://localhost:8080/manager/list to see what apps you have installed? If you can not find 'EBook', then you need to install it by running http://localhost:8080/manager/install?war=EBook
Best
Bao
> > Jerry > > Thomas Tang wrote: > >> Bill is correct. >> >> This portions seems "off". Try separating them. >> I dont think you should be seeing </Context> followed by and another >> </Context>. >> >> <!-- ROOT context --> >> <Context path="" >> docBase="ROOT" >> debug="0"/> >> >> <!-- EBook context --> >> <Context path="/EBook" >> docBase="EBook" >> debug="0" >> reloadable="true" >> crossContext="true"> >> >> <!-- EBook logger (localhost_EBook_log.txt) --> >> <Logger >> className="org.apache.catalina.logger.FileLogger" >> prefix="localhost_EBook_log." >> suffix=".txt" >> timestamp="true" /> >> >> </Context> >> </Context> >> >> >> >> >> "Bill Haake" <haake@(protected)> 02/13/2004 12:03 PM >> Please respond to >> "Tomcat Users List" <tomcat-user@(protected)> >> >> >> To >> "Tomcat Users List" <tomcat-user@(protected)> >> cc >> >> Subject >> RE: jsp deployment >> >> >> >> >> >> >> You have the EBook context nested inside the default (ROOT). >> >> -- --Original Message-- -- >> From: Jerry Ford [mailto:jford@(protected)] >> Sent: Friday, February 13, 2004 11:50 AM >> To: Tomcat Users List >> Subject: Re: jsp deployment >> >> >> from server.xml (minus realm, user database resource and a couple of >> extraneous contexts): >> >> <Server port="8005" shutdown="SHUTDOWN" debug="0"> >> >> <!-- Service --> >> <Service name="Tomcat-Standalone"> >> >> <!-- Port 8080 Connector --> >> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector " >> port="8080" >> minProcessors="5" >> maxProcessors="75" >> enableLookups="true" >> redirectPort="8443" >> acceptCount="100" >> debug="0" >> connectionTimeout="20000" >> useURIValidationHack="false" >> disableUploadTimeout="true" /> >> >> <!-- Apache Connector (mod_jk) --> >> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector " >> port="8009" >> minProcessors="5" >> maxProcessors="75" >> enableLookups="true" >> redirectPort="8443" >> acceptCount="10" >> debug="0" >> connectionTimeout="0" >> useURIValidationHack="false" >> >> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler "/> >> >> <!-- Engine --> >> <Engine name="Standalone" >> defaultHost="localhost" >> debug="0"> >> >> <!-- Engine logger (catalina_log.txt) --> >> <Logger className="org.apache.catalina.logger.FileLogger" >> prefix="catalina_log." suffix=".txt" >> timestamp="true"/> >> >> <!-- Host (localhost) --> >> <Host name="localhost" >> debug="0" >> appBase="webapps" >> unpackWARs="true" >> autoDeploy="true"> >> >> <!-- Host logger (localhost_log.txt) --> >> <Logger className="org.apache.catalina.logger.FileLogger" >> directory="logs" prefix="localhost_log." >> suffix=".txt" >> timestamp="true"/> >> >> <!-- ROOT context --> >> <Context path="" >> docBase="ROOT" >> debug="0"/> >> >> <!-- EBook context --> >> <Context path="/EBook" >> docBase="EBook" >> debug="0" >> reloadable="true" >> crossContext="true"> >> >> <!-- EBook logger (localhost_EBook_log.txt) --> >> <Logger >> className="org.apache.catalina.logger.FileLogger" >> prefix="localhost_EBook_log." >> suffix=".txt" >> timestamp="true" /> >> >> </Context> >> </Context> >> >> <!-- examples context --> >> <Context path="/examples" >> docBase="examples" >> debug="0" >> reloadable="true" >> crossContext="true"> >> >> <!-- examples logger (localhost_examples_log.txt) --> >> <Logger >> className="org.apache.catalina.logger.FileLogger" >> prefix="localhost_examples_log." >> suffix=".txt" >> timestamp="true"/> >> >> </Context> >> </Host> >> </Engine> >> </Service> >> </Server> >> >> >> Webapp's web.xml (complete): >> >> <?xml version="1.0" encoding="ISO-8859 (See http://ISO-8859.ora-code.com)-1"?> >> >> <!DOCTYPE web-app >> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" >> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> >> >> <!-- Java version of ebook generating utility. --> >> <web-app> >> >> <display-name>Cat's Eye EBook Builder</display-name> >> <description> >> EBook generator web application >> </description> >> >> <servlet> >> <servlet-name> >> book_builder >> </servlet-name> >> <servlet-class> >> catseye.ebook.book_builder >> </servlet-class> >> </servlet> >> >> <servlet> >> <servlet-name> >> set_config >> </servlet-name> >> <servlet-class> >> catseye.ebook.set_config >> </servlet-class> >> </servlet> >> >> <servlet> >> <servlet-name> >> get_config >> </servlet-name> >> <servlet-class> >> catseye.ebook.get_config >> </servlet-class> >> </servlet> >> >> <servlet-mapping> >> <servlet-name>invoker</servlet-name> >> <url-pattern>/*</url-pattern> >> </servlet-mapping> >> >> >> </web-app> >> >> >> >> >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |