Hi Guys,
I hope I didn't miss a message where this had been posted, but i've so far been unable to get this java servlet going. It looks absolutely awesome, and I want to get started, but it's just not happening. These are the errors that show up in my tomcat log when I start the server. I'm guessing that something is missing, but I can't for the life of me find what it is. If it helps, i'm running Ubuntu (dapper), tomcat 5.0.30-9, and java 1.5.0-06-1...all of these are the latest available. Any suggestions? 24/08/2006 23:59:52 org.apache.catalina.startup.HostConfig deployDirectories SEVERE: Error deploying web application directory ops 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:294) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:388) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:226) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134) at org.apache.commons.digester.Digester.getFactory(Digester.java:498) at org.apache.catalina.startup.DigesterFactory.newDigester(DigesterFactory.java:81) at org.apache.catalina.startup.TldConfig.createTldDigester(TldConfig.java:408) at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:508) 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:4412) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121) 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:805) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277) at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) 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:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) 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 -- 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 |
Administrator
|
Lee,
This looks like it's happening because of a classloader hack that was implemented for Tomcat. Maybe this just fails with Tomcat 5.0.x? Can you try with Tomcat 5.5.x instead? -Erik Lee Standen wrote: > Hi Guys, > > I hope I didn't miss a message where this had been posted, but i've so > far been unable to get this java servlet going. It looks absolutely > awesome, and I want to get started, but it's just not happening. > > These are the errors that show up in my tomcat log when I start the > server. I'm guessing that something is missing, but I can't for the > life of me find what it is. > > If it helps, i'm running Ubuntu (dapper), tomcat 5.0.30-9, and java > 1.5.0-06-1...all of these are the latest available. > > Any suggestions? > > > > 24/08/2006 23:59:52 org.apache.catalina.startup.HostConfig > deployDirectories > SEVERE: Error deploying web application directory ops > 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:294) > at > javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:388) > > at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:226) > at > javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134) > at > org.apache.commons.digester.Digester.getFactory(Digester.java:498) > at > org.apache.catalina.startup.DigesterFactory.newDigester(DigesterFactory.java:81) > > at > org.apache.catalina.startup.TldConfig.createTldDigester(TldConfig.java:408) > at > org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:508) > 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:4412) > > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4266) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) > > at > org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121) > 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:805) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) > at > org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277) > > at > org.apache.catalina.core.StandardHost.install(StandardHost.java:832) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701) > > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:789) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) > at > org.apache.catalina.core.StandardService.start(StandardService.java:480) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) > at org.apache.catalina.startup.Catalina.start(Catalina.java:556) > 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:287) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) > 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 > > > > ------------------------------------------------------------------------ > > > -- > 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 -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 |
Thanks, that was it.
Wow, finally going...now to start playing with some XForms :) Erik Bruchez wrote: > Lee, > > This looks like it's happening because of a classloader hack that was > implemented for Tomcat. Maybe this just fails with Tomcat 5.0.x? Can > you try with Tomcat 5.5.x instead? > > -Erik > > Lee Standen wrote: >> Hi Guys, >> >> I hope I didn't miss a message where this had been posted, but i've >> so far been unable to get this java servlet going. It looks >> absolutely awesome, and I want to get started, but it's just not >> happening. >> >> These are the errors that show up in my tomcat log when I start the >> server. I'm guessing that something is missing, but I can't for the >> life of me find what it is. >> >> If it helps, i'm running Ubuntu (dapper), tomcat 5.0.30-9, and java >> 1.5.0-06-1...all of these are the latest available. >> >> Any suggestions? >> >> >> >> 24/08/2006 23:59:52 org.apache.catalina.startup.HostConfig >> deployDirectories >> SEVERE: Error deploying web application directory ops >> 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:294) >> at >> javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:388) >> >> at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:226) >> at >> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134) >> >> at >> org.apache.commons.digester.Digester.getFactory(Digester.java:498) >> at >> org.apache.catalina.startup.DigesterFactory.newDigester(DigesterFactory.java:81) >> >> at >> org.apache.catalina.startup.TldConfig.createTldDigester(TldConfig.java:408) >> >> at >> org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:508) >> 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:4412) >> >> at >> org.apache.catalina.core.StandardContext.start(StandardContext.java:4266) >> >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) >> >> at >> org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121) >> 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:805) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) >> at >> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277) >> >> at >> org.apache.catalina.core.StandardHost.install(StandardHost.java:832) >> at >> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701) >> >> at >> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432) >> at >> org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) >> at >> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) >> >> at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >> >> at >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) >> at >> org.apache.catalina.core.StandardHost.start(StandardHost.java:789) >> at >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) >> at >> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) >> at >> org.apache.catalina.core.StandardService.start(StandardService.java:480) >> at >> org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) >> at org.apache.catalina.startup.Catalina.start(Catalina.java:556) >> 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:287) >> at >> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) >> 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 >> >> >> >> ------------------------------------------------------------------------ >> >> >> -- >> 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 > > > ------------------------------------------------------------------------ > > > -- > 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 > -- 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 |