<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JSAPI local install and xdomain errors in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-local-install-and-xdomain-errors/m-p/466797#M43270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, from this post&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/22513-JSAPI-error-in-JBoss-(dojo"&gt;http://forums.arcgis.com/threads/22513-JSAPI-error-in-JBoss-(dojo&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to now I´ve made changes and tests and discovered that the JSAPI truncation occurs in the file &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgis_js_api/library/2.1/arcgis/index.jsp, in the line &amp;lt;jsp:include page="js/esri/jsapi.js" /&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I decided to get that files "by hand", using XHR (ugly but works).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No truncation anymore and seems that these problems are gone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the app goes a little more but doesn´t show the map and the TOC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And few seconds later, the xdomain error pops again, but for another files (see image attached).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to solve this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;already two days since I'm stuck with this problem...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pls help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adrian Barbosa&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.copel.com"&gt;http://www.copel.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 15:35:00 GMT</pubDate>
    <dc:creator>Adrian_R_Barbosa</dc:creator>
    <dc:date>2011-02-03T15:35:00Z</dc:date>
    <item>
      <title>JSAPI local install and xdomain errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-local-install-and-xdomain-errors/m-p/466797#M43270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, from this post&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/22513-JSAPI-error-in-JBoss-(dojo"&gt;http://forums.arcgis.com/threads/22513-JSAPI-error-in-JBoss-(dojo&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to now I´ve made changes and tests and discovered that the JSAPI truncation occurs in the file &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgis_js_api/library/2.1/arcgis/index.jsp, in the line &amp;lt;jsp:include page="js/esri/jsapi.js" /&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I decided to get that files "by hand", using XHR (ugly but works).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No truncation anymore and seems that these problems are gone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the app goes a little more but doesn´t show the map and the TOC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And few seconds later, the xdomain error pops again, but for another files (see image attached).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to solve this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;already two days since I'm stuck with this problem...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pls help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adrian Barbosa&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.copel.com"&gt;http://www.copel.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 15:35:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-local-install-and-xdomain-errors/m-p/466797#M43270</guid>
      <dc:creator>Adrian_R_Barbosa</dc:creator>
      <dc:date>2011-02-03T15:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI local install and xdomain errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-local-install-and-xdomain-errors/m-p/466798#M43271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you installed the local version of the JSAPI from the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_faq.htm"&gt;FAQ&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like there is still something in your html that is calling an external server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post the &amp;lt;head&amp;gt; section of the generated html page?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 14:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-local-install-and-xdomain-errors/m-p/466798#M43271</guid>
      <dc:creator>NilsRydh</dc:creator>
      <dc:date>2011-02-07T14:40:54Z</dc:date>
    </item>
  </channel>
</rss>

