[JBoss JIRA] Moved: (JBPM-1208) problems with activity instances
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-1208?page=all ]
Thomas Diesler moved PVM-42 to JBPM-1208:
-----------------------------------------
Project: JBoss jBPM (was: The Process Virtual Machine)
Key: JBPM-1208 (was: PVM-42)
Component/s: PVM
(was: pvm)
> problems with activity instances
> --------------------------------
>
> Key: JBPM-1208
> URL: http://jira.jboss.com/jira/browse/JBPM-1208
> Project: JBoss jBPM
> Issue Type: Bug
> Components: PVM
> Reporter: Tom Baeyens
>
> Guillaume reported:
> I tried to use a pvm with activityInstances in Orchestra and I had some problems in ExecutionImpl:
> - method createActivityInstanceScope: hasActivityInstances is set to true only if activityInstances == null. But with hibernate, when a collection is fetched from the database, it is never null, but it is an empty collection. As a result, hasActivityInstances is never set to true.
> - method destroyActivityInstanceScope: if the list of activityInstances is empty, it is set to null. This creates an exception with hibernate.
> - method destroyActivityInstanceScope: this methods modifies the node field of the execution, this breaks the value of previousNode. (previous node is used in bpel sequences)
> Why is the execution node updated when an ActivityInstance is destroyed ?
> regards,
> Guillaume
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Updated: (JBPM-165) process instance versioning
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-165?page=all ]
Thomas Diesler updated JBPM-165:
--------------------------------
Assignee: (was: Tom Baeyens)
> process instance versioning
> ---------------------------
>
> Key: JBPM-165
> URL: http://jira.jboss.com/jira/browse/JBPM-165
> Project: JBoss jBPM
> Issue Type: Feature Request
> Components: Core Engine
> Reporter: Tom Baeyens
>
> i think jbpm could offer some degree of assistence in process instance versioning.
> when a new version of a process is deployed, jbpm could do the following conversion for a process instance :
> * input required: mapping of the nodes from the old to the new definition.
> * cancel the old process instance
> * create a new process instance and copy the runtime (exe) information such as tokens and process variables from the old process instance.
> * then establish a special link between the 2 process instances to indicate that the new process instance is the continuation of the old process instance.
> this way we can avoid the problematic conversion of logs, while still keeping them in the system.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Updated: (JBPM-1029) calling getGroupTaskList results in 4N queries being made to the database
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-1029?page=all ]
Thomas Diesler updated JBPM-1029:
---------------------------------
Assignee: (was: Tom Baeyens)
> calling getGroupTaskList results in 4N queries being made to the database
> -------------------------------------------------------------------------
>
> Key: JBPM-1029
> URL: http://jira.jboss.com/jira/browse/JBPM-1029
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM jPDL 3.2.1
> Reporter: David Sheth
>
> In the seam 2.0.0.Beta 1 dvdstore example, which uses jbpm-jpdl 3.2.1, one of the admin pages lists all the tasks assigned to the group of the admin, allowing the admin to assign one of the tasks to him or herself. In this page, a task represents an order placed in the store.
> Each time a new order is placed in the store, the number of tasks on that admin page goes up by one, as would be expected. However, the number of queries used render the page of tasks goes up by 4 each time a new order is placed.
> This seems bad. I asked about this in the seam forum, and got this back from Gavin:
> --begin quote
> AFAIK, this is a jBPM question, not a Seam question, unless you have evidence otherwise.
> --end quote
> The specific bit of code in the seam bpm libs that is being called is :
> return ManagedJbpmContext.instance()
> .getGroupTaskList( new ArrayList( Actor.instance().getGroupActorIds() ) );
> which is basically just calling getGroupTaskList on an org.jbpm.JbpmContext instance.
> Reference to the post in the seam forum:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=114668
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Updated: (JBPM-1068) Possibility of UITaskFormButtonBase to use child action tags such as it done with h:commandButton
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-1068?page=all ]
Thomas Diesler updated JBPM-1068:
---------------------------------
Assignee: (was: Tom Baeyens)
> Possibility of UITaskFormButtonBase to use child action tags such as it done with h:commandButton
> -------------------------------------------------------------------------------------------------
>
> Key: JBPM-1068
> URL: http://jira.jboss.com/jira/browse/JBPM-1068
> Project: JBoss jBPM
> Issue Type: Feature Request
> Components: Web Interface
> Affects Versions: jBPM jPDL 3.2.1
> Reporter: Vt Ysh
> Priority: Optional
>
> If i am trying to put custom action tags between for example <tf:saveButton value="Save"></tf:saveButton > such as it can be done with h:commandButton i am getting NullPointer exception with the next stack trace:
> java.lang.NullPointerException
> at org.jbpm.jsf.taskform.ui.UITaskFormButtonBase.getEnclosingForm(UITask
> FormButtonBase.java:30)
> at org.jbpm.jsf.taskform.ui.UITaskFormButtonBase.addActionListener(UITas
> kFormButtonBase.java:44)
> at org.jbpm.jsf.core.handler.AbstractHandler.apply(AbstractHandler.java:
> 64)
> at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
> andler.java:314)
> at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
> :169)
> at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
> ndler.java:47)
> at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
> andler.java:314)
> at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
> :169)
> at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
> ndler.java:47)
> at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
> andler.java:314)
> at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
> :169)
> at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
> ndler.java:47)
> at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
> andler.java:314)
> at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
> :169)
> at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
> andler.java:314)
> at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
> :169)
> at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
> ndler.java:47)
> at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
> andler.java:314)
> at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
> :169)
> at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
> at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.j
> ava:128)
> at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(Def
> aultFaceletContext.java:306)
> at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(Default
> FaceletContext.java:279)
> at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
> at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
> ndler.java:47)
> at test.facelets.IfHandler.apply(IfHandler.java:33)
> at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
> ndler.java:47)
> at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.jav
> a:49)
> at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
> ndler.java:47)
> at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:
> 25)
> at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
> at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
> at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
> at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFac
> eletContext.java:143)
> at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.j
> ava:113)
> at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.jav
> a:49)
> at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:
> 25)
> at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
> at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
> :503)
> at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
> a:546)
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrap
> per.java:178)
> at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
> se.java:106)
> at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
> 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:96)
> 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:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:178)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
> yAssociationValve.java:175)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
> e.java:74)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :869)
> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
> rocessConnection(Http11BaseProtocol.java:664)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
> int.java:527)
> at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
> kerThread.java:112)
> at java.lang.Thread.run(Thread.java:595)
> Seems that problem can be in HtmlCommandButton.getParent() method. Is there any suggestions how to fix this issue?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months