Hi, I am trying to make a connection using sap JRA, in its latest beta version.
I have configured JBOSS XML file according to the example file in the docs directory of JBOSS: <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">801</config-property> <user-name>buydirect</user-name> bdirect <config-property name="Language" type="java.lang.String">P</config-property> <config-property name="ServerName" type="java.lang.String">170.248.72.28</config-property> <config-property name="SystemNumber" type="java.lang.String">00</config-property> <config-property name="PortNumber" type="java.lang.String">3300</config-property> </tx-connection-factory> </connection-factories> Although everything seems ok during JBOSS service start, when I run my EJB client I get the following exception: 15:19:47,208 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: javax.resource.ResourceException: Couldn't create ManagedConnection. com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM GWHOST=170.248.72.28, GWSERV=sapgw33, ASHOST=170.248.72.28, SYSNR=33 LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host 170.248.72.28, service 3333) TIME Tue Mar 30 15:19:47 2004 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -10 MODULE ninti.c LINE 969 DETAIL NiPConnect2 SYSTEM CALL SO_ERROR ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 3 at com.sap.mw.jco.jra.JRA$ManagedConnectionImpl.(JRA.java:2046) It seems that it is trying to connect using a wrong port or system number... How do I fix this? Thank you Dov View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828167#3828167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828167 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development