[jBPM] - jbpm-console human task display error
by Sam Mano
Sam Mano [https://community.jboss.org/people/artist123] created the discussion
"jbpm-console human task display error"
To view the discussion, visit: https://community.jboss.org/message/753893#753893
--------------------------------------------------------------
Hi,
I created a simp,e hello process and ftl forms to start and stop (sample got from krisv demo in documentation). but task not displayed but it throug the following error...any help......jbpm5.3
| 2012-08-15 15:42:13,538 [DEBUG] ToolID: Process_Overview.0
2012-08-15 15:42:17,268 [DEBUG] ToolID: Personal_Tasks.2
2012-08-15 15:42:24,448 [DEBUG] ToolID: Personal_Tasks.2
2012-08-15 15:43:21,145 [DEBUG] ToolID: Personal_Tasks.2
2012-08-15 15:44:18,658 [DEBUG] ToolID: Personal_Tasks.2
2012-08-15 15:44:20,048 [DEBUG] GET: http://localhost:8080/business-central-server/rs/tasks/krisv
2012-08-15 15:44:20,098 [DEBUG] parse {"tasks":[{"id":1,"processInstanceId":"6","processId":"Hello","assignee":"krisv","isBlocking":false,"isSignalling":false,"outcomes":[],"currentState":"ASSIGNED","participantUsers":[],"participantGroups":[],"url":"http://localhost:8080/business-central-server/rs/form/task/1/render","priority":0}]}
2012-08-15 15:44:20,099 [DEBUG] parse {"id":1, "processInstanceId":"6", "processId":"Hello", "assignee":"krisv", "isBlocking":false, "isSignalling":false, "outcomes":[], "currentState":"ASSIGNED", "participantUsers":[], "participantGroups":[], "url":"http://localhost:8080/business-central-server/rs/form/task/1/render", "priority":0}
2012-08-15 15:44:20,106 [FATAL] Uncaught Exception:
com.google.gwt.core.client.JavaScriptException:
*(TypeError): 'value_0' is null or not an object
number: -2146823281
description: 'value_0' is null or not an object* at Unknown.$fillInStackTrace_1(JsArrayString.java:42)
at Unknown.$JavaScriptException(StackTraceCreator.java:366)
at Unknown.caught_0(Exceptions.java:29)
at Unknown.$asString(JSONWalk.java:126)
at Unknown.parseTaskReference(JSONWalk.java:48)
at Unknown.parseTaskReferenceList(DTOParser.java:51)
at Unknown.handleSuccessfulResponse_15(LoadTasksAction.java:74)
at Unknown.onResponseReceived_5(AbstractRESTAction.java:78)
at Unknown.$fireOnResponseReceived(Request.java:287)
at Unknown.onReadyStateChange_0(RequestBuilder.java:393)
at Unknown.anonymous(XMLHttpRequest.java:258)
at Unknown.entry0(Impl.java:146)
at Unknown.anonymous(Impl.java:56) | | |
| | | |
| http://localhost:8080/business-central/app/clear.cache.gif (http://localhost:8080/business-central/app/clear.cache.gif) |
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753893#753893]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
Re: [jboss-user] [jBPM] - Form Builder Setup
by Demian Calcaprina
Demian Calcaprina [https://community.jboss.org/people/calca] commented on the document
"Form Builder Setup"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-18940#comment-10488
--------------------------------------------------
Hey,
I have downloaded latest code and when starting it in jboss 7 I am getting:
16:40:11,070 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment jbpm-form-builder.war
16:40:13,036 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."jbpm-form-builder.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-form-builder.war".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [RulesRepository] with qualifiers [@Default] at injection point [[field] @Inject private org.drools.repository.remoteapi.RestAPI.repo]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [RulesRepository] with qualifiers [@Default] at injection point [[field] @Inject private org.drools.repository.remoteapi.RestAPI.repo]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
... 5 more
Do you know what I am missing?
Thanks
Demian
--------------------------------------------------
12 years, 5 months
[jBPM] - Agile BPMN - existing workflow, now need to (parallel) split
by darren hartford
darren hartford [https://community.jboss.org/people/dhartford] created the discussion
"Agile BPMN - existing workflow, now need to (parallel) split"
To view the discussion, visit: https://community.jboss.org/message/753876#753876
--------------------------------------------------------------
Hey all,
I have a scenario where I already know a node may cause/trigger multiple tokens to go through the same path. I'm trying to figure out now, while I'm learning, how would you handle this if you didn't know before hand.
Usecase:
Have a simple workflow.
start->A->B->C->D->end
in node B, a human task, they determine that this should be multiple different/independent 'tokens' that each independently go through C->D->end.
Example: List of items are collected into an Order. The order needs to be shipped, but was originally setup as a single 'order' and 'shipment', but may end up becoming 1-N shipments. Node C does inventory and D does printing of mailing labels for this example.
My first pass at this problem would be to instead create TWO different workflows, since they would have different volume of tokens going through:
start->A->B->end (1 per order, with node B determining number of and items in (each) shipment)
(multi-start 2nd process) start->C->D->end (N number of shipments).
However, if you are trying to be agile and you *already* have a workflow that is A all the way to D, splitting up the workflow into two different workflows once already in production doesn't make sense. Thoughts on the manner (maybe I'm wrong and you do need to create two workflows)?
Thanky, this is academic/planning ahead!
-Darren
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753876#753876]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[Beginner's Corner] - Unable to catch EJBException
by Patrick Garner
Patrick Garner [https://community.jboss.org/people/pgarner] created the discussion
"Unable to catch EJBException"
To view the discussion, visit: https://community.jboss.org/message/753872#753872
--------------------------------------------------------------
I'm just doing a simple lookup on a JPA entity (User) via a SLSB (UserService) as follows: try { result = userService.findByEmail(email); } catch(Throwable throwable) { logger.warn("User ''{0}'' attempt to login failed due to: " + throwable.getMessage()); } When an incorrect email is entered I get a stack trace: 14:11:53,005 ERROR [org.jboss.ejb3.invocation] (http--127.0.0.1-8443-5) JBAS014134: EJB Invocation failed on component UserService for method public com.patrac.model.authenticate.User com.patrac.service.UserService.findByEmail(java.lang.String) throws java.lang.IllegalStateException,javax.persistence.PersistenceException: javax.ejb.EJBException: javax.persistence.NoResultException: No entity found for query at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:333) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:192) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final] at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final] at com.patrac.service.UserService$$$view8.findByEmail(Unknown Source) [Patrac-ejb.jar:] at com.patrac.controller.authenticate.LoginChecker.lookupUser(LoginChecker.java:83) [classes:] ... Followed by the log message: 14:11:53,128 WARNING [com.patrac.controller.authenticate.LoginController] (http--127.0.0.1-8443-5) User mailto:'bad(a)email.com 'bad(a)email.com' attempt to login failed due to: javax.persistence.NoResultException: No entity found for query The logger logs the error message, so I know the exception is being caught. Nevertheless I'm getting a stack trace. Why is that?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753872#753872]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss Tools] - Slim JBoss
by Erick Kendall
Erick Kendall [https://community.jboss.org/people/piedmont01] created the discussion
"Slim JBoss"
To view the discussion, visit: https://community.jboss.org/message/753803#753803
--------------------------------------------------------------
This is a script I came up with to slim down JBoss 5.1.2 in our environment. Not sure whether I've captured everything but it looks to be a good start at automating.
#!/bin/sh
JBOSS_HOME=/opt/jboss
case "$1" in
all)
VAR="all"
;;
default)
VAR="default"
;;
minimal)
VAR="minimal"
;;
production)
VAR="production"
;;
standard)
VAR="standard"
;;
web)
VAR="web"
;;
*)
echo $"Usage: $0 {all|default|minimal|production|standard|web}"
exit 1
esac
echo $VAR
cd $JBOSS_HOME/server/$VAR/deploy
# Remove EJB3 Services
rm ejb3-connections-jboss-beans.xml
rm ejb3-container-jboss-beans.xml
rm ejb3-interceptors-aop.xml
rm ejb3-timservice-jboss-beans.xml
rm profile-service-secured.jar
# Remove EJB2 Services
rm ejb2-container-jboss-beans.xml
rm ejb2-timerservice.xml
# Remove JUDDI
rm juddi-service.sar
# Remove Key Generator
rm uuid-key-generator.sar
# Remove JBoss Messsaging
rm -rf messaging
rm jms-ra.rar
# Remove JBoss Mail
rm mail-service.xml
rm mail-ra.rar
# Remove Scheduling
rm scheduler-manager-service.xml
rm scheduler-service.xml
rm quartz-ra.rar
# Remove Hysersonic DB
rm hsqldb-ds.xml
# Turn Off Hot Deployment
rm hdscanner-jboss-beans.xml
cd $JBOSS_HOME/server/$VAR/deployers
# Remove Bsh Deplyer
rm bsh.deployer
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753803#753803]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months