My case:

both cocoon.properties and web.xml are in

C:\tomcat\webapps\cocoon\WEB-INF


See these attached.

Viktor

----- Original Message -----
From: "Joel Benveniste" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 11, 2001 6:01 PM
Subject: Re: Publishing Engine could not be initialized


> Hello...
>
> I've been looking into this problem and it seems that it comes from the
> cocoon.properties line 164.
>
> I really need help on this one...anyone??? just a little direction...
>
> Thanks
> JOEL
>
>
>
> JOEL BENVENISTE wrote:
>
> >
> > Hi all,
> >
> > I am trying to get cocoon working within Weblogic and am getting the
> > error listed below...
> >
> > This is my first time working with cocoon...can anyone help me...
> >
> > Thanks
> > JOEL
> >
> >
> >
> > Publishing Engine could not be initialized.
> >
> > java.lang.RuntimeException: Error loading logicsheet at
> > resource://org/apache/cocoon/processor/xsp/library/java/cookie.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
> >
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:474)
> >
> >     at
> >
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:432)
> >
> >     at
> >
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:421)
> >
> >     at
> >
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:18
1)
> >
> >     at
> >
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:118)
> >
> >     at
> >
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:761)
> >
> >     at
> >
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:708)
> >
> >     at
> >
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:252)
> >
> >     at
> >
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
> >     at
> > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
> >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
> >
> >
> > ---------------------------------------------------------------------
> > 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: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 
     This is the web-app configurations that allow Cocoon to work under
     Apache Tomcat. Please, follow the installation section of the
     documentation for more information about installing Cocoon on Tomcat 
-->
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
<web-app>
	<servlet>
		<servlet-name>org.apache.cocoon.Cocoon</servlet-name>
		<servlet-class>org.apache.cocoon.Cocoon</servlet-class>
		<init-param>
			<param-name>properties</param-name>
			<param-value>/WEB-INF/cocoon.properties</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>org.apache.cocoon.Cocoon</servlet-name>
		<url-pattern>*.xml</url-pattern>
	</servlet-mapping>
</web-app>

cocoon.properties

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to