[jboss-cvs] JBoss Messaging SVN: r2409 - trunk/src/etc/server/default/deploy.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Feb 23 22:59:42 EST 2007
Author: clebert.suconic at jboss.com
Date: 2007-02-23 22:59:41 -0500 (Fri, 23 Feb 2007)
New Revision: 2409
Modified:
trunk/src/etc/server/default/deploy/mssql-ds.xml
Log:
http://jira.jboss.org/jira/browse/JBMESSAGING-882 - Changing example
Modified: trunk/src/etc/server/default/deploy/mssql-ds.xml
===================================================================
--- trunk/src/etc/server/default/deploy/mssql-ds.xml 2007-02-24 01:47:03 UTC (rev 2408)
+++ trunk/src/etc/server/default/deploy/mssql-ds.xml 2007-02-24 03:59:41 UTC (rev 2409)
@@ -6,33 +6,31 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: mssql-ds.xml 23720 2004-09-15 14:37:40Z loubyansky $ -->
+<!-- ======================================================================-->
+<!-- New ConnectionManager setup for Microsoft SQL Server 2000 driver -->
+<!-- You may download the latest Microsoft JDBC driver from *Microsoft* -->
+<!-- http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/MSDN-FILES/027/001/779/msdncompositedoc.xml&frame=true -->
+<!-- ===================================================================== -->
- <!-- ======================================================================-->
- <!-- New ConnectionManager setup for Microsoft SQL Server 2000 driver -->
- <!-- You may download the latest Microsoft JDBC driver from *Microsoft* -->
- <!-- http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/MSDN-FILES/027/001/779/msdncompositedoc.xml&frame=true -->
- <!-- ===================================================================== -->
-
<datasources>
- <local-tx-datasource>
- <jndi-name>DefaultDS</jndi-name>
- <connection-url>jdbc:sqlserver://yourHostName:YourPortNumber;DatabaseName=YourDBName</connection-url>
- <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
- <user-name>messaging</user-name>
- <password>messaging</password>
- <!-- sql to call when connection is created
- <new-connection-sql>some arbitrary sql</new-connection-sql>
- -->
+ <local-tx-datasource>
+ <jndi-name>DefaultDS</jndi-name>
+ <connection-url>jdbc:jtds:sqlserver://YourHost:YourPort/YourDatabase</connection-url>
+ <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
+ <user-name>messaging</user-name>
+ <password>messaging</password>
+ <!-- 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>
- -->
+ <!-- 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>MS SQLSERVER2000</type-mapping>
</metadata>
- </local-tx-datasource>
+ </local-tx-datasource>
</datasources>
More information about the jboss-cvs-commits
mailing list