tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mr Alireza Fattahi <afatt...@yahoo.com>
Subject ApacheConfig returns ClassCastException for mod_jk
Date Sun, 09 Jul 2006 13:59:03 GMT
Hi,

We want to configure tomcat 5.5.17 with mod_jk and change server.xml as below:

<Engine name="Catalina" defaultHost="localhost"  className="org.apache.jk.config.ApacheConfig"
>

The above was mentioned at "http://tomcat.apache.org/connectors-doc/howto/apache.html" to
create a mod_jk.conf-auto file.

But, we get an error which sayes:
java.lang.ClassCastException: org.apache.jk.config.ApacheConfig
    at org.apache.catalina.startup.LifecycleListenerRule.begin(LifecycleListenerRule.java:96)
    at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)

Any comments!

Regards,
Alireza Fattahi

 		
---------------------------------
 All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message