Could someone send the config of jk2.properties and workers2.properties to work with JNI cause I'm not being able to set communication correctly? Or tell me what I'm doing of wrong?
My jk2.properties is like this: handler.list=apr,channelSocket,channelJni channelJni.disabled = 0 apr.jniModeSo=C:/Program Files/Apache Group/Apache2/modules/mod_jk2.dll shm.file=C:/Program Files/Apache Group/Apache2/logs/jk2.shm
And the workers2.properties is like this: [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=C:/Program Files/Java/j2re1.4.2_03/bin/client/jvm.dll OPT=-Djava.class.path=C:/Program Files/Apache Group/Tomcat 5.0/server/lib/tomcat-jni.jar;C:/Program Files/Apache Group/Tomcat 5.0/bin/commons-logging-api.jar OPT=-Dtomcat.home=${TOMCAT_HOME} OPT=-Dcatalina.home=${TOMCAT_HOME} OPT=-Xmx128M #OPT=-Djava.compiler=NONE 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 #class_path=C:/Program Files/Apache Group/Tomcat 5.0/server/lib/tomcat-jk2.jar;C:/Program Files/Apache Group/Tomcat 5.0/server/lib/tomcat-jni.jar;C:/j2sdk1.4.2_03/lib/tools.jar ARG=start disabled=0 stdout=C:/Program Files/Apache Group/Apache2/logs/stdout.log stderr=C:/Program Files/Apache Group/Apache2/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 #class_path=C:/Program Files/Apache Group/Tomcat 5.0/server/lib/tomcat-jk2.jar;C:/Program Files/Apache Group/Tomcat 5.0/server/lib/tomcat-jni.jar;C:/j2sdk1.4.2_03/lib/tools.jar ARG=stop disabled=0