tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Ford <jf...@katzenjammer.us>
Subject Re: MOD_JK2 and MOD_JK on SuSE
Date Fri, 26 Dec 2003 20:20:30 GMT
Hari:

Not sure what you are looking for at this point.

As I recall, after you removed mod_jk2.so from your $APACHE_HOME/libexec 
directory and removed references to mod_jk2 from httpd.conf, you were 
still seeing JK2 references in catalina.out.

Is that what you are still wondering about?

The answer is, it's because you still have the Coyote connector and 
listener elements defined in tomcat's server.xml file.

Catalina.out is tomcat's log file, so as long as you define a Coyote 
connector in the server.xml file you're going to se JK/JK2 references 
there, regardless of whether or not you are actually still using mod_jk2.

That only means tomcat is listening for handoffs from Apache.  Since you 
no longer have mod_jk2.so installed, there's nothing for tomcat to hear, 
but that doesn't stop it from listening.

Put comment strings around those elements ( <!-- ... --> ) and restart 
Tomcat, then check your catalina.out.  The references to JK should be gone.

Jerry

Hari Om wrote:

> Any update son the following:
>
> 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" <hari_om@hotmail.com>
>> Reply-To: users@httpd.apache.org
>> To: users@httpd.apache.org, tomcat-user@jakarta.apache.org
>> Subject: [users@httpd] 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 <jford@katzenjammer.us>
>>> Reply-To: users@httpd.apache.org
>>> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>>> CC: users@httpd.apache.org
>>> Subject: [users@httpd] 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 <jford@katzenjammer.us>
>>>>> Reply-To: users@httpd.apache.org
>>>>> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>>>>> CC: users@httpd.apache.org, hari_om@hotmail.com
>>>>> Subject: [users@httpd] 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message