I just had to uncomment the part that talk about the warp connection in the server.xml file...
Now, I will search some information about "virtualHost"... > ok. So I try with Tomcat 4.1.24 : > > [root /home]# tail -f /home/tomcat/logs/catalina.out > at > org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213) > at org.apache.catalina.startup.Catalina.start(Catalina.java:543) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > at org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at java.lang.reflect.Method.invoke(Native Method) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > Stopping service Tomcat-Standalone > [INFO] Registry - -Loading registry information > [INFO] Registry - -Creating new Registry instance > [INFO] Registry - -Creating MBeanServer > [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080 > Starting service Tomcat-Standalone > Apache Tomcat/4.1.24 > [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 > [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 > [INFO] JkMain - -Jk running ID=0 time=29/469 > config=/home/tomcat/conf/jk2.properties > > but the result is the same : > > - www.monserveur.com:8080 works > - www.monserveur.com/examples/ doesn't work ! > > What is the problem ? > > > The configuration for mod_webapp in server.xml in TC 5 has been removed. > > You could try re-adding it, but it likely won't work. mod_webapp is > simply > > not going to be supported in TC 5 (unless, possibly, there is someone that > > wants to take charge of it and get it to work ;-). > > > > "Nicolas Stienne" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Hello > > > > > > I have got a problem ! I want to use Tomcat to run my jsp pages and > > Apache > > > to serve other pages. > > > > > > My configuration : > > > - jakarta-tomcat-5 (cvs) > > > - apache 1.3 > > > - j2sdk-1_4_2 > > > > > > What I did : (apache was installed) > > > > > > - install jdk > > > - install tomcat > > > - test it : www.monserver.com:8080/ gave me a good welcome page. I > > tested > > > the jsp samples and they worked fine ! > > > > > > To use Apache with Tomcat it add in my httpd.conf the lines : > > > > > > LoadModule webapp_module /etc/httpd/modules/mod_webapp.so > > > [..] > > > AddModule mod_webapp.c > > > [..] > > > WebAppConnection MaConnexion1 warp www.monserveur.com:8008 > > > WebAppDeploy examples MaConnexion1 /examples/ > > > WebAppInfo /webapp-info > > > > > > > > > I restarted my server : > > > Shutting down Web Service: httpd > > > Setting up Web Service: [Fri Jul 18 17:41:54 2003] [warn] Loaded DSO > > > /etc/httpd/modules/mod_webapp.so uses plain Apache 1.3 API, this module > > > might crash under EAPI! (please recompile it with -DEAPI) > > > chiliasp: module started, version 3.5.2.31 > > > /usr/sbin/httpd > > > > > > As I tried http://www.monserveur.com/examples/ > > > I get HTTP 404 error > > > > > > and http://www.monserveur.com:8080/ works fine ! > > > (http://www.monserveur.com/webapp-info/ too) > > > > > > I noticed on this last page : > > > Application Name : "examples" > > > Root URL Path : "/examples/" > > > Local Deployment Path : No local deployment path > > > Configuration Details : "Application ID: -1" > > > Connection : "MaConnexion1" (details) > > > Deployed : FALSE > > > > > > > > > Please, say me what I didn't do right ! > > > > > > Thanks, Nicolas ! > > > > > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
