tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sasha Kraljevic" <skral...@progress.com>
Subject Setting the inprocess worker
Date Thu, 12 Sep 2002 16:06:12 GMT
Hi,

First let me apologize if I ask something obvious but
as this is my first appearance on this list please bear with me.
Here is the problem...
I have Apache 2.40/Tomcat 4.1.0/JDK 1.4.0_02/Win2000
I have set the inprocess worker and the Tomcat starts within Apache
process but when I try to access one of the mapped uri's it comes back
with the 'Internal error 500' and the following error in the log file:

[Snip]
12-Sep-2002 14:26:16 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
12-Sep-2002 14:26:23 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
12-Sep-2002 14:26:23 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94  config=C:\JSE\Tomcat41\conf\jk2.properties
[Thu Sep 12 14:27:37 2002] [notice] service.init() Can't find child in scoreboard 2664
[Thu Sep 12 14:27:37 2002] [error] mod_jk.handler() Error connecting to tomcat 21000
[Thu Sep 12 14:27:42 2002] [error] mod_jk.handler() Error connecting to tomcat 21000
[Snip]

What am I doing wrong?

This is my workers2.properties :
[logger]
level=DEBUG

[config:]
file=$(serverRoot)/conf/workers2.properties
debug=0
debugEnv=0

[shm]
file=C:\progra~1\apache~1\apache2\logs\shm.file
size=1048576

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

[vm:]
info=Parameters used to load JVM in the server process
OPT=-Djava.class.path=C:/JSE/Tomcat41/bin/tomcat-jni.jar
OPT=-Dtomcat.home=C:/JSE/Tomcat41
OPT=-Dcatalina.home=C:/JSE/Tomcat41
OPT=-Xmx128M
#disabled=1

[worker.jni:jniCmd1]
info=Command to be executed by the VM. This one will start Tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
#disabled=1

# Inprocess channel
#####[channel.jni]

# define my worker
#####[jni:jni]
#####channel=channel.jni

# Uri mapping
[uri:/examples/*]
worker=worker.jni:jniCmd1

[uri:/admin/*]
worker=worker.jni:jniCmd1

[uri:/manager/*]
worker=worker.jni:jniCmd1

[uri:/tomcat-docs/*]
worker=worker.jni:jniCmd1

[uri:/webdav/*]
worker=worker.jni:jniCmd1

and my jk2.properties:

handler.list=apr,request,channelJni

channelJni.disabled = 0
apr.NativeSo=C:/JSE/Tomcat41/sasha-~1/jkjni.dll
apr.jniModeSo=inprocess

TIA,
Sasha

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


Mime
View raw message