This content has been marked as final.
Show 1 reply
-
1. Re: Error deploying two webapps containing the same EJB
flarosa Jan 25, 2006 3:26 PM (in response to flarosa)On closer inspection, it appears to be the data source names that are colliding rather than the EJB itself.
Because the EJB asks for a particular data source by name, both projects have a data source with that name, although they point to different databases.
The way I deploy my datasources XML file is by including it in a .SAR directory within the .EAR directory - I'm not completely sure what a .SAR is, but someone showed me how to do it this way years ago. Perhaps it's not the best way.
Frank