cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anjali jain" <>
Subject Cocoon not working when tomcat integrated with JBoss!!!
Date Fri, 27 Apr 2001 08:19:37 GMT

I configured Tomcat 3.2.1 for Coccon and I m able to run XML files successfully.
But when I integrated tomcat with JBoss2.1 then I am not able to run XML files..But when I
gave the URL http://localhost:8080/cocoon/Cocoon.xml , It does not throw any error on Server
console.but it is displaying the following error message on browser.
Please help me in this as I m not getting why it is not running?
Its too urgent....Wot could be the possible reasons..

the error message is as :
      Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp.XSPProcessor"
java.lang.NoSuchMethodError: See
	at org.apache.cocoon.framework.Manager.create(
	at org.apache.cocoon.framework.Router.init(
	at org.apache.cocoon.framework.Manager.create(
	at org.apache.cocoon.Engine.<init>(
	at org.apache.cocoon.Engine.getInstance(
	at org.apache.cocoon.Cocoon.init(
	at org.apache.tomcat.core.ServletWrapper.doInit(
	at org.apache.tomcat.core.Handler.init(
	at org.apache.tomcat.core.ServletWrapper.init(
	at org.apache.tomcat.core.Handler.service(
	at org.apache.tomcat.core.ServletWrapper.service(
	at org.apache.tomcat.core.ContextManager.internalService(
	at org.apache.tomcat.core.ContextManager.service(
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
	at org.apache.tomcat.service.TcpWorkerThread.runIt(
	at org.apache.tomcat.util.ThreadPool$

      Warning: this page has been dynamically generated.  

Now, in case of Coccon also you have parser.jar and xml.jar which u rename to zparser.jar
and zxml.jar so that xerces.jar is set first in the classpath by tomcat.Xerces.jar is needed
by XSP .

I tried same in Jboss but it didnot work....The server log shows that it loads first all jars
from the lib/ext folder and then from tomcat.Now I think my problem can be solved if by someway
i make tomcat jars load first..But how?? or some other way...

java developer

View raw message