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

PeterJ do-not-reply at jboss.com
Fri Jan 9 11:44:56 EST 2009


Are you sure that the correct *-ds.xml file is in server/xxx/deploy? Did you restart the app server?

Look in the server.log file for a line that looks like this:

2008-11-11 15:04:49,889 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/jboss_home/server/xxx/deploy/yyy-ds.xml

Following that there should several lines that describe the mbeans created from the *-ds.xml file. One of the lines contains the database url:

        <config-property name='ConnectionURL' type='java.lang.String'>xxxxxxx</config-property>

Another thought - does the account in mysql have access rights to testB?


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

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



More information about the jboss-user mailing list