{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Edge/API Management /
avatar image
0
Question by Rahul.Dubey · Apr 14, 2016 at 11:01 AM · 201 Views api proxyjava calloutenvironmentsresource files

Specifying resouirces at environment level

I have some java and javascript code that i use in proxies through java callout and javascript call out.

both JAR and JS file i have added as proxy resources and everthing was working fine.

Now, I deceided to move jar and js file to the environment level since these are resuable in many other proxies. When i removed the files from proxy resource and save proxy again it gives the error that it cant find the files.

Can anyone tell if i need to do any change in the proxy conficuration so that it refer the files from environemnt instead of local proxy resource. As per Apigee documentation resources added to the environment are available to all the proxies.

Thanks,

Rahul

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0

Answer by Sonali · Apr 14, 2016 at 11:08 AM

Check if the file you moved are available at that environment prod or test i.e

https://api.enterprise.apigee.com/v1/organizations/myorg/environments/{env}/resourcefiles/{filetype}

Comment
Add comment Show 2 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rahul.Dubey · Apr 14, 2016 at 11:51 AM 0
Link

File are at environement level and proxy is also working fine but the problem is that when i change something and save it gives error that "xxxx" file not found .

avatar image Gaurav Bansal · Jan 15, 2020 at 01:25 AM 0
Link

I have a similary issue, I have verified that my JAR is available there, but still proxy is not able to find it and is giving me error that referred resource is not found hence Java not instantiated.

Follow this Question

Answers Answers and Comments

40 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

One environment and 2 different target endpoints for the same api proxy end point 3 Answers

Need Api proxy details 1 Answer

Is it possible to have a Java Callout that directly references a jar at the org or env level? 1 Answer

Sample code for receiving REST message with file attachment via multipart message content-type header? 1 Answer

Failed to instantiate the JavaCallout Class 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges