-
1. Re: Tomcat-Apache connection
jwkaltz Apr 17, 2002 11:13 AM (in response to sthevoz)> Cannot load C:/Apache/modules/mod_jk.dll into server:
> The specified module could not be found.
Does the file C:/Apache/modules/mod_jk.dll exist ? -
2. Re: Tomcat-Apache connection
sthevoz Apr 17, 2002 11:15 AM (in response to sthevoz)yes, it exists and I have verified the path 100 times!
Sylvain -
3. Re: Tomcat-Apache connection
jwkaltz Apr 17, 2002 11:43 AM (in response to sthevoz)In Apache 1.3 under Unix you need two commands to load mod_jk as a shared object :
LoadModule jk_module libexec/mod_jk.so
AddModule mod_so.c
In Windows I guess you have DLLs instead of shared objects. Also there might be some changes between Apache 1.3 and Apache 2.0
Sorry, I can't help you more, I haven't yet tried out Apache 2.0 -
4. Re: Tomcat-Apache connection
pippopippo Apr 17, 2002 4:04 PM (in response to sthevoz)Tomcat 4 is different, no mod_jk, but mod_webapp instead!!!
Check http://www.webmasterbase.com/article/305 -
5. Re: Tomcat-Apache connection
yasirsk Apr 18, 2002 8:48 AM (in response to sthevoz)I've tried to install and integrate apache 2 with jboss/tomcat but was getting the same error. I tried different tricks but did not work so went back to apach1.3.
There is a file named libapr.dll that comes with mod_webapp that is needed to load the drivers. If you have this file, it will work fine with apache 1.3. make sure that you get the mod_jk.dll for windows and .so for linux.
btw, apache2 didn't integrate in linux7.2 either :( -
6. Re: Tomcat-Apache connection
sthevoz Apr 18, 2002 11:19 AM (in response to sthevoz)Do you use mod_jk or mod_webapp with Apache 1.3??
The file libapr.dll is usefull for mod_jk or mod_webapp, Apache 1.3 or 2.0??
You said that it works with Apache 1.3, what do you use??
Thank you
Sylvain -
7. Re: Tomcat-Apache connection
yasirsk Apr 18, 2002 1:30 PM (in response to sthevoz)im using mod_jk with apache1.3. the libapr is used for apache1.3.
here is my configuration in httpd.conf
LoadModule jk_module modules/mod_jk.dll
AddModule mod_jk.c
JkWorkersFile c:\workers.properties
JkLogFile c:\mod_jk.log
JkLogLevel info
JkMount /www/* ajp13
you'll need to generate a workers.properties file and give that path. it doesn't work otherwise. you'll also have to edit the jboss.jcml file to make embedded tomcat start its ajp13 processor. there is another thread on this forum for that.
HTH
YSK
p.s. anyone get apache working with JBOSS3/catalina, please reply here