GetTaskAssignedAsPotentialOwnerCommand returns empty response when there are too many tasks

Solution Verified - Updated -

Issue

  • GetTaskAssignedAsPotentialOwnerCommand fails when there are too many tasks. While trying to use this command with 500 tasks it comes back with an empty/null response. On the server side on the server it throws the following exception.
[org.hornetq.ra] (Thread-3 (HornetQ-client-global-threads-1932555275)) HQ154004: Failed to deliver message: javax.ejb.EJBException: org.kie.remote.services.exception.KieRemoteServicesRuntimeException: Unable to create response message or write to it [msg id: befdc207-c462-4b2a-9858-a8ac99856e51].
    at org.jboss.as.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:78) [jboss-as-ejb3-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
        .... 
Caused by: org.kie.remote.services.exception.KieRemoteServicesRuntimeException: Unable to create response message or write to it [msg id: befdc207-c462-4b2a-9858-a8ac99856e51].
    at org.kie.remote.services.jms.RequestMessageBean.serializeResponse(RequestMessageBean.java:339) [kie-services-remote-6.0.3-redhat-6.jar:6.0.3-redhat-6]
        . . . . 
Caused by: javax.jms.JMSException: Failed to write UTF
    at org.hornetq.jms.client.HornetQBytesMessage.writeUTF(HornetQBytesMessage.java:317) [hornetq-jms-client-2.3.5.Final-redhat-2.jar:2.3.5.Final-redhat-2]

... 68 more

What could be the root cause of this issue?

Environment

  • Red Hat JBoss BPM Suite (BPMS)
    • 6.0.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.