mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1
I read Installing mod_webapp and using it with Apache 1.3 written in mod_webapp, and I have been unsuccessful in getting it to work. Here is my configuration: Win NT4.0 sp6 Apache 1.3.20 d:\webserver\Apache Tomcat 4.0.7b d:\webserver\Tomcat-4.0.7 First, I copied 'mod_webapp.so' and 'libapr.dll' to my apache\modules, then I added this to my httpd.conf [...] #AddModule mod_actions.c mod_setenvif.c mod_isapi.c AddModule mod_webapp.c [...] #LoadModule usertrack_module modules/mod_usertrack.so LoadModule webapp_module modules/mod_webapp.so [...] WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples WebAppInfo /webapp-info [...] I kick Apache off as a service (Tomcat is already running as a service) and here is the error that I get Error 2140:An internal Windows NT error occurred... I am able to run Tomcat 4.0.7 as a service without Apache... and Apache runs fine when I comment out the 5 lines I added above, but I need to get them working in sequence with one another. Plus, there are no error messages in the log files. Shawn
RE: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1
Isn't the .so file only for unix. You need mod_webapp.dll Dave -Original Message- From: Shawn Evans [mailto:[EMAIL PROTECTED]] Sent: 17 August 2001 15:12 To: [EMAIL PROTECTED] Subject: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1 I read Installing mod_webapp and using it with Apache 1.3 written in mod_webapp, and I have been unsuccessful in getting it to work. Here is my configuration: Win NT4.0 sp6 Apache 1.3.20 d:\webserver\Apache Tomcat 4.0.7b d:\webserver\Tomcat-4.0.7 First, I copied 'mod_webapp.so' and 'libapr.dll' to my apache\modules, then I added this to my httpd.conf [...] #AddModule mod_actions.c mod_setenvif.c mod_isapi.c AddModule mod_webapp.c [...] #LoadModule usertrack_module modules/mod_usertrack.so LoadModule webapp_module modules/mod_webapp.so [...] WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples WebAppInfo /webapp-info [...] I kick Apache off as a service (Tomcat is already running as a service) and here is the error that I get Error 2140:An internal Windows NT error occurred... I am able to run Tomcat 4.0.7 as a service without Apache... and Apache runs fine when I comment out the 5 lines I added above, but I need to get them working in sequence with one another. Plus, there are no error messages in the log files. Shawn
Re: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1
Shawn, it's pointless to post the same message over and over... If me (or someone other don't reply) there is a reason... Pier Shawn Evans at [EMAIL PROTECTED] wrote: I read Installing mod_webapp and using it with Apache 1.3 written in mod_webapp, and I have been unsuccessful in getting it to work. Here is my configuration: Win NT4.0 sp6 Apache 1.3.20 d:\webserver\Apache Tomcat 4.0.7b d:\webserver\Tomcat-4.0.7 First, I copied 'mod_webapp.so' and 'libapr.dll' to my apache\modules, then I added this to my httpd.conf [...] #AddModule mod_actions.c mod_setenvif.c mod_isapi.c AddModule mod_webapp.c [...] #LoadModule usertrack_module modules/mod_usertrack.so LoadModule webapp_module modules/mod_webapp.so [...] WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples WebAppInfo /webapp-info [...] I kick Apache off as a service (Tomcat is already running as a service) and here is the error that I get Error 2140:An internal Windows NT error occurred... I am able to run Tomcat 4.0.7 as a service without Apache... and Apache runs fine when I comment out the 5 lines I added above, but I need to get them working in sequence with one another. Plus, there are no error messages in the log files. Shawn
Re: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1
Since Apache 1.3.20 also under windows modules are called .so and not .dll (it was confusing!) Pier David Oxley at [EMAIL PROTECTED] wrote: Isn't the .so file only for unix. You need mod_webapp.dll Dave -Original Message- From: Shawn Evans [mailto:[EMAIL PROTECTED]] Sent: 17 August 2001 15:12 To: [EMAIL PROTECTED] Subject: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1 I read Installing mod_webapp and using it with Apache 1.3 written in mod_webapp, and I have been unsuccessful in getting it to work. Here is my configuration: Win NT4.0 sp6 Apache 1.3.20 d:\webserver\Apache Tomcat 4.0.7b d:\webserver\Tomcat-4.0.7 First, I copied 'mod_webapp.so' and 'libapr.dll' to my apache\modules, then I added this to my httpd.conf [...] #AddModule mod_actions.c mod_setenvif.c mod_isapi.c AddModule mod_webapp.c [...] #LoadModule usertrack_module modules/mod_usertrack.so LoadModule webapp_module modules/mod_webapp.so [...] WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples WebAppInfo /webapp-info [...] I kick Apache off as a service (Tomcat is already running as a service) and here is the error that I get Error 2140:An internal Windows NT error occurred... I am able to run Tomcat 4.0.7 as a service without Apache... and Apache runs fine when I comment out the 5 lines I added above, but I need to get them working in sequence with one another. Plus, there are no error messages in the log files. Shawn
Working: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1
Sorry if it seems as if I reposted it, I was having trouble with the office machine, so I sent it out under a new subject, since it was different than the one I posted before... when I ran Apache from the command line with the webapp modified conf here is what I get. D:\webserver\ApacheApache Syntax error on line 176 of d:/webserver/apache/conf/httpd.conf: Cannot add module via name 'mod_webapp.c': not in list of loaded modules took that line out and it works... I can see webapp-info and IT WORKS ... INSTALL.txt [..] *- Another note for Windows: copy also the libapr.dll file with the module, or your Apache 1.3 web server will refuse to start reporting that the WebApp module cannot be loaded. Once you have done that, edit your httpd.conf configuration file and add a few lines to load that module at startup (Windows users, read above, you have to replace libexec with modules - I'm paranoid, sorry): LoadModule webapp_module libexec/mod_webapp.so and AddModule mod_webapp.c [ DO NOT ADD THIS TO WINDOWS ] -* Thanks for the help Shawn - Original Message - From: Pier P. Fumagalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 12:47 PM Subject: Re: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1 Since Apache 1.3.20 also under windows modules are called .so and not .dll (it was confusing!) Pier David Oxley at [EMAIL PROTECTED] wrote: Isn't the .so file only for unix. You need mod_webapp.dll Dave -Original Message- From: Shawn Evans [mailto:[EMAIL PROTECTED]] Sent: 17 August 2001 15:12 To: [EMAIL PROTECTED] Subject: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1 I read Installing mod_webapp and using it with Apache 1.3 written in mod_webapp, and I have been unsuccessful in getting it to work. Here is my configuration: Win NT4.0 sp6 Apache 1.3.20 d:\webserver\Apache Tomcat 4.0.7b d:\webserver\Tomcat-4.0.7 First, I copied 'mod_webapp.so' and 'libapr.dll' to my apache\modules, then I added this to my httpd.conf [...] #AddModule mod_actions.c mod_setenvif.c mod_isapi.c AddModule mod_webapp.c [...] #LoadModule usertrack_module modules/mod_usertrack.so LoadModule webapp_module modules/mod_webapp.so [...] WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples WebAppInfo /webapp-info [...] I kick Apache off as a service (Tomcat is already running as a service) and here is the error that I get Error 2140:An internal Windows NT error occurred... I am able to run Tomcat 4.0.7 as a service without Apache... and Apache runs fine when I comment out the 5 lines I added above, but I need to get them working in sequence with one another. Plus, there are no error messages in the log files. Shawn
Re: Working: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20,JDK 1.3.1
Shawn Evans at [EMAIL PROTECTED] wrote: Sorry if it seems as if I reposted it, I was having trouble with the office machine, so I sent it out under a new subject, since it was different than the one I posted before... when I ran Apache from the command line with the webapp modified conf here is what I get. D:\webserver\ApacheApache Syntax error on line 176 of d:/webserver/apache/conf/httpd.conf: Cannot add module via name 'mod_webapp.c': not in list of loaded modules took that line out and it works... I can see webapp-info and IT WORKS ... INSTALL.txt [..] *- Another note for Windows: copy also the libapr.dll file with the module, or your Apache 1.3 web server will refuse to start reporting that the WebApp module cannot be loaded. Once you have done that, edit your httpd.conf configuration file and add a few lines to load that module at startup (Windows users, read above, you have to replace libexec with modules - I'm paranoid, sorry): LoadModule webapp_module libexec/mod_webapp.so and AddModule mod_webapp.c [ DO NOT ADD THIS TO WINDOWS ] -* Thanks for the help Shawn This is surely weird... I have that in my configuration file on my Windows box... :) Well, I'll try to dig into the code to see what mod_so does when it tries to load the module. Right now I'll update the documentation a little bit... Thanks for noticing... :) Pier