Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-22 Thread Simon Stewart
On Sat, Apr 20, 2002 at 10:04:35PM -0400, Jeffrey Bonevich wrote: Simon Stewart wrote: Yet more digging suggests that this could be a bug: attaching an strace to the httpd process as it starts up gives: write(2, Syntax error on line 1018 of /us..., 66) = 66 write(2, Duplicate connection

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Georg Huettenegger
hi, it does make a difference whether one puts libwebapp.so into the lib or the modules directory. nevertheless it is quite clear why putting libwebapp.so into modules does work for me and others: the line that is used to link mod_webapp.so includes the rpath statement telling the module where

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Jeffrey Bonevich
Excellent point, Georg. I am a bit rusty on working with C/C++ compilation. Here is my attempt at getting the proper linking in of libwebapp: /usr/local/apache2/build/libtool --silent --mode=link gcc -shared -o mod_webapp.so -rpath /usr/local/apache2/modules -module -avoid-version

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Georg Huettenegger
hi, i think you should forward your information to the developer. about your warning: i am assuming that removing -dlopen will make the warning go away (but i am not quite sure about that). bye, georg On Sun, 21 Apr 2002, Jeffrey Bonevich wrote: Excellent point, Georg. I am a bit rusty on

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Jeffrey Bonevich
I plan on submitting my 'experiences' to tomcat-dev - the things we all have figured out collectively to get Tomcat 4 and Apache 2 and mod_webapp working. Still trying to figure out why my struts-based webapps won't work when everything else will. Also, the warning does go away if I remove

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-20 Thread Simon Stewart
On Fri, Apr 19, 2002 at 11:23:44PM -0400, Jeffrey Bonevich wrote: Simon Stewart wrote: Having looked through the mailing list archives, this looks like a popular subject, and I think that I've almost got it cracked. Almost. After following the advice in

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-20 Thread Simon Stewart
I've been doing some more work on this, and part of the problem appears to be the relative position of the ServerName and WebApp* directives. If the ServerName is declared above the WebApp* directive, there are no complaints about the invalid server name, but httpd now doesn't start at all

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-20 Thread Simon Stewart
Yet more digging suggests that this could be a bug: attaching an strace to the httpd process as it starts up gives: write(2, Syntax error on line 1018 of /us..., 66) = 66 write(2, Duplicate connection name\n, 26) = 26 _exit(1)= ? Where line 1018 refers to:

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-20 Thread Jeffrey Bonevich
Simon Stewart wrote: Yet more digging suggests that this could be a bug: attaching an strace to the httpd process as it starts up gives: write(2, Syntax error on line 1018 of /us..., 66) = 66 write(2, Duplicate connection name\n, 26) = 26 _exit(1)= ?

Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-19 Thread Simon Stewart
Having looked through the mailing list archives, this looks like a popular subject, and I think that I've almost got it cracked. Almost. After following the advice in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg51557.html I just thought that people might like to know that

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-19 Thread Jeffrey Bonevich
Simon Stewart wrote: Having looked through the mailing list archives, this looks like a popular subject, and I think that I've almost got it cracked. Almost. After following the advice in http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg51557.html I just thought that