9 Replies Latest reply on Oct 31, 2008 2:41 PM by timfox

    NoClassDefFoundError: org/jgroups/Channel

    danjboss

      Hi,

      I am getting the following error when I start jboss. I am using jboss-4.2.3.GA with jboss-messaging-1.4.0.SP3.
      Could anybody help please?
      Thanks,

      Dan




      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: C:\jboss-4.2.3.GA

      JAVA: C:\Sun\SDK\jdk\bin\java

      JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterv
      al=3600000

      CLASSPATH: C:\mysql_jdbc\mysql-connector-java-5.1.6\mysql-connector-java-5.1.6-bin.jar;C:\Sun\SDK\jdk\lib\tools.jar;C:\jboss-4.2.3
      .GA\bin\run.jar

      ===============================================================================

      18:53:25,404 INFO [Server] Starting JBoss (MX MicroKernel)...
      18:53:25,405 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
      18:53:25,407 INFO [Server] Home Dir: C:\jboss-4.2.3.GA
      18:53:25,407 INFO [Server] Home URL: file:/C:/jboss-4.2.3.GA/
      18:53:25,408 INFO [Server] Patch URL: null
      18:53:25,408 INFO [Server] Server Name: jms_config
      18:53:25,408 INFO [Server] Server Home Dir: C:\jboss-4.2.3.GA\server\jms_config
      18:53:25,408 INFO [Server] Server Home URL: file:/C:/jboss-4.2.3.GA/server/jms_config/
      18:53:25,408 INFO [Server] Server Log Dir: C:\jboss-4.2.3.GA\server\jms_config\log
      18:53:25,409 INFO [Server] Server Temp Dir: C:\jboss-4.2.3.GA\server\jms_config\tmp
      18:53:25,409 INFO [Server] Root Deployment Filename: jboss-service.xml
      18:53:25,708 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
      18:53:25,708 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b23,Sun Microsystems Inc.
      18:53:25,708 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
      18:53:26,233 INFO [Server] Core system initialized
      18:53:28,462 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      18:53:28,463 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
      18:53:28,882 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      18:53:28,883 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      18:53:29,052 INFO [TransactionManagerService] Starting recovery manager
      18:53:29,133 INFO [TransactionManagerService] Recovery manager started
      18:53:29,134 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      18:53:31,805 INFO [EJB3Deployer] Starting java:comp multiplexer
      18:53:35,036 INFO [NativeServerConfig] JBoss Web Services - Native
      18:53:35,037 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
      18:53:35,862 INFO [Embedded] Catalina naming disabled
      18:53:36,000 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environmen
      ts was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\sy
      stem32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio
      Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program
      Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_06\bin;C:\apache-ant-1.7.1\bin;C:\Sun\SDK\bin;C:\Sun\SDK\bin;C:\Sun\SDK\bin
      ;;C:\Program Files\SSH Communications Security\SSH Secure Shell
      18:53:36,068 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
      18:53:36,077 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:53:36,077 INFO [Catalina] Initialization processed in 215 ms
      18:53:36,078 INFO [StandardService] Starting service jboss.web
      18:53:36,080 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
      18:53:36,139 INFO [Catalina] Server startup in 61 ms
      18:53:36,227 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
      18:53:36,771 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      18:53:36,911 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
      18:53:37,214 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      18:53:37,711 INFO [MailService] Mail Service bound to java:/Mail
      18:53:38,069 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      18:53:38,232 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      18:53:38,273 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      18:53:38,305 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      18:53:38,353 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms-ra.rar
      18:53:38,389 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      18:53:38,429 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
      18:53:38,441 INFO [QuartzResourceAdapter] start quartz!!!
      18:53:38,498 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      18:53:38,520 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      18:53:38,524 INFO [RAMJobStore] RAMJobStore initialized.
      18:53:38,526 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz
      package: 'quartz.properties'
      18:53:38,529 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      18:53:38,532 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      18:53:38,696 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA'
      to JNDI name 'java:JmsXA'
      18:53:38,803 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to
      JNDI name 'java:DefaultDS'
      18:53:39,974 WARN [SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component w
      hich sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Me
      ssaging user guide for instructions on how to do this.
      18:53:39,990 INFO [ServerPeer] JBoss Messaging 1.4.0.SP3 server [0] started
      18:53:40,000 ERROR [ExceptionUtil] org.jboss.messaging.core.jmx.MessagingPostOfficeService@1137792 startService
      java.lang.NoClassDefFoundError: org/jgroups/Channel
      at org.jboss.messaging.core.jmx.MessagingPostOfficeService.startService(MessagingPostOfficeService.java:402)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
      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:597)
      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.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 org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      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(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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:304)
      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:597)
      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 $Proxy42.start(Unknown Source)
      at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      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.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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 $Proxy9.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.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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:304)
      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(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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:508)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jgroups.Channel
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      ... 117 more
      18:53:40,141 WARN [ServiceController] Problem starting service jboss.messaging:service=PostOffice
      java.lang.NoClassDefFoundError: org/jgroups/Channel
      at org.jboss.messaging.core.jmx.MessagingPostOfficeService.startService(MessagingPostOfficeService.java:402)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
      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:597)
      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.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 org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      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(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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:304)
      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:597)
      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 $Proxy42.start(Unknown Source)
      at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      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.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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 $Proxy9.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.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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:304)
      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(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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:508)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jgroups.Channel
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      ... 117 more
      18:53:40,442 INFO [TomcatDeployer] deploy, ctxPath=/jdbcclient, warUrl=.../deploy/jdbcclient.war/
      18:53:40,590 WARN [config] Unable to process deployment descriptor for context '/jdbcclient'
      18:53:41,553 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      18:53:41,667 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.messaging:service=PostOffice
      State: FAILED
      Reason: java.lang.NoClassDefFoundError: org/jgroups/Channel
      I Depend On:
      jboss.messaging:service=ServerPeer
      jboss.jca:service=DataSourceBinding,name=DefaultDS
      jboss:service=TransactionManager
      Depends On Me:
      jboss.messaging.connectionfactory:service=ConnectionFactory
      jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
      jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
      jboss.messaging.destination:service=Queue,name=DLQ
      jboss.messaging.destination:service=Queue,name=ExpiryQueue
      jboss.messaging.destination:service=Topic,name=testTopic
      jboss.messaging.destination:service=Topic,name=securedTopic
      jboss.messaging.destination:service=Topic,name=testDurableTopic
      jboss.messaging.destination:service=Queue,name=testQueue
      jboss.messaging.destination:service=Queue,name=A
      jboss.messaging.destination:service=Queue,name=B
      jboss.messaging.destination:service=Queue,name=C
      jboss.messaging.destination:service=Queue,name=D
      jboss.messaging.destination:service=Queue,name=ex
      jboss.messaging.destination:service=Queue,name=PrivateDLQ
      jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue
      jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue
      jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue
      jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay
      jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay
      jboss.messaging.destination:service=Queue,name=testDistributedQueue
      jboss.messaging.destination:service=Topic,name=testDistributedTopic

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.messaging:service=PostOffice
      State: FAILED
      Reason: java.lang.NoClassDefFoundError: org/jgroups/Channel
      I Depend On:
      jboss.messaging:service=ServerPeer
      jboss.jca:service=DataSourceBinding,name=DefaultDS
      jboss:service=TransactionManager
      Depends On Me:
      jboss.messaging.connectionfactory:service=ConnectionFactory
      jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
      jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
      jboss.messaging.destination:service=Queue,name=DLQ
      jboss.messaging.destination:service=Queue,name=ExpiryQueue
      jboss.messaging.destination:service=Topic,name=testTopic
      jboss.messaging.destination:service=Topic,name=securedTopic
      jboss.messaging.destination:service=Topic,name=testDurableTopic
      jboss.messaging.destination:service=Queue,name=testQueue
      jboss.messaging.destination:service=Queue,name=A
      jboss.messaging.destination:service=Queue,name=B
      jboss.messaging.destination:service=Queue,name=C
      jboss.messaging.destination:service=Queue,name=D
      jboss.messaging.destination:service=Queue,name=ex
      jboss.messaging.destination:service=Queue,name=PrivateDLQ
      jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue
      jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue
      jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue
      jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay
      jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay
      jboss.messaging.destination:service=Queue,name=testDistributedQueue
      jboss.messaging.destination:service=Topic,name=testDistributedTopic


      18:53:41,831 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      18:53:41,853 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:53:41,910 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 16s:499ms

        • 1. Re: NoClassDefFoundError: org/jgroups/Channel
          ataylor

          looks like you're missing the jgroups.jar. just add it to the messaging lib dir.

          • 2. Re: NoClassDefFoundError: org/jgroups/Channel
            timfox

            The real reason for this is probably the user has installed jboss messaging in a non clustered app server configuration (e.g. like default), but has set clustered=true in the config file.

            If clustering is required, then jbm must be installed in a clustered app server config where jgroups is already available.

            There should be no need to copy jgroups.jar if the installation was performed correctly.

            • 3. Re: NoClassDefFoundError: org/jgroups/Channel
              peterj

              The actual problem is that "dan jboss" has not properly configured JBoss Messaging to use MySQL within JBossAS 4.2.3. I am already helping him at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141792 and I wish that he would quit spamming his issue across different forums.

              • 4. Re: NoClassDefFoundError: org/jgroups/Channel
                peterj

                Actually, I should provide some more information here. The example *-persistence-service.xml files that come with JBoss Messaging and with JBossAS 5.0 all have "Clustered" set to "true" and contain clustering information. I predict that if the *-persistence-service.xml files remain as they are, that this topic will be repeated quite often once 5.0 goes GA.

                • 5. Re: NoClassDefFoundError: org/jgroups/Channel
                  danjboss

                  On a new installation of JBoss Messaging I discovered that indeed the line:

                  false

                  had the value true. I changed it to false but I still get the same

                  Trying to install an already registered mbean

                  error.

                  Thanks.
                  Dan

                  • 6. Re: NoClassDefFoundError: org/jgroups/Channel
                    danjboss

                     

                    "dan jboss" wrote:
                    On a new installation of JBoss Messaging I discovered that indeed the line:

                    attribute name="Clustered">false</attribute

                    had the value true. I changed it to false but I still get the same

                    Trying to install an already registered mbean

                    error.

                    Thanks.
                    Dan


                    Sorry, the message came out incomplete because of the quote.

                    Dan

                    • 7. Re: NoClassDefFoundError: org/jgroups/Channel
                      timfox

                      If after installation, the clustered examples don't work, it's more than likely the installation was botched.

                      Solution: re-install being very careful to follow all steps exactly.

                      • 8. Re: NoClassDefFoundError: org/jgroups/Channel
                        cristhiansnk

                        Hello my friend

                        About the error "java.lang.NoClassDefFoundError: org/jgroups/Channel "


                        You must copy the jgroups.jar which is located in "jboss-4.2.3.GA\server\all\lib" to your "jboss-4.2.3.GA\server\YourMessagingConfigName\lib" directory.

                        I have the default config name, so i have to copy to

                        "jboss-4.2.3.GA\server\messaging\lib"

                        I hope this could fix your error

                        luck

                        See ya =)

                        • 9. Re: NoClassDefFoundError: org/jgroups/Channel
                          timfox

                          You shouldn't need to copy anything.

                          This error occurs because the user is attempting to start a clustered post office in a non clustered JBoss configuration.

                          E.g. user is trying to start JBM clustered in the "default" configuration. He should be using the "all" configuration.

                          In the "all" configuration, jgroups.jar is already present.