4 Replies Latest reply on Aug 4, 2008 12:03 PM by Peter Johnson

    JBoss 3.2 on JRockit 1.5

    vishal bhasin Newbie

      Hello All,

      I apologize if this is not the right forum for my question!

      I'm trying to help with deploying JBoss 3.2 on JRockit 1.5. The application runs just fine on Sun's JVM 1.5, but with JRockit I see NoClassFound errors while starting the java application.

      Any idea if I need to configure JBoss specifically to run on JRockit? If so, can you please point me to the right direction?

      Much appreciate the help!!

      Vishal

        • 1. Re: JBoss 3.2 on JRockit 1.5
          jaikiran pai Master

          Post the entire exception stacktrace and the logs that you see on the console.

          While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted

          • 2. Re: JBoss 3.2 on JRockit 1.5
            vishal bhasin Newbie

            Hello - here's the stacktrace -

            16:52:09,909 WARN [ResourceController] Problem creating resource sabre.blackbeard.listener:type=EmailListener
            java.lang.InternalError: erroneous handlers
            at java.security.Signature$Delegate.chooseProvider(Signature.java:1035)
            at java.security.Signature$Delegate.engineInitVerify(Signature.java:1091)
            at java.security.Signature.initVerify(Signature.java:427)
            at sun.security.pkcs.SignerInfo.verify(SignerInfo.java:368)
            at sun.security.pkcs.PKCS7.verify(PKCS7.java:494)
            at sun.security.pkcs.PKCS7.verify(PKCS7.java:511)
            at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:199)
            at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
            at java.util.jar.JarVerifier.processEntry(JarVerifier.java:276)
            at java.util.jar.JarVerifier.update(JarVerifier.java:188)
            at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
            at java.util.jar.JarFile.getInputStream(JarFile.java:390)
            at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:136)
            at java.net.URL.openStream(URL.java:1007)
            at java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:1183)
            at java.lang.Class.getResourceAsStream(Class.java:1996)
            at javax.mail.SecuritySupport12$2.run(SecuritySupport12.java:41)
            at javax.mail.SecuritySupport12.getResourceAsStream(SecuritySupport12.java:38)
            at javax.mail.Session.loadResource(Session.java:1033)
            at javax.mail.Session.loadResource(Session.java:1033)
            at javax.mail.Session.loadProviders(Session.java:873)
            at javax.mail.Session.(Session.java:191)
            at javax.mail.Session.getDefaultInstance(Session.java:280)
            at com.sabre.blackbeard.base.management.listener.EmailListener.createSession(EmailListener.java:411)
            at com.sabre.blackbeard.base.management.listener.EmailListener.createResource(EmailListener.java:341)
            at com.sabre.blackbeard.base.management.ManageableResourceMBeanSupport.create(ManageableResourceMBeanSupport.java:1
            )
            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 com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.resource.ResourceController$ResourceProxy.invoke(ResourceControll
            .java:858)
            at $Proxy0.create(Unknown Source)
            at management.kernel.resource.ResourceController.create(ResourceController.java:287)
            at management.kernel.resource.ResourceController.create(ResourceController.java:209)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
            at $Proxy4.create(Unknown Source)
            at management.kernel.deployment.SARDeployer.create(SARDeployer.java:219)
            at management.kernel.deployment.MainDeployer.create(MainDeployer.java:918)
            at management.kernel.deployment.MainDeployer.deploy(MainDeployer.java:775)
            at management.kernel.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 com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
            at $Proxy6.deploy(Unknown Source)
            at management.kernel.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScann
            .java:304)
            at management.kernel.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner
            ava:480)
            at management.kernel.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan
            bstractDeploymentScanner.java:206)
            at management.kernel.deployment.scanner.AbstractDeploymentScanner.startResource(Abstra
            DeploymentScanner.java:279)
            at management.ManageableResourceMBeanSupport.start(ManageableResourceMBeanSupport.java
            90)
            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 com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
            at $Proxy5.deploy(Unknown Source)
            at management.kernel.ResourceManager.doStart(ResourceManager.java:521)
            at management.kernel.ResourceManager.start(ResourceManager.java:373)
            at management.kernel.start.StarterService.start(StarterService.java:344)
            at
            management.kernel.start.MainStarter.boot(MainStarter.java:98)
            at
            management.kernel.start.MainStarter$1.run(MainStarter.java:322)
            at java.lang.Thread.run(Thread.java:595)
            16:52:09,929 INFO [CollectorAdmin] Started sabre.blackbeard.metrics:component=Metrics,type=CollectorAdmin
            16:52:09,949 INFO [StatisticMBeanLoader] Started sabre.blackbeard.metrics:component=Metrics,type=StatisticMBeanLoader
            16:52:09,949 INFO [MBeanStatisticExtractor] Started sabre.blackbeard:component=Metrics,type=MBeanStatisticExtractor
            16:52:09,949 INFO [ThrowableListenerNotificationEmitter] Started sabre.blackbeard.listener:type=ThrowableListenerNotificatio
            nEmitter
            16:52:09,969 INFO [CountStatisticListener] Started sabre.blackbeard:component=Metrics,type=CountStatisticListener
            16:52:09,999 INFO [MultiGaugeMonitorSubscriber] Started sabre.blackbeard.monitor.subscriber:type=MultiGaugeMonitorSubscriber
            ,component=Server
            16:52:10,009 INFO [StringMonitorSubscriber] Started sabre.blackbeard.monitor.subscriber:type=StringMonitorSubscriber,compone
            nt=Server
            16:52:10,249 WARN [ResourceController] Problem creating resource sabre.blackbeard.listener:type=BlackbeardIceProviderEmailLi
            stener
            java.lang.InternalError: erroneous handlers
            at java.security.Signature$Delegate.chooseProvider(Signature.java:1035)
            at java.security.Signature$Delegate.engineInitVerify(Signature.java:1091)
            at java.security.Signature.initVerify(Signature.java:427)
            at sun.security.pkcs.SignerInfo.verify(SignerInfo.java:368)
            at sun.security.pkcs.PKCS7.verify(PKCS7.java:494)

            .........
            then somewhere below I see a NoClassDefFound...
            ........

            16:52:16,228 WARN [ResourceController] Problem creating resource sabre.blackbeard:type=ServerAdmin,service=Server,connection
            Type=30032
            java.lang.NoClassDefFoundError: com/sabre/blackbeard/engine/AsyncExecutor
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at com.sabre.blackbeard.base.transport.tcpip.server.Server.initialize(Server.java:389)
            at com.sabre.blackbeard.base.transport.tcpip.server.Server.(Server.java:176)
            at com.sabre.blackbeard.base.transport.tcpip.server.ServerAdmin.createResource(ServerAdmin.java:189)
            at com.sabre.blackbeard.base.management.ManageableResourceMBeanSupport.create(ManageableResourceMBeanSupport.java:151
            )
            at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at management.kernel.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:75)
            at management.kernel.mx.server.Invocation.dispatch(Invocation.java:45)
            at management.kernel.mx.server.Invocation.invoke(Invocation.java:70)
            at management.kernel.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:166
            )
            at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.resource.ResourceController$ResourceProxy.invoke(ResourceController
            .java:858)
            at $Proxy0.create(Unknown Source)
            at management.kernel.resource.ResourceController.create(ResourceController.java:287)
            at management.kernel.resource.ResourceController.create(ResourceController.java:209)
            at management.kernel.resource.ResourceController.create(ResourceController.java:309)
            at management.kernel.resource.ResourceController.create(ResourceController.java:209)
            at management.kernel.resource.ResourceController.create(ResourceController.java:309)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
            at $Proxy4.create(Unknown Source)
            at management.kernel.deployment.SARDeployer.create(SARDeployer.java:219)
            at management.kernel.deployment.MainDeployer.create(MainDeployer.java:918)
            at management.kernel.deployment.MainDeployer.deploy(MainDeployer.java:775)
            at management.kernel.deployment.MainDeployer.deploy(MainDeployer.java:738)
            at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
            at $Proxy6.deploy(Unknown Source)
            at management.kernel.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner
            .java:304)
            at management.kernel.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.j
            ava:480)
            at management.kernel.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(A
            bstractDeploymentScanner.java:206)
            at management.kernel.deployment.scanner.AbstractDeploymentScanner.startResource(Abstract
            DeploymentScanner.java:279)
            at management.ManageableResourceMBeanSupport.start(ManageableResourceMBeanSupport.java:1
            90)
            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 com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at management.kernel.resource.ResourceController$ResourceProxy.invoke(ResourceController
            .java:858)
            at $Proxy0.start(Unknown Source)
            at management.kernel.resource.ResourceController.start(ResourceController.java:383)
            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 com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)

            • 3. Re: JBoss 3.2 on JRockit 1.5
              vishal bhasin Newbie

              What's interesting is that this application has no issues with running on Sun's JVM 1.5. Is there are class loader issue here? Do I have to set on conifiguration in JBoss for JRockit?

              Thanks!!

              • 4. Re: JBoss 3.2 on JRockit 1.5
                Peter Johnson Master

                The class com/sabre/blackbeard/engine/AsyncExecutor does not appear in JBossAS 3.2.7, so apparently you have an app deployed. Will JBossAS run on JRockit without that app deployed? If so, then you will have to contact the owner of that app to figure out why it will not run on JRockit.