[jboss-user] [JBoss Seam] - TestNG Problems Booking Example - Seam 2.0.0 Beta

indyJones do-not-reply at jboss.com
Sat Aug 18 11:50:01 EDT 2007


Here is my configuration...

Seam - 2.0.0 Beat 1
Java - 1.6.0_02
MySQL - 5
Eclipse - 3.3
TestNG - Newest Eclipse Plug-in

Here is what i did..

1. Use Seam Gen to create a project
2. Moved the Booking example code over to this project
3. Everything builds and the application runs just fine
4. Try and run test through Eclipse
5. Got the following error
anonymous wrote : 
  | 13:24:15,913 ERROR [AbstractKernelController] Error installing to Instantiated: name=DeploymentFilter state=Described
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String; 
  | 
6. Fixed the error doing the following - http://jira.jboss.com/jira/browse/JBAS-4491
7. Run Test again. Get this error
anonymous wrote : 
  | [testng] *** CONTEXTS IN ERROR: Name -> Error
  | [testng] jboss.jca:name='jms-ra.rar',service=RARDeployment -> ** NOT FOUND **
  | [testng] jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment -> ** NOT FOUND **
  | [testng] at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144)
  | [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169)
  | [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  | [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  | [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
  | [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856)
  | [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | [testng] ... Removed 22 stack frames 
  | 
8. Fixed that error by following - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115373
9. Now get this error...
anonymous wrote : 
  | [testng] ERROR 17-08 11:57:05,296 (DeployerWrapper.java:commitDeploy:177) -Error during deployment: vfsfile:/C:/Documents%20and%20Settings/casey.boyd/workspace/booking/bootstrap/deploy/jboss-local-jdbc.rar
  | [testng] org.jboss.deployers.spi.DeploymentException: Error parsing meta data jboss-local-jdbc.rar/META-INF/ra.xml 
  | 
10. I am now stuck...

What am I doing wrong? The app deploys and runs just fine, I just cant run the tests....

Should I just use a earlier version of Seam? Is my Java version incorrect?
Should I have not replaced the Signature class?

Any help would be very appreciated....

thanks

indy

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

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



More information about the jboss-user mailing list