João Clemente wrote:
On Wed, 20 Nov 2002 22:42:09 -0700 "Rod Cope" <[EMAIL PROTECTED]> wrote:I just posted this link, but it seems to be called for again. Step-by-step JBoss + MySQL configuration: http://www.ejbsolutions.com/products/obox/community/ch18.html RodFirst of all, Rod, thank you for this link. However, this is a step-by-step on how to set JBoss to use mysql instead of hypersonic... I followed the steps trying to extrapolate whatever was needed to be done to use mysql without touching hypersonic or the defaultds, and I got is almost right: I've deployed a mysql-service.xml mapping jdbc:mysql://localhost:3306/jbossdb with a JNDI name of "MySqlDS" and a mysql-ecperf-service.xml mapping jdbc:mysql://localhost:3306/ecperfdb with a JNDI name of "ECPerfDS" No problem 'till now and I can deploy this and see they register and everything. However, as you state in the last section of the page you point out, to use mysql with CMP you need to configure something like this: <datasource>java:/DefaultDS</datasource> <datasource-mapping>Hypersonic SQL</datasource-mapping> So I think I need the following lines somewhere: <datasource>java:/ECPerfDS</datasource> <datasource-mapping>mySQL</datasource-mapping> ... The question is ... where?? I think I cant put this in the place we find the defaultDS as that one is inside a <default></default> tag. Any tip?
-- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543