Getting error "xa-resource-0 is not found at specified s3 location" while configuring application in Microfocus runtime environment.

0

I am following a AWS documentation tutorial (https://docs.aws.amazon.com/m2/latest/userguide/tutorial-runtime-mf.html) where I am creating an application for Microfocus runtime environment in AWS Mainframe Modernization sevice. I have performed all the previous steps mentioned in doc. At Create an application step, I am getting error "Application demo-app failed to create. resource object with id xa-resource-0 is not found at specified s3 location" while specifying resource and configuration.

This is the script for specifying resource and configuration.

{
  "template-version": "2.0",
  "source-locations": [
    {
      "source-id": "s3-source",
      "source-type": "s3",
      "properties": {
        "s3-bucket": "demo ",
        "s3-key-prefix": "bankdemo_runtime"
      }
    }
  ],
  "definition": {
    "listeners": [
      {
        "port": 6000,
        "type": "tn3270"
      }
    ],
    "dataset-location": {
      "db-locations": [
        {
          "name": "demo-cluster",
          "secret-manager-arn": "arn:aws:secretsmanager:us-east-1:973571118640:secret:rds!cluster-a96fabe6-c74c-419b-bced-464488699528-t1xSBx"
        }
      ]
    },
    "batch-settings": {
      "initiators": [
        {
          "classes": ["A","B"],
          "description": "initiator_AB...."
        },
        {
          "classes": ["C","D"],
          "description": "initiator_CD...."
        }
      ],
      "jcl-file-location": "${s3-source}/jcl"
    },
    "cics-settings": {
      "binary-file-location": "${s3-source}/transaction",
      "csd-file-location": "${s3-source}/RDEF",
      "system-initialization-table": "BNKCICV"
    },
    "xa-resources": [
      {
        "name": "XASQL",
        "secret-manager-arn": "arn:aws:secretsmanager:us-east-1:973571118640:secret:rds!cluster-a96fabe6-c74c-419b-bced-464488699528-t1xSBx",
        "module": "${s3-source}/xa/ESPGSQLXA64_S.so"
      }
    ]
  }
}
2 Answers
0

Hi,

do you have the module ESPGSQLXA64_S.so in location defined ${s3-source}/xa/ ? i.e. check that S3 bucket + possible subfolders contain a folder named xa with the module in it.

Best, Didier

profile pictureAWS
EXPERT
answered 9 months ago
0

Check if the s3 bucket path is exactly matching with what is provided in the JSON (including small/caps lettering)

AWS
Kiran
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions