This is my version information:
$ ./ace version
Version: '11.0.0.13'
Product: 'IBM App Connect Enterprise'
Build Number: '203'
IE02 level: 'unused_but_required'
IB Level: 'ib1100-L210601.203_P'
Server level: 'S1100-L210527.21441'
Toolkit level:'20210528-0254'
When I run the following command:
$ curl -X POST
http://localhost:7600/apiv2/deploy --data-binary /home/aceuser/IBM/ACET11/workspace/ExampleApp/ExampleDeploy.bar
The following message is returned:
{"type":"responseLog","count":2,"uri":"/apiv2/deploy","LogEntry":[{"type":"logEntry","message":{"number":9325,"severity":20,"severityCode":"E","source":"BIPmsgs","inserts":1,"timestamp":1626778660,"threadId":30296,"threadSequenceNumber":1},"text":"BIP9325E: The source 'rest-deploy.bar' could not be deployed as it contains errors. No changes have been made to the integration server. ","detailedText":"The source 'rest-deploy.bar' could not be processed. Further error messages will contain detailed information on the cause of the errors. \nUse the associated messages to correct the errors before redeploying the source. "},{"type":"logEntry","message":{"number":2114,"severity":20,"severityCode":"E","source":"BIPmsgs","inserts":4,"timestamp":1626778660,"threadId":30296,"threadSequenceNumber":2},"text":"BIP2114E: IBM App Connect Enterprise internal error: diagnostic information 'Failed to read ZIP file - could not navigate to first file', '/home/aceuser/IBM/ACET11/workspace/TEST_SERVER4/run/.temp/RESTBarFiles/4d56c80a-e949-11eb-b449-7f0001010000/rest-deploy.bar', '1208', '-102'. ","detailedText":"An internal software error has occurred in IBM App Connect Enterprise. Further messages may indicate the effect of this error on the component. \nShutdown and restart the component. If the problem continues to occur, then restart the system. If the problem still continues to occur contact your IBM support center. "}]}
This is from the console log.
.....2021-07-20 10:55:14.862906: .2021-07-20 11:55:14.875268: BIP1990I: Integration server 'TEST_SERVER4' starting initialization; version '11.0.0.13' (64-bit)
.....................Listening for transport dt_socket at address: 9997
......................2021-07-20 11:56:03.536663: BIP2866I: IBM App Connect Enterprise administration security is inactive.
2021-07-20 11:56:03.598007: BIP3132I: The HTTP Listener has started listening on port '7600' for 'RestAdmin http' connections.
.
2021-07-20 11:56:03.601280: BIP1991I: Integration server has finished initialization.
2021-07-20 11:57:40.434636: BIP2152I: Configuration message received.
2021-07-20 11:57:40.467592: BIP9325E: The source 'rest-deploy.bar' could not be deployed as it contains errors. No changes have been made to the integration server.
2021-07-20 11:57:40.467916: BIP2114E: IBM App Connect Enterprise internal error: diagnostic information 'Failed to read ZIP file - could not navigate to first file', '/home/aceuser/IBM/ACET11/workspace/TEST_SERVER4/run/.temp/RESTBarFiles/4d56c80a-e949-11eb-b449-7f0001010000/rest-deploy.bar', '1208', '-102'.
2021-07-20 11:57:40.468652: BIP2154I: Integration server finished with Configuration message.
How can I fix this? I want to write a script to automate deployments using the admin REST API.
------------------------------
Amit Kapila
Integration Developer
eComm Europe Limited
London
UK
amitkapila@hotmail.com+44 (0)2085707240
+44 (0)7976529902
------------------------------