[jboss-user] [jBPM Users] - Re: why i can't use identityService in jbpm4

optixpro do-not-reply at jboss.com
Sun Dec 6 10:45:59 EST 2009


"saraswati.santanu" wrote : It will be helpful if you can provide a little more information. NullPointerException is too common and generic to come to any conclusion. Please provide the jbpm.cfg.xml, a snippet of the jpdl and a snippet of your code to execute that.
  | 
  | Typically processEngine.getIdentityService() should give you the indentity service.

jbpm.cfg.xml

  <?xml version="1.0" encoding="UTF-8" ?> 
  |    <jbpm-configuration>
  |   <import resource="jbpm.default.cfg.xml" /> 
  |   <import resource="jbpm.businesscalendar.cfg.xml" /> 
  |   <import resource="jbpm.tx.hibernate.cfg.xml" /> 
  |   <import resource="jbpm.jpdl.cfg.xml" /> 
  |   <import resource="jbpm.identity.cfg.xml" /> 
  | 
  |   </jbpm-configuration>


  hibernate.cfg.xml

 <hibernate-configuration>
  |  <session-factory>
  |   <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property> 
  |   <property name="hibernate.connection.driver_class">com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</property> 
  |   <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpmdb</property> 
  |   <property name="hibernate.connection.username">root</property> 
  |   <property name="hibernate.connection.password">root</property> 
  |   <property name="hibernate.format_sql">true</property> 
  |   <mapping resource="jbpm.repository.hbm.xml" /> 
  |   <mapping resource="jbpm.execution.hbm.xml" /> 
  |   <mapping resource="jbpm.history.hbm.xml" /> 
  |   <mapping resource="jbpm.task.hbm.xml" /> 
  |   <mapping resource="jbpm.identity.hbm.xml" /> 
  |   </session-factory>
  |   </hibernate-configuration>


i try to create task condidates like jbpm4 dec(6.1.1)
 


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269180#4269180

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269180



More information about the jboss-user mailing list