I found the test defaultly use datasource files under the folder project/bootstrap/deploy. I try to put mysql datasource file to this fold. But I get an error when the test is loaded: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | *** DEPLOYMENTS IN ERROR: Name -> Error | | vfsfile:/C:/workspace/tt/bootstrap/deploy/test-ds.xml -> java.lang.IllegalStateException: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory is already installed. | | | at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144) | at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169) | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201) | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214) | at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11) | at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:968) | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:893) | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) | ... Removed 22 stack frames |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088411#4088411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088411 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
