Hi we having the following code and we are using JRUN3.x Now we are migrating the code to JRUN but JRUN 4 don.t have the allaire.ejipt.TimeoutException class and This is runtime exception.
How to resove the issue
try
{
LOG.debug("Request legacy connection");
long startTime = System.currentTimeMillis();
connection = legacySource.getConnection();
long endTime = System.currentTimeMillis();
LOG.warn("sem time = " + (endTime - startTime) + " ms");
LOG.debug("Allocate legacy connection");
monitorConnections(connection, true);
}
catch (allaire.ejipt.TimeoutException e)
{
String msg = activeConnections();
throw new HbsGenericRuntimeException(e, true, msg);
}