As far as I know jBPM deployer is not working properly with JBoss 5.1.
Please follow this instruction to deploy your processes:http://docs.jboss.com/jbpm/v4/userguide/html_single/#deployingbusinessarchives
I followed the instructions but, when I start the ant task "create.and.deploy.examples" there is an exception:
-[jbpm-deploy] Caused by: java.sql.SQLException: L'archivio è in uso da un altro processo: org.hsqldb.persist.NIOLockFile@94bb228a[file =/home/italsoft/Scrivania/jboss-5.1.0.GA/server/default/data/hypersonic/jbpmDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [/home/italsoft/Scrivania/jboss-5.1.0.GA/server/default/data/hypersonic/jbpmDB.lck] è presumibilmente in uso da un altro processo.
What i mistake?
It seems like you are using embedded database that accepts calls only from a single process. Either change it to more advanced version or make sure that ant task will be the only process accessing it at the same time.
The only way to deploy is to do it with the server off.
If I do that, I don't find the process definition in the jbpm-console.
I tryed to install jboss5.1.0 and jbpm4.4 following the user guide again but the deploy of the examples apperard only the first time that i started the server.
When I start the server for the second time, it throws my an exception and it crashes.
Where can I find a guide to jbpm-jboss install different from the user/development guide?
Thanks a lot
inspect hibernate configuration files to make sure there is no create-drop for ddl stuff.
You can first give a try with demo installation that download, configures and run all for you. Based on this setup you could try to understand how jBPM is configured.