Re: Cocoon 2.1-dev in Tomcat 4.1.7

2002-09-03 Thread leo leonid




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




RE: Cocoon 2.1-dev in Tomcat 4.1.7

2002-09-03 Thread Matthew Langham

Leo,

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

Matthew

 

-Original Message-
From: leo leonid [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 4:25 PM
To: [EMAIL PROTECTED]
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: [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/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Cocoon 2.1-dev in Tomcat 4.1.7

2002-09-03 Thread Matthew Langham

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



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