Re: mod_webapp + httpd.conf
I believe that this is a known problem and one suggested workaround is to do the following: Uncomment the line ServerName=localhost and changed localhost to www.ajug.org. Unless this line is uncommented, then Apache will generate an error (Invalid virtual host name) when restarted. Of course, change localhost to the correct name of your server. www.ajug.org is my web server. You can find our Tomcat4 how-to at this URL: http://www.ajug.org/howto/tomcat4.html Cynthia Jeness Web Chair, Atlanta Java Users Group Karoly VEGH wrote: Hello, i try to get apache communicate with tomcat, i have the following section in my httpd.conf: 8- IfModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples # WebAppInfo /webapp-info /IfModule -8 WebAppDeploy takes three arguments, name connection uri-path the problem is at apachectl configtest: Syntax error on line 1039 of /etc/apache/httpd.conf: Invalid virtual host name the 1039th line is WebAppDeploy examplesconn /examples what virtual host does he await? tia, Charlie -- 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: mod_webapp + httpd.conf
Here are a couple tomcat-user postings on the differences. They might help: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg50263.html http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg49707.html They are not quite solid, but they are something. I am still looking for a more definitive discussion myself. Please post any you find as well. Thanx! jeff Cynthia Jeness wrote: I believe that this is a known problem and one suggested workaround is to do the following: Uncomment the line ServerName=localhost and changed localhost to www.ajug.org. Unless this line is uncommented, then Apache will generate an error (Invalid virtual host name) when restarted. Of course, change localhost to the correct name of your server. www.ajug.org is my web server. You can find our Tomcat4 how-to at this URL: http://www.ajug.org/howto/tomcat4.html Cynthia Jeness Web Chair, Atlanta Java Users Group Karoly VEGH wrote: Hello, i try to get apache communicate with tomcat, i have the following section in my httpd.conf: 8- IfModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples # WebAppInfo /webapp-info /IfModule -8 WebAppDeploy takes three arguments, name connection uri-path the problem is at apachectl configtest: Syntax error on line 1039 of /etc/apache/httpd.conf: Invalid virtual host name the 1039th line is WebAppDeploy examplesconn /examples what virtual host does he await? tia, Charlie -- 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] -- Jeffrey Bonevich Ann Arbor, Michigan [EMAIL PROTECTED] http://www.bonevich.com Hwæt! Wë Gär-Dena in geär-dagum, peod-cyninga, prym gefrünon, hü ða aepelingas ellen fremedon! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp + httpd.conf
Hi, Jeffrey, what Cynthia wrote, solved my problem. Dear Cynthia, thank you. Actually, I really had to fit the ServerName option in my httpd.conf I managed to integrate apache tomcat with mod_webapp following this doc: http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml On Fri, 19 Apr 2002, Jeffrey Bonevich wrote: They are not quite solid, but they are something. I am still looking for a more definitive discussion myself. Please post any you find as well. Thanx! jeff Cynthia Jeness wrote: I believe that this is a known problem and one suggested workaround is to do the following: Uncomment the line ServerName=localhost and changed localhost to www.ajug.org. Unless this line is uncommented, then Apache will generate an error (Invalid virtual host name) when restarted. Of course, change localhost to the correct name of your server. www.ajug.org is my web server. You can find our Tomcat4 how-to at this URL: http://www.ajug.org/howto/tomcat4.html Cynthia Jeness Web Chair, Atlanta Java Users Group charlie -- Kavefozo van. akkor ajandekkent erre feltennek egy NetBSD-t :) (c) Silver -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp + httpd.conf
Or, specify a virtualhost and deploy the connector within that virtualhost. - NameVirtualHost 192.168.1.1 VirtualHost 192.168.1.1 ServerName www.blah.com DocumentRoot /blah WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples [other statements go in here too.] /VirtualHost - This has the advantage of allowing you to deploy more virtual hosts with different webapps easily. Example: VirtualHost 192.168.1.1 ServerName ADMIN.blah.com DocumentRoot /admin WebAppConnection conn2 warp localhost:8008 WebAppDeploy adminconn2 /admin [other statements go in here too.] /VirtualHost Ken Cynthia Jeness wrote: I believe that this is a known problem and one suggested workaround is to do the following: Uncomment the line ServerName=localhost and changed localhost to www.ajug.org. Unless this line is uncommented, then Apache will generate an error (Invalid virtual host name) when restarted. Of course, change localhost to the correct name of your server. www.ajug.org is my web server. You can find our Tomcat4 how-to at this URL: http://www.ajug.org/howto/tomcat4.html Cynthia Jeness Web Chair, Atlanta Java Users Group Karoly VEGH wrote: Hello, i try to get apache communicate with tomcat, i have the following section in my httpd.conf: 8- IfModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples # WebAppInfo /webapp-info /IfModule -8 WebAppDeploy takes three arguments, name connection uri-path the problem is at apachectl configtest: Syntax error on line 1039 of /etc/apache/httpd.conf: Invalid virtual host name the 1039th line is WebAppDeploy examplesconn /examples what virtual host does he await? tia, Charlie -- 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] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp + httpd.conf
Where are those lines contained, within a VirtualHost directive, or are they at the 'root' of httpd.conf? Joe - Original Message - From: Karoly VEGH [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 19, 2002 4:07 AM Subject: mod_webapp + httpd.conf Hello, i try to get apache communicate with tomcat, i have the following section in my httpd.conf: 8- IfModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples # WebAppInfo /webapp-info /IfModule -8 WebAppDeploy takes three arguments, name connection uri-path the problem is at apachectl configtest: Syntax error on line 1039 of /etc/apache/httpd.conf: Invalid virtual host name the 1039th line is WebAppDeploy examplesconn /examples what virtual host does he await? tia, Charlie -- 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: mod_webapp + httpd.conf
Sorry, my posting was in response to another Cynthia posted. Just got confused when hitting reply. jeff Karoly VEGH wrote: Hi, Jeffrey, what Cynthia wrote, solved my problem. Dear Cynthia, thank you. Actually, I really had to fit the ServerName option in my httpd.conf I managed to integrate apache tomcat with mod_webapp following this doc: http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml On Fri, 19 Apr 2002, Jeffrey Bonevich wrote: They are not quite solid, but they are something. I am still looking for a more definitive discussion myself. Please post any you find as well. Thanx! jeff Cynthia Jeness wrote: I believe that this is a known problem and one suggested workaround is to do the following: Uncomment the line ServerName=localhost and changed localhost to www.ajug.org. Unless this line is uncommented, then Apache will generate an error (Invalid virtual host name) when restarted. Of course, change localhost to the correct name of your server. www.ajug.org is my web server. You can find our Tomcat4 how-to at this URL: http://www.ajug.org/howto/tomcat4.html Cynthia Jeness Web Chair, Atlanta Java Users Group charlie -- Jeffrey Bonevich Ann Arbor, Michigan [EMAIL PROTECTED] http://www.bonevich.com Hwæt! Wë Gär-Dena in geär-dagum, peod-cyninga, prym gefrünon, hü ða aepelingas ellen fremedon! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]