7 Replies Latest reply on Oct 26, 2006 4:14 AM by Xiang Qinxian

    RC9 + JBoss Messaging 1.0.1GA Install Problem

    Mike Herrick Newbie

      Hi,

      I have 4.0.4 + Jboss Messaging 1.0.1GA. I got this running fine.

      Then I just tried to add EJB3 RC9 to it and am having trouble.

      It installed fine according to the Ant script, but when I start up I get ...

      Thanks for any help.

      Mike

      =========================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: /home/mherrick/opt/jboss/jboss-4.0.4.GA
      
       JAVA: /opt/java/jdk1.5.0_09/bin/java
      
       JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
      
       CLASSPATH: /home/mherrick/opt/jboss/jboss-4.0.4.GA/bin/run.jar:/opt/java/jdk1.5.0_09/lib/tools.jar
      
      =========================================================================
      
      15:09:18,542 INFO [Server] Starting JBoss (MX MicroKernel)...
      15:09:18,543 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
      15:09:18,545 INFO [Server] Home Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA
      15:09:18,570 INFO [Server] Home URL: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/
      15:09:18,571 INFO [Server] Patch URL: null
      15:09:18,572 INFO [Server] Server Name: messaging
      15:09:18,572 INFO [Server] Server Home Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging
      15:09:18,572 INFO [Server] Server Home URL: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/
      15:09:18,572 INFO [Server] Server Log Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/log
      15:09:18,573 INFO [Server] Server Temp Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/tmp
      15:09:18,574 INFO [Server] Root Deployment Filename: jboss-service.xml
      15:09:19,155 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
      15:09:19,158 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_09-b01,Sun Microsystems Inc.
      15:09:19,158 INFO [ServerInfo] OS-System: Linux 2.6.15-27-386,i386
      15:09:20,512 INFO [Server] Core system initialized
      15:09:23,019 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      15:09:28,308 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.1.1:3873/]
      15:09:29,186 INFO [AspectDeployer] Deployed AOP: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-interceptors-aop.xml
      15:09:37,886 INFO [WebService] Using RMI server codebase: http://mherrick-desktop:8083/
      15:09:38,273 ERROR [MainDeployer] Could not create deployment: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-clustered-sfsbcache-service.xml
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
       at org.jboss.system.ServiceController.install(ServiceController.java:226)
       at sun.reflect.GeneratedMethodAccessor8.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: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.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       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: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 $Proxy6.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.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: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.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: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:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
       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: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:464)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
       ... 81 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/cache/TreeCache
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
       at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
       at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
       at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
       at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1204)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
       ... 83 more
      15:09:38,349 ERROR [MainDeployer] Could not create deployment: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-entity-cache-service.xml
      org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.cache.TreeCache; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.cache.TreeCache)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
       at org.jboss.system.ServiceController.install(ServiceController.java:226)
       at sun.reflect.GeneratedMethodAccessor8.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: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.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       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: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 $Proxy6.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.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: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.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: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:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
       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: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:464)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.cache.TreeCache
       at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1204)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
       ... 81 more
      15:09:42,176 INFO [MailService] Mail Service bound to java:/Mail
      15:09:43,145 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
      15:09:43,353 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
      15:09:45,320 INFO [Embedded] Catalina naming disabled
      15:09:45,422 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      15:09:45,424 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      15:09:45,830 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      15:09:45,833 INFO [Catalina] Initialization processed in 408 ms
      15:09:45,833 INFO [StandardService] Starting service jboss.web
      15:09:45,836 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
      15:09:45,971 INFO [StandardHost] XML validation disabled
      15:09:46,122 INFO [Catalina] Server startup in 289 ms
      15:09:46,333 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      15:09:46,667 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      15:09:47,527 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      15:09:48,421 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp11254jbossws.sar-contents/jbossws-exp.war/
      15:09:48,876 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      15:09:51,005 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      15:09:51,137 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      15:09:51,280 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      15:09:51,358 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      15:09:51,571 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms-ra.rar
      15:09:51,788 INFO [RARDeployment] Registration is not done -> stop
      15:09:51,789 ERROR [MainDeployer] Could not create deployment: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/jms/jms-ra.rar
      org.jboss.deployment.DeploymentException: Error registering deployment file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/jms/jms-ra.rar; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.jca:service=RARDeployment,name='jms-ra.rar' already registered.)
       at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
       at org.jboss.deployment.SimpleSubDeployerSupport.registerDeployment(SimpleSubDeployerSupport.java:295)
       at org.jboss.deployment.SimpleSubDeployerSupport.create(SimpleSubDeployerSupport.java:99)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       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: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 $Proxy6.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.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: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.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: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:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
       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: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:464)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.management.InstanceAlreadyExistsException: jboss.jca:service=RARDeployment,name='jms-ra.rar' already registered.
       at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
       at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
       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: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.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
       at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
       at org.jboss.deployment.SimpleSubDeployerSupport.registerDeployment(SimpleSubDeployerSupport.java:291)
       ... 70 more
      15:09:51,878 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      15:09:51,960 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
      15:09:51,971 INFO [QuartzResourceAdapter] start quartz!!!
      15:09:52,093 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      15:09:52,157 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      15:09:52,161 INFO [RAMJobStore] RAMJobStore initialized.
      15:09:52,161 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      15:09:52,162 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      15:09:52,162 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      15:09:53,412 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      15:09:53,606 WARN [JDBCPersistenceManager]
      
      JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
       Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
       Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
      
      15:09:54,142 INFO [ServerPeer] JBoss Messaging 1.0.1.GA server [server.0] started
      15:09:54,660 INFO [ConnectionFactory] Connector socket://127.0.1.1:4457 has leasing enabled, lease period 20000 milliseconds
      15:09:54,661 INFO [ConnectionFactory] [/ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConnectionFactory] deployed
      15:09:54,688 INFO [Queue] Queue[/queue/DLQ] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,779 INFO [Topic] Topic[/topic/testTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,782 INFO [Topic] Topic[/topic/securedTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,786 INFO [Topic] Topic[/topic/testDurableTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,805 INFO [Queue] Queue[/queue/testQueue] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,809 INFO [Queue] Queue[/queue/A] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,887 INFO [Queue] Queue[/queue/B] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,893 INFO [Queue] Queue[/queue/C] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,901 INFO [Queue] Queue[/queue/D] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,905 INFO [Queue] Queue[/queue/ex] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,908 INFO [Topic] Topic[/topic/openTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
      15:09:54,996 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      15:09:55,528 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      15:09:56,411 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@b0c96f84 { url=file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-clustered-sfsbcache-service.xml }
       deployer: org.jboss.deployment.SARDeployer@1d95492
       status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       state: FAILED
       watch: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-clustered-sfsbcache-service.xml
       altDD: null
       lastDeployed: 1161209378125
       lastModified: 1161209378000
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@2cdd6a58 { url=file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-entity-cache-service.xml }
       deployer: org.jboss.deployment.SARDeployer@1d95492
       status: Deployment FAILED reason: No ClassLoaders found for: org.jboss.cache.TreeCache; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.cache.TreeCache)
       state: FAILED
       watch: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-entity-cache-service.xml
       altDD: null
       lastDeployed: 1161209378344
       lastModified: 1161209378000
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@453ee97e { url=file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/jms/jms-ra.rar }
       deployer: org.jboss.resource.deployment.RARDeployer@152853d
       status: Deployment FAILED reason: Error registering deployment file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/jms/jms-ra.rar; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.jca:service=RARDeployment,name='jms-ra.rar' already registered.)
       state: FAILED
       watch: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/jms/jms-ra.rar
       altDD: null
       lastDeployed: 1161209391786
       lastModified: 1161209391000
       mbeans:
      
      
      15:09:56,519 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      15:09:57,012 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      15:09:57,080 INFO [JkMain] Jk running ID=0 time=0/155 config=null
      15:09:57,101 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 38s:524ms


        • 1. Re: RC9 + JBoss Messaging 1.0.1GA Install Problem
          magnus ehdwall Newbie

          Hi,

          I had exactly the same problem. The EJB RC9 patch doesn't work well with JBoss messaging. I made it work by replacing some of the deployed services in the deploy-directory. The 'jms' service, for example, doesn't work well together with JBoss messaging. I also removed stuff like ejb-clustering etc., which I don't need.

          If you do need all that stuff that's causing the exceptions at startup, try a new installation, then running the EJB3 upgrade before the messaging patch, that could work.

          Good luck!

          • 2. Re: RC9 + JBoss Messaging 1.0.1GA Install Problem
            Andrew Rubinger Master

            You'll get this error if your RC9 installation wasn't over a server configuration using clustering. From http://wiki.jboss.org/wiki/Wiki.jsp?page=FromRC8RC9:

            If you are patching a server configuration other than one using clustering from the "all" configuration from the JEMS Installer, you must remove ejb3-clustered-sfsbcache-service.xml and ejb3-entity-cache-service.xml as they'll be unable to find org.jboss.cache.TreeCache.


            Had this error when first going to RC9 as well. :)

            S,
            ALR

            • 3. Re: RC9 + JBoss Messaging 1.0.1GA Install Problem
              Mike Herrick Newbie

              Thanks I did this and it worked.

              I then deployed the EJB3 from the JBoss Messaging sample. It deployed, but I can't call it (assume class mismatch since I no longer have Jboss messaging installed).

              Stupid question ... from the announcement on R9 it says: "The biggest change is that we switch MDB to be fully JCA Inflow based. This means that the JMS RA is required to be used. "

              Is "JMS RA" the same thing as JBoss Messaging?

              • 4. Re: RC9 + JBoss Messaging 1.0.1GA Install Problem
                Andrew Rubinger Master

                As I understand it:

                JBoss Messaging is the next-gen messaging system targeted for JBoss AS 5.x. The current implementation is JBossMQ. "JMS RA" refers to the JMS Resource Adapter.

                S,
                ALR

                • 5. Re: RC9 + JBoss Messaging 1.0.1GA Install Problem
                  Weston M. Price Master

                  Correct.

                  Previous versions of EJB3 implemented JMS code to integrate with a JMS provider. Starting with EJB3RC9, the generic JMS/JCA adapter in JBoss is used to accomplish this.

                  • 6. Re: RC9 + JBoss Messaging 1.0.1GA Install Problem
                    Mike Herrick Newbie

                    Thanks. Weston you said: "Previous versions of EJB3 implemented JMS code to integrate with a JMS provider. Starting with EJB3RC9, the generic JMS/JCA adapter in JBoss is used to accomplish this."

                    So EJB3RC9 integrates with the JCA Adapter right? And it integrates with JBossMQ for me at the moment because I did not install JBoss Messaging.

                    Does the JMS Resource Adapter work with JBoss Messaging?

                    What is the best recommended config?

                    Again, sorry if these are lame questions, I just didn't find a clear answer yet in the docs. Your answers are helpful.

                    • 7. Re: RC9 + JBoss Messaging 1.0.1GA Install Problem
                      Xiang Qinxian Newbie

                      JBoss4.0.5, EJB3-RC9, Jboss-messaging1.0.2Alpha1
                      I try these again, and with some troubles, and again get it.
                      There are some steps should be:
                      1, configure messaging:
                      cd jboss/jboss-messaging-1.2.0.Alpha1/util
                      ant -f release-admin.xml -Dconfig.name=messaging
                      where "messaging" is jboss server config name.
                      2, configure ejb3
                      cd jboss/jboss-EJB-3.0_RC9-FD
                      ant -f install.xml -Djboss.server.config=messaging
                      and again, where "message" is jboss server config name.
                      3, clean ejb3
                      cd jboss/jboss-4.0.5.GA/server/messaging/deploy
                      rm ejb3-clustered-sfsbcache-service.xml ejb3-entity-cache-service.xml
                      rm -fr jms
                      where there jms is old jms and it's mustly condition deploy ejb3 with messaging.
                      4, validate test
                      cd jboss/jboss-messaging-1.2.0.Alpha1/examples/queue
                      ant
                      this should be successful.
                      5, test ejb3mdb
                      cd jboss/jboss-messaging-1.2.0.Alpha1/examples/ejb3mdb
                      ant
                      this should be successfull.


                      By the way, as you seen, ant use property jboss.server.config and config.name. identify thing but different name, because of difference team or group.
                      Is there some responsible against PM?