JBoss Community

Re: Startup problem cause java.lang.ClassNotFoundException: org.drools.persistence.processinstance.WorkItemInfo

created by Pierpaolo Lombardi in jBPM - View the full discussion

Other update for you :)

 

I added the followinf rows in the file jboss-5.1.0.GA\server\default\deploy\jbpm-gwt-console-server.war\WEB-INF\classes\META-INF

 

<class>org.drools.persistence.info.SessionInfo</class>

<class>org.drools.persistence.info.WorkItemInfo</class>

<class>org.jbpm.process.audit.ProcessInstanceLog</class>

<class>org.jbpm.process.audit.NodeInstanceLog</class>

<class>org.jbpm.process.audit.VariableInstanceLog</class>

<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>



 

 

and no error during startup :D

When I click for http://localhost:8080/gwt-console-server/rs/process/definitions I got the error:

 

15:55:08,229 WARNING [JDBCExceptionReporter] SQL Error: 23502, SQLState: 23502
15:55:08,229 SEVERE [JDBCExceptionReporter] NULL not allowed for column "DIRTY"; SQL statement:
insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?) [23502-158]
15:55:08,245 SEVERE [SingleSessionCommandService] Could not commit session
javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not insert: [org.drools.persisten
ce.info.SessionInfo]

 

 

Why suck a behavior?

 

I hope this can help someone of you :)

 

Regards,

Pierpaolo

Reply to this message by going to Community

Start a new discussion in jBPM at Community