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:58:54 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 changed 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 "The new Interface is stunning in its simplicity and ease of use." -
PC Magazine
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message