Hallo,

could someone make a short guide how to set up SAPJRA with JBOSS?

I found so many wrong examples and nothing worked well.
Currently I have trouble to see the "eis/SAPJRA" JNDI entry from within a bean.
I think the setup of the *.rar file of SAP has not been completed or does not suite 
well for JBoss.

Also the example on the doc folder of JBoss 3.2.4 has mistakes.

I will start this trial here with a, for my opinion, errorfree sapr3-ds.xml:

-------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- ConnectionManager setup for SAP R3                                   -->
<!--  Author: David Jencks ([EMAIL PROTECTED])               -->
<!--  Author: Chris Pinfold ([EMAIL PROTECTED])                           -->
<!--  Author: Juraj Lenharcik ([EMAIL PROTECTED]) ;-)                       -->
<!--  Author: Frank Hefter ([EMAIL PROTECTED])                      -->
<!--  ==================================================================== -->
<!--
Required Properties (All properties are of type String if not other defined):
                Properties (SAPClient, UserName, Password, Language) should be always 
defined.
                Additionally either (ServerName, PortNumber) or (MessageServer, 
SystemID, Group) or (SharedMemory, ProfileName) should be defined. 
                These default-values used internally by Resource Adapter. 
                Properties (UserName, Password, Language) will be overridden when 
creating the actual connection if UserManagement mantained and
                your application uses Container managed authentication.
                Examples:
                 a) connection to single App. Server: SAPClient=000, UserName=tester, 
Password=***,ServerName=us7400,PortNumber=01.
                 b) connection to cluster: SAPClient=000, UserName=tester, 
Password=***, MessageServer=b20main.wdf.sap-ag.de, SystemID=B20, Group=PUBLIC.
                 c) connection to the R/3 which placed with SAP J2EE Engine on the 
same machine (only for WebAS 620/630 non-standalone installations): 
                    SharedMemory=true, 
ProfileName=D:\\usr\\sap\\C11\\SYS\\profile\\C11_JC00_pwdf0700, where SharedMemory of 
type Boolean.
... for more see files in rar / startup comments
-->
<connection-factories>
  <tx-connection-factory>
    <adapter-display-name>SAPJRA</adapter-display-name>
    <jndi-name>eis/SAPJRA</jndi-name>
    <config-property name="SAPClient" type="java.lang.String">100</config-property>
    <config-property name="UserName" type="java.lang.String">MyName</config-property>
    <config-property name="Password" 
type="java.lang.String">MyPassword</config-property>
    <config-property name="Language" type="java.lang.String">EN</config-property>
    <config-property name="ServerName" 
type="java.lang.String">server100.company.com</config-property>
    <config-property name="PortNumber" type="java.lang.String">3364</config-property>
    <!--    <config-property name="GatewayServerName" 
type="java.lang.String">a</config-property>
    <config-property name="GatewayServiceNumber" 
type="java.lang.String">sapgw62</config-property>
    <config-property name="MessageServerName" 
type="java.lang.String">a</config-property>
    <config-property name="SystemName" type="java.lang.String">a</config-property>
    <config-property name="GroupName" type="java.lang.String">a</config-property>   -->
  </tx-connection-factory>
</connection-factories>
-----------------------------------------
Frank

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839672#3839672

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839672


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to