[jBPM Users] - how to programatically list actitities from one activity
by kadrim
=== Environment ==============================
- jBPM Version : jbpm 4.1 on WinXP
- Database : Mysql 5.1
- JDK : 1.5.0.11
- Container : Tomcat 6.0.20
- Configuration : importing files from the jbpm.jar
- Libraries : I had to replace el-jar from tomcat with juel* from jbpm
=== Process ==================================
< process name="StateSequence" xmlns="http://jbpm.org/4.0/jpdl" >
< start g="16,18,48,48" >
< transition to="a" / >
< /start >
< state name="a" g="96,16,75,52" >
< transition to="b" / >
< transition to="c" / >
< /state >
< state name="b" g="203,16,73,52" >
< transition to="c" / >
< /state >
< end name="c" g="308,16,76,52" / >
< /process >
=== Problem description =========================
How do I do to know programatically that state "a" has to two transitions: "b" and "c"?
because :
Execution.getExecutions(): Only lists active executions
Execution.findActiveActivityNames(): Only lists active activities
I need something like:
Execution.listActivities(): List activities of current activity so I'd get transtion "b" and "c".
Thanks in advance.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261316#4261316
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261316
16 years, 8 months
[JBoss Portal Users] - RichFaces Portlet causes timeout Exception
by Brian13
Hello,
I have implemented a RichFaces portlet which has just one page view from which the actions do not cause the portlet to navigate away. The Portlet has quite a few RichFaces components including rich:tree ... for the most part these components interact and work fine.
But the portlet after about 10 minutes of inactivity throws the following Exception and crashes here is the stack trace ...
javax.faces.FacesException: No saved portlet window state for an id 736b023d-3b0d-480d-9c23-6027130534ab:view:8c4c06b4-d05d-41b1-9689-3a6e1b763829
at org.jboss.portletbridge.context.ServletExternalContextImpl.(ServletExternalContextImpl.java:101)
at org.jboss.portletbridge.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:164)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:260)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
I have set the following parameter as well but it seems to have no impact:
<session-config>
<session-timeout>120</session-timeout>
</session-config>
Any pointers to why this is perhaps occurring would be deeply appreciated ...
Regards,
-- Brian
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261302#4261302
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261302
16 years, 8 months