[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 on AS 4.2.1
xalperte
do-not-reply at jboss.com
Mon Sep 15 09:09:11 EDT 2008
"ansantharam" wrote : I built the jbpm-bpel.war file from jbpm-bpel-1.1.GA src, it works fine if i deploy it to Jboss 4.2.2GA and fails in JBoss portal 2.6.4GA with the following error.
|
| org.hibernate.InvalidMappingException: Could not parse mapping document from resource org/jbpm/graph/def/Node.
| hbm.xml
|
| Any help is greatly appreciated.
I'm having the same problem. When I deploy the enterprise.ear file in a JBoss AS 4.2.2.GA + JBoss Portal 2.6.5.SP1, at login time, the Console informs that "org.hibernate.InvalidMappingException: Could not parse mapping document from resource org/jbpm/graph/def/Node.hbm.xml".
The Hibernate files of my instalation has been upgraded to the new ones:
Hibernate3 3.2.6.ga
| Hibernate EntityManager 3.3.2.GA
| Hibernate Anotations 3.3.1.GA
| Hibernate Commons Annotations 3.0.0.GA
| Hibernate Validator 3.0.0.GA
| EHCache 1.3.0
|
|
| The login-config.xml of the JBoss AS has already been modified to add the "jbpm" application-policy.
|
| My hibernate.cfg.xml file looks like: (also the User/Group/Membership entities has been uncommented)
|
| | <!-- hibernate dialect -->
| | <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
| |
| | <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
| |
| | <!-- DataSource properties (begin) -->
| | <property name="hibernate.connection.datasource">java:/JbpmDS</property>
| | <!-- DataSource properties (end) -->
| |
| | <!-- JTA transaction properties (begin) -->
| | <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
| | <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
| |
|
| My jbpm.cfg.xml looks like:
|
| | <jbpm-configuration>
| |
| | <!--
| | The default configurations can be found in org/jbpm/default.jbpm.cfg.xml
| | Those configurations can be overwritten by putting this file called
| | jbpm.cfg.xml on the root of the classpath and put in the customized values.
| | -->
| |
| | <jbpm-context>
| | <service name="persistence" factory="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory" />
| | <service name="message" factory="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl" />
| | <service name="scheduler" factory="org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory" />
| | <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
| | <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
| | <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
| | </jbpm-context>
| |
| | <!-- configuration property used by persistence service impl org.jbpm.persistence.db.DbPersistenceServiceFactory -->
| | <string name="resource.hibernate.cfg.xml" value="hibernate.cfg.xml" />
| |
| | <!-- configuration resource files pointing to default configuration files in jbpm-jpdl.jar -->
| | <string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties" />
| | <string name="resource.default.modules" value="org/jbpm/graph/def/jbpm.default.modules.properties" />
| | <string name="resource.converter" value="org/jbpm/db/hibernate/jbpm.converter.properties" />
| | <string name="resource.action.types" value="org/jbpm/graph/action/action.types.xml" />
| | <string name="resource.node.types" value="org/jbpm/graph/node/node.types.xml" />
| | <string name="resource.parsers" value="org/jbpm/jpdl/par/jbpm.parsers.xml" />
| | <string name="resource.varmapping" value="org/jbpm/context/exe/jbpm.varmapping.xml" />
| | <string name="resource.mail.templates" value="jbpm.mail.templates.xml" />
| |
| | <int name="jbpm.byte.block.size" value="1024" singleton="true" />
| | <string name="jbpm.mail.smtp.host" value="localhost" />
| | <bean name="jbpm.task.instance.factory" class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl" singleton="true" />
| | <bean name="jbpm.variable.resolver" class="org.jbpm.jpdl.el.impl.JbpmVariableResolver" singleton="true" />
| | <bean name="jbpm.mail.address.resolver" class="org.jbpm.identity.mail.IdentityAddressResolver" singleton="true" />
| |
| | <!-- note that the default job executor needs to be overwritten with a null value -->
| | <null name="jbpm.job.executor" />
| |
| | </jbpm-configuration>
| |
|
| I don't know exactly what's the problem, no information is given by the error and no messages are shown in the server.log file.
|
| Thanks in advance!
| Javier
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176505#4176505
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176505
More information about the jboss-user
mailing list