Did you make sure that xerces.jar is ahead of all other XML jars in the
classpath? Details on this problem and how to solve it are in the Cocoon
installation instructions (installing on Tomcat).

If this doesen't solve your problem, try the Cocoon users mailing list, as
this is more likely to be a problem with Cocoon than a problem with JBoss.

Regards,
Gardar
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Anil
Tatineni
Sent: 7. juni 2001 15:01
To: Jboss-Users List
Subject: [JBoss-user] problem with jboss2.2.1+tomcat 3.2.1+cocoon1.8.2


hi,
i am tryin to use jboss2.2.1+tomcat 3.2.1 + cocoon 1.8.2 with jdk1.2 on
windows2000.
i installed cocoon's jar files in $TOMCAT_HOME/lib and started jboss.
when i tried to hit the sample page as specified in the docs

http:/localhost:8080/cocoon/samples/index.xml

i get the following error.

Publishing Engine could not be initialized.

     java.lang.RuntimeException: Error loading logicsheet at
resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to
java.lang.Exception: Resource not found or retrieving error.
             at
org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:302)

             at
org.apache.cocoon.framework.Manager.create(Manager.java:109)
             at org.apache.cocoon.framework.Router.init(Router.java:80)
             at
org.apache.cocoon.framework.Manager.create(Manager.java:109)
             at org.apache.cocoon.Engine.<init>(Engine.java:179)
             at org.apache.cocoon.Engine.getInstance(Engine.java:232)
             at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
             at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
             at org.apache.tomcat.core.Handler.init(Handler.java:215)
             at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
             at org.apache.tomcat.core.Handler.service(Handler.java:254)

             at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
             at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)

             at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
             at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)

             at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

             at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)

             at java.lang.Thread.run(Unknown Source)


looking at the stack trace it is obviously looking for some resource in
the file
/org/apache/cocoon/processor/xsp/library/java/util.xsl.

so i went in to the source for this file and looked for some external
resources being called.
i found these 3 lines in the xsl declaration

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:xsp="http://www.apache.org/1999/XSP/Core";
  xmlns:util="http://www.apache.org/1999/XSP/Util";
>

of the above specified namespaces only the first one works but the other
2 throw a 404.
so i am not sure if this is the reason. did any of you guys tried to do
this and have a get around for this.
any help would be appreciated.

Thanks
Anil


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to