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 
> 
> Rod


First 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? 
-- 
Joćo Pedro Clemente  -  jpcl (at) rnl ist utl pt
" Why can't women put the toilet seat back up? "



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to