[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Deadlock in JBoss Messaging during JBoss5 shutdown

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Oct 19 17:44:06 EDT 2007


"anil.saldhana at jboss.com" wrote : http://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java
  | 
  | .....
  | 
  | You should see some deadlock (server hang) on the server side or client side.


Anil,

How do you run your test?

I'm trying it here with:

./build.sh -Dtest=org.jboss.test.security.test.EJBSpecUnitTestCase one-test


And the test fails on a deployment error: (which I don't know if it's because of the metadata change, or something else)


16:42:58,526 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/extra/clebert/workspaces/svn-trunk-jboss/trunk/testsuite/output/lib/security-spec.jar state=PostClassLoader mode=Manual requiredState=Real
  | org.jboss.deployers.spi.DeploymentException: Error deploying: jboss:service=jacc,id=security-spec.jar
  |         at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  |         at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:126)
  | 
  | .....
  | 
  | 
  | Caused by: java.lang.NullPointerException
  |         at org.jboss.ejb.EJBPermissionMapping.createPermissions(EJBPermissionMapping.java:72)
  |         at org.jboss.deployment.security.JaccPolicyUtil.createPermissions(JaccPolicyUtil.java:137)
  |         at org.jboss.deployment.security.JaccPolicy.create(JaccPolicy.java:88)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
  | 
  | 

Anyway, that hang issue was solved  

if you still have a problem, then is something else.. but due to the current state of trunk, I can't run your test.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097123#4097123

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097123



More information about the jboss-dev-forums mailing list