tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang Xiao <yx...@ohpp.com>
Subject RE: Apache with JK ApacheConfig Class not found!
Date Thu, 08 Apr 2004 18:39:15 GMT

Argh, found through the old archives, it's changed to
org.apache.jk.config.ApacheConfig

Yang
-----Original Message-----
From: Yang Xiao [mailto:yxiao@ohpp.com] 
Sent: Thursday, April 08, 2004 2:16 PM
To: 'Tomcat Users List'
Subject: Apache with JK ApacheConfig Class not found!

Hi list,
I'm trying to configure JK 1.2.5 with Apache 2.0.49 and Tomcat 5.0.19, and I
have added the following lines to the server.xml file:
Under Server container
  <Listener className="org.apache.ajp.tomcat5.config.ApacheConfig"
modJk="/usr/local/apache/modules/mod_jk.so" />

and under Host

<Listener className="org.apache.ajp.tomcat5.config.ApacheConfig"
append="true" forwardAll="false" modJk="/usr/local/apache/modules/mod_jk.so"
workersConfig="/usr/local/tomcat/conf/workers.properties" />


I have tried using tomcat4 according to the How-to, but none of them work
and I get the cnfe which is shown below, thanks in advance!

---------------------------
Catalina.start: java.lang.ClassNotFoundException:
org.apache.ajp.tomcat5.config.ApacheConfig
java.lang.ClassNotFoundException: org.apache.ajp.tomcat5.config.ApacheConfig
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
        at
org.apache.commons.digester.Digester.startElement(Digester.java:1276)
        at
org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester.java
:112)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1548)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:586)
        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.start(Bootstrap.java:297)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Apr 8, 2004 3:10:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
        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.start(Bootstrap.java:297)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: java.lang.NullPointerException
        at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:617)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message