[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tomcat 3.2 + mod_jk-auto



> Soeren> the mod_jk.so in tomcats configuration from libexec/mod_jk.so
> Soeren> to /usr/lib/apache/1.3/mod_jk.so.
> 
> Hmm... I only have the latter file.

well my mod_jk.so lies in /usr/lib/apache/1.3/

The default directory in tomcat's config is
libexec/mod_jk.so. Obviously that is wrong.

That for I checked (as You suggested) my tomcat version w/
dpkg -l tomcat.
Says exactly the same:

 Desired=Unknown/Install/Remove/Purge/Hold
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
 ||/ Name           Version        Description
 +++-==============-==============-============================================
 ii  tomcat         3.2.3-4        Java Servlet 2.2 engine with JSP 1.1 support

now I put 

<ApacheConfig modjk="/usr/lib/apache/1.3/mod_jk.so" />

in my /usr/share/tomcat/conf/server.xml as suggested in the tomcat
documentation, somewhere in between

<ContextManager ...>
...
</ContextManager>

Then I launch tomcat w/ /etc/init.d/tomacat start.
When It now comes to starting apache w/
/etc/init.d/apache-ssl start it says:

Starting web server: apache-ssl.
Syntax error on line 8 of /usr/share/tomcat/conf/mod_jk.conf-auto:
Cannot load /etc/apache-ssl/libexec/mod_jk.so into server:
/etc/apache-ssl/libexec/mod_jk.so: cannot open shared object file: No
such file or directory
/usr/sbin/apache-sslctl start: httpsd could not be started

The link to /var/lib/tomcat/conf/mod_jk.conf-auto is there.
When I modify that file by replacing libexec/mod_jk.so
by /usr/lib/apache/1.3/mod_jk.so Apache starts up w/out Problems and
everything is fine ...

... until I restart tomcat.

Any idea what I still might have done wrong?

thx in advance 

Soeren



Reply to: