You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mr Alireza Fattahi <af...@yahoo.com> on 2006/07/09 15:58:54 UTC
ApacheConfig returns ClassCastException for mod_jk
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