I tried hard these days to make tomcat and apache work together with jni
but only to find these in the [apache_home_dir]/logs/error_log
*********
error_log
*********
[Tue Mar 23 08:37:46 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.2
configure
d -- resuming normal operations
[Tue Mar 23 08:37:46 2004] [error] jk2_init() Can't find child 25455 in
scoreboa
rd
[Tue Mar 23 08:37:46 2004] [error] jk2_init() Can't find child 25456 in
scoreboa
rd
[Tue Mar 23 08:37:46 2004] [error] jk2_init() Can't find child 25457 in
scoreboa
rd
.....and many many as this
Then my site(was served ok by apache) become unvisible
It seemed the apache child proccess was unable to startup,it starts and down immediately and it try again to start and ...


I am using Redhat linux 9.0,j2sdk1.4.2_03,apache 2.0.49 and tomcat 4.1.30
Here is my workers2.properties
***************
workers2.properties
***************
[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0

[shm:]
disabled=1
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

[vm:]
info=Parameters used to load a JVM in the server process
JVM=/usr/java/j2sdk1.4.2_03/jre/lib/i386/server/libjvm.so
classpath=/usr/tomcat/tomcat4/lib
OPT=-Dtomcat.home=/usr/tomcat/tomcat4
OPT=-Dcatalina.home=/usr/tomcat/tomcat4
OPT=-Xmx128M
disabled=0

[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=0
stdout=${serverRoot}/logs/stdout.log
stderr=${serverRoot}/logs/stderr.log


[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=0


[status:]
info=Status worker, displays runtime informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:

[uri:/jsp-examples/*]
info=Map the whole webapp (for tomcat5)

And here is the jk2.properties
***********
jk2.properties
***********
handler.list=apr,request,channelJni
apr.jniModeSo=inprocess
the comments was ommited

I really don't know what to do, please help me.

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE download! http://clk.atdmt.com/AVE/go/onm00200413ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to