Tony D [http://community.jboss.org/people/pushpak1981] created the discussion

"jBPM 5.2 setup on Jboss7.1b error"

To view the discussion, visit: http://community.jboss.org/message/643936#643936

--------------------------------------------------------------
Hi 

I have installed jBPM 5.2 on Jboss 7.1b. I modified the following files to 
point to my oracle 11g database.

1. standalone.xml
2. jbpm-gwt-console-server.war
     a. persistence.xml
     b. hibernate.cfg.xml
     c. JBPMorm.xml

After starting the server JPA is loaded and the following error occurs:


18:50:18,828 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) 
MSC00001: Failed to start service 
jboss.persistenceunit."jbpm-gwt-console-server.war#org.jbpm.persistence.jpa": 
org.jboss.msc.service.StartException in service jboss.persistenceunit."j
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
 [jboss-msc-1.0.1.GA.jar:]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
 [:1.6.0_03]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) 
[:1.6.0_03]
        at java.lang.Thread.run(Thread.java:619) [:1.6.0_03]
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: 
org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
        at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
        at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
        at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
        at 
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:149)
        at 
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:79)
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
 [jboss-msc-1.0.1.GA.jar:]
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
 [jboss-msc-1.0.1.GA.jar:]
        ... 3 more
Caused by: org.hibernate.MappingException: Could not determine type for: 
java.util.Set, at table: ProcessInstanceInfo, for columns: 
[org.hibernate.mapping.Column(eventTypes)]
        at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:304)
        at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:288)
        at org.hibernate.mapping.Property.isValid(Property.java:216)
        at 
org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:467)
        at org.hibernate.mapping.RootClass.validate(RootClass.java:268)
        at org.hibernate.cfg.Configuration.validate(Configuration.java:1287)
        at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1718)
        at 
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:76)
        at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
        ... 9 more

Is there anything wrong in the configuration.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/643936#643936]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to