cancel
Showing results for 
Search instead for 
Did you mean: 

JCO RFC connection is getting stopped automatically

Former Member
0 Kudos

Dear Gurus,

During configuration connection between BI (ABAP) and EP (JAVA) systems, the created JCO RFC PROVIDER is getting stopped automatically. FYI, I have created corresponding RFC in BI system and mentioned that program ID (as per naming convention of JCO RFC PROVIDER).

If I try to start this JCO RFC PROVIDER, withing two seconds it again gets stopped. Could you please throw some light to troubleshoot this issue and get the solution ?

Regards,

Nilutpal.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hello,

Please check below doc and see if it helps

http://scn.sap.com/docs/DOC-42463

Regards,

Denish

Former Member
0 Kudos

Hi Denish,

Appreciate your document !!

In our system though we have not maintained any reg.info and sec.info files, but gw/acl_mode parameter was set to "1" due to which it was not allowing to register external program.

Now it's working fine after resetting it to "0". Thanks for your help ...

Cheers ..

Nilutpal.

Answers (2)

Answers (2)

Manas_Vincit
Active Participant
0 Kudos

Hi Nilutpal,

what is version of ABAP and java system ? also is there any logs updated for this issue in jco rfc .

Jco rfc logs will be there in server0 or server1 directory .

Thanks

Manas behra

Former Member
0 Kudos

Hi Manas,

I am using both ABAP and JAVA systems of NW 7.3 EHP1 version . Sorry, but I didn't find any log.

Regards,

Nilutpal.

Manas_Vincit
Active Participant
0 Kudos

Hi Nilutpal,

Good to know issue is resolved !!!

As java version is 7.31 , Most of this type of activity like backend configuration can be done by running configuration template in Java . You do not need to create RFC manually .

Did you tried that already ?

Thanks

Manas Behra

Former Member
0 Kudos

Hi,

Can you try to register that program id in the backend system BI using the below command . So that the program id is registered in background.

rfcexec -aJCO_RFC_PROVIDER -g<your_hostname> -xsapgw<your_instance#> &

& will keep the program id running in background.

Can you please use the name of program id as JCO_RFC_PROVIDER

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi Rishi,

I tried to execute following command :

" rfcexec -a  HNJSAPBIQ_ESQ -g hnjsapqas02 -x sapgw00 & ", where hnjsapqas02 is my hostname  of BI server and 00 is instance number. But it gives following error as there is no file named rfcexec :-

'rfcexec' is not recognized as an internal or external command,

operable program or batch file.

Please suggest.

Regards,

Nilutpal.

Former Member
0 Kudos

Hi,

Did you check it in your kernel directory.

Have you deployed the new kernel on your system.

What is the kernel version on your system.

Thanks

Rishi Abrol