[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Strange clustering behaviour when running testsuite offline
adrian@jboss.org
do-not-reply at jboss.com
Mon Nov 12 10:33:12 EST 2007
If I am offline (no network connection) and I start jboss-head manually
in the all configuration, there are no problems booting the server:
| [ejort at warjort bin]$ ./run.sh -c all
| ...
| 16:09:46,858 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 16:09:46,867 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200711121409)] Started in 1m:41s:358ms
|
If however, I start the server from the testsuite I get all sorts of errors
(in particular the ejb3 testsuite)
| [ejort at warjort ejb3]$ ./build.sh -f build-test.xml
| [ejort at warjort ejb3]$ ./build.sh -f build-test.xml ejb-tests
|
e.g. from server/all/log/server.log
| 2007-11-12 16:13:50,174 ERROR [org.jgroups.protocols.UDP] failed sending message to null (59 bytes)
| java.lang.Exception: dest=/229.11.11.11:45699 (62 bytes)
| at org.jgroups.protocols.UDP._send(UDP.java:337)
| at org.jgroups.protocols.UDP.sendToAllMembers(UDP.java:287)
| at org.jgroups.protocols.TP.doSend(TP.java:1186)
| at org.jgroups.protocols.TP.send(TP.java:1176)
| at org.jgroups.protocols.TP.down(TP.java:943)
| at org.jgroups.protocols.PING.sendMcastDiscoveryRequest(PING.java:218)
| at org.jgroups.protocols.PING.sendGetMembersRequest(PING.java:212)
| at org.jgroups.protocols.PingSender.run(PingSender.java:76)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.io.IOException: Network is unreachable
| at java.net.PlainDatagramSocketImpl.send(Native Method)
| at java.net.DatagramSocket.send(DatagramSocket.java:612)
| at org.jgroups.protocols.UDP._send(UDP.java:328)
| ... 8 more
|
What's the difference? :-)
NOTE: I do see some errors at shutdown for the manual boot which suggests
it is not properly testing whether somethings are working?
e.g.
| 16:12:17,980 ERROR [ExceptionUtil] org.jboss.jms.server.connectionfactory.ConnectionFactory at 1f9cb2c startService
| java.lang.IllegalStateException: Cannot find replicant to remove: CF_jboss.messaging.connectionfactory:service=ConnectionFactory
| at org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper.unregisterConnectionFactory(ConnectionFactoryJNDIMapper.java:274)
| at org.jboss.jms.server.connectionfactory.ConnectionFactory.stopService(ConnectionFactory.java:239)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:328)
| at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:206)
|
and
| 16:12:19,360 INFO [JGCacheInvalidationBridge] Problem while shuting down invalidation cache bridge
| java.lang.IllegalStateException: Cache not in STARTED state!
| at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3929)
| at org.jboss.cache.CacheImpl.get(CacheImpl.java:1441)
| at org.jboss.cache.CacheImpl.get(CacheImpl.java:1415)
| at org.jboss.ha.framework.server.DistributedStateImpl.get(DistributedStateImpl.java:296)
| at org.jboss.ha.framework.server.DistributedStateImpl.remove(DistributedStateImpl.java:278)
| at org.jboss.ha.framework.server.AOPContainerProxy$8.remove(AOPContainerProxy$8.java)
| at org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge.stopService(JGCacheInvalidationBridge.java:326)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:328)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
| at org.jboss.cache.invalidation.bridges.AOPContainerProxy$14.jbossInternalLifecycle(AOPContainerProxy$14.java)
| 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:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| 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:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:167)
| at $Proxy4.stop(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:56)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103734#4103734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103734
More information about the jboss-dev-forums
mailing list