cancel
Showing results for 
Search instead for 
Did you mean: 

XI ping or other check for connection

Former Member
0 Kudos

Hi expert,

I use XI 3.0 and I've a great problem of connection between various countries.

Sometimes the network go down and all XI interface continue to try to connect.

Do you know if exist a method for do one check for connection before the execution, if the net is down wait N second otherwise all interfaces start.

Thanx in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

here is a JAVA for PING:

import java.net.*;

public class Ping {

public static void main(String args[]) {

try {

InetAddress address = InetAddress.getByName("QUALIFIEDHOSTNAME");

System.out.println("Name: " + address.getHostName());

System.out.println("Addr: " + address.getHostAddress());

System.out.println("Reach: " + address.isReachable(3000));

}

catch (UnknownHostException e) {

System.err.println("Unable to lookup QUALIFIEDHOSTNAME");

}

catch (IOException e) {

System.err.println("Unable to reach QUALIFIEDHOSTNAME");

}

}

}

Regards Mario

Former Member
0 Kudos

HI

If you want test the FTP and JDBC connections refer the below SAP note which can be helpful for testing the connecitons before use

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1085539

Rajesh

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

What exact XI adpaters do you use?

Depending on which adapters you use, there are different parameters that can be used to counteract this issue. There are different Timeout/Reconnect parameters which can be used.

Check the individual sender/receiver adapter configuration documents in the SAP on line help. These document the timeout/reconnect parameters that can be configured for the specific XI adapters.

Regards

Mark