Post what is your datasource configuration (deployment) file of datasource (*-ds.xml). It has to contain definition for two databases or you must have separate datasource configuration file for each database. Then in your JBoss deployment descriptor file you're able to define for each EJB which datasource should be used for that particular EJB or you can define general datasource for all EJBs. (Of course you can define one global datasource for all of your EJBs in application but override datasource pointer just for some of EJB's). I wouldn't touch standardjbosscmp-jdbc.xml because it is application server's configuration file and not your application configuration file. Changing server configuration file actually means that your loose your portability in some way. Deployment of your application on another JBoss server expects the change of its configuration file too.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845551#3845551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845551 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user