do you use c3p0? you can configure an idle time, so the db server doesn't disconnect from the connection. but it can reconnect too.
Sorry. I do not know c3p0.
How to reconnect the connection by using jbpm API.?Thanks.
You do not reconnect useing the jbpmAPI. Database connections are managed by your connectionpool. For production it is advised to use (and configure) the one that comes with your appserver, for development purposes you could use the c3p0 (look at the hibernate docs for this)