[JBoss-dev] CVS update: manual/src/xdocs resource.xml

2002-02-06 Thread David Jencks

  User: d_jencks
  Date: 02/02/06 08:16:04

  Modified:src/xdocs resource.xml
  Log:
  added SAP R/3 example
  
  Revision  ChangesPath
  3.9   +9 -3  manual/src/xdocs/resource.xml
  
  Index: resource.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/xdocs/resource.xml,v
  retrieving revision 3.8
  retrieving revision 3.9
  diff -u -r3.8 -r3.9
  --- resource.xml  2002/01/14 01:14:43 3.8
  +++ resource.xml  2002/02/06 16:16:04 3.9
  @@ -270,6 +270,12 @@
 ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/postgres-service.xml;citetitlePostgres
 database/citetitle/ulink
   /para
 /listitem
  +
  +  listitem
  +para
  +  ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/sapr3-service.xml;citetitleSAP
 R/3 ERP system, inqmy connector/citetitle/ulink
  +/para
  +  /listitem
   /orderedlist
 /para
   
  @@ -277,9 +283,9 @@
   section id=resource-migration
 titleMigration from older jboss versions/title
 paraPrevious versions of jboss provided database connectivity and 
connection pooling through the XADataSourceLoaderMBean.  This was normally used with 
the XADataSourceImpl, which provided an xa interface for a non-xa jdbc driver.  Of 
course, since the underlying driver did not support xa transactions, neither did the 
XA wrapper.  These drivers can now be used with the Minerva JDBC LocalTransaction 
ResourceAdapter, which works with the transaction manager using local, non-xa 
transactions, eliminating the confusion of imitating but not implementing xa 
semantics.  If you have a true XADataSource implementation for your database, you can 
instead use the Minerva JDBC XATransaction ResourceAdapter, which provides full xa 
support./para
  -  paraMost of the parameters in an XADataSourceLoader configuration have 
direct parallels in a ConnectionFactoryLoader configuration.  The table below 
indicates the correspondence with notes on areas of non-equivalence./para
  -paraCOMING SOON The following is incomplete./para
  -  paraThe migration results in the following conversions:
  +  paraMost of the parameters in an XADataSourceLoader configuration have 
direct parallels in a ConnectionFactoryLoader configuration./para
  +paraNormally the easiest migration path is to select a configuration example 
for your database from the provided examples and to modify it until it works.  If you 
find errors or work out a configuration for a database for which there is no example, 
please contribute back to the JBoss community by supplying us with your configuration. 
 Questions on this subject should be asked in the Database and Persistence 
forum./para
  +  paraMigration results in the following conversions:
   orderedlist
 listitem
   paraAn XADataSourceLoader using the XADataSourceImpl wrapper converts 
to the LocalTransaction resource adapter and the LocalTransaction pool./para
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/xdocs resource.xml

2002-01-13 Thread David Jencks

  User: d_jencks
  Date: 02/01/13 17:14:43

  Modified:src/xdocs resource.xml
  Log:
  Moved example configurations into examples directory and replaced text with links to 
cvs history pages.  Now you can find the config version for your jboss version.
  
  Revision  ChangesPath
  3.8   +34 -359   manual/src/xdocs/resource.xml
  
  Index: resource.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/xdocs/resource.xml,v
  retrieving revision 3.7
  retrieving revision 3.8
  diff -u -r3.7 -r3.8
  --- resource.xml  2002/01/13 23:34:52 3.7
  +++ resource.xml  2002/01/14 01:14:43 3.8
  @@ -238,366 +238,41 @@
   section id=resource-db-specific
 titleExamples for specific databases/title
 paraPlease contribute your working example now!/para
  -  paraemphasisIMPORTANT: THESE EXAMPLES ARE FOR POST JBOSS3.0ALPHA ONLY! 
THEY WILL NOT WORK ON JBOSS 2.4.x.  TO ADAPT THEM TO JBOSS3.0ALPHA, REPLACE depends 
WITH mbean-ref AND optional-attribute-name= WITH name=. ALSO REPLACE jboss.jca: 
IN THE OBJECT NAMES WITH JCA:/emphasis/para
  +  paraThe example ConnectionFactoryLoader configuration files are now 
maintained individually in jboss cvs.  Here is a ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/;citetitlelink
 to a cvs view/citetitle/ulink of the directory containing the examples.  Please 
examine the checkin comments to find the version appropriate for the version of jboss 
3 that you are using. These examples will not work with any jboss 2.x version./para
  +  paraHere are links to the cvs history pages for individual examples.
  +orderedlist
  +  listitem
  +para
  +  ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/firebird-service.xml;citetitleFirebird
 jca-jdbc driver (Not Interclient)/citetitle/ulink
  +/para
  +  /listitem
  +
  +  listitem
  +para
  +  ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/mssql-service.xml;citetitleMSSQL
 database with Atinav driver/citetitle/ulink
  +/para
  +  /listitem
  +
  +  listitem
  +para
  +  ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/mysql-service.xml;citetitleMySql
 database./citetitle/ulink
  +/para
  +  /listitem
  +
  +  listitem
  +para
  +  ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/oracle-service.xml;citetitleOracle
 8 database/citetitle/ulink
  +/para
  +  /listitem
  +
  +  listitem
  +para
  +  ulink url = 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/postgres-service.xml;citetitlePostgres
 database/citetitle/ulink
  +/para
  +  /listitem
  +/orderedlist
  +  /para
   
  -section id=firebirdsql
  -  titlefirebirdsql/title
  -  paraHere is a sample firebird-service.xml configuration file for the 
(incomplete) firebirdsql jca-jdbc driver.  Note that this is not the Borland 
interclient driver.  It does support xa transactions correctly, although recover is 
not yet implemented.  To obtain it, visit the firebird project at sourceforge, 
checkout the client-java module from cvs, and build it using the ant script. This 
configuration is written by 
  -author
  -  firstnameDavid/firstname
  -  surnameJencks/surname
  -/author
  -email[EMAIL PROTECTED]/email
  -programlisting![CDATA[?xml version=1.0 encoding=UTF-8?
  -
  -
  -!-- = --
  -!--   --
  -!--  JBoss Server Configuration   --
  -!--   --
  -!-- = --
  -
  -
  -
  -server
  -
  -
  -
  -  !--  --
  -  !-- Example ConnectionFactoryLoader for Firebird jca-jdbc connector  --
  -  !-- Put firebirdsql.rar in deploy also.  --
  -  !--  --
  -
  -
  -  mbean code=org.jboss.resource.ConnectionFactoryLoader 
  -  name=jboss.jca:service=ConnectionFactoryLoader,name=FirebirdDS
  -attribute 
name=ManagedConnectionFactoryPropertiesDatabase=localhost/3050:/usr/java/jboss/co6/jboss-all/build/output/jboss-3.0.0alpha/db/firebirdsql/jbosstest.gdb/attribute
  -attribute name=JndiNameDefaultDS/attribute
  -

[JBoss-dev] CVS update: manual/src/xdocs resource.xml

2002-01-05 Thread David Jencks

  User: d_jencks
  Date: 02/01/05 13:15:33

  Modified:src/xdocs resource.xml
  Log:
  Fixed typo in Firebirdsql config
  
  Revision  ChangesPath
  3.6   +3 -3  manual/src/xdocs/resource.xml
  
  Index: resource.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/xdocs/resource.xml,v
  retrieving revision 3.5
  retrieving revision 3.6
  diff -u -r3.5 -r3.6
  --- resource.xml  2001/12/21 16:34:12 3.5
  +++ resource.xml  2002/01/05 21:15:33 3.6
  @@ -288,7 +288,7 @@
 org.jboss.resource.security.ManyToOnePrincipalMapping
  /attribute
   attribute name=PrincipalMappingPropertiesUserName=sysdba
  -Password=masterkey/attribute
  +UserPassword=masterkey/attribute
 /mbean
   
   /server
  @@ -383,7 +383,7 @@
   !--   --
   !-- = --
   
  -!-- $Id: resource.xml,v 3.5 2001/12/21 16:34:12 d_jencks Exp $ --
  +!-- $Id: resource.xml,v 3.6 2002/01/05 21:15:33 d_jencks Exp $ --
   
   
   server
  @@ -501,7 +501,7 @@
   !--   --
   !-- = --
   
  -!-- $Id: resource.xml,v 3.5 2001/12/21 16:34:12 d_jencks Exp $ --
  +!-- $Id: resource.xml,v 3.6 2002/01/05 21:15:33 d_jencks Exp $ --
   
   server
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/xdocs resource.xml

2001-11-30 Thread David Jencks

  User: d_jencks
  Date: 01/11/30 18:17:42

  Modified:src/xdocs resource.xml
  Log:
  added link to atinav mssql driver site
  
  Revision  ChangesPath
  3.4   +3 -3  manual/src/xdocs/resource.xml
  
  Index: resource.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/xdocs/resource.xml,v
  retrieving revision 3.3
  retrieving revision 3.4
  diff -u -r3.3 -r3.4
  --- resource.xml  2001/11/30 04:23:16 3.3
  +++ resource.xml  2001/12/01 02:17:42 3.4
  @@ -296,7 +296,7 @@
 firstnameAlex/firstname
 surnamePavlov/surname
   /author
  -email[EMAIL PROTECTED]/email
  +email[EMAIL PROTECTED]/email. This driver is available from  ulink url 
= 
http://www.atinav.com/products/aveconnect/aveconnect.htm;citetitleAtinav/citetitle/ulink.
   programlisting![CDATA[?xml version=1.0 encoding=UTF-8?
   
   !-- =--
  @@ -375,7 +375,7 @@
   !--   --
   !-- = --
   
  -!-- $Id: resource.xml,v 3.3 2001/11/30 04:23:16 d_jencks Exp $ --
  +!-- $Id: resource.xml,v 3.4 2001/12/01 02:17:42 d_jencks Exp $ --
   
   
   server
  @@ -493,7 +493,7 @@
   !--   --
   !-- = --
   
  -!-- $Id: resource.xml,v 3.3 2001/11/30 04:23:16 d_jencks Exp $ --
  +!-- $Id: resource.xml,v 3.4 2001/12/01 02:17:42 d_jencks Exp $ --
   
   server
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/xdocs resource.xml

2001-11-29 Thread David Jencks

  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  ChangesPath
  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
  +  titleMSSQL 2000, ATINAV thin driver/title
  +  paraHere is a sample mssqlds-service.xml for the atinav thin driver 
configuration file contributed by 
  +author
  +  firstnameAlex/firstname
  +  surnamePavlov/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=JndiNameMSSQL2000DS/attribute
  +attribute name=TransactionManagerNamejava:/TransactionManager/attribute
  +mbean-ref name=ResourceAdapterNameJCA:service=RARDeployment,name=Minerva
  +JDBC LocalTransaction ResourceAdapter/mbean-ref
  +mbean-ref 
name=ConnectionManagerFactoryLoaderNameJCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory/mbean-ref
  +attribute name=ConnectionManagerProperties#
  +  #Wed Aug 15 16:17:29 EDT 2001
  +  BlockingTimeoutMillis=5
  +  IdleTimeoutMinutes=30
  +  MaxSize=10
  +  CleanupIntervalMinutes=10
  +  MinSize=0
  +  MaxIdleTimeoutPercent=1.0
  +/attribute
  +attribute name=PrincipalMappingClass
  +  org.jboss.resource.security.ManyToOnePrincipalMapping
  +/attribute
  +attribute name=PrincipalMappingPropertiesuserName=INSERT_HERE_USERNAME
  +  password=INSERT_HERE_PASSWORD/attribute
  +  /mbean
  +/server
  +]]/programlisting
  +/para
  +/section
  +
  +
  +
  +
   section id=mysql
 titleMysql/title
 paraHere 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



[JBoss-dev] CVS update: manual/src/xdocs resource.xml

2001-11-12 Thread David Jencks

  User: d_jencks
  Date: 01/11/12 10:35:18

  Modified:src/xdocs resource.xml
  Log:
  Updated the manual to show mbean refs: simplified the pool configuration.  The pool 
changes are a bit of a hack, but do expose what I think is a better interface.  
Blocking is always on, idle timeout is always on. Idle timeout and CleanupInterval are 
in minutes.
  
  Revision  ChangesPath
  1.6   +33 -86manual/src/xdocs/resource.xml
  
  Index: resource.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/xdocs/resource.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- resource.xml  2001/10/11 22:13:58 1.5
  +++ resource.xml  2001/11/12 18:35:18 1.6
  @@ -75,78 +75,72 @@
   formalpara
 titlembean code=org.jboss.resource.ConnectionFactoryLoader 

name=DefaultDomain:service=ConnectionFactoryLoader,name=DefaultDS/title
  -  paraThis is the mbean declaration, identifying it as a 
ConnectionFactoryLoader instance and supplying an ObjectName.  Note that the 
name=myObjectName is part of the ConnectionFactoryLoader mbean ObjectName and has 
nothing to do with the jndi name the ConnectionFactory will be bound under./para
  +  paraThis is the mbean declaration, identifying it as a 
ConnectionFactoryLoader instance and supplying an ObjectName.  Note that the 
name=myObjectName is part of the ConnectionFactoryLoader mbean ObjectName and has 
nothing to do with the jndi name the ConnectionFactory will be bound under. Remember 
also that ObjectNames have to be unique./para
   /formalpara
 /listitem
 listitem
   formalpara
  -  titleJndiName (formerly FactoryName)/title
  +  title(attribute) JndiName (formerly FactoryName)/title
 paraThis is the JNDI name that the ConnectionFactory will end 
up getting bound under in JNDI.  You or JAWS use this to find the ConnectionFactory 
when you want to do some work on the resource it is connected to./para
   /formalpara
 /listitem
 listitem
   formalpara
  -  titleTransactionManagerName/title
  -  paraThis is the jndi name of the transaction manager to hook up 
transactions from.  Normally it is java:/TransactionManager/para
  +  title(attribute)TransactionManagerName/title
  +  paraThis is the jndi name of the transaction manager to hook up 
transactions from.  Normally it is java:/TransactionManager.  This may concievably be 
changed to an mbean-ref at some time in the future./para
   /formalpara
 /listitem
 listitem
   formalpara
  -  titleRARDeployerName/title
  -  paraThis is the (string representation of) the mbean ObjectName 
of the connector deployer.  This is needed because usually the ConnectionFactoryLoader 
is configured and started before the resource adapter is deployed.  When the resource 
adapter is deployed, all the ConnectionFactoryLoaders are notified that they can 
finish their setup and actually create the ManagedConnectionFactory etc./para
  +  title(mbean-ref)ResourceAdapterName/title
  +  paraThis is the (string representation of) the ObjectName of 
the RARDeployment set up by the RARDeployer when it deploys the needed rar.  The 
connection factory loader will not be started until this mbean is present.  The object 
names look like this: JCA:service=RARDeployment,name=[display name of rar].  /para
   /formalpara
 /listitem
 listitem
   formalpara
  -  titleResourceAdapterName/title
  -  paraThis is a little more interesting! Finally we specify which 
resource adapter this ConnectionFactory should be using.  This is the display-name 
element from the resource adapter's internal deployment descriptor (ra.xml)/para
  +  title(attribute)ManagedConnectionFactoryProperties/title
  +  paraThese are, in Properties.load file format, all the 
configuration you want to do on the ManagedConnectionFactory.  Typically this will 
include what resource you are connecting to and such adapter specific items as 
transaction isolation.  The configurable items are specified in the resource adapter's 
deployment descriptor (ra.xml). Most of the relevant contents of this deployment 
descriptor may be viewed in the RARDeployment mbean created by the RARDeployer when it 
deploys the connector./para
   /formalpara
 /listitem
 listitem
   formalpara
  -  titleManagedConnectionFactoryProperties/title
  -

[JBoss-dev] CVS update: manual/src/xdocs resource.xml

2001-10-01 Thread David Jencks

  User: d_jencks
  Date: 01/10/01 16:11:04

  Modified:src/xdocs resource.xml
  Log:
  Added some depends elements to examples, thanks Ignacio
  
  Revision  ChangesPath
  1.4   +8 -2  manual/src/xdocs/resource.xml
  
  Index: resource.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/xdocs/resource.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- resource.xml  2001/09/27 05:43:09 1.3
  +++ resource.xml  2001/10/01 23:11:04 1.4
  @@ -278,14 +278,17 @@
   !--   --
   !-- = --
   
  -!-- $Id: resource.xml,v 1.3 2001/09/27 05:43:09 d_jencks Exp $ --
  +!-- $Id: resource.xml,v 1.4 2001/10/01 23:11:04 d_jencks Exp $ --
   
   
   server
   
 dependsJBOSS-SYSTEM:service=Naming/depends
 dependsJBOSS-SYSTEM:service=TransactionManager/depends
  +  
dependsJCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory/depends
  +  dependsJCA:service=RARDeployer/depends
   
  +
 classpath archives=
 mm.mysql-2.0.4-bin.jar, 
 jbosscx.sar/
  @@ -346,12 +349,15 @@
   !--   --
   !-- = --
   
  -!-- $Id: resource.xml,v 1.3 2001/09/27 05:43:09 d_jencks Exp $ --
  +!-- $Id: resource.xml,v 1.4 2001/10/01 23:11:04 d_jencks Exp $ --
   
   server
   
 dependsJBOSS-SYSTEM:service=Naming/depends
 dependsJBOSS-SYSTEM:service=TransactionManager/depends
  +  
dependsJCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory/depends
  +  dependsJCA:service=RARDeployer/depends
  +
   
 classpath archives=
 jdbc7.0-1.2.jar, 
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development