[jboss-user] [jBPM] - Re: jBPM 5.3 Deployment on Amazon EC2 instance

user111 do-not-reply at jboss.com
Thu Aug 16 04:31:59 EDT 2012


user111 [https://community.jboss.org/people/user111] created the discussion

"Re: jBPM 5.3 Deployment on Amazon EC2 instance"

To view the discussion, visit: https://community.jboss.org/message/753959#753959

--------------------------------------------------------------
Everything is running on the one EC2 instance. It's identical to the localhost deployment except being accessible over an Internet IP address.

One of the stack traces I'm getting (and this isn't all the time!!) when I do refresh on the 'Personal tasks' is:
-------------
04:23:41,698 ERROR [stderr] (http--0.0.0.0-8080-14) java.lang.RuntimeException: Timeout : unable to retrieve results
04:23:41,699 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jbpm.task.service.responsehandlers.BlockingTaskSummaryResponseHandler.getResults(BlockingTaskSummaryResponseHandler.java:41)
04:23:41,699 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jbpm.task.service.SyncTaskServiceWrapper.getTasksOwned(SyncTaskServiceWrapper.java:512)
04:23:41,699 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jbpm.integration.console.TaskManagement.getAssignedTasks(TaskManagement.java:140)
04:23:41,700 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)
04:23:41,700 ERROR [stderr] (http--0.0.0.0-8080-14)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
04:23:41,700 ERROR [stderr] (http--0.0.0.0-8080-14)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
04:23:41,700 ERROR [stderr] (http--0.0.0.0-8080-14)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
04:23:41,701 ERROR [stderr] (http--0.0.0.0-8080-14)           at java.lang.reflect.Method.invoke(Method.java:601)
04:23:41,701 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
04:23:41,701 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
04:23:41,701 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
04:23:41,702 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
04:23:41,702 ERROR [stderr] (http--0.0.0.0-8080-14)           at org.jboss.resteasy.core.SynchronousDispatcher
...

If I do a refresh on the 'Group Tasks' I get this stack trace every time:
04:27:07,265 ERROR [stderr] (Thread-19) java.lang.IllegalArgumentException: org.hibernate.QueryParameterException: could not locate named parameter [userId]
04:27:07,266 ERROR [stderr] (Thread-19)           at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:206)
04:27:07,266 ERROR [stderr] (Thread-19)           at org.jbpm.task.service.TaskServiceSession.getTasksAssignedAsPotentialOwnerByStatusByGroup(TaskServiceSession.java:1011)
04:27:07,266 ERROR [stderr] (Thread-19)           at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:356)
04:27:07,267 ERROR [stderr] (Thread-19)           at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:44)
04:27:07,267 ERROR [stderr] (Thread-19)           at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:85)
04:27:07,267 ERROR [stderr] (Thread-19)           at java.lang.Thread.run(Thread.java:722)
...

NOTE:  I get this same dump on the localhost version as well, so this is clearly a bug in the JBPM-console. 

It would be really useful if you guys have tested this on a production server and have some notes on how to deploy it (except on localhost)?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/753959#753959]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120816/b07b8e12/attachment-0001.html 


More information about the jboss-user mailing list