> > From: "jacky" <[EMAIL PROTECTED]> > Date: 2006/02/15 Wed PM 09:00:29 EST > To: "Tomcat Users List" <users@tomcat.apache.org> > Subject: Re: Re: context error > > hi, > RedHat7.3, J2sdk1.4.2_10 > server.xml is the default server.xml:
> <!-- Tomcat Root Context --> > <!-- > <Context path="" docBase="ROOT" debug="0"/> > --> > <!-- <Context path="/myworkflow" docBase="myworkflow" />--> //here, > myworkflow is my web app. Been a while since I used 4.1 - this is from memory. try <Context path="/myworkflow" docBase="myworkflow" reloadable="true" crossContext="true"> </Context> > </Host> > > </Engine> > > </Service> > > <!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0 > as its servlet container. Please read the README.txt file coming with > the WebApp Module distribution on how to build it. > (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository) > > To configure the Apache side, you must ensure that you have the > "ServerName" and "Port" directives defined in "httpd.conf". Then, > lines like these to the bottom of your "httpd.conf" file: > > LoadModule webapp_module libexec/mod_webapp.so > WebAppConnection warpConnection warp localhost:8008 > WebAppDeploy examples warpConnection /examples/ > > The next time you restart Apache (after restarting Tomcat, if needed) > the connection will be established, and all applications you make > visible via "WebAppDeploy" directives can be accessed through Apache. > --> > > <!-- Define an Apache-Connector Service --> > <Service name="Tomcat-Apache"> > > <Connector className="org.apache.catalina.connector.warp.WarpConnector" > port="8008" minProcessors="5" maxProcessors="75" > enableLookups="true" > acceptCount="10" debug="0"/> > > <!-- Replace "localhost" with what your Apache "ServerName" is set to --> > <Engine className="org.apache.catalina.connector.warp.WarpEngine" > name="Apache" debug="0" appBase="webapps"> > > <!-- Global logger unless overridden at lower levels --> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="apache_log." suffix=".txt" > timestamp="true"/> > > <!-- Because this Realm is here, an instance will be shared globally --> > <Realm className="org.apache.catalina.realm.MemoryRealm" /> > > </Engine> > > </Service> > > </Server> > > > Best Regards. > jacky > > ----- Original Message ----- > From: "Warren Pace" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Wednesday, February 15, 2006 6:42 PM > Subject: Re: Re: context error > > > > > > > > > > From: "jacky" <[EMAIL PROTECTED]> > > > Date: 2006/02/14 Tue PM 08:32:56 EST > > > To: "Tomcat Users List" <users@tomcat.apache.org>, > > > <[EMAIL PROTECTED]> > > > Subject: Re: context error > > > > > > hi, Mike, > > > Do you mean put all directories together? > > > No, we need to separate them. So, any other suggestions about this > > > problem? > > > > > > Best Regards. > > > jacky > > > > > Could you send us your server.xml with and without the added context? I > > see you're using 4.1. What OS and what JVM are you using? > > > > > > --------------------------------------------------------------------- > > 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]