DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8331>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8331 When using mod_webapp apache 2.0.35 fails to start Summary: When using mod_webapp apache 2.0.35 fails to start Product: Tomcat 4 Version: 4.0.3 Final Platform: Other OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Connector:Webapp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Relevant information: root@mite:/usr/local/apache-2# uname -a Linux mite 2.4.17 #10 SMP Wed Mar 13 00:13:22 GMT 2002 i686 unknown root@mite:/usr/local/apache-2# java -version java version "1.4.0-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91) Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode) root@mite:/usr/local/apache-2# ./bin/httpd -version Server version: Apache/2.0.35 Server built: Apr 19 2002 22:45:16 When the WebApp* directives are given before the ServerName directive, the following error occurs: root@mite:/usr/local/apache-2# ./bin/apachectl configtest Syntax error on line 221 of /usr/local/apache-2/conf/httpd.conf: Invalid virtual host name When the ServerName is set before the WebApp* declarations httpd appears to start without errors, but it exits immediately. Although no logs are left behind, doing an strace on it reveals that httpd reads the /etc/hosts file, closes it and then gives the following error: [pid 3014] write(2, "Syntax error on line 1022 of /us"..., 66) = 66 [pid 3014] write(2, "Duplicate connection name\n", 26) = 26 Line 1022 of my httpd.conf reads: WebAppConnection warpConnection warp localhost:8008 This is the first time that it's mentioned in the file outside of a comment, and this is clearly not the reported error. What causes this? Why is the error message wrong? And how to I fix the problem? The relevant lines for mod_webapp in the httpd.conf are: WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples/ WebAppInfo /webapp-info at the bottom (the Module is loaded near the top of the config) I'm using the jar files from: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/v1.0-b8/ and I've built mod_webapp from the sources in the jakarta-tomcat-connectors-4.0.2-01-src.tar.gz package, which appears to be the latest available outside of cvs (which refuses to build for me) In addition, I've followed the advice in: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg51557.html to create the libwebapp.so and mod_webapp.so files. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>