0 Replies Latest reply on Apr 20, 2005 12:31 PM by Chetan Sanghi

    Help with the following security exception on JBoss startup

    Chetan Sanghi Newbie

      10:29:09,557 ERROR [MainDeployer] could not create deployment: file:/C:/cp/ThirdParty/jboss-4.0.1sp1/server/default/depl
      oy/http-invoker.sar/
      org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/cp/ThirdParty/jboss-4.0.1sp1/serv
      er/default/deploy/http-invoker.sar/; - nested throwable: (java.lang.SecurityException: org.jboss.mx.loading.UnifiedClass
      Loader3 is not trusted, pd: ProtectionDomain (file:/C:/cp/ThirdParty/jboss-4.0.1sp1/lib/jboss-jmx.jar <no certificates>
      )
      org.jboss.system.server.NoAnnotationURLClassLoader@4a5ab2
      <no principals>
      java.security.Permissions@1898115 (
      (java.util.PropertyPermission java.version read)
      (java.util.PropertyPermission java.vm.name read)
      (java.util.PropertyPermission java.vm.vendor read)
      (java.util.PropertyPermission os.name read)
      (java.util.PropertyPermission java.vendor.url read)
      (java.util.PropertyPermission java.vm.specification.vendor read)
      (java.util.PropertyPermission java.specification.vendor read)
      (java.util.PropertyPermission os.version read)
      (java.util.PropertyPermission java.specification.name read)
      (java.util.PropertyPermission java.class.version read)
      (java.util.PropertyPermission file.separator read)
      (java.util.PropertyPermission java.vm.version read)
      (java.util.PropertyPermission os.arch read)
      (java.util.PropertyPermission java.vm.specification.name read)
      (java.util.PropertyPermission java.vm.specification.version read)
      (java.util.PropertyPermission java.specification.version read)
      (java.util.PropertyPermission java.vendor read)
      (java.util.PropertyPermission path.separator read)
      (java.util.PropertyPermission line.separator read)
      (java.io.FilePermission \C:\cp\ThirdParty\jboss-4.0.1sp1\lib\jboss-jmx.jar read)
      (java.net.SocketPermission localhost:1024- listen,resolve)
      (java.lang.RuntimePermission stopThread)
      )

      )
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:237)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
      4)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.lang.SecurityException: org.jboss.mx.loading.UnifiedClassLoader3 is not trusted, pd: ProtectionDomain (
      file:/C:/cp/ThirdParty/jboss-4.0.1sp1/lib/jboss-jmx.jar <no certificates>)
      org.jboss.system.server.NoAnnotationURLClassLoader@4a5ab2
      <no principals>
      java.security.Permissions@1898115 (
      (java.util.PropertyPermission java.version read)
      (java.util.PropertyPermission java.vm.name read)
      (java.util.PropertyPermission java.vm.vendor read)
      (java.util.PropertyPermission os.name read)
      (java.util.PropertyPermission java.vendor.url read)
      (java.util.PropertyPermission java.vm.specification.vendor read)
      (java.util.PropertyPermission java.specification.vendor read)
      (java.util.PropertyPermission os.version read)
      (java.util.PropertyPermission java.specification.name read)
      (java.util.PropertyPermission java.class.version read)
      (java.util.PropertyPermission file.separator read)
      (java.util.PropertyPermission java.vm.version read)
      (java.util.PropertyPermission os.arch read)
      (java.util.PropertyPermission java.vm.specification.name read)
      (java.util.PropertyPermission java.vm.specification.version read)
      (java.util.PropertyPermission java.specification.version read)
      (java.util.PropertyPermission java.vendor read)
      (java.util.PropertyPermission path.separator read)
      (java.util.PropertyPermission line.separator read)
      (java.io.FilePermission \C:\cp\ThirdParty\jboss-4.0.1sp1\lib\jboss-jmx.jar read)
      (java.net.SocketPermission localhost:1024- listen,resolve)
      (java.lang.RuntimePermission stopThread)
      )


      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1373)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:203)
      ... 68 more
      10:29:10,591 ERROR [MainDeployer] could not create deployment: file:/C:/cp/ThirdParty/jboss-4.0.1sp1/server/default/depl
      oy/jbossweb-tomcat50.sar/
      org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/cp/ThirdParty/jboss-4.0.1sp1/serv
      er/default/deploy/jbossweb-tomcat50.sar/; - nested throwable: (java.lang.SecurityException: org.jboss.mx.loading.Unified
      ClassLoader3 is not trusted, pd: ProtectionDomain (file:/C:/cp/ThirdParty/jboss-4.0.1sp1/lib/jboss-jmx.jar <no certific
      ates>)
      org.jboss.system.server.NoAnnotationURLClassLoader@4a5ab2
      <no principals>
      java.security.Permissions@b34b1 (
      (java.util.PropertyPermission java.version read)
      (java.util.PropertyPermission java.vm.name read)
      (java.util.PropertyPermission java.vm.vendor read)
      (java.util.PropertyPermission os.name read)
      (java.util.PropertyPermission java.vendor.url read)
      (java.util.PropertyPermission java.vm.specification.vendor read)
      (java.util.PropertyPermission java.specification.vendor read)
      (java.util.PropertyPermission os.version read)
      (java.util.PropertyPermission java.specification.name read)
      (java.util.PropertyPermission java.class.version read)
      (java.util.PropertyPermission file.separator read)
      (java.util.PropertyPermission java.vm.version read)
      (java.util.PropertyPermission os.arch read)
      (java.util.PropertyPermission java.vm.specification.name read)
      (java.util.PropertyPermission java.vm.specification.version read)
      (java.util.PropertyPermission java.specification.version read)
      (java.util.PropertyPermission java.vendor read)
      (java.util.PropertyPermission path.separator read)
      (java.util.PropertyPermission line.separator read)
      (java.io.FilePermission \C:\cp\ThirdParty\jboss-4.0.1sp1\lib\jboss-jmx.jar read)
      (java.net.SocketPermission localhost:1024- listen,resolve)
      (java.lang.RuntimePermission stopThread)
      )

      )
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:237)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
      4)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.lang.SecurityException: org.jboss.mx.loading.UnifiedClassLoader3 is not trusted, pd: ProtectionDomain (
      file:/C:/cp/ThirdParty/jboss-4.0.1sp1/lib/jboss-jmx.jar <no certificates>)
      org.jboss.system.server.NoAnnotationURLClassLoader@4a5ab2
      <no principals>
      java.security.Permissions@b34b1 (
      (java.util.PropertyPermission java.version read)
      (java.util.PropertyPermission java.vm.name read)
      (java.util.PropertyPermission java.vm.vendor read)
      (java.util.PropertyPermission os.name read)
      (java.util.PropertyPermission java.vendor.url read)
      (java.util.PropertyPermission java.vm.specification.vendor read)
      (java.util.PropertyPermission java.specification.vendor read)
      (java.util.PropertyPermission os.version read)
      (java.util.PropertyPermission java.specification.name read)
      (java.util.PropertyPermission java.class.version read)
      (java.util.PropertyPermission file.separator read)
      (java.util.PropertyPermission java.vm.version read)
      (java.util.PropertyPermission os.arch read)
      (java.util.PropertyPermission java.vm.specification.name read)
      (java.util.PropertyPermission java.vm.specification.version read)
      (java.util.PropertyPermission java.specification.version read)
      (java.util.PropertyPermission java.vendor read)
      (java.util.PropertyPermission path.separator read)
      (java.util.PropertyPermission line.separator read)
      (java.io.FilePermission \C:\cp\ThirdParty\jboss-4.0.1sp1\lib\jboss-jmx.jar read)
      (java.net.SocketPermission localhost:1024- listen,resolve)
      (java.lang.RuntimePermission stopThread)
      )


      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1373)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:203)
      ... 68 more


      Thanks.

      Regards
      Chetan