I have the following problem:
I configured several Datasources for JBoss with their *-ds.xml files. Each with a different name.
Now i want to use one specific DS from my EJB's but i found no way to tell JBoss to bind it to the name i use in my EJB's. It always resorts to the one named DefaultDS.
Is there someway i can tell JBoss to use e.g. 'java:/MysqlDS' for these Beans?
You need to include a jbosscmp-jdbc.xml in your EJB jar META-INF directory. You can declare a specific datasource there.