I’m not the one who handle the server, i just wrote the java service. The server administrator saig that’s nothing wrong in the log. It’s just said the IS trying connecting to other server (non IS) then go shutdown.
Here the example of my java service
try {
echoSocket = new Socket(host, Integer.parseInt(port));
echoSocket.setSoTimeout(5000);
out = new PrintWriter(echoSocket.getOutputStream(), true);
in = new BufferedReader(new InputStreamReader(echoSocket.getInputStream()));
} catch (UnknownHostException e) {
System.err.println(“Don’t know about host”);
throw new ServiceException(e);
} catch (IOException e) {
System.err.println(“Couldn’t get I/O for the connection”);
throw new ServiceException(e);
}
try {
out.println(message);
fromServer = in.readLine();
} catch(IOException e) {
System.out.println(e);
}
try {
out.close();
in.close();
echoSocket.close();
} catch (Exception e)
{}
But sometimes it’s work, and then suddenly shutdown the server. This make me confuse…
Is there any IS configuration to allow socket connection work properly??
Thanks for your attention…
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods