Trying to run Apache 2.0.50 mod_jk2 Tomcat 5.0.28 on Windows 2000 as
in-process... Receive the following
in Apache error log. Any ideas on what I may be missing/doing wrong?
[error] workerEnv.initChannel() init failed for channel.jni:jni
[Fri Sep 24 15:40:11 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onStartup
[Fri Sep 24 15:40:11 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onShutdown
workers.properties:
[config:]
file=c:/Program Files/Apache Group/Apache2/conf/workers2.properties
debug=0
debugEnv=0
[shm]
file=c:/Program Files/Apache Group/Apache2/logs/jk2.shm
size=10485760
# Define the communication channel
[channel.socket:192.62.22.154:8009]
tomcatId=192.62.22.154:8009
[ajp13:192.62.22.154:8009]
channel=channel.socket:192.62.22.154:8009
# Define the comunication channel
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess
# Define the parameters for the Java Virtual Machine
[vm:]
info=Parameters used to load a JVM in the server process
OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar
OPT=-Dtomcat.home=c:/tomcat
OPT=-Dcatalina.home=c:/tomcat
OPT=-Xmx128M
# JNI worker startup handler
[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
stdout=c:/Program Files/Apache Group/Apache2/logs/stdout.log
stderr=c:/Program Files/Apache Group/Apache2/logs/stderr.log
# JNI worker shutdown handler
[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
[status:]
info=Status worker, displays runtime information
channel=channel.socket:192.62.22.154:8009
[uri:/status/*]
worker=status:192.62.22.154:8009
group=status:
# Uri mapping
[uri:/examples]
info=Example webapp in the default context.
context=/examples
[uri:/examples/*]
info=Map the whole webapp
# Uri mapping
[uri:/cmplus]
info=Example webapp in the default context.
context=/cmplus
[uri:/cmplus/*]
info=Map the whole webapp
j2.properties
#Shared memory directive
shm.file=c:/Program Files/Apache Group/Apache2/logs/jk2.shm
size=10485760
# Set the desired handler list
handler.list=apr,request,channelJni
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
apr.jniModeSo=inprocess
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]