Thread: SAP R3 – Java
View Single Post
  #1 (permalink)  
Old 06-07-2007, 06:11 AM
Felissa Felissa is offline
Member
 
Join Date: Jun 2007
Posts: 95
Felissa is on a distinguished road
SAP R3 – Java
Hello! At the moment I am developing an interface between a system under SAP R3 (language ABAP) and a Java application, which will serve as bridge to communicate to the system in SAP with a system with data base SQLServer (all route Intranet, nothing of Web server).

I go to you in search of some suggestion, since it is first time that use the JCO library, that provides SAP to make the connection with Java, and in the tests that there are been making the connection has been quite unstable. I copy the error to them that throws when invoking from SAP the Java application.

ERROR:

Code:
Server JAVASERVER changed state from [ STOPPED ] to [ STARTED ] Server JAVASERVER changed state from [ STARTED ] to [ STARTED LISTENING ] Server JAVASERVER changed state from [ STARTED LISTENING ] to [ STARTED LISTENING BUSY ] Exception in server JAVASERVER: com.sap.mw.jco.JCO$Exception : (123) JCO_ERROR_FUNCTION_NOT_FOUND: Server repository could not create function template 'ZSAPJAVA' caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM GWHOST=10.0.0.4, GWSERV=sapgw00, ASHOST=10.0.0.4, SYSNR=00 LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host 10.0.0.4, service 3300) TIME Fri Jul 07 17:12:36 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8634 DETAIL com.sap.mw.jco.JCO$Exception : (123) JCO_ERROR_FUNCTION_NOT_FOUND: Server repository could not create function template 'ZSAPJAVA' caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM GWHOST=10.0.0.4, GWSERV=sapgw00, ASHOST=10.0.0.4, SYSNR=00 LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host 10.0.0.4, service 3300) TIME Fri Jul 07 17:12:36 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8634 DETAIL at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen( Native Method) Exception in server JAVASERVER: com.sap.mw.jco.JCO$Exception : (120) JCO_ERROR_EXTENSION: JCO.Server could not create server function 'ZSAPJAVA' at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen( MiddlewareRFC.java:1368) at com.sap.mw.jco.JCO$Server.listen( JCO.java:6844) at com.sap.mw.jco.JCO$Server.run( JCO.java:6773) at java.lang.Thread.run(Unknown Source) com.sap.mw.jco.JCO$Exception : (120) JCO_ERROR_EXTENSION: JCO.Server could not create server function 'ZSAPJAVA' at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen( Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen( MiddlewareRFC.java:1368) at com.sap.mw.jco.JCO$Server.listen( JCO.java:6844) at com.sap.mw.jco.JCO$Server.run( JCO.java:6773) at java.lang.Thread.run(Unknown Source) Server JAVASERVER changed state from [ STARTED LISTENING BUSY ] to [ STARTED LISTENING ] Server JAVASERVER changed state from [ STARTED LISTENING ] to [ STARTED ] Server JAVASERVER changed state from [ STARTED ] to [ STOPPED ] Server JAVASERVER changed state from [ STOPPED ] to [ STARTED ] Server JAVASERVER changed state from [ STARTED ] to [ STARTED LISTENING ]
Felissa
Reply With Quote
Sponsored Links