It is highly improbable that it will work like that... The two services (tomcat-standalone and tomcat-apache, in the default server.xml) must not be joined in one single service... They use different (and incompatible) implementations of the core classes.
Pier "Alexander Hartner" <[EMAIL PROTECTED]> wrote: > I am now using the following server.xml file: > > <Server port="8005" shutdown="SHUTDOWN" debug="0"> > <Service name="Tomcat-Standalone"> > <Connector > className="org.apache.catalina.connector.http.HttpConnector" port="8080" > minProcessors="5" maxProcessors="75" enableLookups="true" > redirectPort="8443" acceptCount="10" debug="0" > connectionTimeout="60000"/> > <Connector > className="org.apache.catalina.connector.warp.WarpConnector" port="8008" > minProcessors="5" maxProcessors="75" enableLookups="true" > appBase="webapps" acceptCount="10" debug="0"/> > <Engine name="Standalone" defaultHost="localhost" debug="0"> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="catalina_log." suffix=".txt" timestamp="true"/> > <Realm className="org.apache.catalina.realm.MemoryRealm" /> > <Host name="localhost" debug="0" appBase="webapps" > unpackWARs="false"> > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="logs" prefix="localhost_access_log." suffix=".txt" > pattern="common"/> > <Logger className="org.apache.catalina.logger.FileLogger" > directory="logs" prefix="localhost_log." suffix=".txt" > timestamp="true"/> > <Context path="/XyloWeb" docBase="XyloWeb.war" debug="0" > reloadable="false"/> > <Context path="/manager" docBase="manager" debug="0" > privileged="true"/> > </Host> > </Engine> > </Service> > </Server> > > and http.conf > #Adding Web application in Tomcat 4.0.3 > WebAppConnection conn warp localhost:8008 > WebAppDeploy ROOT conn /tomcat > WebAppDeploy manager conn /tomcat/manager > WebAppDeploy XyloWeb.war conn /XyloWeb > WebAppInfo /webapp-info > > When accessing the application (XyloWeb) via port 8080 HTTPConnector the > war file does not get unpacked, but when accessing via apache > WarpConnector the war file is unpacked. I am also having a problem > trying to reload my application which might be related. When I call the > manager applications reload function, my application does not get > reloaded. I have to undeploy and redeploy the application. > > I would like to end up in a situation where I can deploy updates in form > of a WAR file without having to stop and start Tomcat, as well as access > Tomcat via Apache (mod_webapp). If my configuration is incorrect, could > you please give me a few pointers, or maybe mail me some example > configuration files. > > Thanks in advance > > Alex > > On Thursday, June 6, 2002, at 08:34 PM, Pier Fumagalli wrote: > >> "Alexander Hartner" <[EMAIL PROTECTED]> wrote: >> >>> Apologies. I have added the following to httpd.conf >>> >>> #Adding Web application in Tomcat 4.0.3 >>> WebAppConnection conn warp localhost:8008 >>> WebAppDeploy ROOT conn /tomcat >>> WebAppDeploy examples conn /tomcat/examples >>> WebAppDeploy manager conn /tomcat/manager >>> WebAppDeploy webdav conn /tomcat/webdav >>> WebAppDeploy tomcat-docs conn /tomcat/tomcat-docs >>> WebAppDeploy XyloWeb conn /XyloWeb >> >> This is wrong.... >> >> WebAppDeploy XyloWeb conn /XyloWeb.war <- or wherever this file >> is... >> >> Pier >> >> -- >> [Perl] combines all the worst aspects of C and Lisp: a billion of >> different >> sublanguages in one monolithic executable. It combines the power of C >> with >> the readability of PostScript. [Jamie Zawinski - DNA Lounge - San >> Francisco] >> >> >> -- >> To unsubscribe, e-mail: <mailto:tomcat-dev- >> [EMAIL PROTECTED]> >> For additional commands, e-mail: <mailto:tomcat-dev- >> [EMAIL PROTECTED]> >> > -- [Perl] combines all the worst aspects of C and Lisp: a billion of different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>