[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Incomplete deployment - DataSourceBinding- JBOSS 4.2.2 +

jaikiran do-not-reply at jboss.com
Tue Jun 3 11:00:54 EDT 2008

Your persistence.xml mentions the datasource name:

anonymous wrote : <jta-data-source>java:/cuoreds</jta-data-source>

This means that the application will be using the persistence manager to persist to a database being pointed to by the datasource. The datasource is configured separately. Each application server has its own way of configuring datasource. JBoss uses xml files through which you can configure datasource. You have to create a file who's name ends with -ds.xml and place this file in the deploy folder of JBoss. Example datasource files can be found in %JBOSS_HOME%\docs\examples\jca folder. See this for more details for configuring the datasource http://wiki.jboss.org/wiki/ConfigDataSources

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

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

More information about the jboss-user mailing list