Trouble getting Apache talking to Tomcat
Hey all, I've set up Tomcat, I've put mod_webapp.so into apache's libexec directory and after i restart Tomcat, when I restart apache it throws this error. # ../bin/apachectl start Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf: Invalid command 'WebAppMount', perhaps mis-spelled or defined by a module not included in the server configuration ../bin/apachectl start: httpd could not be started this is the relevant section of the httpd.conf LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp 64.105.155.196:8008 WebAppMount examples warpConnection /examples if i comment out WebAppMount, apache will start (but not talk to tomcat) Apache version Server version: Apache/1.3.22 (Unix) Server built: Oct 10 2001 14:50:42 Tomcat version 4.0-B3 I am sure I am just missing something stupid, any assist toward enlightenment would be appreciated thanks zonker [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Trouble getting Apache talking to Tomcat
zonker harris wrote: Hey all, I've set up Tomcat, I've put mod_webapp.so into apache's libexec directory and after i restart Tomcat, when I restart apache it throws this error. # ../bin/apachectl start Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf: Invalid command 'WebAppMount', perhaps mis-spelled or defined by a module not included in the server configuration ../bin/apachectl start: httpd could not be started this is the relevant section of the httpd.conf LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp 64.105.155.196:8008 WebAppMount examples warpConnection /examples if i comment out WebAppMount, apache will start (but not talk to tomcat) Apache version Server version: Apache/1.3.22 (Unix) Server built: Oct 10 2001 14:50:42 Tomcat version 4.0-B3 I am sure I am just missing something stupid, any assist toward enlightenment would be appreciated thanks zonker [EMAIL PROTECTED] I had trouble starting Apache 1.3 on FreeBSd until I changed my server.xml : !-- 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 appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=localhost debug=0 ^^ Only when I put my real servername instead of localhost did mine start to work. Like I said , this may not be your problem, just an idea. Adrian -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Trouble getting Apache talking to Tomcat
I think you should use WebAppDeploy not WebAppMount After that you are likely to see two more error messages.. One related to 'ServerName' the other I don't remember. :) Oktay Altunergil On Tue, 23 Apr 2002 17:00:52 -0400 zonker harris [EMAIL PROTECTED] wrote: Hey all, I've set up Tomcat, I've put mod_webapp.so into apache's libexec directory and after i restart Tomcat, when I restart apache it throws this error. # ../bin/apachectl start Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf: Invalid command 'WebAppMount', perhaps mis-spelled or defined by a module not included in the server configuration ../bin/apachectl start: httpd could not be started this is the relevant section of the httpd.conf LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp 64.105.155.196:8008 WebAppMount examples warpConnection /examples if i comment out WebAppMount, apache will start (but not talk to tomcat) Apache version Server version: Apache/1.3.22 (Unix) Server built: Oct 10 2001 14:50:42 Tomcat version 4.0-B3 I am sure I am just missing something stupid, any assist toward enlightenment would be appreciated thanks zonker [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Trouble getting Apache talking to Tomcat
Try this: LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c WebAppConnection warpConnection warp 64.105.155.196:8008 WebAppDeploy examples warpConnection /examples --- zonker harris [EMAIL PROTECTED] wrote: Hey all, I've set up Tomcat, I've put mod_webapp.so into apache's libexec directory and after i restart Tomcat, when I restart apache it throws this error. # ../bin/apachectl start Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf: Invalid command 'WebAppMount', perhaps mis-spelled or defined by a module not included in the server configuration ../bin/apachectl start: httpd could not be started this is the relevant section of the httpd.conf LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp 64.105.155.196:8008 WebAppMount examples warpConnection /examples if i comment out WebAppMount, apache will start (but not talk to tomcat) Apache version Server version: Apache/1.3.22 (Unix) Server built: Oct 10 2001 14:50:42 Tomcat version 4.0-B3 I am sure I am just missing something stupid, any assist toward enlightenment would be appreciated thanks zonker [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Trouble getting Apache talking to Tomcat
That got part of it, thanks Oktay. Warning to all newbies. The example in the server.xml with 4.04 is wrong. it says WebAppMount (which doesnt work) and not WebAppDeploy (which does) now they are both running, i just have to figure out where i have mucked up the config file so i will actually start working. thanks again for the assist zonker On Tuesday, April 23, 2002, at 05:16 PM, Oktay Altunergil wrote: I think you should use WebAppDeploy not WebAppMount After that you are likely to see two more error messages.. One related to 'ServerName' the other I don't remember. :) Oktay Altunergil On Tue, 23 Apr 2002 17:00:52 -0400 zonker harris [EMAIL PROTECTED] wrote: Hey all, I've set up Tomcat, I've put mod_webapp.so into apache's libexec directory and after i restart Tomcat, when I restart apache it throws this error. # ../bin/apachectl start Syntax error on line 1159 of /usr/local/apache/conf/httpd.conf: Invalid command 'WebAppMount', perhaps mis-spelled or defined by a module not included in the server configuration ../bin/apachectl start: httpd could not be started this is the relevant section of the httpd.conf LoadModule webapp_module libexec/mod_webapp.so WebAppConnection warpConnection warp 64.105.155.196:8008 WebAppMount examples warpConnection /examples if i comment out WebAppMount, apache will start (but not talk to tomcat) Apache version Server version: Apache/1.3.22 (Unix) Server built: Oct 10 2001 14:50:42 Tomcat version 4.0-B3 I am sure I am just missing something stupid, any assist toward enlightenment would be appreciated thanks zonker [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] --- If people did not sometimes do silly things nothing intelligent would ever get done. - German Philosopher Ludwig Wittgenstein (1889-1951) --- -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]