tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent J. Buonassisi" <...@vuit.com>
Subject Re: libjkjni.so
Date Fri, 30 May 2003 17:36:50 GMT
hi pascal,

that worked!  the jk2.socket file is being created and apache seems to  
be using it after i changed the permissions on the file.  but, i am  
getting the following error when the service starts:

Starting service Tomcat-Standalone
Apache Tomcat/4.1
May 30, 2003 8:38:57 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8180
[Fri May 30 08:38:57 2003] (error ) [jk_config_file.c (279)]   
config.update(): Can't find config file  
${serverRoot}/conf/workers2.properties
[Fri May 30 08:38:57 2003] ( info ) [jk_config.c (251)]   
config.setAttribute() Error setting config: file  
${serverRoot}/conf/workers2.properties
[Fri May 30 08:38:57 2003] ( info ) [jk_logger_file.c (184)]   
Initializing log file stderr
[Fri May 30 08:38:57 2003] (error ) [jk_shm.c (333)]  shm.init(): No  
file
[Fri May 30 08:38:57 2003] ( info ) [jk_workerEnv.c (403)]   
workerEnv.init() ok ${serverRoot}/conf/workers2.properties
May 30, 2003 8:38:57 AM org.apache.jk.apr.AprImpl init
INFO: JK2: Initialized apr
May 30, 2003 8:38:57 AM org.apache.jk.common.ChannelUn init
INFO: JK: listening on unix socket: /var/tomcat4/work/jk2.socket
[Fri May 30 08:38:57 2003] ( info ) [jk_jni_aprImpl.c (472)]   
jkInvoke() invoke 4d434c76
May 30, 2003 8:38:57 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
May 30, 2003 8:38:57 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/239   
config=/var/tomcat4/conf/jk2.properties

why would tomcat be trying to access the workers2.properties file?  i  
thought this file was for the web server.

thanks,


On Giovedì, mag 29, 2003, at 17:02 US/Pacific, Chong Yu Meng wrote:

> Vincent J. Buonassisi wrote:
>
>> INFO: APR not loaded, disabling jni components: java.io.IOException:  
>> no jkjni in java.library.path
>>
>> i read someplace that libjkjni.so should be placed in  
>> $catalina_home/bin so i put it in there.  but, it didn't make a  
>> difference.  should it be placed somewhere else?
>>
> You need to create a symbolic link from your existing jkjni.so. For  
> example, suppose you have jkjni.so inside /usr/lib/apache, you will  
> need to do this :
>
> ln -s /usr/lib/apache/jkjni.so $JAVA_HOME/jre/bin/libjkjni.so
>
> export  
> LD_LIBRARY_PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/ 
> classic:$LD_LIBRARY_PATH
>
> Hope this helps !
>
> Regards,
> pascal chong
>
>
>
> ---------------------------------------------------------------------
> 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