[jboss-user] [JBoss Seam] - Re: Where is the database?

modoc do-not-reply at jboss.com
Mon Nov 27 15:01:10 EST 2006


anonymous wrote : Another question: How do I change to mysql instead of hsqldb? Do I have to unjar mc-conf.jar, edit embedded-jboss-beans.xml, then reJAR the JAR file and restart the application? 

All you should have to do is to setup the mysql data source in a new xml file in the deploy directory.  You can either create a new JNDI data source (MySQLDS) if you want to use it for new code, or replace the existing DefaultDS with a mysql based definition.  See the file in my reply above for more info.

You shouldn't need to unjar things.

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

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



More information about the jboss-user mailing list