Start a Conversation

Unsolved

This post is more than 5 years old

2626

July 24th, 2009 10:00

General I/O Error Broken pipe

Hi All,

I am using Java API (InCharge7.2) to connect APM server.

I have implemented a RemoteDMPool class which creates and holds 10 connections (SmRemoteDomainManager connected to my APM).

The connections from pool are 'checkOut' and 'checkIn' by applications. I am doing some 'put'operations on the APM objects

Every thing will be working fine on application startup, but after some time, I start getting 'General I/O error Broken pipe'.

Once this error occurs my connections in the pool can never be used they always throw Broken pipe error. A restart of my application and pool will solve the problem.

Please advice why am I getting this error (Broken pipe) and what am i doing wrong.!!!!

I am creating connections as below.

SmRemoteBroker broker = new SmRemoteBroker(strBrokerIp, Integer.parseInt(strPort));

SmRemoteDomainManager remoteServer = new SmRemoteDomainManager ();

try {

     broker.attach("BrokerNonsecure", "Nonsecure");

     remoteServer.attach(broker, serverName, struserName, struserPassword);

}

catch (IOException e) { e.printStackTrace();}

} catch (Exception e) { e.printStackTrace();}

Regards, Rajesh

No Responses!
No Events found!

Top