-
1. Re: RC1 + MySql help needed.
g_andre Apr 16, 2002 4:22 PM (in response to g_andre)Sorry something unclear in the prev mail.
Is there any change concerning datasource between JB3 beta and RC1? I am desperately trying to use RC1 with mysql database( I had no problem with JB3 beta). Anyone managed to do it.
Thanks. -
2. Re: RC1 + MySql help needed.
davidjencks Apr 16, 2002 7:42 PM (in response to g_andre)I'm not sure the new examples made it into the rc1 package. Get a new sample config from cvs at jbosscx/src/etc/example-config. Note that you have to have matching entries between mysql-service.xml and login-conf.xml. This is set up already for hsqldb-service. There are additional comments in the jdatastore-service.xml on how to do it.
-
3. Re: RC1 + MySql help needed.
rsal Apr 17, 2002 4:45 PM (in response to g_andre)Have you gotten MySql working with RC1 yet?
/rick -
4. Re: RC1 + MySql help needed.
g_andre Apr 18, 2002 7:39 AM (in response to g_andre)It is working no problem. Follow the recomendation above, look for conf/login-config.xml rather than login-conf.xml.
Thanks. -
5. Re: RC1 + MySql help needed.
davidjencks Apr 19, 2002 12:41 AM (in response to g_andre)For more information...
http://main.jboss.org/forums/thread.jsp?forum=67&thread=13366
thanks
david jencks -
6. Re: RC1 + MySql help needed.
rsal Apr 19, 2002 2:17 PM (in response to g_andre)David,
Is it possible to enable more than one MySql DataSource with the new config files??
Thanks,
/rick -
7. Re: RC1 + MySql help needed.
davidjencks Apr 19, 2002 4:26 PM (in response to g_andre)Sure, just be sure the object names are different in all the mbeans (I like using the name=xxx key for this), the jndi names are different, and that each one has its own security configuration set up correctly.
Note that mysql does not support xa transactions in any way, so you should not try to include both dbs in the same transaction and expect consistent results (on failure). The mysql xadatasource implementation provides an xa interface but not the semantics, and you should get marginally better performance using the LocalTx wrapper.
If you do need real xa semantics the only free solution I know of is firebird with the jca-jdbc driver.