Thank you for telling me this.But can i ask why?
Yes,I have already have apache2.0.40 and tomcat5.19 running together using ajp13.



From: "David Short" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: RE: Error while trying to integrate apache and tomcat with jni
Date: Tue, 23 Mar 2004 20:06:51 -0800

I don't believe you can run Tomcat inprocess with Apache on Unix.  You need
to use sockets.

-----Original Message-----
From: Zheng Neil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 7:58 PM
To: [EMAIL PROTECTED]
Subject: Error while trying to integrate apache and tomcat with jni


Hi,


I tried hard these days to make tomcat and apache work together with jni
but only to find this 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, and really need your help.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ?get it now!
http://toolbar.msn.com/go/onm00200415ave/direct/01/


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




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


_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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



Reply via email to