I've created a Seam Web Project at Eclipse with JBoss Tools 3.0.0.beta1. I can deploy and run it at JBoss Application Server ok, I can even create a new entity CRUD perfectly.
My problem comes when I create a jBPM process. I create it with JBoss Tools also and insert it at components.xml with the following code:
When I do it it first asked for a missing hibernate.cfg.xml. I created an almost empty one:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
<mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
The mapping was also needed. Without it Hibernate couldn't find a jBPM named query.
Nevertheless it keeps throwing an exception I can't fix:
Caused by: java.lang.RuntimeException: could not deploy a process definition
Caused by: java.lang.IllegalArgumentException: Parameter name does not exist as a named parameter in [
from org.jbpm.graph.def.ProcessDefinition as pd
where pd.name = :name
order by pd.version desc
... 154 more
17:55:17,859 ERROR [StandardContext] Error listenerStart
I've tried both 2.1.1.CR1 and 2.1.0.SP1, same result. It happens both with testing and at deploy time.