How to load reference jar files in environment folder for maven project.
We got following error while deploying our jar file in java callout policy,We are using maven java project in java callout.
The revision is deployed and traffic can flow, but flow may be impaired. Unexpected error occurred while processing the updates.
Solved! Go to Solution.
To answer your specific question about loading JARs into an apigee Edge environment:
you cannot do that from the Apigee Edge UI today.
You can load these JARs as resources via the Administrative API. A curl command might look like this:
curl -i -H -X POST 'Content-Type: application/octet-stream \ -H 'Authorization: ***' \ "$MGMTSERVER/v1/o/ORG/e/ENV/resourcefiles?type=java&name=foo.jar" \ -d @jarfilehere.jar
^^should show above. OMG I'm pasting the code and it shows in the editor, but it won't display in the view. Sheesh. I'm enclosing a screenshot as a workaround.
Please find the below links which may help you to understand the above issue.
https://docs.apigee.com/troubleshoot/unexpected-error-occurred-while-processing-updates
https://docs.apigee.com/troubleshoot/call-timed-out-either-server-down-or-server-not-reachable
https://community.apigee.com/questions/8314/the-revision-is-deployed-and-traffic-can-flow-but.html
To answer your specific question about loading JARs into an apigee Edge environment:
you cannot do that from the Apigee Edge UI today.
You can load these JARs as resources via the Administrative API. A curl command might look like this:
curl -i -H -X POST 'Content-Type: application/octet-stream \ -H 'Authorization: ***' \ "$MGMTSERVER/v1/o/ORG/e/ENV/resourcefiles?type=java&name=foo.jar" \ -d @jarfilehere.jar
^^should show above. OMG I'm pasting the code and it shows in the editor, but it won't display in the view. Sheesh. I'm enclosing a screenshot as a workaround.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |