zowe / ims-operations-api

The IMS Operations API is a service that provides REST APIs to manage the IMS resources required for IMS application deployment. The REST APIs invoke the IMS commands that are required to manage and query the IMS application resources.
Eclipse Public License 2.0
8 stars 2 forks source link

Unable to determine start script from IMS component #21

Open dasdagir opened 2 years ago

dasdagir commented 2 years ago

Hi All,

I was installing & configuring IMS API for ZOWE launcher task. I just followed the steps given in the below linki: https://github.com/zowe/ims-operations-api/blob/master/ims/docs/installing-ims-operations-api.md

But still unable to find IMS API services running either in API ML Catalog services & no unix process (ZWE1IM) has been started as mentioned in the link.

Getting the below error from the start-component script: ZWEL0001I component /usr/lpp/zowe-extensions/ims/zowe-scripts started unable to determine start script from component /usr/lpp/zowe-extensions/ims/zowe-scripts manifest, fall back to default bin/start.sh component /usr/lpp/zowe-extensions/ims/zowe-scripts (xxxxxxx) terminated,status = 0

Configured as below :

  1. /global/zowe/extensions -> symlink -> /usr/lpp/zowe-extensions/ims/zowe-scripts
  2. ZWE_EXTENSION_DIR = /global/zowe/extensions
  3. EXTERNAL_COMPONENTS = /usr/lpp/zowe-extenstions/ims

My question is here : while checking the scripts, it validates ZWELS_START_COMPONENT_ID & it enter in to backward compatible with no reason? Did I miss anything ??

Please suggest if I miss anything.

Joe-Winchester commented 2 years ago

@dasdagir , we've found the problem which is that the zowe-scripts folder needs to be removed from the path.
Can you try and refactor /ims/zowe-scripts/bin/start.sh to ims/bin/start.sh in your USS directory, and update EXTERNAL_COMPONENTS to point to /ims/bin only ?
Let us know how you get on, and in the meantime I'll try and push a fix to the repository code and do a new build and update the docs.

dasdagir commented 2 years ago

@Joe-Winchester ,

Thank you for the work around. But still I was not able to fix the problem. i.e ZOWE launcher unable to start the IMS component.

Joe-Winchester commented 2 years ago

Hi @dasdagir , can you e-mail on winchest@uk.ibm.com and suggest some times when you're free and I'm happy to jump on a webex and get this fixed for you.

dasdagir commented 2 years ago

Hi @Joe-Winchester , I have sent my joblog to your mail-id. Now I can able to initiate the IMS component where as it throws me an Error : Invalid or corrupt jarfile . Do I need to download again ?