Corda 5 Exception

114 views Asked by At

I get this error when calling flow management API in corda 5 /flow/{{short_hash}}.

{
  "flowStatusResponses": [
    {
      "holdingIdentityShortHash": "4558C1BAA9F2",
      "clientRequestId": "test-flow-1",
      "flowId": "c05a1690-fa8e-46b4-a026-825205f086b5",
      "flowStatus": "FAILED",
      "flowResult": null,
      "flowError": {
        "type": "FLOW_FAILED",
        "message": "Execution failed with \"Failed to create the sandbox: Failed to resolve bundles: javax.activation-api [512], jaxb-api [513], com.opencsv [515]\" after 5 retry attempts."
      },
      "timestamp": "2023-09-28T15:33:14.410Z"
    }
  ]
}

Does anyone have any idea what's happening here? I assumed it should work without having to have to add any additional dependendies.

2

There are 2 answers

0
shpitc On

I belive that your dependencies libraries require sandbox security policy adjustments. You can find more explanations here:

https://docs.r3.com/en/platform/corda/5.0/deploying-operating/config/security-policies.html

1
user23533994 On

I had a similar issue and solved it by re-installing the corda cli with java 11, same as the version used in the project.