if the jboss/jbpm server is already running, deploying via a file based url dos not work. There can only be one. This is not a jboss/jbpm/hibernate issue, but a hsqldb.
if you make sure one is running and listening on a port, make sure deployment is done via that port by configuring the hsqldb url.
Thank You for your reply.
However the JBPM / JBOSS server is switched off in this case. I am trying to use the file based url for the HSQL database. What else can i try to solve this problem.
It was understood from the log output that it is some process in the execution of "deployProcessDefinition" method is locking the file. And again some other process during the execution of same method is trying to access the database.
Is any configuration changes needed?
Or else using some other database server could be a solution?