[jboss-cvs] JBoss Messaging SVN: r1406 - in trunk: src/etc/server/default/deploy util util/lib

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Sep 30 01:01:10 EDT 2006


Author: ovidiu.feodorov at jboss.com
Date: 2006-09-30 01:01:00 -0400 (Sat, 30 Sep 2006)
New Revision: 1406

Added:
   trunk/src/etc/server/default/deploy/mysql-ds.xml
   trunk/util/lib/
   trunk/util/lib/mysql-driver-3.0.17.GA.jar
Log:
added a generic mysql service configuration file and driver to be used by the clustering installation process

Added: trunk/src/etc/server/default/deploy/mysql-ds.xml
===================================================================
--- trunk/src/etc/server/default/deploy/mysql-ds.xml	2006-09-30 00:33:13 UTC (rev 1405)
+++ trunk/src/etc/server/default/deploy/mysql-ds.xml	2006-09-30 05:01:00 UTC (rev 1406)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+     Datasource configuration for MySQL.
+
+     WARNING! MAY REQUIRE ADDITIONAL CUSTOMIZATION FOR YOUR ENVIRONMENT.
+
+     Specifically, you may want to modify the connection-url, username and password so it matches
+     your installed database instance.
+
+
+     $Id: mysql-ds.xml,v 1.3.2.1 2004/12/01 11:46:00 schrouf Exp $
+-->
+
+<datasources>
+
+  <local-tx-datasource>
+
+    <jndi-name>DefaultDS</jndi-name>
+
+    <connection-url>jdbc:mysql://localhost:3306/messaging</connection-url>
+    <driver-class>com.mysql.jdbc.Driver</driver-class>
+    <user-name>sa</user-name>
+    <password></password>
+    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
+
+    <!--
+         SQL to call when connection is created.
+    -->
+    <!--
+    <new-connection-sql>some arbitrary sql</new-connection-sql>
+    -->
+
+    <!--
+         SQL to call on an existing pooled connection when it is obtained from pool.
+    -->
+    <!--
+    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
+    -->
+
+    <!--
+         Corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional).
+    -->
+    <metadata>
+       <type-mapping>mySQL</type-mapping>
+    </metadata>
+
+  </local-tx-datasource>
+
+</datasources>
+

Added: trunk/util/lib/mysql-driver-3.0.17.GA.jar
===================================================================
(Binary files differ)


Property changes on: trunk/util/lib/mysql-driver-3.0.17.GA.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the jboss-cvs-commits mailing list