[Clustering/JBoss] - Re: Network Loss in a 1 to n Node Cluster
by jbirkenmaier
Thanks for the quick reply. Regarding the first problem. I see the view change on node 1 when I Ctrl-C JBoss on node 2. However, I don't see the view change when I unplug the network cable.
Here is what's logged when I unplug the cable:
10:41:27,090 INFO [dragoneyes] (UpHandler (STATE_TRANSFER)) Suspected member: 192.168.69.253:33013
10:41:27,092 INFO [dragoneyes] (UpHandler (STATE_TRANSFER)) New cluster view for partition dragoneyes (id: 2, delta: -1) : [192.168.69.122:1099]
10:41:27,092 INFO [dragoneyes] (AsynchViewChangeHandler Thread) I am (192.168.69.122:1099) received membershipChanged event:
10:41:27,092 INFO [dragoneyes] (AsynchViewChangeHandler Thread) Dead members: 1 ([192.168.69.253:1099])
10:41:27,092 INFO [dragoneyes] (AsynchViewChangeHandler Thread) New Members : 0 ([])
10:41:27,093 INFO [dragoneyes] (AsynchViewChangeHandler Thread) All Members : 1 ([192.168.69.122:1099])
Here is what's logged when the cable is plugged back in:
10:42:12,912 INFO [dragoneyes] (UpHandler (STATE_TRANSFER)) New cluster view for partition dragoneyes (id: 3, delta: 1) : [192.168.69.122:1099, 192.168.69.253:1099]
10:42:12,914 INFO [dragoneyes] (AsynchViewChangeHandler Thread) Merging partitions...
10:42:12,914 INFO [dragoneyes] (AsynchViewChangeHandler Thread) Dead members: 0
10:42:12,914 INFO [dragoneyes] (AsynchViewChangeHandler Thread) Originating groups: [[192.168.69.122:32809|2] [192.168.69.122:32809], [192.168.69.253:33013|2] [192.168.69.253:33013]]
JBoss/JGroups sees the loss and restoration of the network. Is there no way to hook into UpHandler or AsynchViewChangeHandler to catch the notification? The viewChange method just isn't doing it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968741#3968741
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968741
18 years, 4 months
[JBoss Seam] - Re: How do I test simple SLSBs?
by chuckadams
A null test using the embedded-ejb3 in seam results in this result from EJB3StandaloneBootstrap.boot(null):
And no, my tests are not parallel.
| 11:59:39,223 ERROR [AbstractKernelController] Error installing to Start: name=TransactionManagerInitializer state=Create
| java.lang.NoSuchFieldError: xidFactory
| at org.jboss.tm.TransactionManagerInitializer.start(TransactionManagerInitializer.java:110)
| 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:589)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:100)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:582)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:175)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
| at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95)
| at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:380)
| at bizint.fiat.test.AbstractEJB3Test.startupEmbeddedJboss(AbstractEJB3Test.java:17)
| 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:589)
| at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)
| at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:322)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:156)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:223)
| at org.testng.SuiteRunner.run(SuiteRunner.java:145)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:901)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:863)
| at org.testng.TestNG.run(TestNG.java:613)
| at org.testng.eclipse.runner.RemoteTestNG.run(RemoteTestNG.java:85)
| at org.testng.eclipse.runner.RemoteTestNG.main(RemoteTestNG.java:127)
| Creating C:\workspace\FiatEJB\test-output\Fiat\All.html
| FAILED: startupEmbeddedJboss
| java.lang.RuntimeException: java.lang.IllegalArgumentException: Null name
| at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391)
| at bizint.fiat.test.AbstractEJB3Test.startupEmbeddedJboss(AbstractEJB3Test.java:17)
| Caused by: java.lang.IllegalArgumentException: Null name
| at org.jboss.dependency.plugins.AbstractController.getContext(AbstractController.java:101)
| at org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:94)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:229)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:161)
| at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:381)
| ... 15 more
| ... Removed 14 stack frames
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968740#3968740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968740
18 years, 4 months