[jboss-user] [JBoss Seam] - Re: I cannot get this test through, please help

transvia do-not-reply at jboss.com
Tue Sep 25 08:17:15 EDT 2007

Thank you for your replies.

First, my datasourse should works. I can connect it through eclipse database perspective. I can also compile and deploye the EAR to Jboss. I can see Jboss load the datasource.

Second the, the configure files seems correct. I check them also.

I guess the Seam test defualtly use some configure parameters that I don't know.

There are three persistence files under META-INF folder. They are persistence-dev.xml, -prod.xml and -test.xml. Each file should be related to a datasource file.

However, under the resources folder, there is no datasource related to persistence-test.xml. There are only two files. One is project-dev-ds.xml and another is project-prod-ds.xml

So, I think the project created from Seam-gen defaultly use some build-in configurartion to connect datasource. Is there any way that I can make the test take in the test datasource file?

Thank you

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

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

More information about the jboss-user mailing list