Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9933

Queries getting appended if org.kie.controller.ping.alive.disable is set true.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.70.0.Final
    • None
    • None

      Customer is using kie-server in managed mode, customer is using 'org.kie.controller.ping.alive.disable=true' option.  Listing process instances in BC fails with error:

       

       

      09:50:31,223 WARN [org.kie.server.client.impl.AbstractKieServicesClientImpl] (default task-12) Marking endpoint 'http://xxxxx:8080/kie-server/services/rest/server/queries/definitions/jbpmProcessInstances/filtered-data?mapper=RawList&page=0&pageSize=-1' as failed due to Read timed out
      . . .
      09:50:31,251 ERROR [org.dashbuilder.exception.ExceptionManager] (default task-12) Can't lookup on specified data set: jbpmProcessInstances: org.dashbuilder.dataset.exception.DataSetLookupException: Can't lookup on specified data set: jbpmProcessInstances
       at org.dashbuilder.dataset.DataSetManagerImpl.lookupDataSet(DataSetManagerImpl.java:163)
       at org.dashbuilder.dataset.DataSetManagerCDI$Proxy$_$$_WeldClientProxy.lookupDataSet(Unknown Source)
       at org.dashbuilder.dataset.service.DataSetLookupServicesImpl.lookupDataSet(DataSetLookupServicesImpl.java:78)
       at org.dashbuilder.dataset.service.DataSetLookupServicesImpl$Proxy$_$$_WeldClientProxy.lookupDataSet(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      . .  .
      Caused by: org.kie.server.api.exception.KieServicesHttpException: Unexpected HTTP response code when requesting URI 'http://xxxxx:8080/kie-server/services/rest/server/queries/definitions/jbpmProcessInstances/filtered-data?mapper=RawList&page=0&pageSize=-1/queries/definitions/jbpmProcessInstances/filtered-data?mapper=RawList&page=0&pageSize=-1'! Error code: 404, message: RESTEASY003870: Unable to extract parameter from http request: javax.ws.rs.QueryParam("pageSize") value is '-1%2Fqueries%2Fdefinitions%2FjbpmProcessInstances%2Ffiltered-data%3Fmapper%3DRawList' for public javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.QueryDataResource.runQueryFiltered(javax.ws.rs.core.HttpHeaders,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.Integer,java.lang.String)
       at org.kie.server.client.impl.AbstractKieServicesClientImpl.createExceptionForUnexpectedResponseCode(AbstractKieServicesClientImpl.java:663)
       at org.kie.server.client.impl.AbstractKieServicesClientImpl.makeHttpPostRequestAndCreateCustomResponse(AbstractKieServicesClientImpl.java:360)
       at org.kie.server.client.impl.AbstractKieServicesClientImpl.makeHttpPostRequestAndCreateCustomResponse(AbstractKieServicesClientImpl.java:340)
       at org.kie.server.client.impl.QueryServicesClientImpl.query(QueryServicesClientImpl.java:1007)
      

       

      Refer to attached server.log for complete stacktrace. Keeping Jira private since attached log file and added stacktrace includes customer environment details.

       

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: