The Artima Developer Community
Sponsored Link

Web Services Forum
Tomcat4.1.18/Apache 2.0.44

1 reply on 1 page. Most recent reply: Feb 10, 2003 2:39 PM by Francesa Lacreativa

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Jason

Posts: 1
Nickname: jmagnus
Registered: Feb, 2003

Tomcat4.1.18/Apache 2.0.44 Posted: Feb 7, 2003 1:51 PM
Reply to this message Reply
Advertisement
Hello all,

I am trying to get these two to work together and having more issues. I am using the mod_jk2-2.0.43.so connector from jakarta. I used the binary for Tomcat and compiled the Apache from source. I am trying to get them to run on a Mandrake 8.2 machine.

Here is what I appended tom my httpd.conf file
code:


LoadModule jk_module modules/mod_jk2-2.0.43.so

JkWorkersFile /usr/local/tomcat4/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info

JkMount /MyApp ajp13
JkMount /MyApp/* ajp13

Here is what I added to my server.xml(and did nothing else to it).
code:


<Context path="/OLS" docBase="OLS" debug="0" reloadable="true" crossContext="true"></Context>

Here is my worker.properties file
code:


workers.tomcat_home="/usr/local/tomcat4"
workers.java_home="/usr/j ava/j2sdk1.4.1"
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host= localhost
worker.ajp13.type=ajp13

Here is the error I am getting.
code:


Syntax error on line 1067 of /usr/local/apache/conf/httpd.conf:
Can't locate API module structure `jk_module' in file /usr/local/apache/modules/mod_jk2-2.0.43.so: /usr/local/apache/lib/libapr-0.so.0: undefined symbol: jk_module

Anyone have any ideas? I have also tried this with Apache 2.0.43 with the same result.

Thanks,


Francesa Lacreativa

Posts: 1
Nickname: frances
Registered: Feb, 2003

Re: Tomcat4.1.18/Apache 2.0.44 Posted: Feb 10, 2003 2:39 PM
Reply to this message Reply
It looks to me like you are using either the wrong jk so or it is just specified wrong in your config file.

If you want to use JK2, then try:
LoadModule jk2_module modules/mod_jk2-2.0.43.so

If you want to use the original JK, then try:
LoadModule jk_module modules/mod_jk-2.0.43.so

Of course, for the second option you will need to download a binary for JK, which can be found by navigating through here:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/

-frances

Flat View: This topic has 1 reply on 1 page
Topic: Java API/Web Services test automation tool Previous Topic   Next Topic Topic: running a servlet with tomcat

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use