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?
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.