Javax.Resource Exception

I'm running a periodic task using the Resin application server.  

The task is supposed to query student data in one table and produce historical data in another table.

THe task is programmed to run every minute.

The first time the task runs I get a javax.resource.spi.workException:  Reentrant Work tasks are not allowed.
The subsequent times the task runs I get a javax.resource.ResourceException  Connection Pool is full.

My questions:
What is likely happening here?
What does the Reentrant task exception mean?   How can it be prevented?
Who is Participating?
Mayank SConnect With a Mentor Associate Director - Product EngineeringCommented:
Can't find the class in the API. Are you using any 3rd party JARs?
Mayank SAssociate Director - Product EngineeringCommented:
Sounds to me like you are not closing the connections properly so they are not getting released to the pool. Make sure you are closing the connections in a finally block everywhere.
tmonteitAuthor Commented:
What's a javax.resource.spi.WorkException?   What causes it?
tmonteitAuthor Commented:
It was a 3rd party jar...  
mayanyeagle provided the clue.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.