Select to view content in your preferred language

Configuration error - HTTP Status 404 - The requested resource is not available

25135
5
04-16-2014 12:57 PM
TanmayShah
Emerging Contributor
Hi,
I've successfully done the server & client settings. Have also generated the Application ID & modified the settings.js file as:

define({
arcgisUrl: "http://SAP.maps.arcgis.com",
arcgisAuthType: "user",
arcgisAppUser: "",
arcgisAppPassword: "",
arcgisAppId: "[generated application ID]",
keepAliveInterval: 60000,
arcgisSharing: true,
selectionColor: "#FF0000"
});

Have also modified the proxy settings as:

<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig>
   <serverUrls mustMatch="true">
    <serverUrl url="http://SAP.maps.arcgis.com"/>
    </serverUrls>
<useUpstreamProxy enabled="true">
http://proxy:8080
</useUpstreamProxy>
</ProxyConfig>

Even after the proxy settings I'm not able to open all the links from the proxy server viz.

http://arcgis.com/features/img/logo-esri.jpg - showing the logo
http://SAP.maps.arcgis.com/features/img/logo-esri.jpg - showing the logo
http://SAP.maps.arcgis.com:8080/em4bobj/dashb/proxy.jsp? - giving a proxy error


I guess due to this when I add the ESRI map component in my dashboard & launch the designer I'm getting an error screen as attached herewith.

Please help me with this configuration & let me know how to troubleshoot.
thanks

Regards,
Tanmay Shah
0 Kudos
5 Replies
ShirleyBaffoe
Esri Contributor
Hello Tanmay,

Based on your error message, it appears the designer.html file is not available in the path ../tomcat/webapps/em4bobj/dashb/.

  1. Please verify that you deployed the server-side components (em4bobj folder) into the tomcat/webapps folder.

  2. Also, navigate to the path tomcat/webapps/em4bobj/dashb/ and verify that the designer.html file exists in that folder.

  3. The configuration of your settings.js file is good. However, I recommend you make a few changes in your proxy.config file while we troubleshoot.

  4. Locate the serverUrls property and set its mustMatch attibute to false.
    e.g.
      <serverUrls mustMatch = "false">
  5. Restart your tomcat server, clear your browser cache.

  6. Create another map-enabled dashboard and verify if the error screen appears again.


Thank you
Shirley
0 Kudos
TanmayShah
Emerging Contributor
Hi Shirley,
I can see the 2 designer files at the specified path (C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\em4bobj\dashb)
viz. designer.html & designer.js
I can see another folder as tomcat also but I think we have to deploy the application in Tomcat6 folder only.

Have also modified the proxy file as suggested & restarted the tomcat server but still getting the same error.

Regards,
Tanmay
0 Kudos
ShirleyBaffoe
Esri Contributor
Hi Tanmay,

The error page you posted indicates the request was being processed by tomcat 7 and not tomcat6. Do you have multiple tomcat folders within the path C:\Program Files (x86)\SAP BusinessObjects\ ?

I suggest you deploy the software into the C:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps folder and restart tomcat, and test again.

Hope this helps.

Shirley
0 Kudos
TanmayShah
Emerging Contributor
Thanks Shirley..!! Its working now.
0 Kudos
Vara_PrasadM_S
Frequent Contributor

Hi,

While adding any data, i am not getting any list of Location Types. When i checked, i found the below url is not giving any repsonse.

http://server:8080/em4bobj/dashb/proxy.jsp?http://la.arcgis.com/common/locationproviders/LocationPro...

I am getting attached error.

I tried updating proxy.config file, by setting mustMatch = true and adding tag <serverUrl url="http://la.arcgis.com"/>. However, it did not help.

Could you please let me know what is UpStreamProxy and how to use it.

Thanks & Regards,

Vara Prasad.

error.png

0 Kudos