just saw this failure:
http://hudson.qa.jboss.com/hudson/job/JBM2-stress/lastBuild/testReport/or...
| java.lang.Exception: Test Failed
| at org.jboss.messaging.tests.stress.remote.PingStressTest.internalTest(PingStressTest.java:227)
| at org.jboss.messaging.tests.stress.remote.PingStressTest.testMultiThreadOpenAndCloses(PingStressTest.java:101)
| Caused by: java.lang.NullPointerException
| at org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:915)
| at org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:715)
| at org.jboss.messaging.tests.stress.remote.PingStressTest$1LocalThread.run(PingStressTest.java:184)
|
connectionManagerArray is set outside of the synchornized block, while it's (ClientSessionFactoryImpl.java:915) is inside a synchronized block.
I've tried to write a multi-thread test. and I didn't have any success. I will spend more time on it tomorrow.
Maybe connectionManagerArray and readOnly attributes should be volatile?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229204#4229204
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229204
I agree. Just enforcing names makes everything more explicit.
- complete() takes the default transition whatever that may be. Magic code again or a attribute called 'default' with a value of 'true' and make it explicit.
- complete(null) throws an exception or also takes the default transition
I'm not in favour of doing things like take the transition without a name if the parameter passed to the complete method is null (what if there are multiple with no name?)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229196#4229196
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229196
Just to get this into public forum:
https://jira.jboss.org/jira/browse/JBAS-6624
Emanuel has kindly pointed me to some usage of ProxyManagedDeploymentFactory, ManagementView.load(), and XML descriptor entries to tie the whole thing together. I'm really looking for a definitive guide which details how to expose the view (probably via @ManagementObject), and how to map it into the right place in admin-console.
Does such a doc exist? Or series of commits showing clearly the steps taken to expose some other similar service?
...or will Scott's exposing the MBean view suffice (linked issue)?
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229189#4229189
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229189