2 Replies Latest reply on Sep 20, 2010 10:21 AM by gastonrh

    Error using "install.examples.into.tomcat"

    gastonrh

      Hi there

       

      I'm getting the following exception using install.examples.into.tomcat, I'm using jBPM 4.4, apache-tomcat-6.0.29 and mysql as the DB.

       

      BUILD FAILED
      org.hibernate.HibernateException: Errors in named queries: findTasks, findMessages, findTimers, findGroupsByUserAndGroup
      Type, findProcessInstanceIds, findJobsWithException, findProcessInstanceById, findExecutionById, findProcessInstanceById
      IgnoreSuspended, findGroupsByUser, findFirstDueJob, findExclusiveJobs, findFirstAcquirableJob
              at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:397)
              at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
              at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDesc
      riptor.java:62)

       

       

      I've also tryied the demo.setup.tomcat and got an exception.

       

      BUILD FAILED
      C:\jbpm-4.4\install\build.xml:447: The following error occurred while executing this line:
      C:\jbpm-4.4\install\build.xml:592: The following error occurred while executing this line:
      C:\jbpm-4.4\examples\build.xml:95: org.hibernate.HibernateException: Errors in named queries: findTasks, findMessages, f
      indTimers, findGroupsByUserAndGroupType, findProcessInstanceIds, findJobsWithException, findProcessInstanceById, findExe
      cutionById, findProcessInstanceByIdIgnoreSuspended, findGroupsByUser, findFirstDueJob, findExclusiveJobs, findFirstAcqui
      rableJob

       

      Any ideas??

       

      Thanks in advance.