[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss Datasource reads an old connection-url

mfps1810 do-not-reply at jboss.com
Fri Jan 9 08:19:38 EST 2009


Hi,

I have created an own datasource called test-ds.xml.

First time, it had a local-tx-datasource with next parameters:

 - jndi-name : testDS
 - connection-url : jdbc:mysql://10.90.31.14:3306/test

It works ok. But now, I have created a new mySQL instance with the name 'testB'. I have changed the datasource and now it has this parameters:

 - jndi-name : testDS
 - connection-url : jdbc:mysql://10.90.31.14:3306/testB

After Jboss has started, when I run my web-app it uses the old database (test) but on the datasource file, the connection-url's name is testB.

Any ideas?

Thanks.

   Manuel.

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

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



More information about the jboss-user mailing list