tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: I'm officially lost with mod_jk
Date Thu, 17 Jul 2003 13:14:34 GMT

http://jakarta.apache.org/builds/jakarta-tomcat- 
connectors/jk/release/v1.2.1/bin/solaris8/

John

On Thu, 17 Jul 2003 15:08:24 +0200, Astrid Wagner 
<Astrid.Wagner@motorola.com> wrote:

> Hi Werner,
> Sorry to link into your conversation:
> It seems that you went through the problems I am about to have 
> (connecting tomcat 4 to Apache 1.3: Solaris 8).
> Since I haven't gotten a response to a previous email:
> Where did you get mod_jk ? Why did you have to compile it and
> can you give more info on what steps you took to do so.
> Thanks.
> Astrid
>
> Werner van Mook wrote:
>
>> Gute Morgen Simon,
>>
>> I've compiled the mod_jk myself. it was easy.
>> But I still have problems.
>>
>> I will so you what I have.
>>
>> In httpd.conf :
>>
>> LoadModule jk_module modules/mod_jk.so
>>
>> # MY OWN STUFF HERE
>> <IfModule mod_jk.so>
>> AddModule mod_jk.c
>> JkWorkersFile /etc/httpd/conf/workers.properties
>> JkLogFile     /etc/httpd/logs/mod_jk.log
>> JkLogLevel    info
>> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>> JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
>> JkRequestLogFormat     "%w %V %T"
>> </IfModule>
>>
>> In workers.properties :
>>
>> #Define 1 real worker using ajp13
>>
>> worker.list=ajp13
>>
>> #Set properties for worker1(ajp13)
>>
>> worker.ajp13.type=ajp13
>> worker.ajp13.host=www.connecties.com
>> worker.ajp13.port=8009
>>
>>
>> In server.xml  :
>>
>> on a line after <Server portt="8005" ...... >
>>
>> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"  
>> modJk="/etc/httpd/modules/mod_jk.so" />
>>
>>
>> on a line just after <Host name=www.connecties.com .....>
>>
>> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"  
>> append="true" forwardAll="false"  modJk="/etc/httpd/modules/mod_jk.so"  
>> />
>>
>> And the last part of my server.xml is :
>>
>> <!-- Define an Apache-Connector Service -->
>> <!--
>> <Service name="Tomcat-Apache">
>>
>> <Connector  className="org.apache.catalina.connector.warp.WarpConnector"
>> port="8008" minProcessors="5" maxProcessors="75"
>> enableLookups="true" appBase="webapps"
>> acceptCount="10" debug="0"/>
>>
>> <Engine className="org.apache.catalina.connector.warp.WarpEngine"
>> name="Apache" debug="0">
>>
>> <Logger className="org.apache.catalina.logger.FileLogger"
>> prefix="apache_log." suffix=".txt"
>> timestamp="true"/>
>>
>> <Realm className="org.apache.catalina.realm.MemoryRealm" />
>>
>> <Host name="www.connecties.com" >
>> <Context path=""
>> docBase="/home/sites/home/web"
>> crossContext="true"
>> debug="0"
>> reloadable="false"
>> trusted="false" >
>> </Context>
>> </Host>
>>
>> </Engine>
>>
>> </Service>
>>
>>
>> The output of the apache error log is :
>>
>> [Wed Jul 16 09:16:27 2003] [error] (25)Inappropriate ioctl for device:  
>> Error while opening the workers, jk will not work
>>
>> [Wed Jul 16 09:16:28 2003] [error] (25)Inappropriate ioctl for device:  
>> Error while opening the workers, jk will not work
>>
>> [Wed Jul 16 09:16:29 2003] [notice] Apache/1.3.20 Sun Cobalt (Unix)  
>> mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.3pl1 mod_auth_pam_external/0.1  
>> FrontPage/4.0.4.3 mod_perl/1.25 configured -- resuming no
>> rmal operations
>> [Wed Jul 16 09:16:29 2003] [notice] suEXEC mechanism enabled (wrapper:  
>> /usr/sbin/suexec)
>>
>> This will probably say enough (for some). It tells me that jk will not  
>> work. But I don't understand why.
>>
>>
>> Anybody ?
>>
>>
>>
>>
>>
>> On Tuesday, July 15, 2003, at 11:29 PM, Simon Pabst wrote:
>>
>>> Seems you're not the only one with that problem on  
>>> Apache/mod_jk/Tomcat on a cobalt machine:
>>> http://www.zeffie.com/cobalt/developers/0208/162839.html
>>>
>>> Best is propably if you (or they if you don't have permissions to do  
>>> that) compile mod_jk on that machine
>>> and don't use a downloaded binary.
>>>
>>> How to do that:
>>> http://list.cobalt.com/pipermail/cobalt-developers/2003-March/ 
>>> 038938.html
>>>
>>> Good luck :-)
>>>
>>>
>>> At 21:03 15.07.2003 +0200, you wrote:
>>>
>>>> HI,
>>>>
>>>> I have hired a sun microsystems cobalt machine.
>>>> It comes pre configured with all kinds of internet software and a  
>>>> special edition of redhat.
>>>> It is stripped on all sides to give maximum speed and maximum disk  
>>>> space.
>>>>
>>>> One of the settings is that you can't do anything with apache apart  
>>>> from restarting it with the httpd command.
>>>> Or restarting the complete box..........
>>>>
>>>> By now I'm trying to figure out if it is possible to have Apache2 on  
>>>> it. But I am depending on the goodwill of my provider for it.
>>>>
>>>> Some how I think that having Apache 2 solves some of my problems.
>>>>
>>>> We'll see.
>>>>
>>>> Kind regards
>>>> Werner van Mook
>>>>
>>>>
>>>>
>>>> On Tuesday, July 15, 2003, at 06:58 PM, Simon Pabst wrote:
>>>>
>>>>> hmm ok,
>>>>>
>>>>> the Apache you are using, did it come in a package or did you built 

>>>>> from source?
>>>>> Apache 1.3.20 should have apachectl in the same directory as httpd
>>>>> (i.e. /path/to/apache_1.3.20/bin/apachectl)
>>>>>
>>>>>
>>>>> At 18:47 15.07.2003 +0200, you wrote:
>>>>>
>>>>>> Yes I tried to use it but to no avail.
>>>>>>
>>>>>> unfortunately.
>>>>>>
>>>>>> Regards
>>>>>> Werner van Mook
>>>>>>
>>>>>>
>>>>>> On Tuesday, July 15, 2003, at 06:38 PM, Simon Pabst wrote:
>>>>>>
>>>>>>> did you even try my suggestion?
>>>>>>> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ 

>>>>>>> msg97619.html
>>>>>>
>>>>>
>>>> Werner van Mook
>>>> Java Lead Developer / Trainer
>>>> Connecties Voor Internet
>>>>
>>>
>>>
>> Werner van Mook
>> Java Lead Developer / Trainer
>> Connecties Voor Internet
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
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