[jboss-user] [JNDI/Naming/Network] - Re: Configuring JNDI Datasource (MySQL-5.1.36) in JBOSS 5.1.

Torleif do-not-reply at jboss.com
Wed Aug 5 09:56:44 EDT 2009


I have copied (mysql-connector-java-5.1.7-bin.jar). to $JBOSS_HOME/server/default/lib already so this is done.

So know i need to copy the $JBOSS_HOME/docs/examples/jca/mysql-ds.xml file to $JBOSS_HOME/server/default/deploy .

Then when this is done i only need to edit the mysql-ds.xml file. Replace <jndi-name>MySqlDS</jndi-name> with your datasource name, 

Replace <connection-url>jdbc:mysql://mysql-hostname:3306/jbossdb</connection-url> with my connection string,

and then last username and pasword. Then all this should be finished i hope? Please let me know if this is all i need to do or if there are more things i need to change?

Thank you very much for your quick replay with this matter. I'll be back again if i don't get this to work but let's hope not. Cheers again for this!!!

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

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



More information about the jboss-user mailing list