cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating RFC Jco provider in visual Admin

former_member182205
Participant
0 Kudos

Hi,

I have crated a rfc jco provider in visual admin , I have given all the ECC related details both in registered server AND Spcific application server. In both of these I have given R/3 related details like host of ecc and all.

All i have given correct used ID and passowrd also (I am using my own user id and password in this jco rfc provider). that user id is there in ecc with sap all in profile and in roles also i have given 2 roles for that used id, namely sap_bc_jsf_communication AND sap_bc_usr_cua_client_rfc

Still when i try to start it its giving me error: Error starting bundle

please help

Accepted Solutions (1)

Accepted Solutions (1)

former_member227283
Active Contributor
0 Kudos

Hi,

Check in DEFAULT.TRC is there any error get refelected while testing the JCO RFC.

Thanks

Anil

former_member182205
Participant
0 Kudos

This I am getting:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=sapecdsrv SYSNR=00 GWHOST=sapecdsrv GWSERV=sapgw00 PCS=1

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

ERROR hostname 'sapecdsrv' unknown

TIME Wed May 26 14:26:21 2010

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -2

MODULE nixxhsl.cpp

LINE 223

DETAIL NiHsLGetNodeAddr: hostname cached as unknown

COUNTER 2

at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)

at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1025)

at com.sap.mw.jco.JCO$Client.connect(JCO.java:3255)

at com.sap.mw.jco.JCO$Pool.initPool(JCO.java:4725)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6180)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6135)

at com.sap.mw.jco.JCO.getClient(JCO.java:8803)

at com.sap.engine.services.rfcengine.Bundle.startAll(Bundle.java:248)

at com.sap.engine.services.rfcengine.RFCRuntimeInterfaceImpl.addBundle(RFCRuntimeInterfaceImpl.java:350)

at com.sap.engine.services.rfcengine.RFCRuntimeInterfaceImpl.changeBundleConfiguration(RFCRuntimeInterfaceImpl.java:654)

at sun.reflect.GeneratedMethodAccessor401.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)

at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)

at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)

at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)

at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)

at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)

at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)

at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)

at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)

at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)

at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)

at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)

at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)

at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)

at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(AccessController.java:219)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172

JPReyes
Active Contributor
0 Kudos

ERROR hostname 'sapecdsrv' unknown

Seems like you need to maintained the hosts file as that server is unknown

Check <drive>:\windows\system32\etc\drivers\hosts or /etc/host

Regards

Juan

former_member182205
Participant
0 Kudos

yes i have already maintained my host file and i am able to ping ecc server also.

Failed using Repository of RFCEngine Bundle abc345, this is also i am getting in trace file. abc345 is my program id of rfc jco

still same error i am getting..

former_member227283
Active Contributor
0 Kudos

Hi Rahul,

Still you are getting same error in default.trc ??

System is abap+java or abap and java is installed sepretely ??

If it is seperate java instance, then make a entry of abap system hostname in java system host file .

Thanks

Anil

Former Member
0 Kudos

Can you tell us how many JCO connections you maintain?

Can you try reducing the server count from default 20 to say for example 1 or 2.

former_member182205
Participant
0 Kudos

Hi,

I tried changing server count value to 1 and 2 also, bur no success

same error !!!!

former_member227283
Active Contributor
0 Kudos

Hi RAhul,

Login to your java host and try to ping the abap host.

1. login to OS of java

2. run command

Ping sapecdsrv

let us know what output you get for above command.

Thanks

Anil

former_member182205
Participant
0 Kudos

Great Anil !! thanks man, its working now. I have added ECC entry in the host file of EP server. its working.

thanks once gain, points awared to you...

Answers (1)

Answers (1)

JPReyes
Active Contributor
0 Kudos

While creating the RFC try the password in UPPERCASE.

Sometimes it work... 😄

Regards

Juan

former_member182205
Participant
0 Kudos

i tried giving password in upper case also, but NO success same error messge is coming.