<?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 Re: Not all layers appear in Sample Flex Viewer when it first starts up. in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60400#M1392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Josh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, sometimes they all appear on the first try, probably soon after someone else was on the site so the services are refreshed and haven't been put to sleep by the system.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem probably occurs after the services are asleep and have to be restarted, which causes a delay.&amp;nbsp; Then the Flex Viewer fails to wait long enough for the service to respond and apparently writes it off and ignores it when it arrives.&amp;nbsp; This forces the user to close the browser window and restart the browser to see all of the services, now refreshed.&amp;nbsp; On the second try all the services are almost always there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What I want is a way to just tell the Flex viewer to WAIT for the service to respond.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Sep 2010 16:17:05 GMT</pubDate>
    <dc:creator>DavidWheelock</dc:creator>
    <dc:date>2010-09-24T16:17:05Z</dc:date>
    <item>
      <title>Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60394#M1386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on an app based on the Sample Flex Viewer 1.3.&amp;nbsp; When it first starts up, often not all of the layers appear.&amp;nbsp; However, if you close and reopen the browser a second time then they will probably all appear, and almost certainly appear if you close and reopen a third time.&amp;nbsp; If you don't close and reopen the browser then the layers cannot be made to appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've spoken with others who have this problem on their SFV based sites as long as a year ago, as well.&amp;nbsp; So it is not specific to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that there's a timeout on the layers and if the server doesn't deliver the layer to the browser before the timeout, then the browser just goes on like it doesn't matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone found a 100% reliable way to solve this problem and make all the layers show up the first time?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 19:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60394#M1386</guid>
      <dc:creator>DavidWheelock</dc:creator>
      <dc:date>2010-09-22T19:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60395#M1387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How many layers are in your service? One time I had a map document with a tone of layers inside and this same thing happened to me. I removed the less crucial layers and it worked without any problems after that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try recreating the service. (probably not the most helpfull advice but it's worth a shot)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 16:53:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60395#M1387</guid>
      <dc:creator>JoshCalhoun</dc:creator>
      <dc:date>2010-09-23T16:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60396#M1388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got multiple services involved.&amp;nbsp; And it's actually whole services that don't appear, rather than layers within a service.&amp;nbsp; I might have left that impression.&amp;nbsp; Either all the layers in a service show up or the whole service is just missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the services are needed for one thing or another, so it's difficult to decide which one to leave out.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that the .NET viewer can handle this, why can't Flex handle it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to make Flex wait on the tardy services?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 17:23:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60396#M1388</guid>
      <dc:creator>DavidWheelock</dc:creator>
      <dc:date>2010-09-23T17:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60397#M1389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you post your config file? I could look at it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 17:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60397#M1389</guid>
      <dc:creator>JoshCalhoun</dc:creator>
      <dc:date>2010-09-23T17:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60398#M1390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's my app:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://maps.oda.state.ok.us/pslv"&gt;http://maps.oda.state.ok.us/pslv&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The config file is attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David Wheelock&amp;nbsp;&amp;nbsp;&amp;nbsp; Application Specialist&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="mailto:david@oda.state.ok.us"&gt;david@oda.state.ok.us&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oklahoma Department of Agriculture, Food and Forestry &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2800 North Lincoln Boulevard &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oklahoma City, OK 73105-4298 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Phone: (405) 522-5477 FAX: (405) 522-3590 &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.oda.state.ok.us"&gt;http://www.oda.state.ok.us&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"We are usually convinced more easily by reasons we have found ourselves, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;than by those which have occurred to others." &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pascal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 17:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60398#M1390</guid>
      <dc:creator>DavidWheelock</dc:creator>
      <dc:date>2010-09-23T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60399#M1391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to get all of your services to work fine. Is there a particular service you were having trouble with?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 15:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60399#M1391</guid>
      <dc:creator>JoshCalhoun1</dc:creator>
      <dc:date>2010-09-24T15:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60400#M1392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Josh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, sometimes they all appear on the first try, probably soon after someone else was on the site so the services are refreshed and haven't been put to sleep by the system.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem probably occurs after the services are asleep and have to be restarted, which causes a delay.&amp;nbsp; Then the Flex Viewer fails to wait long enough for the service to respond and apparently writes it off and ignores it when it arrives.&amp;nbsp; This forces the user to close the browser window and restart the browser to see all of the services, now refreshed.&amp;nbsp; On the second try all the services are almost always there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What I want is a way to just tell the Flex viewer to WAIT for the service to respond.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 16:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60400#M1392</guid>
      <dc:creator>DavidWheelock</dc:creator>
      <dc:date>2010-09-24T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60401#M1393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you are using ArcGIS Server 10 there is a keep service alive option in Server Manager.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 17:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60401#M1393</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-09-24T17:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60402#M1394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm at 9.3.1.&amp;nbsp; I've had so MANY problems with Desktop 10 that I had no plans to go to 10 on the Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is ArcGIS Server 10 stable without a service pack?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought you of all people would know of a programmatic solution to this.&amp;nbsp; I haven't seen this problem on your Flex site.&amp;nbsp; Have you had to deal with this at any point?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 17:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60402#M1394</guid>
      <dc:creator>DavidWheelock</dc:creator>
      <dc:date>2010-09-24T17:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60403#M1395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The only time I have ever seen it is when I am debugging from my development machine and In debug mode sometimes the map will not show up so I stop and start debugging again and it is fine. The reason (I expect) that I don't have the issue in my development environment is my main vector map service has a min of 4 and max of 8 instances set instead of the default 1 and 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am running Server 10 and only had one big issue with my reverse proxy installation but that was because I was using an old version of Apache Server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 17:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60403#M1395</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-09-24T17:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60404#M1396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; Would increasing the number of instances help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 18:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60404#M1396</guid>
      <dc:creator>DavidWheelock</dc:creator>
      <dc:date>2010-09-24T18:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not all layers appear in Sample Flex Viewer when it first starts up.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60405#M1397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you have the processor and memory resources available on the server than yes. To explain it in laymens terms if one instance has gone to sleep, crashed, or is busy than one of the other instances will be used intstead to produce the map image. So the more instances you have the better off you are at have all requests to your server actually get served. There's a white paper some where years ago that I used to determine how many instances you can have verses the processor cores and memory on the server. Don't know off hand where to find that though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 18:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/not-all-layers-appear-in-sample-flex-viewer-when/m-p/60405#M1397</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-09-24T18:10:07Z</dc:date>
    </item>
  </channel>
</rss>

