cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From icewind <icewi...@yahoo.com>
Subject error deploying cocoon
Date Tue, 02 Jul 2002 18:52:46 GMT
Hello,

Im using Debian with the tomcat4 package. The tomcat
samples work. I got the lastest binary version of
cocoon from the web site and put the cocoon.war file
in the $TOMCAT_HOME/webapps directory. When I restart
tomcat, I watch the tomcat log file and I get what is
below. How can I fix this and get cocoon to deploy
correctly?

Thanks.

--begin---

2002-07-02 14:32:15 Cocoon2: init
2002-07-02 14:32:15 StandardContext[/cocoon]: Servlet
/cocoon threw load() exception
javax.servlet.ServletException: Servlet.init() for
servlet Cocoon2 threw exception
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native
Method)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.security.AccessControlException: access denied
(java.util.PropertyPermission
javax.xml.parsers.SAXParserFactory read)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
        at
java.security.AccessController.checkPermission(AccessController.java:399)
        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
        at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278)
        at
java.lang.System.getProperty(System.java:560)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:214)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native
Method)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

2002-07-02 14:32:15 StandardWrapper[/cocoon:default]:
Loading container servlet default
2002-07-02 14:32:15 default: init
2002-07-02 14:32:15 StandardWrapper[/cocoon:invoker]:
Loading container servlet invoker
2002-07-02 14:32:15 invoker: init
2002-07-02 14:32:15 jsp: init
2002-07-02 14:32:16 Exception initializing
TldLocationsCache: XML parsing error on file
/WEB-INF/web.xml: Internal Error: File
/javax/servlet/resources/web-app_2_2.dtd not found


--end---

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message