-
1. Re: unable to deploy mysql datasource in jboss
jonlee May 8, 2003 7:09 PM (in response to shelly)This doesn't look right. From 3.2.0 the connection pool configurations are much simpler. Have a look in docs/examples/jca and grab the *-ds.xml template of your choice and put it in your deploy directory. Modify the parameters to suit your needs and then start JBoss. Note that they are no longer service configuration files but ds configuration files. ;)
The raw template, unless they've back-tracked, should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- JBoss Server Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: mysql-ds.xml,v 1.1 2002/07/22 22:57:24 d_jencks Exp $ -->
<!-- ==================================================================== -->
<!-- Datasource config for MySQL using 2.0.11 driver -->
<!-- ==================================================================== -->
<local-tx-datasource>
<jndi-name>MySqlDS</jndi-name>
<connection-url>jdbc:mysql://dell:3306/jbossdb</connection-url>
<driver-class>org.gjt.mm.mysql.Driver</driver-class>
<user-name>x</user-name>
y
</local-tx-datasource> -
2. Re: unable to deploy mysql datasource in jboss
shelly May 9, 2003 2:06 PM (in response to shelly)thank you :-)