9 Replies Latest reply on May 26, 2005 12:18 PM by Steve Maher

    JBoss 4.X and jre 5(1.5)

    Marcos Maia Newbie

      Is it possible to run JBoss using a JVM 5(1.5)?

        • 2. Re: JBoss 4.X and jre 5(1.5)
          MySql Nut Newbie

          Yes??

          But I am missing something... JBoss 4.0.0 runs fine when my JAVA_HOME is set to JDK1.4.2! But, when I point JAVA_HOME to JDK1.5.0, I get the following message... Can someone please help. I do appreciate it!


          2005-05-06 22:19:26,492 ERROR [org.jboss.web.WebModule] Starting failed jboss.web.deployment:war=invoker.war,id=-1274651378
          org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:379)
          at org.jboss.web.WebModule.startModule(WebModule.java:62)
          at org.jboss.web.WebModule.startService(WebModule.java:40)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          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:242)
          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.GeneratedMethodAccessor5.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          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:242)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy26.start(Unknown Source)
          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:362)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
          at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:339)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
          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:242)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy24.addDeployer(Unknown Source)
          at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java:108)
          at org.jboss.web.AbstractWebContainer.startService(AbstractWebContainer.java:568)
          at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:378)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          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:242)
          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.GeneratedMethodAccessor5.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          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:242)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
          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:242)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          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:204)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          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:242)
          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.GeneratedMethodAccessor5.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          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:242)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
          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:242)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
          at org.jboss.Main.boot(Main.java:151)
          at org.jboss.Main$1.run(Main.java:405)
          at java.lang.Thread.run(Thread.java:595)
          Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null
          at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:143)
          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:355)
          ... 138 more
          Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : property not set : javax.security.jacc.PolicyConfigurationFactory.provider
          at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:128)
          ... 139 more

          • 4. Re: JBoss 4.X and jre 5(1.5)
            MySql Nut Newbie

            I see that the matrix claims that JBoss 4.0.1+ runs with JDK5. What I do not see is why I am getting this error:

            2005-05-07 07:30:40,270 ERROR [org.jboss.web.WebModule] Starting failed jboss.web.deployment:war=invoker.war,id=-1795632456
            org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:366)
            at org.jboss.web.WebModule.startModule(WebModule.java:68)
            at org.jboss.web.WebModule.startService(WebModule.java:46)
            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:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            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:644)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:418)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            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:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy28.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:394)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
            at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:360)
            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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
            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:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy27.addDeployer(Unknown Source)
            at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java:111)
            at org.jboss.web.AbstractWebContainer.startService(AbstractWebContainer.java:600)
            at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:409)
            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:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            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:644)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:418)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            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:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
            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 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
            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:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
            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:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            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:644)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:418)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            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:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
            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:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
            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:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
            at org.jboss.Main.boot(Main.java:195)
            at org.jboss.Main$1.run(Main.java:463)
            at java.lang.Thread.run(Thread.java:595)
            Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null
            at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:143)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:337)
            ... 138 more
            Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : property not set : javax.security.jacc.PolicyConfigurationFactory.provider
            at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:128)
            ... 139 more

            • 5. Re: JBoss 4.X and jre 5(1.5)
              MySql Nut Newbie

              Regarding my previous posts:

              I thought that the problem might have been fixed with JBoss 4.0.2 (which was recently released). So, I downloaded it only to get the same exact error! :(

              Nowhere in the installation/configuration guide is there even a clue as to what is going wrong...

              I did read (in the WIKI) that there's an issue about JACC. But, it is not clear how one runs OOB with JDK 5.

              I get very few hits when I search for "PolicyConfigurationFactory" which leads me to think that I must be doing something wrong... Surely, someone, somewhere is *actually* running on JDK5?

              All help is greatly appreciated! :)

              • 6. Re: JBoss 4.X and jre 5(1.5)
                Scott Stark Master

                Your jdk1.5 install or classpath is polluted with jacc classes then as:

                 at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:128)
                ... 139 more
                


                does not match the jboss implementation of this class.

                On my winxpsp2 box using jdk1.5.0_02 it just works:
                
                C:\cvs\Releases\jboss-4.0.2\bin>run.bat
                ===============================================================================
                .
                 JBoss Bootstrap Environment
                .
                 JBOSS_HOME: C:\cvs\Releases\jboss-4.0.2\bin\\..
                .
                 JAVA: C:/usr/java/jdk1.5.0_02\bin\java
                .
                 JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
                .
                 CLASSPATH: C:/usr/java/jdk1.5.0_02\lib\tools.jar;C:\cvs\Releases\jboss-4.0.2\bin\\run.jar
                .
                ===============================================================================
                .
                06:38:50,342 INFO [Server] Starting JBoss (MX MicroKernel)...
                06:38:50,342 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
                06:38:50,342 INFO [Server] Home Dir: C:\cvs\Releases\jboss-4.0.2
                06:38:50,342 INFO [Server] Home URL: file:/C:/cvs/Releases/jboss-4.0.2/
                06:38:50,342 INFO [Server] Library URL: file:/C:/cvs/Releases/jboss-4.0.2/lib/
                06:38:50,342 INFO [Server] Patch URL: null
                06:38:50,357 INFO [Server] Server Name: default
                06:38:50,357 INFO [Server] Server Home Dir: C:\cvs\Releases\jboss-4.0.2\server\default
                06:38:50,357 INFO [Server] Server Home URL: file:/C:/cvs/Releases/jboss-4.0.2/server/default/
                06:38:50,357 INFO [Server] Server Data Dir: C:\cvs\Releases\jboss-4.0.2\server\default\data
                06:38:50,357 INFO [Server] Server Temp Dir: C:\cvs\Releases\jboss-4.0.2\server\default\tmp
                06:38:50,357 INFO [Server] Server Config URL: file:/C:/cvs/Releases/jboss-4.0.2/server/default/conf/
                06:38:50,357 INFO [Server] Server Library URL: file:/C:/cvs/Releases/jboss-4.0.2/server/default/lib/
                06:38:50,357 INFO [Server] Root Deployment Filename: jboss-service.xml
                06:38:50,357 INFO [Server] Starting General Purpose Architecture (GPA)...
                06:38:50,732 INFO [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc.
                06:38:50,732 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_02-b09,Sun Microsystems Inc.
                06:38:50,732 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                06:38:51,201 INFO [Server] Core system initialized
                06:38:52,779 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
                06:38:52,842 INFO [WebService] Using RMI server codebase: http://banshee9100:8083/
                06:38:53,092 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0,
                Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
                06:38:56,935 INFO [Embedded] Catalina naming disabled
                06:38:57,326 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
                06:38:57,326 INFO [Catalina] Initialization processed in 328 ms
                06:38:57,326 INFO [StandardService] Starting service jboss.web
                06:38:57,326 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
                06:38:57,373 INFO [StandardHost] XML validation disabled
                06:38:57,404 INFO [Catalina] Server startup in 78 ms
                06:38:57,654 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/cvs/Releases/jboss-4.0.2/server/default/de
                ploy/http-invoker.sar/invoker.war/
                06:38:57,935 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
                06:38:58,404 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/cvs/Releases/jboss-4.0.2/server/default/tmp/
                deploy/tmp24850jboss-ws4ee-exp.war/
                06:38:58,545 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/cvs/Releases/jboss-4.0.2/server/default/deploy/jb
                ossweb-tomcat55.sar/ROOT.war/
                06:38:58,795 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/cvs/Releases/jboss-4.0.2/server/def
                ault/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                06:39:00,717 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/cvs/Releases/jboss-4.0.2/server/defaul
                t/deploy/management/console-mgr.sar/web-console.war/
                06:39:01,357 INFO [MailService] Mail Service bound to java:/Mail
                06:39:01,998 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/Releases/jboss-4.
                0.2/server/default/deploy/jboss-ha-local-jdbc.rar
                06:39:02,123 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/Releases/jboss-4.
                0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
                06:39:02,232 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/Releases/jboss-4.
                0.2/server/default/deploy/jboss-local-jdbc.rar
                06:39:02,357 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/Releases/jboss-4.
                0.2/server/default/deploy/jboss-xa-jdbc.rar
                06:39:02,451 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/Releases/jboss-4.
                0.2/server/default/deploy/jms/jms-ra.rar
                06:39:02,560 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/Releases/jboss-4.
                0.2/server/default/deploy/mail-ra.rar
                06:39:03,357 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss
                .jca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
                06:39:03,670 INFO [A] Bound to JNDI name: queue/A
                06:39:03,670 INFO [B] Bound to JNDI name: queue/B
                06:39:03,670 INFO [C] Bound to JNDI name: queue/C
                06:39:03,685 INFO [D] Bound to JNDI name: queue/D
                06:39:03,685 INFO [ex] Bound to JNDI name: queue/ex
                06:39:03,701 INFO [testTopic] Bound to JNDI name: topic/testTopic
                06:39:03,701 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                06:39:03,717 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                06:39:03,717 INFO [testQueue] Bound to JNDI name: queue/testQueue
                06:39:03,779 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
                06:39:03,826 INFO [DLQ] Bound to JNDI name: queue/DLQ
                06:39:04,029 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager
                 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA'
                06:39:04,076 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/cvs/Releases/jboss-4.0.2/server/defaul
                t/deploy/jmx-console.war/
                06:39:04,435 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
                06:39:04,592 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
                06:39:04,623 INFO [JkMain] Jk running ID=0 time=0/63 config=null
                06:39:04,623 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 14s:
                266ms
                



                • 7. Re: JBoss 4.X and jre 5(1.5)
                  MySql Nut Newbie

                  Scott:

                  You (of course!) were right!!

                  I re-installed my JDK1.5 and the problem was resolved.

                  Once JBoss 4.0.2 was running, I methodically added jars to the new JDK1.5/jre/lib/ext directory until I could determine the exact cause of the problem. And this worked.

                  It seems that I had put j2ee.jar into the jre/libs/ext directory. And that caused the specific error.

                  I learned many good lessons from this ordeal; most important lesson learned: JBoss RULES!

                  Not only the product, but the people -- namely, YOU!

                  Thank YOU for the quick responses! JBoss is very fortunate to have you with them.

                  Now I can play! Thanks, again.

                  • 8. Re: JBoss 4.X and jre 5(1.5)
                    Steve Maher Newbie

                    I have JBoss 4.0.2 on Linux and I just discovered the web services example from the JBoss AS 4.0.2 Guide (http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch12.html), works on JDK1.4 but not on JDK1.5.

                    On 1.5 there's a NullPointerException in the sun.reflect.MethodAccessor.invoke() call in line 585 of java.lang.reflect.Method.invoke() when I invoke the web services client (see trace below).

                    I'm using 1.4.2_08 and 1.5.0_02. It took me awhile to figure this out - the code worked fine on my home box (running 1.4). I'm sticking with 1.4 despite the JBoss vs. JDK version matrix.

                    Any enlightenment? Perhaps there are some 1.4-"dependent" libraries in 4.0.2 JBOSS/client? Doesn't Apache axis have a 1.5 specific jar?

                    Steve


                    ---- from HelloClient.java ...

                    Contacting webservice at http://[snip]:8080/hello-ws/Hello?wsdl
                    hello.hello(test string)

                    Exception in thread "main" java.rmi.RemoteException: null; nested exception is:
                    java.lang.NullPointerException
                    at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:176)
                    at $Proxy1.hello(Unknown Source)
                    at org.jboss.chap12.client.HelloClient.main(HelloClient.java:61)
                    Caused by: java.lang.NullPointerException
                    at java.util.Hashtable.put(Hashtable.java:396)
                    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
                    at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:262)
                    at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
                    at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
                    at org.jboss.axis.Message.getContentType(Message.java:494)
                    at org.jboss.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
                    at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
                    at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
                    at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
                    at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
                    at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
                    at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
                    at org.jboss.axis.client.Call.invoke(Call.java:3039)
                    at org.jboss.axis.client.Call.invoke(Call.java:2629)
                    at org.jboss.axis.client.Call.invoke(Call.java:2538)
                    at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
                    at org.jboss.axis.client.Call.invoke(Call.java:1914)
                    at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
                    at org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381)
                    at $Proxy0.hello(Unknown Source)
                    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.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105)
                    ... 2 more

                    • 9. Re: JBoss 4.X and jre 5(1.5)
                      Steve Maher Newbie

                      Doh. The exception is only on the client so things are less drastic. I didn't try running a 1.4 client against a 1.5 server (but I bet it works). I'll post if I find out why the client is dying.

                      Steve