Skip to content

CorbTask does not seem to handle the xcc.httpcompliant flag #146

@tzejohn

Description

@tzejohn

When using the CorbTask to run a process against a host which is an AWS ELB, I am seeing BAD REQUEST errors.

com.marklogic.xcc.exceptions.ServerResponseException: Query evaluation request rejected (400, BAD_REQUEST). Is this an XDBC server?
 [Session: user=admin, cb={default} [ContentSource: user=admin, cb={none} [provider: address=internal-ml-cluster-irx-dev-lb-1031654958.us-east-1.elb.amazonaws.com/10.239.12.224:8050, pool=0/64]]]
 [Client: XCC/8.0-5]
	at com.marklogic.xcc.impl.handlers.NotFoundCodeHandler.handleResponse(NotFoundCodeHandler.java:39)
	at com.marklogic.xcc.impl.handlers.EvalRequestController.serverDialog(EvalRequestController.java:96)
	at com.marklogic.xcc.impl.handlers.AbstractRequestController.runRequest(AbstractRequestController.java:88)
	at com.marklogic.xcc.impl.SessionImpl.submitRequestInternal(SessionImpl.java:437)
	at com.marklogic.xcc.impl.SessionImpl.submitRequest(SessionImpl.java:432)
	at com.marklogic.developer.corb.Manager.registerStatusInfo(Manager.java:609)
	at com.marklogic.developer.corb.Manager.init(Manager.java:184)
	at com.marklogic.developer.corb.AbstractManager.init(AbstractManager.java:175)
	at com.marklogic.developer.corb.Manager.main(Manager.java:135)

I did attempt to troubleshoot by executing the com.marklogic.developer.corb.Manager process directly, and I can see the same issue if I do not pass the httpcompliant flag. But if I pass it, then everything works. From mlGradle, it is not working, no matter if the flag is specified or not.

I am calling mlGradle with the VM argument -Dxcc.httpcompliant=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions