idoc java_JCoIDoc IDocLibrary 3.0.2 Problems with IDocServerExample.java

Hello,

I´m facing a problem with IDocServerExample.java. I created a new project in eclipse, added the package com.sap.conn.idoc.examples and the class IDocServerExample.java. I configured the files "MYSERVER.jcoServer" and "BCE.jcoDestination" and started the application. Then I get the following error messages:

*********************************************************************************************************************************************************

com.sap.conn.jco.JCoException: (102) RFC_ERROR_COMMUNICATION: Unable to get repository

at com.sap.conn.jco.rt.DefaultServer.update(DefaultServer.java:136)

at com.sap.conn.jco.rt.DefaultServer.(DefaultServer.java:105)

at com.sap.conn.idoc.jco.DefaultJCoIDocServer.(DefaultJCoIDocServer.java:35)

at com.sap.conn.idoc.jco.DefaultJCoIDocServerFactory.createServer(DefaultJCoIDocServerFactory.java:17)

at com.sap.conn.idoc.jco.DefaultJCoIDocServerFactory.createServer(DefaultJCoIDocServerFactory.java:13)

at com.sap.conn.jco.rt.DefaultServerManager.getServer(DefaultServerManager.java:108)

at com.sap.conn.jco.rt.StandaloneServerFactory.getServerInstance(StandaloneServerFactory.java:170)

at com.sap.conn.idoc.jco.JCoIDoc.getServer(JCoIDoc.java:78)

at com.sap.conn.idoc.examples.IDocServerExample.main(IDocServerExample.java:18)

Caused by: com.sap.conn.jco.JCoException: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed

Connection parameters: TYPE=B DEST=JCOSERVER01 MSHOST=arm115tx GROUP=PUBLIC R3NAME=T01 PCS=1

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

ERROR service '?' unknown

TIME Tue Jul 07 09:09:40 200

RELEASE 711

COMPONENT NI (network interface)

VERSION 39

RC -3

DETAIL NiErrSet

COUNTER 2

at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:615)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1280)

at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:661)

at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)

at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:171)

at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:44)

at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:160)

at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:789)

at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:817)

at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:32)

at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:891)

at com.sap.conn.jco.rt.DefaultServer.update(DefaultServer.java:132)

... 8 more

Caused by:

RfcException: [null]

message: Connect to message server host failed

Connection parameters: TYPE=B DEST=JCOSERVER01 MSHOST=arm115tx GROUP=PUBLIC R3NAME=T01 PCS=1

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

ERROR service '?' unknown

TIME Tue Jul 07 09:09:40 200

RELEASE 711

COMPONENT NI (network interface)

VERSION 39

RC -3

DETAIL NiErrSet

COUNTER 2

Return code: RFC_FAILURE(1)

error group: 102

key: RFC_ERROR_COMMUNICATION

at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255)

at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcopen(RfcIoControl.java:94)

at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:83)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1273)

... 18 more

*********************************************************************************************************************************************************

Does anyone know what I´m doing wrong?

With thanks,

Veit

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值