Have you put action class (com.sample.action.MessageActionHandler in you case) in container classpath or in process archive (distribution of classes in process archive is described in JBPM docs)?
If not, process deployment fail for sure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We located problem you encountered and find a solution to it.
The problem is in JBPM process deployment mechanism, which was leave intact since we started use JBPM.
We do not use process archive bundled classes so did not came acrosss this error.
Thank you for reporting!
New versions of patched JBPM lib and cumulative patch itself are in CVS (runawfe/lib/jbpm2).
Please give as a note if you have any further problems.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I updated my 'jbpm.core.jar' with latest head version from CVS. I found this jar twice in "\runawfe\server\default\lib" and "\runawfe\server\clean\lib", so both were updated.
Excited, i started the container with 'run.bat' in order to deploy a new process archive using RUNA WFE. So, i browsed to "localhost:8080/wfe" and logged in as 'Administrator'. Unfortunately, just after that i got an exception :( . I'll paste the entire stack trace below. Could you please that a look on that? Thanks in Advance for all your help.
ps. I haven't change anything else. Just deployed the new 'jbpm.core.jar' file.
Marcelo Pacote
10:49:25,203 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
10:49:35,250 ERROR [JDBCExceptionReporter] Column not found: TOKENIMPL0_.TOKEN_N
AME in statement [select tokenimpl0_.id as id, tokenimpl0_.TOKEN_NAME as TOKEN_N
AME, tokenimpl0_.processInstance as processI3_, tokenimpl0_.parent as parent, to
kenimpl0_.state as state, tokenimpl0_.actorId as actorId, tokenimpl0_.start_ as
start_, tokenimpl0_.end_ as end_, tokenimpl0_.reactivationJoin as reactiva9_, to
kenimpl0_.subProcessInstance as subProc10_ from JBPM_TOKEN tokenimpl0_, JBPM_PRO
CESSINSTANCE processins1_, JBPM_DEFINITION definition2_, JBPM_NODE stateimpl3_ w
here tokenimpl0_.processInstance=processins1_.id and processins1_.definition=def
inition2_.id and tokenimpl0_.state=stateimpl3_.id and (((tokenimpl0_.actorId in(
'0' , '')))) order by tokenimpl0_.processInstance asc , definition2_.name asc ,
stateimpl3_.description asc]
10:49:35,250 ERROR [JDBCExceptionReporter] Column not found: TOKENIMPL0_.TOKEN_N
AME in statement [select tokenimpl0_.id as id, tokenimpl0_.TOKEN_NAME as TOKEN_N
AME, tokenimpl0_.processInstance as processI3_, tokenimpl0_.parent as parent, to
kenimpl0_.state as state, tokenimpl0_.actorId as actorId, tokenimpl0_.start_ as
start_, tokenimpl0_.end_ as end_, tokenimpl0_.reactivationJoin as reactiva9_, to
kenimpl0_.subProcessInstance as subProc10_ from JBPM_TOKEN tokenimpl0_, JBPM_PRO
CESSINSTANCE processins1_, JBPM_DEFINITION definition2_, JBPM_NODE stateimpl3_ w
here tokenimpl0_.processInstance=processins1_.id and processins1_.definition=def
inition2_.id and tokenimpl0_.state=stateimpl3_.id and (((tokenimpl0_.actorId in(
'0' , '')))) order by tokenimpl0_.processInstance asc , definition2_.name asc ,
stateimpl3_.description asc]
10:49:35,265 ERROR [LogInterceptor] RuntimeException in method: public abstract
ru.runa.wf.TaskStub[] ru.runa.wf.service.impl.interfaces.ExecutionServiceLocal.g
etTasks(javax.security.auth.Subject,ru.runa.af.presentation.BatchPresentation) t
hrows ru.runa.af.AuthorizationException,ru.runa.af.AuthenticationException,ru.ru
na.af.InternalApplicationException
(net.sf.hibernate.exception.SQLGrammarException) Could not execute query
at org.jbpm.persistence.hibernate.HibernateSession.findByQuery(Hibernate
Session.java:309)
at org.jbpm.impl.ExecutionReadServiceImpl.findByQuery(ExecutionReadServi
ceImpl.java:117)
at ru.runa.wf.logic.JbpmCommonLogic.executeQuery(JbpmCommonLogic.java:18
3)
at ru.runa.wf.logic.JbpmCommonLogic.getTokenByActorId(JbpmCommonLogic.ja
va:208)
at ru.runa.wf.logic.JbpmExecutionLogic.getTasks(JbpmExecutionLogic.java:
241)
at ru.runa.wf.service.impl.ejb.JbpmExecutionServiceBean.getTasks(JbpmExe
cutionServiceBean.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:683)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:186)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:72)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:317)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
50)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:111)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessi
onContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:709)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalPro
xyFactory.java:419)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSes
sionProxy.java:83)
at $Proxy78.getTasks(Unknown Source)
at ru.runa.wf.delegate.impl.ExecutionServiceDelegateLocalImpl.getTasks(E
xecutionServiceDelegateLocalImpl.java:133)
at ru.runa.wf.web.tag.ListTasksFormTag.fillForm(ListTasksFormTag.java:59
)
at ru.runa.common.web.tag.FormTag.getEndElement(FormTag.java:98)
at ru.runa.common.web.tag.TitledFormTag.getEndElement(TitledFormTag.java
:85)
at ru.runa.common.web.tag.VisibleTag.doEndTag(VisibleTag.java:89)
at org.apache.jsp.WEB_002dINF.wf.manage_005ftasks_jsp._jspService(manage
_005ftasks_jsp.java:160)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:696)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:474)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:409)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:312)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1056)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:388)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:231)
at ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.
java:43)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:696)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:474)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:409)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:312)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1056)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:388)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:231)
at ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.
java:43)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:162)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: net.sf.hibernate.exception.SQLGrammarException: Could not execute que
ry
at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConver
ter.java:69)
at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionH
elper.java:29)
at net.sf.hibernate.impl.SessionImpl.convert(SessionImpl.java:4131)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1557)
at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49)
at org.jbpm.persistence.hibernate.HibernateSession.findByQuery(Hibernate
Session.java:307)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
New JBPM lib contains some hibernate mapping fixes (to avoid some glitches with MSSQL), so db schema was changed, unfortunately this does not come into distributed demo db.
So, there are two ways to fix it:
If you have some valuable data in jbpm db you should rename column JBPM_TOKEN.NAME to JBPM_TOKEN.TOKEN_NAME.
If not, simply replace you JBoss HSQL db with new from cvs (it was committed several minutes ago) (replace localDB.* files in $JBOSS_HOME/server/<configname>/data/hypersonic with new ones from demo/hypersonic).
If you configured RUNAWFE to use another db server, you should rename column, we do not provide demo for other db servers.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to deploy a new process definition in RUNA WFE.
I've just modified 'overTimeDemo.par' file changing the following lines in 'processdefinition.xml':
<!-- START-STATE -->
<start-state name="Offer an overtime work" swimlane="manager">
<transition to="Make a decision">
<action> <delegation class="com.sample.action.MessageActionHandler" /> </action></transition>
</start-state>
When i try to deploy the new archive (i renamed it to packageDemo.par) i receive the following error:
"Process definition contains errors"
Could you please help me?
Thanks in Advance
Marcelo Pacote
note. I've also changed the process definition name to "name="package Demo""
Have you put action class (com.sample.action.MessageActionHandler in you case) in container classpath or in process archive (distribution of classes in process archive is described in JBPM docs)?
If not, process deployment fail for sure.
I've created the following directory structure inside 'packageDemo.par' file:
"classes\com\sample\action"
The file 'MessageActionHandler.class' is inside action folder.
Is there anything wrong?
Thanks In Advance
Marcelo Pacote
Hello, Marcelo!
We located problem you encountered and find a solution to it.
The problem is in JBPM process deployment mechanism, which was leave intact since we started use JBPM.
We do not use process archive bundled classes so did not came acrosss this error.
Thank you for reporting!
New versions of patched JBPM lib and cumulative patch itself are in CVS (runawfe/lib/jbpm2).
Please give as a note if you have any further problems.
Hello Maxim,
"New versions of patched JBPM lib and cumulative patch itself are in CVS (runawfe/lib/jbpm2)"
I tried to access the patches in CVS, but it seems that they haven't been commited yet. I browsed ViewCVS in http://cvs.sourceforge.net/viewcvs.py/runawfe/runawfe/lib/jbpm2/?only_with_tag=HEAD
Thanks a lot for all your support.
Marcelo Pacote
There is a delay between developers cvs and public cvs. Now you can see this files in public cvs.
Hello Maxim and Andrei,
I updated my 'jbpm.core.jar' with latest head version from CVS. I found this jar twice in "\runawfe\server\default\lib" and "\runawfe\server\clean\lib", so both were updated.
Excited, i started the container with 'run.bat' in order to deploy a new process archive using RUNA WFE. So, i browsed to "localhost:8080/wfe" and logged in as 'Administrator'. Unfortunately, just after that i got an exception :( . I'll paste the entire stack trace below. Could you please that a look on that? Thanks in Advance for all your help.
ps. I haven't change anything else. Just deployed the new 'jbpm.core.jar' file.
Marcelo Pacote
10:49:25,203 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
10:49:35,250 ERROR [JDBCExceptionReporter] Column not found: TOKENIMPL0_.TOKEN_N
AME in statement [select tokenimpl0_.id as id, tokenimpl0_.TOKEN_NAME as TOKEN_N
AME, tokenimpl0_.processInstance as processI3_, tokenimpl0_.parent as parent, to
kenimpl0_.state as state, tokenimpl0_.actorId as actorId, tokenimpl0_.start_ as
start_, tokenimpl0_.end_ as end_, tokenimpl0_.reactivationJoin as reactiva9_, to
kenimpl0_.subProcessInstance as subProc10_ from JBPM_TOKEN tokenimpl0_, JBPM_PRO
CESSINSTANCE processins1_, JBPM_DEFINITION definition2_, JBPM_NODE stateimpl3_ w
here tokenimpl0_.processInstance=processins1_.id and processins1_.definition=def
inition2_.id and tokenimpl0_.state=stateimpl3_.id and (((tokenimpl0_.actorId in(
'0' , '')))) order by tokenimpl0_.processInstance asc , definition2_.name asc ,
stateimpl3_.description asc]
10:49:35,250 ERROR [JDBCExceptionReporter] Column not found: TOKENIMPL0_.TOKEN_N
AME in statement [select tokenimpl0_.id as id, tokenimpl0_.TOKEN_NAME as TOKEN_N
AME, tokenimpl0_.processInstance as processI3_, tokenimpl0_.parent as parent, to
kenimpl0_.state as state, tokenimpl0_.actorId as actorId, tokenimpl0_.start_ as
start_, tokenimpl0_.end_ as end_, tokenimpl0_.reactivationJoin as reactiva9_, to
kenimpl0_.subProcessInstance as subProc10_ from JBPM_TOKEN tokenimpl0_, JBPM_PRO
CESSINSTANCE processins1_, JBPM_DEFINITION definition2_, JBPM_NODE stateimpl3_ w
here tokenimpl0_.processInstance=processins1_.id and processins1_.definition=def
inition2_.id and tokenimpl0_.state=stateimpl3_.id and (((tokenimpl0_.actorId in(
'0' , '')))) order by tokenimpl0_.processInstance asc , definition2_.name asc ,
stateimpl3_.description asc]
10:49:35,265 ERROR [LogInterceptor] RuntimeException in method: public abstract
ru.runa.wf.TaskStub[] ru.runa.wf.service.impl.interfaces.ExecutionServiceLocal.g
etTasks(javax.security.auth.Subject,ru.runa.af.presentation.BatchPresentation) t
hrows ru.runa.af.AuthorizationException,ru.runa.af.AuthenticationException,ru.ru
na.af.InternalApplicationException
(net.sf.hibernate.exception.SQLGrammarException) Could not execute query
at org.jbpm.persistence.hibernate.HibernateSession.findByQuery(Hibernate
Session.java:309)
at org.jbpm.impl.ExecutionReadServiceImpl.findByQuery(ExecutionReadServi
ceImpl.java:117)
at ru.runa.wf.logic.JbpmCommonLogic.executeQuery(JbpmCommonLogic.java:18
3)
at ru.runa.wf.logic.JbpmCommonLogic.getTokenByActorId(JbpmCommonLogic.ja
va:208)
at ru.runa.wf.logic.JbpmExecutionLogic.getTasks(JbpmExecutionLogic.java:
241)
at ru.runa.wf.service.impl.ejb.JbpmExecutionServiceBean.getTasks(JbpmExe
cutionServiceBean.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:683)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:186)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:72)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:317)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
50)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:111)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessi
onContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:709)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalPro
xyFactory.java:419)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSes
sionProxy.java:83)
at $Proxy78.getTasks(Unknown Source)
at ru.runa.wf.delegate.impl.ExecutionServiceDelegateLocalImpl.getTasks(E
xecutionServiceDelegateLocalImpl.java:133)
at ru.runa.wf.web.tag.ListTasksFormTag.fillForm(ListTasksFormTag.java:59
)
at ru.runa.common.web.tag.FormTag.getEndElement(FormTag.java:98)
at ru.runa.common.web.tag.TitledFormTag.getEndElement(TitledFormTag.java
:85)
at ru.runa.common.web.tag.VisibleTag.doEndTag(VisibleTag.java:89)
at org.apache.jsp.WEB_002dINF.wf.manage_005ftasks_jsp._jspService(manage
_005ftasks_jsp.java:160)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:696)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:474)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:409)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:312)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1056)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:388)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:231)
at ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.
java:43)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:696)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:474)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:409)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:312)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1056)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:388)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:231)
at ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.
java:43)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:162)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: net.sf.hibernate.exception.SQLGrammarException: Could not execute que
ry
at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConver
ter.java:69)
at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionH
elper.java:29)
at net.sf.hibernate.impl.SessionImpl.convert(SessionImpl.java:4131)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1557)
at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49)
at org.jbpm.persistence.hibernate.HibernateSession.findByQuery(Hibernate
Session.java:307)
New JBPM lib contains some hibernate mapping fixes (to avoid some glitches with MSSQL), so db schema was changed, unfortunately this does not come into distributed demo db.
So, there are two ways to fix it:
If you have some valuable data in jbpm db you should rename column JBPM_TOKEN.NAME to JBPM_TOKEN.TOKEN_NAME.
If not, simply replace you JBoss HSQL db with new from cvs (it was committed several minutes ago) (replace localDB.* files in $JBOSS_HOME/server/<configname>/data/hypersonic with new ones from demo/hypersonic).
If you configured RUNAWFE to use another db server, you should rename column, we do not provide demo for other db servers.
Thank you.