cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Geissel" <ageis...@zenark.com>
Subject Re: Web-inf/lib
Date Thu, 09 Aug 2001 07:49:13 GMT
Hi,

We have this working with Tomcat 3.2 and Cocoon 1.8.2.

What we found was that when the WAR is first installed, it is expanded as
expected. However, before the JARs can be loaded by the Cocoon app, Tomcat
needs to be restarted (basically the restart needs to happen twice - once to
expand the WAR and once to load the JARs).

I hope that this helps,
Adrian

----- Original Message -----
From: Tait, Allen <atait@IDEXX.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, August 08, 2001 1:24 PM
Subject: Web-inf/lib


> I have written an application using Cocoon 1.8 and Tomcat 3.2.1.  It uses
> some Sax stuff but primarily publishes our xml content.  I have been
trying
> to get this app running with all needed jar files in the WEB-INF/lib
> directory of its .war file.  By all needed jar files I am referring to the
> Cocoon related jars.  So far, this hasn't worked.  I can only get this app
> to work if the needed "Cocoon" jars are in Tomcat's lib directory.  Has
> anyone else done this with a Cocoon app?  I get the following error when I
> put everything in the App's WEB-INF/lib directory:
>
>
> 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.connector.Ajp12ConnectionHandler.processConnection
> (Ajp12ConnectionHandler.java:166)
> 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(Thread.java:484)
> Warning: this page has been dynamically generated.
>
> Thanks in advance for any direction.
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message