Bootstrap

JCO_ERROR_COMMUNICATION: Initialization of repository destination XX failed

进入createFunction…………..

com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of repository destination ABAP_AS_WITH_POOL failed

at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:1015)
at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:31)
at com.sap.conn.jco.rt.RfcDestination.initRepository(RfcDestination.java:965)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:1075)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:33)
at com.sinosoft.lis.finfee.sapinterface.SAP.createFunction(SAP.java:229)
at com.sinosoft.lis.finfee.sapinterface.SAP.getTableFunction(SAP.java:42)
at com.sinosoft.lis.finfee.sapinterface.SAPUI.submitData(SAPUI.java:11)
at org.apache.jsp.fininterface.MoveDataCommit_jsp._jspService(MoveDataCommit_jsp.java:177)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at filters.SessionFilter.doFilter(SessionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at filters.TimeFilter.doFilter(TimeFilter.java:26)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:35)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Caused by: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=ABAP_AS_WITH_POOL ASHOST=139.199.149.138 SYSNR=00 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR hostname ‘htsh100032’ unknown

TIME Mon Nov 14 18:48:09 2016

RELEASE 720

COMPONENT NI (network interface)

VERSION 40

RC -2

MODULE nixxhl.cpp

LINE 193

DETAIL NiHLGetNodeAddr: hostname cached as unknown

COUNTER 2

at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:678)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1426)
at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:736)
at com.sap.conn.jco.rt.RepositoryConnection.connect(RepositoryConnection.java:52)
at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:115)
at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:321)
at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)
at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:295)
at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:1010)
... 45 more

Caused by: RfcException: [null]

message: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=ABAP_AS_WITH_POOL ASHOST=139.199.149.138 SYSNR=00 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR hostname ‘htsh100032’ unknown

TIME Mon Nov 14 18:48:09 2016

RELEASE 720

COMPONENT NI (network interface)

VERSION 40

RC -2

MODULE nixxhl.cpp

LINE 193

DETAIL NiHLGetNodeAddr: hostname cached as unknown

/etc/hosts

10.32.108.210 htsh100032

139.199.149.138 htsh100032

;