User: d_jencks Date: 01/11/29 20:23:16 Modified: src/xdocs resource.xml Log: added mssql atinav driver conf, thanks Alex Pavlov Revision Changes Path 3.3 +71 -2 manual/src/xdocs/resource.xml Index: resource.xml =================================================================== RCS file: /cvsroot/jboss/manual/src/xdocs/resource.xml,v retrieving revision 3.2 retrieving revision 3.3 diff -u -r3.2 -r3.3 --- resource.xml 2001/11/24 06:35:20 3.2 +++ resource.xml 2001/11/30 04:23:16 3.3 @@ -289,6 +289,75 @@ </section> + <section id="MSSQL 2000"> + <title>MSSQL 2000, ATINAV thin driver</title> + <para>Here is a sample mssqlds-service.xml for the atinav thin driver configuration file contributed by + <author> + <firstname>Alex</firstname> + <surname>Pavlov</surname> + </author> + <email>[EMAIL PROTECTED]</email> +<programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?> + +<!-- =====================================================================--> +<!-- mssqlds-service.xml --> +<!-- JBoss v3.0alpha (november 23, 2001) ATINAV thin driver Configuration +--> +<!-- tested against MS SQL 2000 --> +<!-- ==================================================================== +--> +<!-- --> +<!-- please put jdbc driver (in this case TaveConn25C.jar) under +jboss_home/lib/ext --> +<!-- please put this file (mssqlds-service.xml) under jboss_home/deploy +--> +<!-- --> +<!-- ===================================================================== +--> + +<server> + + <classpath archives="TaveConn25C.jar"/> +<!-- ==================================================================== +--> +<!-- JDBC - Initialize the databases --> +<!-- to ConnectionFactoryLoader --> +<!-- ==================================================================== +--> + <mbean code="org.jboss.resource.ConnectionFactoryLoader" + name="JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=MSSQL2000DS"> + <attribute name="ManagedConnectionFactoryProperties"> + ConnectionURL=jdbc:AvenirDriver://<INSERT_HERE_MSSQL_HOST>:<INSERT_HERE_MSSQL_PORT>/<INSERT_HERE_DB_NAME>;uid=<INSERT_HERE_USERNAME>;pwd=<INSERT_HERE_PASSWORD> + DriverClass=net.avenir.jdbc2.Driver + </attribute> + <attribute name="JndiName">MSSQL2000DS</attribute> + <attribute name="TransactionManagerName">java:/TransactionManager</attribute> + <mbean-ref name="ResourceAdapterName">JCA:service=RARDeployment,name=Minerva +JDBC LocalTransaction ResourceAdapter</mbean-ref> + <mbean-ref name="ConnectionManagerFactoryLoaderName">JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</mbean-ref> + <attribute name="ConnectionManagerProperties"># + #Wed Aug 15 16:17:29 EDT 2001 + BlockingTimeoutMillis=50000 + IdleTimeoutMinutes=30 + MaxSize=10 + CleanupIntervalMinutes=10 + MinSize=0 + MaxIdleTimeoutPercent=1.0 + </attribute> + <attribute name="PrincipalMappingClass"> + org.jboss.resource.security.ManyToOnePrincipalMapping + </attribute> + <attribute name="PrincipalMappingProperties">userName=<INSERT_HERE_USERNAME> + password=<INSERT_HERE_PASSWORD></attribute> + </mbean> +</server> +]]></programlisting> +</para> + </section> + + + + <section id="mysql"> <title>Mysql</title> <para>Here is a sample mysql-service.xml configuration file contributed by @@ -306,7 +375,7 @@ <!-- --> <!-- ===================================================================== --> -<!-- $Id: resource.xml,v 3.2 2001/11/24 06:35:20 d_jencks Exp $ --> +<!-- $Id: resource.xml,v 3.3 2001/11/30 04:23:16 d_jencks Exp $ --> <server> @@ -424,7 +493,7 @@ <!-- --> <!-- ===================================================================== --> -<!-- $Id: resource.xml,v 3.2 2001/11/24 06:35:20 d_jencks Exp $ --> +<!-- $Id: resource.xml,v 3.3 2001/11/30 04:23:16 d_jencks Exp $ --> <server>
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development