Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

allaire.ejipt.TimeoutException

807598Feb 1 2006 — edited Feb 1 2006
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);
        }
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2006
Added on Feb 1 2006
2 comments
115 views