2 Replies Latest reply: Apr 30, 2010 1:53 PM by Clebert Suconic RSS

    Problem starting JBoss AS 4.0.5 GA with HornetQ 2.0.0 GA

    Fabio Peruchi Newbie

      Hi!


      I downloaded and installed JBoss AS4 version 4.0.5 GA. I downloaded and installed HorneQ 4.0.5 GA. See the log below:

       

      C:\hornetq-2.0.0.GA_2\config\jboss-as>build.bat as4

      Build script found javac.
      hit alternate
      Using the following ant version from ..\..\tools\ant:
      calling ..\..\tools\ant\bin\ant.bat -version
      Apache Ant version 1.7.1 compiled on June 27 2008
      calling ..\..\tools\ant\bin\ant.bat as4 -Dhornetq.run_script=true
      Buildfile: build.xml
      as4:
      default:
      create-profile:
      validate-jboss:
          [mkdir] Created dir: C:\jboss-4.0.5.GA_2\server\default-with-hornetq
           [copy] Copying 297 files to C:\jboss-4.0.5.GA_2\server\default-with-hornetq
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\server\default-with-hornetq\conf
           [copy] Copying 2 files to C:\jboss-4.0.5.GA_2\server\default-with-hornetq\conf\props
           [copy] Copying 7 files to C:\jboss-4.0.5.GA_2\server\default-with-hornetq\lib
          [unzip] Expanding: C:\hornetq-2.0.0.GA_2\lib\hornetq-service.sar into C:\jboss-4.0.5.GA_2\server\default-w
      ith-hornetq\deploy\hornetq.sar
           [copy] Copying 2 files to C:\jboss-4.0.5.GA_2\server\default-with-hornetq\deploy\hornetq.sar
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\server\default-with-hornetq\deploy\hornetq.sar
          [unzip] Expanding: C:\hornetq-2.0.0.GA_2\lib\hornetq-ra.rar into C:\jboss-4.0.5.GA_2\server\default-with-h
      ornetq\deploy\jms-ra.rar
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\server\default-with-hornetq\deploy\jms-ra.rar\META-INF
           [copy] Copying 2 files to C:\jboss-4.0.5.GA_2\server\default-with-hornetq\deploy\jms-ra.rar
      create-profile:
      validate-jboss:
          [mkdir] Created dir: C:\jboss-4.0.5.GA_2\server\all-with-hornetq
           [copy] Copying 333 files to C:\jboss-4.0.5.GA_2\server\all-with-hornetq
           [copy] Copied 80 empty directories to 1 empty directory under C:\jboss-4.0.5.GA_2\server\all-with-hornetq
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\server\all-with-hornetq\conf
           [copy] Copying 2 files to C:\jboss-4.0.5.GA_2\server\all-with-hornetq\conf\props
           [copy] Copying 7 files to C:\jboss-4.0.5.GA_2\server\all-with-hornetq\lib
          [unzip] Expanding: C:\hornetq-2.0.0.GA_2\lib\hornetq-service.sar into C:\jboss-4.0.5.GA_2\server\all-with-
      hornetq\deploy\hornetq.sar
           [copy] Copying 2 files to C:\jboss-4.0.5.GA_2\server\all-with-hornetq\deploy\hornetq.sar
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\server\all-with-hornetq\deploy\hornetq.sar
          [unzip] Expanding: C:\hornetq-2.0.0.GA_2\lib\hornetq-ra.rar into C:\jboss-4.0.5.GA_2\server\all-with-horne
      tq\deploy\jms-ra.rar
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\server\all-with-hornetq\deploy\jms-ra.rar\META-INF
           [copy] Copying 2 files to C:\jboss-4.0.5.GA_2\server\all-with-hornetq\deploy\jms-ra.rar
          [mkdir] Created dir: C:\jboss-4.0.5.GA_2\bin\native
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\bin\native
           [copy] Copying 1 file to C:\jboss-4.0.5.GA_2\bin\native
      BUILD SUCCESSFUL
      Total time: 11 seconds
      Done
      I'm facing this error when I start to up the server below:
      13:23:41,099 WARN  [ServiceController] Problem starting service org.hornetq:service=HornetQJMSStarterService
      java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
      at org.hornetq.integration.logging.Log4jLogDelegate.isTraceEnabled(Log4jLogDelegate.java:46)
      at org.hornetq.core.logging.Logger.isTraceEnabled(Logger.java:149)
      at org.hornetq.core.journal.impl.JournalImpl.<clinit>(JournalImpl.java:95)
      at org.hornetq.core.persistence.impl.journal.JournalStorageManager.<init>(JournalStorageManager.java:197)
      at org.hornetq.core.server.impl.HornetQServerImpl.createStorageManager(HornetQServerImpl.java:893)
      at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1021)
      at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:301)
      at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:179)
      at org.hornetq.service.HornetQJMSStarterService.start(HornetQJMSStarterService.java:34)
      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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Unknown Source)

       

      Can I use HornetQ 2.0.0 GA with Boss AS 4.0.5 GA?

      Can you help me with the solution for this problem?

       

      Thanks in advance.

       

      Fabio Peruchi