on 01-06-2009 10:34 AM
Hi all,
I am trying to get the data from sap through JCo but
getting following error,
Please kindly reply me asap.
**Error**
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /PODisplay.jsp:95
95: JCO.Client client= JCO.getClient(SID);
96:
97: IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_PO_GET_LIST");
98: JCO.Function function = new JCO.Function(ftemplate);
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
root cause
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM GWHOST=10.0.0.114, GWSERV=sapgw01, ASHOST=10.0.0.114, SYSNR=01
LOCATION CPIC (TCP/IP) on local host
ERROR max no of 100 conversations exceeded
TIME Tue Jan 06 15:46:36 2009
RELEASE 640
COMPONENT CPIC (TCP/IP)
VERSION 3
RC 466
MODULE r3cpic.c
LINE 9705
COUNTER 1
com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
com.sap.mw.jco.JCO$Pool.initPool(JCO.java:4548)
com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5979)
com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5929)
com.sap.mw.jco.JCO.getClient(JCO.java:8171)
org.apache.jsp.PODisplay_jsp._jspService(PODisplay_jsp.java:154)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
Apache Tomcat/5.5.27
Thanks,
Tahir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Implement sapnote 316877.
Regards
Rajendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ankur,
To connect from java/j2ee to sap systems(R3)
check this
let me know u need any further info
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.