Thanks!!!! I was beginning to wonder if my post was hitting the mail list (I'm bouncing back and forth between several computers).
I will give this a shot and post the results. anw > -----Original Message----- > From: Chong Yu Meng [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 7:55 PM > To: Tomcat Users List > Subject: Re: Can't find TomcatStarter > > > Hello Allen : > > For some reason, the OPT directives in workers2.properties are not read > properly. TomcatStarter is in tomcat-jni.jar, and though it is defined > in your workers2.properties file, it will not be "seen" by mod_jk2. To > get it to work, you need to add tomcat-jni.jar to your CLASSPATH > externally, then append "${CLASSPATH}" to the OPT directive. In other > words : > > OPT=-Djava.class.path="E:\Program Files\Apache Group\Tomcat > 4.1\bin\tomcat-jni.jar;E\Program Files\Apache Group\Tomcat > 4.1\bin\bootstrap.jar;E:\Program Files\Apache Group\Tomcat > 4.1\server\lib\commons-logging.jar;${CLASSPATH};" > > > Although I was able to get my setup going (on Linux), channelJNI spewed > out a lot of messages very quickly, and mod_jk2 attempted to start 3 > instances of Tomcat. Please do tell what your experience is, after > making the change. > > Regards, > pascal chong > > > > Williams, Allen wrote: > > >To all: > > > >Attempt to integrate Tomcat- Apache with jk2 on WinNT 4.0. > > > >Getting the following error: > >[Mon May 26 20:13:47 2003] [notice] jni.validate() class= > >org/apache/jk/apr/TomcatStarter > >[Mon May 26 20:13:47 2003] [error] Can't find class > >org/apache/jk/apr/TomcatStarter > >[Mon May 26 20:13:47 2003] [notice] vm.detach() ok > >[Mon May 26 20:13:47 2003] [error] workerEnv.initWorkers() init > >failed for worker.jni:onStartup > > > >With the following germane area from the workers2.properties: > > > >[vm:] > >info=Parameters used to load a JVM in the server process > >#JVM=C:\jdk\jre\bin\hotspot\jvm.dll JVM="E:\Program > >Files\Java\jdk1.3.1_07\jre\bin\hotspot\jvm.dll" > >OPT=-Djava.class.path="E:\Program Files\Apache Group\Tomcat > >4.1\bin\tomcat-jni.jar;E\Program Files\Apache Group\Tomcat > >4.1\bin\bootstrap.jar;E:\Program Files\Apache Group\Tomcat > >4.1\server\lib\commons-logging.jar" > >OPT=-Dtomcat.home=${CATALINA_HOME} > >OPT=-Dcatalina.home=${CATALINA_HOME} > >OPT=-Xmx128M > >#OPT=-Djava.compiler=NONE > >disabled=0 > > > >How do I tell it where to find TomcatStarter? > > > >And, does anyone know of a decent book on using Tomcat with a > good section on > >Apache/ Tomcat integration? > > > >Allen N. Williams > >Senior Consultant > >[EMAIL PROTECTED] > >Voice: +1.321.728.1995 > >Fax: +1.321.722.0580 > > > > > > > > > >--------------------------------------------------------------------- > >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
