# 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=[Apache_install_dir]\logs\stdout.log stderr=[Apache_install_dir]\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
# Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp
# Set the desired handler list handler.list=apr,request,container,channelJni
# Enable jni use channelJni directive apr.jniModeSo=[Apache_install_dir]\modules\mod_jk2-2.0.43.dll
# If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # If you wish to start the Tomcat from inside web server then # you don′t need any above directive. Here is shown the default # value for the apr that you can ommit apr.jniModeSo=inprocess