You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Jens W. Klein" <je...@jensquadrat.de> on 2001/03/25 16:37:59 UTC
C2, Tomcat 4.0-b1 -> install problem
hi, may anybody can help me?
what i have done:
* got C2 from CVS
* build C2 cocoon.war
* installed Tomcat 4.0-b1
* copied cocoon.war to Tomcat's webapps dir
* started tomcat
access to the tomcat-examples work well
after that the cocoon.war is packed out under a own folder in the
"webapps"
but if i want to connect to the "http://myserver:8080/cocoon"-dir
i get an error (part of the log/localhost_log.2001-03-25.txt):
2001-03-25 16:08:44 StandardWrapper[/cocoon:Cocoon2]: Marking servlet
Cocoon2 as unavailable
2001-03-25 16:08:44 StandardWrapperValve[Cocoon2]: Allocate exception
for servlet Cocoon2
javax.servlet.ServletException: Error instantiating servlet class
org.apache.cocoon.servlet.CocoonServlet
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:747)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
[.. stuff cutted ..]
at java.lang.Thread.run(Thread.java:475)
----- Root Cause -----
java.lang.SecurityException: sealing violation
at java.net.URLClassLoader.defineClass(URLClassLoader.java:232)
at java.net.URLClassLoader.access$1(URLClassLoader.java:212)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at
org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:648)
[.. stuff cutted ..]
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
at java.lang.Thread.run(Thread.java:475)
i have absolute no idea whats went wrong.
also i cant find anything describing and solving my problem in the faq
or this newsgroup.
thx for your help
Jens KLEIN
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: C2, Tomcat 4.0-b1 -> install problem
Posted by Colin Britton <cb...@centervilletech.com>.
You need to use a Nightly build of Tomcat 4 (catalina) (from any date after
march 1). Then with the current cvs of C2 it should just work....
rgds
CB
----- Original Message -----
From: "Jens W. Klein" <je...@jensquadrat.de>
To: <co...@xml.apache.org>
Sent: Sunday, March 25, 2001 9:37 AM
Subject: C2, Tomcat 4.0-b1 -> install problem
> hi, may anybody can help me?
>
> what i have done:
> * got C2 from CVS
> * build C2 cocoon.war
> * installed Tomcat 4.0-b1
> * copied cocoon.war to Tomcat's webapps dir
> * started tomcat
>
> access to the tomcat-examples work well
>
> after that the cocoon.war is packed out under a own folder in the
> "webapps"
>
> but if i want to connect to the "http://myserver:8080/cocoon"-dir
> i get an error (part of the log/localhost_log.2001-03-25.txt):
>
> 2001-03-25 16:08:44 StandardWrapper[/cocoon:Cocoon2]: Marking servlet
> Cocoon2 as unavailable
> 2001-03-25 16:08:44 StandardWrapperValve[Cocoon2]: Allocate exception
> for servlet Cocoon2
> javax.servlet.ServletException: Error instantiating servlet class
> org.apache.cocoon.servlet.CocoonServlet
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:747)
> at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:227)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
> [.. stuff cutted ..]
> at java.lang.Thread.run(Thread.java:475)
> ----- Root Cause -----
> java.lang.SecurityException: sealing violation
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:232)
> at java.net.URLClassLoader.access$1(URLClassLoader.java:212)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> at
>
org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader
.java:648)
> [.. stuff cutted ..]
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
> at java.lang.Thread.run(Thread.java:475)
>
> i have absolute no idea whats went wrong.
> also i cant find anything describing and solving my problem in the faq
> or this newsgroup.
>
> thx for your help
>
> Jens KLEIN
>
> ---------------------------------------------------------------------
> 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: <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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: C2, Tomcat 4.0-b1 -> install problem
Posted by Klaus Drechsler <dr...@gmx.net>.
At 16:37 25.03.2001, you wrote:
>hi, may anybody can help me?
>
>what i have done:
>* got C2 from CVS
>* build C2 cocoon.war
>* installed Tomcat 4.0-b1
>* copied cocoon.war to Tomcat's webapps dir
>* started tomcat
Go an get the servlet-API from java.sun.com and copy it to
$JAVA_HOME/jre/lib/ext.
This solved this problem for me. (But that was with an older version from
C2. I donĀ“t know if
you have to do this with the current version).
Hope this helps.
bye,
Klaus
--
Farewell! I will omit no opportunity
That may convey my greetings, love, to thee.
Romeo&Juliet
(Act III, Scene V)
---------------------------------------------
PGP-Key: http://pgp.kdnet.de (soon!)
---------------------------------------------
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>