You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Brzezinski, Paul J" <pa...@eds.com> on 2002/10/15 21:49:09 UTC

[5.0]: build issues on Solaris 8?

I've built 5.0 on Solaris 8 (SPARC).  I have installed Java 2 SDK 1.4.1,
Apache 2.0.40 (64-bit SPARC binary built using gcc-3.1).  

Getting an error with the following jk2.properties file:

shm.file=${jkHome}/work/jk2.shm
handler.list=apr,request,channelUnix
channelJni.disabled = 0
apr.jniModeSo=inprocess
channelUnix.file=${jkHome}/work/jk2.socket

Oct 15, 2002 3:32:49 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 15, 2002 3:32:49 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 15, 2002 3:32:50 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 15, 2002 3:32:52 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/5.0
Oct 15, 2002 3:32:54 PM org.apache.catalina.startup.ContextConfig
authenticatorC
onfig
INFO: Configured an authenticator for method BASIC
Oct 15, 2002 3:32:55 PM org.apache.catalina.startup.ContextConfig tldScan
INFO: Processed tld  /WEB-INF/struts-logic.tld 217
Oct 15, 2002 3:32:56 PM org.apache.catalina.startup.ContextConfig tldScan
INFO: Processed tld jar  /WEB-INF/lib/struts.jar 413
Oct 15, 2002 3:32:56 PM org.apache.catalina.startup.ContextConfig
authenticatorC
onfig
INFO: Configured an authenticator for method FORM
Oct 15, 2002 3:33:03 PM org.apache.catalina.startup.ContextConfig
authenticatorC
onfig
INFO: Configured an authenticator for method FORM
Oct 15, 2002 3:33:04 PM org.apache.catalina.startup.ContextConfig
authenticatorC
onfig
INFO: Configured an authenticator for method FORM
Oct 15, 2002 3:33:04 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Oct 15, 2002 3:33:04 PM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at org.apache.jk.apr.AprImpl.<clinit>(AprImpl.java:340)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        at org.apache.jk.server.JkMain.newHandler(JkMain.java:514)
        at org.apache.jk.server.JkMain.start(JkMain.java:336)
        at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:164)
        at org.apache.coyote.tomcat5.CoyoteConnector.start(Unknown Source)
        at org.apache.catalina.core.StandardService.start(Unknown Source)
        at org.apache.catalina.core.StandardServer.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

This is similar to the error that I receive using Tomcat-4.1.12.  Does the
apr stuff just *NOT* work on Solaris 8?


--
mailto:Paul.Brzezinski@EDS.com
Enterprise Distributed Capabilities
EDS Corporation
248-265-8283

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>