Skip to Content
avatar image
Former Member

Accessing Remote server from local J2EE Engine

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 20, 2007 at 02:54 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 21, 2007 at 06:29 AM

    Hi,

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

    Ashutosh

    Add comment
    10|10000 characters needed characters exceeded