Hi, A database driver i am trying to use (ha-jdbc) requires a version of JGroups 2.2.9 or higher, because it needs to use the JmxConfigurator. I am still trying to figure out the best way to do this, so far i have currently tried the following:
1.Putting the jgroups.jar file that ships with the driver (2.2.9.1) in the /lib directory, leaving the current one in there at the same time does not work, and replacing the current one also does not work. | 2.Just adding the Jmx branch of the 2.2.9.1 jar to the current jgroups also does not work, because it needs a loadClass method in the Util class. | 3.Tried just replacing the Util.class with the one contained in the 2.2.9.1 jar, this a few exceptions of this sort: | anonymous wrote : 2006-07-03 13:37:28,322 DEBUG [org.jboss.ejb3.cache.tree.PassivationTreeCache] Initialization failed jboss.cache:service=EJB3SFSBClusteredCache | | ChannelException: unable to setup the protocol stack | | at org.jgroups.JChannel.(JChannel.java:217) | | at org.jgroups.JChannel.(JChannel.java:189) | | at org.jboss.cache.TreeCache._createService(TreeCache.java:1220) | | at org.jboss.cache.TreeCache.createService(TreeCache.java:1175) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) | | 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 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.create(Unknown Source) | | at org.jboss.system.ServiceController.create(ServiceController.java:330) | | at org.jboss.system.ServiceController.create(ServiceController.java:273) | | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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.create(Unknown Source) | | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258) | | 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.GeneratedMethodAccessor10.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.NoClassDefFoundError: org/jgroups/util/ExposedByteArrayOutputStream | | at org.jgroups.protocols.pbcast.NAKACK.setProperties(NAKACK.java:400) | | at org.jgroups.stack.Protocol.setPropertiesInternal(Protocol.java:219) | | at org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:611) | | at org.jgroups.stack.Configurator.createProtocols(Configurator.java:265) | | at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55) | | at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:114) | | at org.jgroups.JChannel.(JChannel.java:214) | | ... 97 more | | | From my understanding of the third error, it occurs because it can't find the ExposedBtyeArrayOutputStream class, i could keep adding the needed classes until it starts without any exceptions but there has to be a better way to do it (JBoss equivalent to classpath ???). | | Any help given will be greatly appreciated. | | Thanks, | | Andrew | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955027#3955027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955027 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user