[JBoss jBPM] - CacheException in JBPM
by antonypulicken
We are using JBPM in our project and we are getting the following errors in our QA environment. Can any one let us know the reason? Appreciate if you can give some inputs at the earliest.
2007-03-26 07:18:36,284 [TP-Processor8] ERROR [ehcache.store.DiskStore] - org.jbpm.graph.def.NodeCache: Could not read disk store element for key org.jbpm.graph.def.Node#130
net.sf.ehcache.CacheException: org.jbpm.graph.def.Node Cache: The Disk store is not active.
at net.sf.ehcache.store.DiskStore.checkActive(DiskStore.java:207)
at net.sf.ehcache.store.DiskStore.get(DiskStore.java:239)
at net.sf.ehcache.Cache.searchInDiskStore(Cache.java:545)
at net.sf.ehcache.Cache.get(Cache.java:361)
at org.hibernate.cache.EhCache.get(EhCache.java:110)
at org.hibernate.cache.NonstrictReadWriteCache.get(NonstrictReadWriteCache.java:41)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:452)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:849)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033037#4033037
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033037
17Â years, 9Â months
[JBoss jBPM] - Re: Can I get to the parent process, given a sub-process?
by avbentem
Meanwhile I've found GraphElement#getParents() (and likewise getParentChain), which returns all the parents of a graph element ordered by age.
List parents = processInstance.getProcessDefinition().getParents();
To me, it's a bit odd that the parents are retrieved from the process definition, as this would then not take runtime changes into account?
Like when using an event handler to set the sub-process on runtime -- that would probably change the process definition of that specific process instance, but I doubt these are persisted for each process instance?
Or when using loops, like when the current process has already been executed 3 times, would one then expect the current process to be found in getParents() 3 times as well?
Hmmm, maybe getParents() is the way to go in this case (to get the calling <process-state> from within some sub-process I would not care about traversing all the way up to the main process). I'll soon want an overview of the whole history though, so any thoughts are appreciated!
Thanks,
Arjan.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033036#4033036
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033036
17Â years, 9Â months
[JBoss Seam] - Re: Seam and Richfaces : Drag and Drop Problem
by davidetaibi
Thank you for your post but I try your example (I create the two enumerations too) and I have the same error:
javax.servlet.ServletException: /test2.xhtml @52,58 dropListener="#{dand.dragged}": Method not found: DandDAction.dragged(org.ajax4jsf.dnd.event.DropEvent)
I'm using this web.xml file:
<?xml version="1.0" ?>
| <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
| version="2.4">
|
| <!-- Ajax4jsf (must come first!) -->
|
| <filter>
| <display-name>Ajax4jsf Filter</display-name>
| <filter-name>ajax4jsf</filter-name>
| <filter-class>org.ajax4jsf.Filter</filter-class>
| </filter>
|
| <filter-mapping>
| <filter-name>ajax4jsf</filter-name>
| <url-pattern>*.seam</url-pattern>
| </filter-mapping>
|
| <context-param>
| <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
| <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
| </context-param>
|
| <context-param>
| <param-name>org.ajax4jsf.SKIN</param-name>
| <param-value>blueSky</param-value>
| </context-param>
|
| <!-- Seam -->
|
| <listener>
| <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
| </listener>
|
| <filter>
| <filter-name>Seam Filter</filter-name>
| <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
| </filter>
|
| <filter-mapping>
| <filter-name>Seam Filter</filter-name>
| <url-pattern>/*</url-pattern>
| </filter-mapping>
|
| <servlet>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <url-pattern>/seam/resource/*</url-pattern>
| </servlet-mapping>
|
| <!-- MyFaces -->
|
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
| <!-- Facelets development mode (disable in production) -->
|
| <context-param>
| <param-name>facelets.DEVELOPMENT</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <!-- JSF -->
|
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
| </context-param>
|
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
|
| <servlet>
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.seam</url-pattern>
| </servlet-mapping>
|
| <security-constraint>
| <display-name>Restrict raw XHTML Documents</display-name>
| <web-resource-collection>
| <web-resource-name>XHTML</web-resource-name>
| <url-pattern>*.xhtml</url-pattern>
| </web-resource-collection>
| <auth-constraint>
| <role-name>NONE</role-name>
| </auth-constraint>
| </security-constraint>
|
| </web-app>
that is automatically generated by seam-gen, and:
ajax4jsf-1.1.1-SNAPSHOT.jar
richfaces-3.0.1-SNAPSHOT.jar
myfaces-1.1.4
I don't have any idea about the problem, if you can send me your simple example also by email I appreciate very much.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033024#4033024
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033024
17Â years, 9Â months