Nope, don't have that connector in my server.xml.  In fact, I have the warp
connector in there!?!  What should it look like?

Thanks,
anw

> -----Original Message-----
> From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 30, 2003 5:18 PM
> To: Tomcat Users List
> Subject: Re: Can't find TomcatStarter
>
>
> Oh crap you're right, damn twitchy fingers copied and pasted the
> wrong blurb.
> :)
>
> Allen,
>
> Just check the section that is commented as "Define a Coyote/JK2 AJP 1.3
> Connector on port 8009" is uncommented.
>
>
> On Sat, 31 May 2003 05:15, John Turner wrote:
> > Shouldn't that be CoyoteConnector instead of Ajp13Connector?
> >
> > John
> >
> > On Sat, 31 May 2003 05:11:39 +0800, Jason Bainbridge <[EMAIL PROTECTED]>
> >
> > wrote:
> > > Do you have the following in your server.xml and uncommented?
> > >
> > > <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> > > port="8009" minProcessors="5" maxProcessors="75"
> > > acceptCount="10" debug="0"/>
> > >
> > > and in your jk2.properties you should have:
> > >
> > > shm.file=path/to/your/shm/file
> > > channelJni.diabled = 0
> > > apr.jniModeSo=inprocess
> > >
> > > Regards,
> > > Jason
> > >
> > > On Sat, 31 May 2003 04:34, Allen Williams wrote:
> > >> Hey!!!!!  Fantastic!  That fixed that error.  Now, I've got:
> > >>
> > >> [Fri May 30 16:29:46 2003] [error] channelSocket.open()
> connect failed
> > >> localhost:8009 61 Unknown error
> > >> [Fri May 30 16:29:46 2003] [error] ajp13.connect() failed
> > >> ajp13:localhost:8009
> > >> [Fri May 30 16:29:46 2003] [error] ajp13.service() failed to connect
> > >> endpoint errno=61 Unknown error
> > >> [Fri May 30 16:29:46 2003] [error] ajp13.service() Error  forwarding
> > >> ajp13:localhost:8009 1 1
> > >> [Fri May 30 16:29:46 2003] [notice] ajp13.done() close endpoint
> > >> ajp13:localhost:8009 error_state 1
> > >> [Fri May 30 16:29:46 2003] [error] lb.service() worker
> failed 120000 for
> > >> ajp13:localhost:8009
> > >> [Fri May 30 16:29:46 2003] [notice] channel_jni.open():
> > >> [Fri May 30 16:29:46 2003] [error] channel_jni.open() Can't
> create java
> > >> context
> > >> [Fri May 30 16:29:46 2003] [error] channel_jni.send() no java context
> > >> [Fri May 30 16:29:46 2003] [notice] vm.detach() ok
> > >> [Fri May 30 16:29:46 2003] [notice] channel_jni.close() ok
> > >> [Fri May 30 16:29:46 2003] [error] ajp13.service() Error  forwarding
> > >> ajp13:jni 1 0
> > >>
> > >> I think the first one is the most germane.
> > >>
> > >> Allen N. Williams
> > >> President
> > >> Voice: +1.321.728.1995
> > >> Fax:     +1.321.722.0580
> > >>
> > >> > -----Original Message-----
> > >> > From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
> > >> > Sent: Friday, May 30, 2003 3:57 PM
> > >> > To: Tomcat Users List
> > >> > Subject: Re: Can't find TomcatStarter
> > >> >
> > >> >
> > >> > Try losing the double quotes around the path names and also use
> > >>
> > >> forward
> > >>
> > >> > slashes instead of backslashes, that is how my working
> OPT's are set.
> > >> >
> > >> > That isn't your whole workers2.properties is it? Are you setting
> > >> > it up to run
> > >> > in process via JNI (that's the recommended way)? If so you
> should have
> > >>
> > >> a
> > >>
> > >> > worker.jni:onStartup section along with a worker.jni:onShutdown,
> > >> > if you don't
> > >> > have these let us know and I will post what needs to go there.
> > >> >
> > >> > Regards,
> > >> > --
> > >> > Jason Bainbridge
> > >> > KDE Web Team - http://kde.org
> > >> > [EMAIL PROTECTED]
> > >> >
> > >> > On Sat, 31 May 2003 03:45, Allen Williams wrote:
> > >> > > Pascal,
> > >> > >
> > >> > > Thanks for the tip, but it didn't work.  It is STILL
> telling me it
> > >> > > can't find TomcatStarter.  How can it find the bootstrap
> program and
> > >> > > not find TomcatStarter?
> > >> > >
> > >> > > Here's what I currently have:
> > >> > >
> > >> > > Environment:
> > >> > > CATALINA_HOME="E:\Program Files\Apache Group\Tomcat 4.1"
> > >> > > CLASSPATH="E:\Program Files\Apache Group\Tomcat
> > >> > > 4.1\bin\Tomcat-jni.jar;E:\Program Files\Apache Group\Tomcat
> > >> > > 4.1\bin\bootstrap.jar"
> > >> > >
> > >> > > 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;$(CLASSPATH);"
> > >> > > OPT=-Dtomcat.home=${CATALINA_HOME}
> > >> > > OPT=-Dcatalina.home=${CATALINA_HOME}
> > >> > > OPT=-Xmx128M
> > >> > > #OPT=-Djava.compiler=NONE
> > >> > > disabled=0
> > >> > >
> > >> > > (Note $(CLASSPATH) added as per your suggestion).
> > >> > >
> > >> > > Error message:
> > >> > >
> > >> > > [Fri May 30 15:38:13 2003] [notice] jni.validate() class=
> > >> > > org/apache/jk/apr/TomcatStarter
> > >> > > [Fri May 30 15:38:13 2003] [error] Can't find class
> > >> > > org/apache/jk/apr/TomcatStarter
> > >> > > [Fri May 30 15:38:13 2003] [notice] vm.detach() ok
> > >> > >
> > >> > > Allen N. Williams
> > >> > > President
> > >> > > Voice: +1.321.728.1995
> > >> > > Fax:     +1.321.722.0580
> > >> > >
> > >> > > > -----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: tomcat-user-
> > >>
> > >> [EMAIL PROTECTED]
> > >>
> > >> > > > > For additional commands, e-mail:
> > >> > > > > [EMAIL PROTECTED]
> > >> > > >
> > >> > > >
> ------------------------------------------------------------------
> > >> > > >-
> > >>
> > >> --
> > >>
> > >> > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > >> > > > For additional commands, e-mail: tomcat-user-
> > >>
> > >> [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]
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> Jason Bainbridge
> KDE Web Team - http://kde.org
> [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]

Reply via email to