[jBPM] - Human task escalation understanding
by javajbpmuser
javajbpmuser [https://community.jboss.org/people/javajbpmuser] created the discussion
"Human task escalation understanding"
To view the discussion, visit: https://community.jboss.org/message/796361#796361
--------------------------------------------------------------
Hi community,
I have some questions about Human Task node in jbpm v5.4. Actually I am designing a sample process that contains two human tasks ,in the second one I had defined Escalation mechanism ( when task is not-started , set expires at to 60s and set user Id).
When process reaches the second node of my process I see that after 60s , that Task status ( in jbpm database table Task) changed from "Reserved" to "Ready", but no user is assigned on that task (actualOwner_id had been changed to NULL) . I was wondering what could be the cause of that ?
I tried to see the java API but I did not find how I can catch the escalation event for Human Task , May I have any idea or help about how I can do that ? because actually what I am trying to do is when "Human Task" had been reassigned to another user , I should call a Java method to update some data on my application.
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/796361#796361]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 9 months
[jBPM] - Problem with designer
by Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion
"Problem with designer"
To view the discussion, visit: https://community.jboss.org/message/806098#806098
--------------------------------------------------------------
Hi!
I have one problem in designer.
I create a new simple process, with an start and end node, in the designer inside guvnor 5.4. I save it.
Then, I update the process using Guvnor Rest API. I make a PUT to http://localhost:8080/drools-guvnor/rest/packages/TestNewPathways/assets/... http://localhost:8080/drools-guvnor/rest/packages/TestNewPathways/assets/..., with content type application-octet stream, passing the string.getBytes of the modified bpmn.
Then, I go to the designer, and I can see the changes into the process. But then, I try just to save the process there and I get an error into the screen, and an exception in logs that I will paste below. Any ideas of what could it cause it?
Thanks!
Demian
Error:
400 Sorry, a technical error occurred. Please contact a system administrator."
Exception
16:57:42,996 ERROR [org.drools.guvnor.server.RepositoryServiceServlet] (http--127.0.0.1-8080-17) Service method 'public abstract java.lang.String org.drools.guvnor.client.rpc.AssetService.checkinVersion(org.drools.guvnor.client.rpc.Asset) throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: java.lang.NullPointerException: java.lang.NullPointerException
at org.drools.repository.AssetItem.updateContent(AssetItem.java:390) [guvnor-repository-5.4.0.Final.jar:5.4.0.Final]
at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:155) [classes:]
at org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:180) [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at org.drools.guvnor.server.RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.java) [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:155) [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetService$Proxy$_$$_WeldClientProxy.java) [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at org.drools.guvnor.server.RepositoryServiceServlet.checkinVersion(RepositoryServiceServlet.java:596) [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_25]
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) [gwt-servlet-2.3.0.jar:]
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) [gwt-servlet-2.3.0.jar:]
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) [gwt-servlet-2.3.0.jar:]
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-servlet-2.3.0.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.1.Final.jar:3.1.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.1.Final.jar:3.1.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806098#806098]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 9 months
[JBoss Web Services] - Migrating secured WS from JBoss 5.1 to 7.1.1
by Xavier Dury
Xavier Dury [https://community.jboss.org/people/xdury] created the discussion
"Migrating secured WS from JBoss 5.1 to 7.1.1"
To view the discussion, visit: https://community.jboss.org/message/780326#780326
--------------------------------------------------------------
Hi,
I've been migrating one of our projects from JBoss 5.1 to 7.1.1, all was done without too much problems but I'm stuck on the security configuration for a Web Service (which does not have WS-Security Policy):
In JBoss 5.1, configuring WS-Security was done within the file "META-INF/jboss-wsse-server.xml"
<jboss-ws-security>
<key-store-file>${wsse.keystore}</key-store-file>
<key-store-type>jks</key-store-type>
<key-store-password>${wsse.keystore.password}</key-store-password>
<trust-store-file>${wsse.truststore}</trust-store-file>
<trust-store-type>jks</trust-store-type>
<trust-store-password>${wsse.truststore.password}</trust-store-password>
<config>
<timestamp ttl="3000" />
<sign type="x509v3" alias="${wsse.keystore.alias}" />
<requires>
<timestamp maxAge="3000" />
<signature />
</requires>
</config>
</jboss-ws-security>
So, I just need requests and responses to be signed and timestamped but I have a hard time understanding how to achieve this in AS7.1.1.
I've read the page https://docs.jboss.org/author/display/JBWS/WS-Security https://docs.jboss.org/author/display/JBWS/WS-Security, but it didn't help.
Do I need to configure this via jbossws-cxf.xml? (tried this but seems to be ignored)
Is it available out-of-the-box in JBoss AS7.1.1? (I see spring is being used but there are no spring jars in the distribution)
I must be missing something...
Thanks,
Xavier
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/780326#780326]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 9 months
[Beginner's Corner] - Re: jboss error: "process crashed on startup"
by dfox
dfox [https://community.jboss.org/people/dfox] created the discussion
"Re: jboss error: "process crashed on startup""
To view the discussion, visit: https://community.jboss.org/message/809334#809334
--------------------------------------------------------------
Having the same problem here...
============
service jbossas start
Starting jbossas: [FAILED]
Process crashed on startup
============
server.log is empty
============
BOOT.LOG
10:15:11,111 INFO [ServerImpl] Starting JBoss (Microcontainer)...
10:15:11,111 INFO [ServerImpl] Release ID: JBoss [EAP] 5.1.2 (build: SVNTag=JBPAPP_5_1_2 date=201206071031)
10:15:11,112 DEBUG [ServerImpl] Using config: mailto:org.jboss.bootstrap.BaseServerConfig@4e99353f org.jboss.bootstrap.BaseServerConfig@4e99353f
10:15:11,112 DEBUG [ServerImpl] Server type: class org.jboss.bootstrap.microcontainer.ServerImpl
10:15:11,112 DEBUG [ServerImpl] Server loaded through: org.jboss.bootstrap.NoAnnotationURLClassLoader
10:15:11,112 INFO [ServerImpl] Bootstrap URL: null
10:15:11,112 INFO [ServerImpl] Home Dir: /var/lib/jbossas
10:15:11,112 INFO [ServerImpl] Home URL: file:/var/lib/jbossas/
10:15:11,112 INFO [ServerImpl] Library URL: file:/var/lib/jbossas/lib/
10:15:11,112 INFO [ServerImpl] Patch URL: null
10:15:11,112 INFO [ServerImpl] Common Base URL: file:/var/lib/jbossas/common/
10:15:11,112 INFO [ServerImpl] Common Library URL: file:/var/lib/jbossas/common/lib/
10:15:11,112 INFO [ServerImpl] Server Name: default
10:15:11,113 INFO [ServerImpl] Server Base Dir: /var/lib/jbossas/server
10:15:11,113 INFO [ServerImpl] Server Base URL: file:/var/lib/jbossas/server/
10:15:11,113 INFO [ServerImpl] Server Config URL: file:/var/lib/jbossas/server/default/conf/
10:15:11,113 INFO [ServerImpl] Server Home Dir: /var/lib/jbossas/server/default
10:15:11,113 INFO [ServerImpl] Server Home URL: file:/var/lib/jbossas/server/default/
10:15:11,113 INFO [ServerImpl] Server Data Dir: /var/lib/jbossas/server/default/data
10:15:11,113 INFO [ServerImpl] Server Library URL: file:/var/lib/jbossas/server/default/lib/
10:15:11,113 INFO [ServerImpl] Server Log Dir: /var/lib/jbossas/server/default/log
10:15:11,113 INFO [ServerImpl] Server Native Dir: /var/lib/jbossas/server/default/tmp/native
10:15:11,113 INFO [ServerImpl] Server Temp Dir: /var/lib/jbossas/server/default/tmp
10:15:11,113 INFO [ServerImpl] Server Temp Deploy Dir: /var/lib/jbossas/server/default/tmp/deploy
10:15:11,116 DEBUG [ServerImpl] Shutdown hook added Thread[JBoss Shutdown Hook,5,jboss]
10:15:11,141 DEBUG [KernelFactory] Starting JBoss Kernel construction...
10:15:11,285 DEBUG [KernelFactory] Completed JBoss Kernel construction. Duration: 144 milliseconds
10:15:11,664 DEBUG [ServerImpl] Already in start, ignoring duplicate start
10:15:11,665 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/var/lib/jbossas/server/default/conf/bootstrap.xml
10:15:11,666 DEBUG [ServerImpl] Failed to start
java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/unmarshalling/SchemaBinding
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:123)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 5 more
10:15:11,668 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
10:15:11,683 INFO [ServerImpl] Shutdown complete
============
CONSOLE.LOG
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/share/jbossas/
JAVA: /usr/lib/jvm/java/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1303m -Xmx3000m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:+HeapDumpOnOutOfMemoryError -Djboss.partition.udpGroup=228.1.2.3 -Djboss.webpartition.mcast_port=45577 -Djboss.hapartition.mcast_port=45566 -Djboss.ejb3entitypartition.mcast_port=43333 -Djboss.ejb3sfsbpartition.mcast_port=45551 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true
CLASSPATH: /usr/share/jbossas//bin/run.jar:/usr/lib/jvm/java/lib/tools.jar
=========================================================================
10:15:11,111 INFO [ServerImpl] Starting JBoss (Microcontainer)...
10:15:11,111 INFO [ServerImpl] Release ID: JBoss [EAP] 5.1.2 (build: SVNTag=JBPAPP_5_1_2 date=201206071031)
10:15:11,112 INFO [ServerImpl] Bootstrap URL: null
10:15:11,112 INFO [ServerImpl] Home Dir: /var/lib/jbossas
10:15:11,112 INFO [ServerImpl] Home URL: file:/var/lib/jbossas/
10:15:11,112 INFO [ServerImpl] Library URL: file:/var/lib/jbossas/lib/
10:15:11,112 INFO [ServerImpl] Patch URL: null
10:15:11,112 INFO [ServerImpl] Common Base URL: file:/var/lib/jbossas/common/
10:15:11,112 INFO [ServerImpl] Common Library URL: file:/var/lib/jbossas/common/lib/
10:15:11,112 INFO [ServerImpl] Server Name: default
10:15:11,113 INFO [ServerImpl] Server Base Dir: /var/lib/jbossas/server
10:15:11,113 INFO [ServerImpl] Server Base URL: file:/var/lib/jbossas/server/
10:15:11,113 INFO [ServerImpl] Server Config URL: file:/var/lib/jbossas/server/default/conf/
10:15:11,113 INFO [ServerImpl] Server Home Dir: /var/lib/jbossas/server/default
10:15:11,113 INFO [ServerImpl] Server Home URL: file:/var/lib/jbossas/server/default/
10:15:11,113 INFO [ServerImpl] Server Data Dir: /var/lib/jbossas/server/default/data
10:15:11,113 INFO [ServerImpl] Server Library URL: file:/var/lib/jbossas/server/default/lib/
10:15:11,113 INFO [ServerImpl] Server Log Dir: /var/lib/jbossas/server/default/log
10:15:11,113 INFO [ServerImpl] Server Native Dir: /var/lib/jbossas/server/default/tmp/native
10:15:11,113 INFO [ServerImpl] Server Temp Dir: /var/lib/jbossas/server/default/tmp
10:15:11,113 INFO [ServerImpl] Server Temp Deploy Dir: /var/lib/jbossas/server/default/tmp/deploy
10:15:11,665 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/var/lib/jbossas/server/default/conf/bootstrap.xml
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/unmarshalling/SchemaBinding
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:123)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 5 more
10:15:11,668 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
10:15:11,683 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/809334#809334]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 9 months