Closed ChrisAtkinson1 closed 5 years ago
Correction - I did not update the zosmf one - it was the cics profile I managled. Investigating.
Ok that's me being an idiot user. With zosmf mangled it works. However the error output above ( mangled cics profile but good zosmf profile. Error is due to wrong zosmf port. Assume the error given is best can do ?
To be clear wrong zosmf port on command line gives the error.
I think a wrong port in the zosmf profile will fail in the same way. It's particularly awkward as something is listening at the port number specified, so rather than failing with a "can't connect" type message it's getting this unpleasant 404.
Yes that's my cmci port
I don't think there's much we can do about it. The same kind of error message is issued if you just run:
zowe zosmf check status --host winmvs2c.hursley.ibm.com --port 27728
closed as working as expected.
I altered my default zosmf profile to use bad values. Then put the good ones on the command line, the pust command failed for some reason.
C:\Users\CHRISTOPHERAtkinson\Documents\ZoweStuff\ZOWEDEV\PUSH1\tests\Cicsjson\CICSJSON>zowe cics-deploy push bundle --name CICSJSON --targetdir /u/atkinc/pushtest --cics-deploy-profile deploy --ow --v --zosmf-host winmvs2c.hursley.ibm.com --zosmf-port 27728 --zosmf-user ATKINC --zosmf-password **** --zosmf-reject-unauthorized false WARNING: --cics-host value 'winmvs2x.hursley.ibm.com' does not match --zosmf-host value 'winmvs2c.hursley.ibm.com'. WARNING: --cics-user value 'atkinac' does not match --zosmf-user value 'ATKINC'. Making remote bundle directory '/u/atkinc/pushtest/CICSJSON_1.0.0' Command Error: A failure occurred during CICS bundle pushing. Reason = A problem occurred attempting to create directory '/u/atkinc/pushtest/CICSJSON_1.0.0'. Problem is: z/OSMF REST API Error: Rest API failure with HTTP(S) status 404 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Not Found
The application or context root for this request has not been found: /zosmf/restfiles/fs/u%2Fatkinc%2Fpushtest%2FCICSJSON_1.0.0