Hello!
I'm testing ops 3.5 M1 with a fresh install of tomcat 5.5 on a debian linux, but after I put ops.war in webapps and the tomcat try to deploy it, I get the following messages in logs: SEVERE: Error deploying web application archive ops.war java.lang.ExceptionInInitializerError at org.orbeon.oxf.xml.TomcatClasspathFix.<clinit>(TomcatClasspathFix.java:131) at org.orbeon.oxf.xml.XercesSAXParserFactoryImpl.<clinit>(XercesSAXParserFactoryImpl.java:39) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:100) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107) at org.apache.tomcat.util.digester.Digester.getFactory(Digester.java:486) at org.apache.tomcat.util.digester.Digester.getParser(Digester.java:691) at org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:899) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:514) at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:472) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:307) at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4278) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4115) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:743) at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:737) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.loader) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512) at java.lang.Class.checkMemberAccess(Class.java:2132) at java.lang.Class.getMethod(Class.java:1578) at org.orbeon.oxf.xml.TomcatClasspathFix.processManifest(TomcatClasspathFix.java:34) at org.orbeon.oxf.xml.TomcatClasspathFix.<clinit>(TomcatClasspathFix.java:98) ... 45 more I followed all instructions on http://www.orbeon.com/ops/doc/intro-install Any hints? thanks! Edgard. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Edgar, Are you running Security enabled Java? e.g. $CATALINA_HOME/bin/catalina.sh start -security If so, try turning it off, for a test. If the problem clears, then look at your policy file. http://tomcat.apache.org/tomcat-4.1-doc/security-manager-howto.html This may be more of a guess than a hint. Good luck, Hank R. Goleta, CA Quoting Edgard Pineda <[hidden email]>: > Hello! > I'm testing ops 3.5 M1 with a fresh install of tomcat 5.5 on a debian > linux, but after I put ops.war in webapps and the tomcat try to deploy > it, I get the following messages in logs: > > SEVERE: Error deploying web application archive ops.war > java.lang.ExceptionInInitializerError > I followed all instructions on http://www.orbeon.com/ops/doc/intro-install > > Any hints? > > thanks! > > Edgard. > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
2006/10/15, [hidden email] <[hidden email]>:
> Edgar, > Are you running Security enabled Java? e.g. > $CATALINA_HOME/bin/catalina.sh start -security > If so, try turning it off, for a test. If the > problem clears, then look at your policy file. > http://tomcat.apache.org/tomcat-4.1-doc/security-manager-howto.html > This may be more of a guess than a hint. > Good luck, > Hank R. Thank you Hank, but in an hour ago I finally resolved the every message error editing the file /etc/tomcat5.5/policy.d/04webapps.policy and adding the following: grant { ... permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.loader"; permission java.lang.RuntimePermission "setContextClassLoader"; permission java.net.SocketPermission "localhost:4446", "connect,resolve"; permission java.util.PropertyPermission "exist.home", "write"; permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; permission java.util.PropertyPermission "xml.catalog.verbosity", "write"; permission java.util.PropertyPermission "xml.catalog.ignoreMissing", "read"; permission java.util.PropertyPermission "xml.catalog.files", "read"; permission java.util.PropertyPermission "xml.catalog.staticCatalog", "read"; ... } and: // for exist-data: grant codeBase "file:${catalina.home}/webapps/ops/WEB-INF/-" { permission java.security.AllPermission; }; grant codeBase "file:/usr/share/java/repository/-" { permission java.security.AllPermission; }; Finally the tomcat5.5 started without any warnings and errors. I'm just now testing OPS 3.5 M1 !!! Edgard. > Goleta, CA > > > Quoting Edgard Pineda <[hidden email]>: > > > Hello! > > I'm testing ops 3.5 M1 with a fresh install of tomcat 5.5 on a debian > > linux, but after I put ops.war in webapps and the tomcat try to deploy > > it, I get the following messages in logs: > > > > SEVERE: Error deploying web application archive ops.war > > java.lang.ExceptionInInitializerError > > > I followed all instructions on http://www.orbeon.com/ops/doc/intro-install > > > > Any hints? > > > > thanks! > > > > Edgard. > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |