Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2002

    Question Unanswered: Connection has been preempted

    I have this exception "SQLException:Connection has been preempted"
    in my java program when I try to insert a few (more precisely, 4)
    record into DB.

    It seldom happened before but just all of a sudden, my codes are
    not working. So I doubt there is some change of the WAS/DB
    cofigurations. Anyone could help me to confirm this, and what is
    the cause of the problem?

  2. #2
    Join Date
    Feb 2002
    This normally is tied to connection pooling - the connection is idle(orphaned), pooled and is reused. I would take a look at how your connection pool manager is configured. Also, when you handle the exception, add code to retrieve another connection.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts