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"
      }
    ]
  }
}
Shiv
已提問 10 個月前檢視次數 557 次
2 個答案
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
專家
已回答 10 個月前
0

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

AWS
Kiran
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南