1 Reply Latest reply on Jan 13, 2004 11:08 AM by Adrian Brock

    JCA with SAP R620,  JCO 2.1.2 and JBOSS 3.2.1

    j.kalsbach Newbie

       

      "j.kalsbach" wrote:
      "j.kalsbach" wrote:
      "j.kalsbach" wrote:
      The following config file (named sapjra-dx.xml) works. The supplied file ($JBOSS_HOME/docs/examples/jca/sapr3-ds.xml)did not work.



      <?xml version="1.0" encoding="UTF-8"?>

      <!-- ==================================================================== -->
      <!-- New ConnectionManager setup for SAP R3 -->
      <!-- Author: Joerg Kalsbach (j.kalsbach@mlsystems.de), ML SYSTEMS -->
      <!-- Author: Dirk Suehle (d.suehle@mlsystems.de), ML SYSTEMS -->
      <!-- Version: SAP 620, JCO 2.1.2 -->
      <!-- Hints:
      Filename should be NameOfSAPResourceAdapterArchive-ds.xml
      adapter-display-name should be NameOfSAPResourceAdapterArchive
      jndi-name should be NameOfSAPResourceAdapterArchiveFactory
      copy file in deploy dir of jboss instance, eg $JBOSS_HOME/server/default/deploy
      -->
      <!-- ==================================================================== -->
      <connection-factories>
      <tx-connection-factory>
      <adapter-display-name>SAPJRA</adapter-display-name>
      <jndi-name>eis/SAPJRAFactory</jndi-name>
      <config-property name="SAPClient" type="java.lang.String">YourClient, e.g. 500</config-property>
      <config-property name="UserName" type="java.lang.String">YourUsername</config-property>
      <config-property name="Password" type="java.lang.String">YourPassword</config-property>
      <config-property name="Language" type="java.lang.String">YourLanguage, e.g EN</config-property>
      <config-property name="ServerName" type="java.lang.String">NameOrIPOfSAPHost, e.g. 127.0.0.1</config-property>
      <config-property name="" type="java.lang.String"></config-property>
      <config-property name="PortNumber" type="java.lang.String">YourSystemNumer, e.g. 00</config-property>
      </tx-connection-factory>
      </connection-factories>