[jboss-user] [JBoss Tools] New message: "Re: Newbie - Problem Running TestNG on a JBoss Tools created Action."

Ran Bittmann do-not-reply at jboss.com
Mon Jan 18 09:08:02 EST 2010

User development,

A new message was posted in the thread "Newbie - Problem Running TestNG on a JBoss Tools created Action.":


Author  : Ran Bittmann
Profile : http://community.jboss.org/people/rmbittmann

 Just to clear all the problems I had with the default installations above. After fixing the JBoss AS path TestNG kept failing with the errors listed below.
 Googeling the problem I found the following posting from Chris Lowe in Googel's Exadel Flamingo User discussion recommending:
"Are you using JDK 6?  The EJB3 bootstrap has problems due to changes in the 
 default value for a hidden system property called 
 sun.lang.ClassLoader.allowArraySyntax - in JDK5 it was true and in JDK6 it 
 was false.  Add this to your JVM arguments: 


In Eclipse: 

Window -> Preferences... 

Java / Installed JREs 

Select jdk1.6.0_10 (or whatever build you're using) and choose edit. Add the 
 above definition to the Default VM Arguments."
 Doing that fixed the problem and now everything runs (until it doesn't... ).
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
UserTransactionBinding -> UserTransaction{Configured:**ERROR**}
UserTransactionBinding2 -> UserTransaction{Configured:**ERROR**}

*** CONTEXTS IN ERROR: Name -> Error
SARDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
ServiceDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
ServiceClassLoaderDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
BeanDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
ServiceDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
BeanMetaDataDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
UserTransaction -> java.lang.RuntimeException: Unable to locate the transaction manager
KernelDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;


To reply to this message visit the message page: http://community.jboss.org/message/520591#520591

More information about the jboss-user mailing list