Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sapjco message server on external IP checks hostname locally

stefandes
Discoverer
0 Kudos
206
  • SAP Managed Tags:

Hello,

For an academic project, I'm trying to check performance degradation (if any) when connecting to a Message Server as opposed to an Application Server directly.

I'm currently using sapjco3.1.7 and I am able to connect to an Application Sever directly.

I was now given a configured Message Server solution with an external IP address, e.g. `33.33.33.33`. I use MSHOST, GROUP, MSSERV, CLIENT, USER, PASS, LANG as logon parameters in my tiny Java applet. When I try to connect, it says that it cannot find hostname, which has a format something like `abc.xyz.internal`.

Extra relevant config: jco_pool_check_connection=1. If I keep it at 0, I only get the error "Destination could not be reached!"

However, if I add in my `/etc/hosts` the following line: `33.33.33.33 abc.xyz.internal` then it works.

My question: why is the connection to Message Server coming back to my local machine to check for that internal address? This internal address is already set in the Message Server machine, how can I make my applet search for that one itself?

Note: I checked many answers and most of them suggest something about "gateway server", but none helped me. My current understanding is that the gateway server is relevant only for the Application Server, right?

0 REPLIES 0