[jboss-user] [JCA/JBoss] - Re: Datasource deployed too late
vickyk
do-not-reply at jboss.com
Thu Jan 24 04:02:24 EST 2008
"elarochejoubert" wrote : I've placed my ear in the "server/default/deploy/jboss-web.deployer" directory.
Are you sure about this , this looks wrong to me ?
anonymous wrote : I'm sure it's a easy thing, but I've been looking a bit everywhere without success (pdf documentation, and this forum :( )
Yes there are few ways
1] Have the -ds.xml in the EAR and then use strict deployment as explained here
http://jira.jboss.com/jira/browse/JBAS-2904
2] Use dependency service , you can mention the dependency on the -ds.xml in the jboss-app.xml of the EAR as .
Look here
http://wiki.jboss.org/wiki/Wiki.jsp?page=DependOnDataSource
You will something like this in the jboss-app.xml for local-tx-datasource .
jboss.jca:service=NoTxCM?,name=(jndi-name)
3] Change the naming for EAR/-ds.xml so that you can use PrefixDeploymentSorter
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeploymentScanner
Finally this is not the JCA question , for more questions please move to Deployers forums
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122926#4122926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122926
More information about the jboss-user
mailing list