Hi, I have a simple EAR file deployed to JBoss using "all" configuration. I want to use mysql database for this ear. I have mysql-ds.xml configured correctly and jbosscmp-jdbc.xml is in META-INF in the ear. The defaults section of jbosscmp-jdbc.xml is configured to use the mysql ds. The problem is jboss does not seem to override the defaults (specified in standardjbosscmp-jdbc.xml ) with the settings in josscmp-jdbc.xml. Its creating the table in the hypesonic database which is the default for jboss. When I change the ds in standardjbosscmp-jdbc.xml to use mysql, I see that the tables are created in mysql. According to jboss doc, the jbosscmp-jdbc.xml should override the default for a deployment unit. Am I missing something here?
thanks for your time View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875840#3875840 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875840 ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
