Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tomcat errror while starting framework using security manager
Tomcat errror while starting framework using security manager [message #127347] Mon, 06 April 2009 14:43 Go to next message
Johannes is currently offline JohannesFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,

i created a rap application. if i run this application on tomcat without
security manager everything works fine so far.
but if i enable the tomcat security manager i get following error: see
below
I granted all rights in the catalina.policy file and i also get this error
if i only try to deploy the demoapp.
is this a bug?
or has someone a idea how to solve this problem ?

kind regards
Johannes

06.04.2009 16:34:49 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive rap.war
06.04.2009 16:35:08 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: Error while starting Framework
java.lang.ClassCircularityError:
org/eclipse/osgi/framework/util/SecureAction$18
at
org.eclipse.osgi.framework.util.SecureAction.forName(SecureA ction.java:337)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.getBuiltIn(StreamHandlerFactory.java:80)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createInternalURLStreamHandler(StreamHandlerFactory.ja va:123)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createURLStreamHandler(StreamHandlerFactory.java:110)
at java.net.URL.getURLStreamHandler(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.JarURLConnection.parseSpecs(Unknown Source)
at java.net.JarURLConnection.<init>(Unknown Source)
at
org.eclipse.equinox.servletbridge.CloseableURLClassLoader$Cl oseableJarURLConnection. <init>(CloseableURLClassLoader.java:55)
at
org.eclipse.equinox.servletbridge.CloseableURLClassLoader$Cl oseableJarURLStreamHandler.openConnection(CloseableURLClassL oader.java:97)
at java.net.URL.openConnection(Unknown Source)
at
org.eclipse.equinox.servletbridge.CloseableURLClassLoader.de fineClass(CloseableURLClassLoader.java:249)
at
org.eclipse.equinox.servletbridge.CloseableURLClassLoader$1. run(CloseableURLClassLoader.java:231)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.equinox.servletbridge.CloseableURLClassLoader.fi ndClass(CloseableURLClassLoader.java:214)
at
org.eclipse.equinox.servletbridge.FrameworkLauncher$ChildFir stURLClassLoader.loadClass(FrameworkLauncher.java:767)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.Framework.installCo ntentHandlerFactory(Framework.java:1491)
at
org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:226)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:152)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:288)
at
org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:65)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:162)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:115)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$000(ContainerB ase.java:122)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.ru n(ContainerBase.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:738)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1150)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
06.04.2009 16:35:08 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: StandardWrapper.Throwable
java.lang.RuntimeException: org/eclipse/osgi/framework/util/SecureAction$18
at
org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:296)
at
org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:65)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:162)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:115)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$000(ContainerB ase.java:122)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.ru n(ContainerBase.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:738)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1150)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
06.04.2009 16:35:08 org.apache.catalina.core.StandardContext loadOnStartup
SCHWERWIEGEND: Servlet /rap threw load() exception
java.lang.RuntimeException: org/eclipse/osgi/framework/util/SecureAction$18
at
org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:296)
at
org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:65)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:162)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:115)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$000(ContainerB ase.java:122)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.ru n(ContainerBase.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:738)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1150)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
06.04.2009 16:35:08 org.apache.catalina.core.StandardContext loadOnStartup
SCHWERWIEGEND: Servlet /rap threw load() exception
java.lang.ClassCircularityError:
org/eclipse/osgi/framework/util/SecureAction$18
at
org.eclipse.osgi.framework.util.SecureAction.forName(SecureA ction.java:337)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.getBuiltIn(StreamHandlerFactory.java:80)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createInternalURLStreamHandler(StreamHandlerFactory.ja va:123)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createURLStreamHandler(StreamHandlerFactory.java:110)
at java.net.URL.getURLStreamHandler(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.net.www.ParseUtil.fileToEncodedURL(Unknown Source)
at sun.security.provider.PolicyFile.canonicalizeCodebase(Unknow n Source)
at sun.security.provider.PolicyFile.access$700(Unknown Source)
at sun.security.provider.PolicyFile$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.PolicyFile.getPermissions(Unknown Source)
at sun.security.provider.PolicyFile.getPermissions(Unknown Source)
at sun.security.provider.PolicyFile.implies(Unknown Source)
at java.security.ProtectionDomain.implies(Unknown Source)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at
org.apache.jasper.EmbeddedServletOptions.<init>(EmbeddedServletOptions.java:368)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:98 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:162)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:115)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$000(ContainerB ase.java:122)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.ru n(ContainerBase.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:738)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1150)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
06.04.2009 16:35:08 org.apache.commons.modeler.Registry registerComponent
SCHWERWIEGEND: Null component
Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/rap, J2EEApplication=none,J2EEServer=none
06.04.2009 16:35:08 org.apache.catalina.startup.HostConfig deployDirectory
SCHWERWIEGEND: Error deploying web application directory ROOT
java.lang.IllegalArgumentException: java.lang.ClassCircularityError:
org/eclipse/osgi/framework/util/SecureAction$18
at org.apache.catalina.util.CharsetMapper.<init>(CharsetMapper.java:78)
at org.apache.catalina.util.CharsetMapper.<init>(CharsetMapper.java:59)
at
org.apache.catalina.core.StandardContext.getCharsetMapper(St andardContext.java:950)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4056)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$000(ContainerB ase.java:122)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.ru n(ContainerBase.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:738)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:927)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:890)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1150)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
06.04.2009 16:35:08 org.apache.catalina.startup.HostConfig deployDirectory
SCHWERWIEGEND: Error deploying web application directory tomcat-docs
java.lang.IllegalArgumentException: java.lang.ClassCircularityError:
org/eclipse/osgi/framework/util/SecureAction$18
at org.apache.catalina.util.CharsetMapper.<init>(CharsetMapper.java:78)
at org.apache.catalina.util.CharsetMapper.<init>(CharsetMapper.java:59)
at
org.apache.catalina.core.StandardContext.getCharsetMapper(St andardContext.java:950)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4056)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$000(ContainerB ase.java:122)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.ru n(ContainerBase.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:738)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:927)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:890)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1150)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
Caused by: java.lang.ClassCircularityError:
org/eclipse/osgi/framework/util/SecureAction$18
at
org.eclipse.osgi.framework.util.SecureAction.forName(SecureA ction.java:337)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.getBuiltIn(StreamHandlerFactory.java:80)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createInternalURLStreamHandler(StreamHandlerFactory.ja va:123)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createURLStreamHandler(StreamHandlerFactory.java:110)
at java.net.URL.getURLStreamHandler(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.net.www.ParseUtil.fileToEncodedURL(Unknown Source)
at sun.security.provider.PolicyFile.canonicalizeCodebase(Unknow n Source)
at sun.security.provider.PolicyFile.access$700(Unknown Source)
at sun.security.provider.PolicyFile$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.PolicyFile.getPermissions(Unknown Source)
at sun.security.provider.PolicyFile.getPermissions(Unknown Source)
at sun.security.provider.PolicyFile.implies(Unknown Source)
at java.security.ProtectionDomain.implies(Unknown Source)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at
org.apache.commons.modeler.modules.MbeansDescriptorsIntrospe ctionSource.createManagedBean(MbeansDescriptorsIntrospection Source.java:306)
at
org.apache.commons.modeler.modules.MbeansDescriptorsIntrospe ctionSource.execute(MbeansDescriptorsIntrospectionSource.jav a:86)
at
org.apache.commons.modeler.modules.MbeansDescriptorsIntrospe ctionSource.loadDescriptors(MbeansDescriptorsIntrospectionSo urce.java:79)
at org.apache.commons.modeler.Registry.load(Registry.java:792)
at org.apache.commons.modeler.Registry.loadDescriptors(Registry .java:901)
at org.apache.commons.modeler.Registry.findManagedBean(Registry .java:689)
at org.apache.commons.modeler.Registry.findManagedBean(Registry .java:1015)
at
org.apache.commons.modeler.Registry.registerComponent(Regist ry.java:832)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol .java:61)
at org.apache.catalina.connector.Connector.start(Connector.java :1090)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
... 6 more
Re: Tomcat errror while starting framework using security manager [message #127372 is a reply to message #127347] Mon, 06 April 2009 16:59 Go to previous messageGo to next message
Sergey N. Yashin is currently offline Sergey N. YashinFriend
Messages: 44
Registered: July 2009
Member
Hi!

I has solve this problem by using old servletbridge.jar and some other old
libraries, but OSGI on my installation is new.

This is my tomcat web-inf directory and versions of libraries that work
without this error, bug i think this error is totally bug:
-rw-r--r-- 1 root root 69550 2009-03-20 23:06
com.ibm.icu.base_4.0.1.v20090109.jar
-rw-r--r-- 1 root root 105810 2009-03-20 23:06
org.eclipse.core.commands_3.5.0.I20081202-0800.jar
-rw-r--r-- 1 root root 87478 2009-03-20 23:06
org.eclipse.core.contenttype_3.4.0.v20090302.jar
-rw-r--r-- 1 root root 197030 2009-03-20 23:06
org.eclipse.core.databinding_1.2.0.I20090309-1300.jar
-rw-r--r-- 1 root root 73116 2009-03-20 23:06
org.eclipse.core.databinding.beans_1.2.0.I20090305-1430.jar
-rw-r--r-- 1 root root 282083 2009-03-20 23:06
org.eclipse.core.databinding.observable_1.2.0.I20090311-1800 .jar
-rw-r--r-- 1 root root 144264 2009-03-20 23:06
org.eclipse.core.databinding.property_1.2.0.I20090311-1800.j ar
-rw-r--r-- 1 root root 85712 2009-03-20 23:06
org.eclipse.core.expressions_3.4.100.v20090311-0800.jar
-rw-r--r-- 1 root root 81901 2009-03-20 23:06
org.eclipse.core.jobs_3.4.100.v20090213.jar
-rw-r--r-- 1 root root 69850 2009-03-20 23:06
org.eclipse.core.runtime_3.5.0.v20090306.jar
-rw-r--r-- 1 root root 79572 2009-03-20 23:06
org.eclipse.equinox.app_1.0.100.v20080316.jar
-rw-r--r-- 1 root root 99373 2009-03-20 23:06
org.eclipse.equinox.common_3.5.0.v20090310-1800.jar
-rw-r--r-- 1 root root 35587 2009-03-20 23:06
org.eclipse.equinox.http.registry_1.0.100.v20080303.jar
-rw-r--r-- 1 root root 34317 2009-03-20 23:06
org.eclipse.equinox.http.servlet_1.0.100.v20080201.jar
-rw-r--r-- 1 root root 3242 2009-03-20 23:06
org.eclipse.equinox.http.servletbridge_1.0.0.200805051444.ja r
-rw-r--r-- 1 root root 103832 2009-03-20 23:06
org.eclipse.equinox.preferences_3.2.200.v20080201.jar
-rw-r--r-- 1 root root 171088 2009-03-20 23:06
org.eclipse.equinox.registry_3.4.0.v20080316.jar
-rw-r--r-- 1 root root 51002 2009-03-20 23:06
org.eclipse.jdt.junit.runtime_3.4.100.v20090311-0800.jar
-rw-r--r-- 1 root root 1120744 2009-03-20 23:06
org.eclipse.osgi_3.5.0.v20090311-1300.jar
-rw-r--r-- 1 root root 66046 2009-03-20 23:06
org.eclipse.osgi.services_3.2.0.v20090306-1900.jar
-rw-r--r-- 1 root root 811866 2009-03-20 23:06
org.eclipse.rap.jface_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 223411 2009-03-20 23:06
org.eclipse.rap.jface.databinding_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 3971 2009-03-20 23:06
org.eclipse.rap.jface.nl_ru_1.0.0.jar
-rw-r--r-- 1 root root 4064 2009-03-20 23:06
org.eclipse.rap.junit_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 8129 2009-03-20 23:06
org.eclipse.rap.junit.runtime_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 1142704 2009-03-20 23:06
org.eclipse.rap.rwt_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 1666 2009-03-20 23:06
org.eclipse.rap.rwt.nl_ru_1.0.0.jar
-rw-r--r-- 1 root root 721902 2009-03-20 23:06
org.eclipse.rap.rwt.q07_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 133061 2009-03-20 23:06
org.eclipse.rap.ui_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 253049 2009-03-20 23:06
org.eclipse.rap.ui.forms_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 64664 2009-03-20 23:06
org.eclipse.rap.ui.views_1.2.0.20090319-1159.jar
-rw-r--r-- 1 root root 3093179 2009-03-20 23:06
org.eclipse.rap.ui.workbench_1.2.0.20090319-1159.jar
drwxr-xr-x 4 root root 208 2009-03-20 23:06
org.junit_3.8.2.v20090203-1005
Re: Tomcat errror while starting framework using security manager [message #127378 is a reply to message #127372] Mon, 06 April 2009 19:36 Go to previous messageGo to next message
Johannes is currently offline JohannesFriend
Messages: 6
Registered: July 2009
Junior Member
Hi Sergey,

thanks for your fast reply, i will try out your suggestion tomorrow :)
hopefully it works this way.
Re: Tomcat errror while starting framework using security manager [message #127453 is a reply to message #127378] Tue, 07 April 2009 09:24 Go to previous message
Johannes is currently offline JohannesFriend
Messages: 6
Registered: July 2009
Junior Member
It works ;)
i used the old servletbridge version and now iam able to run my rap
application on tomcat 5.5 + security manager without any errors.

thanks a lot
Previous Topic:RAP in stand-alone Equinox
Next Topic:Set size of sticky view
Goto Forum:
  


Current Time: Wed Feb 08 15:15:41 GMT 2023

Powered by FUDForum. Page generated in 0.03504 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top