When it is working, you're getting lucky (and it is probably a bug :). There is no "org.apache.tomcat.service" package in any version of Tomcat >= 3.3.
"Lee Grey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > There is a definite cost to free software. I'm losing my mind. > > If <Engine> appears before <Connector>, Tomcat starts. If <Connector> > appears before <Engine>, Tomcat fails with PoolTcpConnector not found. > Aside from the fact that a non-nested XML structure should not be > order-dependent, AFAIK, the "correct" order is the opposite of what the > article at http://www.onjava.com/lpt/a/1618 says. > > --Lee > > -----Original Message----- > From: Lee Grey [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 15, 2002 3:28 PM > To: [EMAIL PROTECTED] > Subject: PoolTcpConnector not found? > > > When I try to start Tomcat, catalina.out says: > > Nov 15, 2002 3:10:50 PM org.apache.commons.digester.Digester startElement > SEVERE: Begin event threw exception > java.lang.ClassNotFoundException: org.apache.tomcat.service.PoolTcpConnector > at > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader > .java:992) > at > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader > .java:857) > at > org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252 > )..... > > I think this happened because I moved <Connector> to before <Engine> in > server.xml, per an article I found at onjava.com. The beginning of > server.xml is: > > <Server port="8005" shutdown="SHUTDOWN" debug="0"> > > <!-- Define an Apache-Connector Service --> > > <Service name="Tomcat-Apache"> > > <Connector className="org.apache.tomcat.service.PoolTcpConnector"> > <Parameter name="handler" > value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/> > <Parameter name="port" value="8009"/> > </Connector> > > <Engine name="Apache" defaultHost="www.urlinone.com" debug="0"> > > > So, I'm not sure if I've gone forward or backward. Have I just uncovered > the next problem on the road to getting this working, or have I broken > something? Tomcat was starting up before, with the same <Connector> > definition, but now that I moved it in front of <Engine>, it won't start. > Where should PoolTcpConnector be? My classpath is > CLASSPATH=.:/usr/local/java/lib:/var/tomcat4/common/lib/servlet.jar. > > Thanks, > Lee > ____________________________________________ > If you've ever opened more than one browser > window at the same time, you need URL in One > at http://www.URLinOne.com. There's no > software to install, and it's free! > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
