-
1. Re: Deployment order for ear and data source
wdfink Mar 10, 2012 10:22 AM (in response to haifen_bi)One possibility is to pack the JCA in a separate module and copy it to modules/.../.../main, see wiki how to do it.
In this case the DS force module load.
And, if I remember correct it will be possible to pack the DS in you ear also, but I'm not sure ATM.
-
2. Re: Deployment order for ear and data source
haifen_bi Mar 12, 2012 11:06 AM (in response to wdfink)Thanks!
I forgot to mention that data source access is through a remote ejb with connection properties define in data source like:
<connection-url>
jdbc:scwapi:client_id=dsds
</connection-url>
<connection-property name="server_path">
//jee:phdh-build-rmi.lgc.com:4447/jee_powerhub
</connection-property>
This remote ejb calls JCA interfaces to start server, etc.
So not only does the JCA but also EJB modules have to be loaded, before data source can been binded.
Any suggestion as how to make it work?