You can have both working.  The DefaultDS is really only for JBoss's use. It's where 
JBoss stores it's data for transactions and such.  What I normally do is make sure 
that mySQL is defined as a type mapping seciton in standardjbosscmp-jdbc.xml.  Then 
drop a MySqlDS.xml into the deploy directory and set the application's 
jbosscmp-jdbc.xml to use the mysql-ds datasource.  You can get jboss to use the 
MySqlDS as it's default, that is, you can get Jboss to store it's transaction 
information in this datasource. But to do this you have to remove the hs-ds.xml file.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839445#3839445

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839445


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to