Thanks! These are the ONLY things I added to my SERVER.XML:
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" modJk="/usr/local/apache2/modules/mod_jk.so" jkDebug="info" workersConfig="/usr/local/tomcat4/conf/jk/workers.properties" jkLog="/usr/local/tomcat4/logs/mod_jk.log"/>
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- Define an AJP 1.3 Connector on port 8009 --> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" />
THANKS!
HARI OM
From: "Hari Om" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE Date: Fri, 26 Dec 2003 17:59:07 +0000
Thanks! These are the ONLY things I added to my SERVER.XML:
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" modJk="/usr/local/apache2/modules/mod_jk.so" jkDebug="info" workersConfig="/usr/local/tomcat4/conf/jk/workers.properties" jkLog="/usr/local/tomcat4/logs/mod_jk.log"/>
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- Define an AJP 1.3 Connector on port 8009 --> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" />
THANKS!
HARI OM
From: Jerry Ford <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Tomcat Users List <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE Date: Fri, 26 Dec 2003 09:38:09 -0800
do you still have the Coyote connector defined in the tomcat server.xml?
Hari Om wrote:
Thanks Jerry....
I tried to delete the MOD_JK2.SO from my APACHE/MODULESA Directory...but still my CATALINA.OUT files hsows reference of it wonder why.....
From: Jerry Ford <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Tomcat Users List <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: [EMAIL PROTECTED] Re: MOD_JK2 and MOD_JK on SuSE Date: Wed, 24 Dec 2003 14:07:31 -0800
Hari:
To remove mod_jk2, just delete mod_jk2.so from your apache/libexec directory and delete the references to it from your Apache config (httpd.conf).
As for tomcat continuing to listen, that's because you have a mod_jk2 connector defined in tomcat's server.xml.
Just because tomcat is listening for it does not mean mod_jk2 is working.
Somebody else will have to address the questions about value---I don't use mod_jk2, I have mod_jk, but I also don't use apache 2.x, I have apache 1.3. I believe jk2 is designed for apache 2.
As for jk2 references in jk configs, yes, jk2 shows up in my catalina.out, too, and I've never installed mod_jk2. It appears to just be some sloppy reference in a log message. It doesn't mean anything significant. I mean, it all still works. :)
Jerry
Hari Om wrote:
I am using Apache 2.0.47 and Tomcat 4.1.27 and JDK 1.4 on SuSE Linux 8.0. I would like to use Connector for integrating Apache & Tomcat. I have installed MOD_JK2 and want to get rid of it. How can I uninstall it? WHen I run my Tomcat it still refers to JK2 settings. I wanted to use JK instead. Can anyone please help me on this.
Few more questions:
1) Is it worth using MOD_JK2 v/s MOD_JK?
2) I already installed MOD_JK2 and it does NOT seems to WORK...so wanted to get rid of it. I wanted to see if MOD_JK works. How is this possible? Deleting the "jk2.properties" and "worker2.properties " DOES NOT WORK....catalina.out file still shows TOMCAT is refereing to JK as shown below:
-------------------------------------------------------------------------------------------------------------------------------
INFO: Starting Coyote HTTP/1.1 on port 8080 Dec 24, 2003 11:33:56 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Dec 24, 2003 11:33:56 AM org.apache.jk.server.JkMain start -------------------------------------------------------------------------------------------------------------------------------
Can anyone please Help Me.
Thanks and Merry XMAS!
HARI OM
_________________________________________________________________
Check your PC for viruses with the FREE McAfee online computer scan. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]