3 Replies Latest reply on Sep 26, 2002 11:44 PM by David Jencks

    SAP R/3 JCA connector and JBoss 3.0.0

    Chris Pinfold Newbie

      I am currently trying to port our project to jboss-3.0.0alpha to jboss-3.0.0 (final release) and I am having trouble
      getting our SAP R/3 Resource Adapter to deploy correctly.

      I am using the sapr3-service.xml file available on sourceforge from the link below..

      http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/resources/jca/Attic/sapr3-service.xml

      This worked fine for the Alpha version, since the classes org.jboss.resource.ConnectionFactoryLoader and org.jboss.resource.ConnectionManagerFactory were available in jboss-jca.jar. These seem to have been removed in both the final release of jboss-3.0.0 and jboss-3.0.1.

      Any help would be greatly appriciated.

      The sapr3-service.xml I am using (minus ip address and user/pwd) is listed below...

      Regards
      Chris

      <?xml version="1.0" encoding="UTF-8"?>
      <!-- $Id: sapr3-service.xml,v 1.2 2002/06/21 23:40:09 d_jencks dead $ -->


      <!-- ===================================================================== -->
      <!-- -->
      <!-- JBoss Server Configuration -->
      <!-- -->
      <!-- ===================================================================== -->




      <!-- ==================================================================== -->
      <!-- Example ConnectionFactoryLoader for SAP R/3 connector -->
      <!-- Put sap.rar in deploy also. This rar should contain jars -->
      <!-- ra.jar and jCO.jar. The native libraries need to be moved by hand -->
      <!-- to your PATH. -->
      <!-- Author: David Jencks d_jencks@users.sourceforge.net -->
      <!-- Author: Paul McLachlan paulm@yambay.com -->
      <!-- ==================================================================== -->



      server-name=<ip address>
      system-name=
      system-number=00
      UserName=
      password=
      Language=EN

      R3ConnectionFactory
      java:/TransactionManager
      <mbean-ref name="ResourceAdapterName">JCA:service=RARDeployment,name=SAP
      ConnectorFactory</mbean-ref>
      <mbean-ref name="ConnectionManagerFactoryLoaderName">JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</mbean-ref>
      #
      BlockingTimeoutMillis=500000
      IdleTimeoutMinutes=30
      MaxSize=10
      CleanupIntervalMinutes=30
      MinSize=0
      MaxIdleTimeoutPercent=1.0


      org.jboss.resource.security.ManyToOnePrincipalMapping


      UserName=
      password=