1 Reply Latest reply on Jul 11, 2006 4:26 AM by Koen Aers

    Error in named query: SchedulerSession.deleteTimersForProces

    Pravin kamble Newbie

      I am using jbpm3.1 with Jboss4.0.3sp1 and hibernate3.I am getting the error while deploying the application. Can some body please help me with this issue.This issue in on JIRA.
      Error in named query: SchedulerSession.deleteTimersForProcessInstance
      org.hibernate.hql.ast.QuerySyntaxError: unexpected token: t near line 3, column 48 [

      delete from org.jbpm.scheduler.exe.Timer t
      where t.processInstance = :processInstance

      ]
      at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:63)
      at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:215)
      at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:127)
      at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83)
      at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:427)
      at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:388)
      at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:291)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
      at org.jbpm.db.JbpmSessionFactory.buildSessionFactory(JbpmSessionFactory.java:168)
      at org.jbpm.db.JbpmSessionFactory.(JbpmSessionFactory.java:107)
      at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFactory.java:124)
      at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFactory.java:120)
      at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFactory.java:116)
      at com.ustrust.service.bpm.repository.impl.CommonBPMRepositoryImpl.(CommonBPMRepositoryImpl.java:48)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:76)
      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:49)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:453)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:333)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
      at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)