On Jun 9, 2008, at 6:13 PM, Jarek Gawor wrote:
I think I got a little further after installing the native libraries
as described on http://tomcat.apache.org/tomcat-6.0-doc/apr.html but
things still failed for me with NoClassDefFoundError:
java.lang.NoClassDefFoundError
at
org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:604)
at
org.apache.coyote.ajp.AjpAprProtocol.init(AjpAprProtocol.java:160)
at
org.apache.catalina.connector.Connector.initialize(Connector.java:
1058)
at
org
.apache
.geronimo
.tomcat.connector.TomcatConnector.initialize(TomcatConnector.java:35)
Btw, I think Tomcat automatically wants to use APR connectors even for
the standard connectors once the native libraries are installed. That
is, I did not add any extra connectors but I can't start the server
becuase it fails with the above exception.
Hmmm. We're missing multiple Tomcat jars from our 2.1.2-SNAPSHOT
tomcat builds. In this case, the necessary jni classes should be in
repository/org/apache/tomcat/coyote/6.0.16/coyote-6.0.16.jar.
In 2.1.1, repository/org/apache/tomcat contains:
catalina, catalina-ha, coyote, extras, jasper, jasper-el, jasper-jdt,
juli, tribes
In my 2.1.2-SNAPSHOT build, it contains:
extras, jasper, jasper-el, jasper-jdt, juli, tribes
--kevan