Thanks ,

the local tx works fine as u said...

David Jencks wrote:
Use the sap db example with local tx.  The XADataSourceImpl from jboss 2.x
DOES NOT WORK as a XADataSource.  If SAP DB supports xa it will provide an
XADataSource implementation or a jca adapter itself.  I think it does not
support xa but haven't investigated much.

david jencks.

On 2003.05.28 02:55 Janardhan Burugupalli wrote:
  
Hi All,

My sapdb-xa-ds.xml looks like this ...i have a problem that the   
AIWORKDB is not bound while starting the JBoss
can some one correct this if anything goes wrong in this...

and also i dont know how to specofy the driver class for the database 
driver .....i tried the normal   local-tx-datasource and it works fine 
can some please send me an example

thanks
jani

<xa-tx-datasource>
    <jndi-name>AIWORKDB</jndi-name>
    
<xa-datasource-class>org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</xa-datasource-class>
    <!--<connection-url>jdbc:sapdb://localhost/AIDB</connection-url>-->
    <driver-class>com.sap.dbtech.jdbc.DriverSapDB</driver-class>
    <xa-datasource-property 
name="PoolName">AIWORKDB</xa-datasource-property>
    <xa-datasource-property 
name="URL">jdbc:sapdb://localhost/AIDB</xa-datasource-property>
    <xa-datasource-property 
name="Drivers">com.sap.dbtech.jdbc.DriverSapDB</xa-datasource-property>
    <user-name>AIWORKUSER</user-name>
    <password>heiko</password>
    <!--pooling parameters
    <min-pool-size>0</min-pool-size>
    <max-pool-size>10</max-pool-size>
    <blocking-timeout-millis>5000</blocking-timeout-millis>
    <idle-timeout-minutes>15</idle-timeout-minutes>-->
  </xa-tx-datasource>




-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


    


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  



Reply via email to