4 Replies Latest reply on Mar 27, 2002 9:02 AM by Jens Kumpfmueller

    Deploying to Jboss 2.4.4

    Jens Kumpfmueller Newbie

      hi i trying to deploy an ejb to jboss 2.4.4. With jboss 2.4.3 there was no problem... but now i got always the following error:

      [INFO,ContainerFactory] Deploying:file:/opt/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/control-bean.jar
      [ERROR,ContainerFactory] Verify failure
      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:273)
      at java.security.AccessController.checkPermission(AccessController.java:404)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
      at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1665)
      at java.lang.Class.checkMemberAccess(Class.java:1406)
      at java.lang.Class.getDeclaredMethod(Class.java:1223)
      at org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(AbstractVerifier.java:383)
      at org.jboss.verifier.strategy.EJBVerifier11.verifySessionBean(EJBVerifier11.java:642)
      at org.jboss.verifier.strategy.EJBVerifier11.checkSession(EJBVerifier11.java:93)
      at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:134)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:465)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:369)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:327)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487) at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:327)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371) at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:327)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
      at java.lang.reflect.Method.invoke(Method.java:327)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.<init>(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)

      Deploying an other ear file works with no errors.

      plz help