cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Remote server from local J2EE Engine

Former Member
0 Kudos

I have installed a local J2EE Engine for test purpose and created a J2EE application containing jsps,java beans,ejbs.

The EJB accesses the R3 system through BAPIs using JCO.

If I comment my code for JCO and BAPI access in EJB then the EJB works fine i.e. returns dummy values but it returns a null pointer exception if i use JCO code.

When i specify JCO properties of my IDES system and take some standard BAPI it works fine but fails to work for remote R3 system.

As the R3 system is located on remote(customer place) server, is there any step or special configuration that has to be executed from my side so that the JCO can actively talk to the remote server? For eg. opening ports of J2EE engine.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185029
Active Contributor
0 Kudos

Hi,

try putting the R/3 server entry in hosts file.

Ashutosh

former_member182294
Active Contributor
0 Kudos

Jayant,

Please check if you are able to access the remote R/3 system through SAP GUI. If you are able to access it you should be able access it through JCO also. Otherwise client side fire wall settings might be preventing accessing R/3 Server from outside.

Regards

Abhilash