JBoss Community

Re: jBPM 5.3 Deployment on Amazon EC2 instance

created by user111 in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community