You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Matthew Langham <ml...@s-und-n.de> on 2002/09/03 15:39:21 UTC

Cocoon 2.1-dev in Tomcat 4.1.7

Hi,

does anyone have this combination running (jdk 1.3.1)? We have just tried to
deploy a war file of the current 2.1 CVS version but without luck. Tomcat
unpacks the war but doesn't seem to actually mount anything. Calling any
Cocoon URI gives a 404.

The log lists this exception:

>>
2002-09-03 15:37:56 HostConfig[localhost] Error deploying web application
directory cocoon
java.io.IOException: java.lang.IllegalStateException:
ContainerBase.addChild: start: LifecycleException:  start: :
java.lang.ClassCastException: org.apache.naming.resources.FileDirContext
	at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:262)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
	at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569
)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
	at org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2185)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
<<

Any ideas?

Matthew



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


CVS build -> missing WEB-INF/lib !

Posted by Barbara Post <ba...@ifrance.com>.
I use T 2.0.4 and jdk 1.3.1, wanted to use latest c2.1 war (from one hour
ago cvs head). Tomcat strangely didn't unpack, and when I manually unpack it
says :

 The requested service (Servlet Cocoon2 is currently unavailable) is not
currently available.

When I built cocoon it told it was targeted for jvm 1.2 so 1.3.1 should
work...

What can be wrong ? The log says :

java.lang.ClassNotFoundException: org.apache.cocoon.servlet.CocoonServlet
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1406)
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1254)

Ah well, "lib" subdirectory of WEB-INF is missing, argh...

Strange... I used build.bat -Dinclude.webapp.libs=yes webapp

----- Original Message -----
From: "leo leonid" <te...@leonid.de>
To: <co...@xml.apache.org>
Sent: Tuesday, September 03, 2002 4:25 PM
Subject: Re: Cocoon 2.1-dev in Tomcat 4.1.7


>
>
>
> On Tuesday, September 3, 2002, at 03:39  Uhr, Matthew Langham wrote:
>
> > Hi,
> >
> > does anyone have this combination running (jdk 1.3.1)? We have just
> > tried to
> > deploy a war file of the current 2.1 CVS version but without luck.
> > Tomcat
> > unpacks the war but doesn't seem to actually mount anything. Calling any
> > Cocoon URI gives a 404.
> > Any ideas?
> >
> > Matthew
> >
> >
>
> I use I similar combination: latest 2.1 CVS version, tomcat 4.1.9 and
> jdk 1.3.1. This works fine out of the box.
>
> /Leo
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


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

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


RE: Cocoon 2.1-dev in Tomcat 4.1.7

Posted by Matthew Langham <ml...@s-und-n.de>.
Leo,

thanks. The problem was in the way we were building the war file.

Matthew

 

-----Original Message-----
From: leo leonid [mailto:tek@leonid.de]
Sent: Tuesday, September 03, 2002 4:25 PM
To: cocoon-users@xml.apache.org
Subject: Re: Cocoon 2.1-dev in Tomcat 4.1.7





On Tuesday, September 3, 2002, at 03:39  Uhr, Matthew Langham wrote:

> Hi,
>
> does anyone have this combination running (jdk 1.3.1)? We have just 
> tried to
> deploy a war file of the current 2.1 CVS version but without luck. 
> Tomcat
> unpacks the war but doesn't seem to actually mount anything. Calling any
> Cocoon URI gives a 404.
> Any ideas?
>
> Matthew
>
>

I use I similar combination: latest 2.1 CVS version, tomcat 4.1.9 and
jdk 1.3.1. This works fine out of the box.

/Leo


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

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


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

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


Re: Cocoon 2.1-dev in Tomcat 4.1.7

Posted by leo leonid <te...@leonid.de>.


On Tuesday, September 3, 2002, at 03:39  Uhr, Matthew Langham wrote:

> Hi,
>
> does anyone have this combination running (jdk 1.3.1)? We have just 
> tried to
> deploy a war file of the current 2.1 CVS version but without luck. 
> Tomcat
> unpacks the war but doesn't seem to actually mount anything. Calling any
> Cocoon URI gives a 404.
> Any ideas?
>
> Matthew
>
>

I use I similar combination: latest 2.1 CVS version, tomcat 4.1.9 and
jdk 1.3.1. This works fine out of the box.

/Leo


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

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