<?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: Can't load more than 3 Local Map Service in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649316#M2006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="font-style:italic;"&gt;To continu previous discussion...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to &lt;/SPAN&gt;&lt;STRONG&gt;create a "blank mpk" with 10 sub layers&lt;/STRONG&gt;&lt;SPAN&gt; (more than 1 is my concern), instead of only one today...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when creating my dynamic map service layer, for each sub layer I can update the dynamic layer infos to point to my Raster datasource (10 rasters from same directory).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to create a blank MPK with 1 sub layer, because it's just an empty map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But &lt;/SPAN&gt;&lt;STRONG&gt;how can I prepare additional empty sub layers in ArcMap ?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2013 07:23:51 GMT</pubDate>
    <dc:creator>JeremieJoalland1</dc:creator>
    <dc:date>2013-07-08T07:23:51Z</dc:date>
    <item>
      <title>Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649306#M1996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I face limitation with the ArcGIS Runtime 10.1.1 samples "Add Shapefile" (issue is similar with "Add Raster").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just changed the source code in order to load a Local Tiled Package and used my own blank MPK to load Shpaefile/Raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run the sample application, if I try to load several Shapefiles, I always have the following Exception on the 4th file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's like my Local Server can't handle more than 3 worker processes at the same time... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;...
2013-04-12 12:09:24,821: INFO&amp;nbsp; rid=31&amp;nbsp; 'server'&amp;nbsp; mpk3 - Request handled.

2013-04-12 12:09:24,852: INFO&amp;nbsp; rid=32&amp;nbsp; 'server'&amp;nbsp; mpk - Request handled.

2013-04-12 12:09:25,055: INFO&amp;nbsp; rid=33&amp;nbsp; 'server'&amp;nbsp; mpk2 - Request handled.&amp;nbsp; -&amp;gt; Here we see that there are 3 localmapservice already loaded

2013-04-12 12:09:29,305: INFO&amp;nbsp; rid=34&amp;nbsp; 'server'&amp;nbsp; AdminWebService - POST admin/createService -&amp;gt; Here I just select a 4th shapefile

java.lang.NullPointerException
 at com.esri.map.Layer.setUrl(Unknown Source)
 at com.esri.map.DynamicLayer.setUrl(Unknown Source)
 at com.esri.map.DynamicLayer.&amp;lt;init&amp;gt;(Unknown Source)
 at com.esri.map.ArcGISDynamicMapServiceLayer.&amp;lt;init&amp;gt;(Unknown Source)
 &lt;STRONG&gt;at com.esri.client.samples.datasources.LocalShapefileApp.addShapefile(LocalShapefileApp.java:103)&lt;/STRONG&gt;
 at com.esri.client.samples.datasources.LocalShapefileApp.access$3(LocalShapefileApp.java:73)
 at com.esri.client.samples.datasources.LocalShapefileApp$3.actionPerformed(LocalShapefileApp.java:247)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
 at java.awt.Component.processMouseEvent(Component.java:6505)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
 at java.awt.Component.processEvent(Component.java:6270)
 at java.awt.Container.processEvent(Container.java:2229)
 at java.awt.Component.dispatchEventImpl(Component.java:4861)
 at java.awt.Container.dispatchEventImpl(Container.java:2287)
 at java.awt.Component.dispatchEvent(Component.java:4687)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
 at java.awt.Container.dispatchEventImpl(Container.java:2273)
 at java.awt.Window.dispatchEventImpl(Window.java:2719)
 at java.awt.Component.dispatchEvent(Component.java:4687)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
 at java.awt.EventQueue.access$200(EventQueue.java:103)
 at java.awt.EventQueue$3.run(EventQueue.java:682)
 at java.awt.EventQueue$3.run(EventQueue.java:680)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
 at java.awt.EventQueue$4.run(EventQueue.java:696)
 at java.awt.EventQueue$4.run(EventQueue.java:694)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
2013-04-12 12:09:35,071: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; ''&amp;nbsp; WebServer - Lost connection on port 50000&amp;nbsp; 

Stopping server&amp;nbsp;&amp;nbsp; -&amp;gt; I've closed the application from here
2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; ''&amp;nbsp; WebServer - Lost connection on port 50000

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=35&amp;nbsp; 'server'&amp;nbsp; AdminWebService - POST admin/shutdown?f=json

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; ServerMain - Shutting down

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; ServerMain - Terminating web services

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; AdminWebService - Terminating service blankMap.mpk

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; mpk_host - Terminate

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; AdminWebService - Terminating service blankMap.mpk2

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; mpk2_host - Terminate

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; AdminWebService - Terminating service blankMap.mpk3

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; mpk3_host - Terminate

2013-04-12 12:09:37,790: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; ServerMain - Waiting for 3 worker processes to exit. Timeout=10s.

2013-04-12 12:09:37,899: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; ''&amp;nbsp; WebServer - Lost connection on port 50000

2013-04-12 12:09:37,899: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; ServerMain - Worker processes exited.

2013-04-12 12:09:37,899: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; ServerMain - Deleting data directory C:/Windows/Temp/arcgisruntime_6452

2013-04-12 12:09:37,899: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; ServerMain - 10 filesystem object(s) removed.

2013-04-12 12:09:37,899: INFO&amp;nbsp; rid=&amp;nbsp;&amp;nbsp;&amp;nbsp; 'server'&amp;nbsp; ServerMain - Server process exiting.

Local server exited, code: 0&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception occurs on addShapefile(LocalShapefileApp.java:103), and corresponds to :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;// set up a local dynamic layer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; final ArcGISDynamicMapServiceLayer localDynamicLayer = new ArcGISDynamicMapServiceLayer(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localMapService.getUrlMapService());&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've checked for Local Server parameters in the runtime tool "Local Server Utility 10.1.1", but nothing there...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Any ideas why I have limitations for 3 local map services ???&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:44:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649306#M1996</guid>
      <dc:creator>JeremieJoalland1</dc:creator>
      <dc:date>2021-12-12T16:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649307#M1997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm seeing similar behavior loading NGA Raster Product Format (RPF) raster types. The occurrence is random based on what is being loaded: Common Imagery Base (CIB) averages on the fifth attempt, Global Navigation Chart (GNC) goes no more than three attempts, and Jet Navigation Chart (JNC) takes no more than 4 files. I'm enclosing the Runtime local server utility log and eclipse console log files when trying CIB types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The symptom is overall identical based on log entry "WebServer - Lost connection on port 50000."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 15:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649307#M1997</guid>
      <dc:creator>CarlosColón-Maldonado</dc:creator>
      <dc:date>2013-04-12T15:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649308#M1998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tried this out today and it's looking like it might be a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're looking at it... however we think we've got a workaround which we're testing out so all it not lost.&amp;nbsp; Watch this space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 14:51:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649308#M1998</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2013-04-17T14:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649309#M1999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looked at this some more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found that there doesn't appear to be a limitation to the number of local services you can run (obviously I've not gone mad adding them as you'd just run out of memory).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem here appears to be around using the same MPK file multiple times.&amp;nbsp; I modified the sample code so that is used a dedicated MPK file for each instance of the local server and I was able to add around 12 shapefiles without issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other potiential option is to add multiple shape files to a single instance of a local server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649309#M1999</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2013-04-18T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649310#M2000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think the problem here appears to be around using the same MPK file multiple times.&amp;nbsp; I modified the sample code so that is used a dedicated MPK file for each instance of the local server and I was able to add around 12 shapefiles without issue.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Mark. I was able to load lot more shapefiles and raster using a different MPK for each new local map service... so I agree, the limitation seems to appear when using the same MPK file multiple times. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However it's not good news for me, as my application should stay open on the number of shapefile/raster the user can load (even if performance could be impacted), so I will have to copy my MPK template file before each time I want to create a new local map service... not so great !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The other potiential option is to add multiple shape files to a single instance of a local server.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I'm definitly interested in your second idea :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - could you provide a sample code for this ? (multiple shp to a single instance of "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;local map service&lt;/SPAN&gt;&lt;SPAN&gt;" ?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - but will I still be able to manage layer order the same way ? (user can change layer order at any time in my app)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; if exemple I have 1 TPK, 1 GraphicsLayer and 2 Shapefiles added to same MPK instance, could I manage order like&amp;nbsp; 0-TPK&amp;nbsp; 1-SHP n°1&amp;nbsp; 2-GraphicsLayer&amp;nbsp; 3-SHP n°2 ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 08:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649310#M2000</guid>
      <dc:creator>JeremieJoalland1</dc:creator>
      <dc:date>2013-04-19T08:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649311#M2001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The other potential option is to add multiple shape files to a single instance of a local server.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ditto! I'll be watching for some sample code. The multiple sets of data to be loaded at once (RPF), I plan to keep as a representation of a single raster layer, so I am not as concerned with the layer ordering of raster file of a set since they are related. Shape files, though, can be of concern.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 21:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649311#M2001</guid>
      <dc:creator>CarlosColón-Maldonado</dc:creator>
      <dc:date>2013-04-19T21:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649312#M2002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For multiple shapefiles to one local map service, you need to have them in the same directory and then when you create your dynamic map service layer, for each sub layer you can update the dynamic layer infos to point to your shapefile datasource. The limitation here is in your available sublayers. With 3 sublayers you can add 3 shapefiles in one go, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;So I'm definitly interested in your second idea :&lt;BR /&gt; - could you provide a sample code for this ? (multiple shp to a single instance of "&lt;SPAN style="font-style:italic;"&gt;local map service&lt;/SPAN&gt;" ?)&lt;BR /&gt; - but will I still be able to manage layer order the same way ? (user can change layer order at any time in my app)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; if exemple I have 1 TPK, 1 GraphicsLayer and 2 Shapefiles added to same MPK instance, could I manage order like&amp;nbsp; 0-TPK&amp;nbsp; 1-SHP n°1&amp;nbsp; 2-GraphicsLayer&amp;nbsp; 3-SHP n°2 ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The shapefiles at this point are like sublayers of an ArcGISDynamicMapServiceLayer, so they would move as a group and not separately.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll attach a modified version of the add shapefile sample that has the multiple file selection enabled on the JFileChooser and corresponding modifications to loop through each file selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~elise&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 16:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649312#M2002</guid>
      <dc:creator>EliseAcheson1</dc:creator>
      <dc:date>2013-04-23T16:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649313#M2003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When using your sample code, after selecting multiple shapefiles from same folder, they seem all to be added correctly as sub-layers to the ArcGISDynamicMapServiceLayer, through DynamicLayerInfoCollection...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; But each time &lt;/SPAN&gt;&lt;STRONG&gt;only one (the first one) shapefile is displayed on the map&lt;/STRONG&gt;&lt;SPAN&gt; !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the for {} which add all sub-layers and just before the setDynamicLayerInfos(dynamicLayerInfos), &lt;/SPAN&gt;&lt;STRONG&gt;if I check the size of the DynamicLayerInfoCollection variable, result is 1&lt;/STRONG&gt;&lt;SPAN&gt; (should it not be 3 if I added 3 Shpaefiles ?) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - dynamicLayerInfos.size() return "1" !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - dynamicLayerInfos.getVisibleList().size() return "1" !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have this behavior ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 06:23:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649313#M2003</guid>
      <dc:creator>JeremieJoalland1</dc:creator>
      <dc:date>2013-04-24T06:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649314#M2004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was what the first part of my post was about. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use USCitiesStates.mpk for example from the sample data that comes with the SDK, I can add 3 shapefiles as it has 3 sublayers. If I use the mpk_blank, I can add one at a time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the code I attached has a couple of build errors against 10.1.1 jars, from imports that have changed packages. A simple remove/re-import solves that but just to mention it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~elise&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 08:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649314#M2004</guid>
      <dc:creator>EliseAcheson1</dc:creator>
      <dc:date>2013-04-24T08:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649315#M2005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, sorry I didn't undertand this sub-layers capacities from the blank mpk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;much clearer now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;don't worry, your code is easy to use once we redo the import and change the TPK/MPK used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help and code sample.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 09:51:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649315#M2005</guid>
      <dc:creator>JeremieJoalland1</dc:creator>
      <dc:date>2013-04-24T09:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649316#M2006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="font-style:italic;"&gt;To continu previous discussion...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to &lt;/SPAN&gt;&lt;STRONG&gt;create a "blank mpk" with 10 sub layers&lt;/STRONG&gt;&lt;SPAN&gt; (more than 1 is my concern), instead of only one today...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when creating my dynamic map service layer, for each sub layer I can update the dynamic layer infos to point to my Raster datasource (10 rasters from same directory).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to create a blank MPK with 1 sub layer, because it's just an empty map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But &lt;/SPAN&gt;&lt;STRONG&gt;how can I prepare additional empty sub layers in ArcMap ?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 07:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649316#M2006</guid>
      <dc:creator>JeremieJoalland1</dc:creator>
      <dc:date>2013-07-08T07:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649317#M2007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can add the same blank layer as many times as you want. It should not matter as you are going to dynamically change the data source etc. I hope I understood your question correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-style:italic;"&gt;To continu previous discussion...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I would like to &lt;STRONG&gt;create a "blank mpk" with 10 sub layers&lt;/STRONG&gt; (more than 1 is my concern), instead of only one today...&lt;BR /&gt;So when creating my dynamic map service layer, for each sub layer I can update the dynamic layer infos to point to my Raster datasource (10 rasters from same directory).&lt;BR /&gt;&lt;BR /&gt;I was able to create a blank MPK with 1 sub layer, because it's just an empty map.&lt;BR /&gt;But &lt;STRONG&gt;how can I prepare additional empty sub layers in ArcMap ?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your help...&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649317#M2007</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2013-07-10T14:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649318#M2008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact I was trying to add blank layers, when the blank map Package only need to contain blank Group Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So If I add 10 "new Group Layer" and create my blank Map Package, then I can add 10 rasters by changing the 10 corresponding datasources. issue resolved !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In same time, thanks to ESRI support, I found another way to &lt;/SPAN&gt;&lt;STRONG&gt;use only one process RuntimeLocalServer.exe&lt;/STRONG&gt;&lt;SPAN&gt;, and I'm able to &lt;/SPAN&gt;&lt;STRONG&gt;load multiple rasters from same or different locations&lt;/STRONG&gt;&lt;SPAN&gt; (very useful in my case to directly load DTED files which are organized in subfolders).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for that, you just need to instantiate and start the Local Map Service before calling the addRaster() method, like this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;// create a local map service and enable dynamic layers
LocalMapService localMapService = new LocalMapService(resourceMPKFile);
localMapService.setEnableDynamicLayers(true);
localMapService.start();

// Iterate on all files to add them with new WorkspaceInfo
//&amp;nbsp; pass the Local Map Service here as parameter
for (File file: fileList) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; addRaster(file.getName(), file.getParent(), transparency, localMapService);
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then in the addRaster() method, you just need to stop/restart the service, and it will add a new workspace info&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private void addMultipleRaster(final String fileName, final String fileDir,
&amp;nbsp; final int transparency, &lt;STRONG&gt;final LocalMapService localMapService&lt;/STRONG&gt;) {

 // First stop the service
 &lt;STRONG&gt;localMapService.stop();&lt;/STRONG&gt;

 // get dynamic workspaces from service
 WorkspaceInfoSet workspaceInfoSet = localMapService.getDynamicWorkspaces();

 // an arbitrary unique string
 final String workspaceId = ""+count++;

 // create a workspace info via the static method according to data type
 // e.g. raster folder connection
 WorkspaceInfo workspaceInfo = WorkspaceInfo.CreateRasterFolderConnection(workspaceId, fileDir);
 // also:
 // --&amp;gt; WorkspaceInfo.CreateSDEConnection
 // --&amp;gt; WorkspaceInfo.CreateShapefileFolderConnection
 // --&amp;gt; WorkspaceInfo.CreateFileGeoDatabaseConnection

 // Add this one raster workspaceInfo to the set of workspaces
 workspaceInfoSet.add(workspaceInfo);

 // set dynamic workspaces for our local map service
 localMapService.setDynamicWorkspaces(workspaceInfoSet);

 // now (re)start the service...
&lt;STRONG&gt; localMapService.start();&lt;/STRONG&gt;

 ...&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, we can use the initial blank Map Package with only one default group layer.... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;seems to work fine, but it can take some time, because of the stop/restart issue for each file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I still need to perform stress test on this solution...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649318#M2008</guid>
      <dc:creator>JeremieJoalland1</dc:creator>
      <dc:date>2021-12-12T03:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649319#M2009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;.... seems to work fine, but it can take some time, because of the stop/restart issue for each file.&lt;BR /&gt;and I still need to perform stress test on this solution...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Consider the asynchronous operations of &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalService.html#stopAsync()"&gt;stopAsync&lt;/A&gt;&lt;SPAN&gt; with a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalService.html#addLocalServiceStopCompleteListener(com.esri.client.local.LocalServiceStopCompleteListener)"&gt;addLocalServiceStopCompleteListener&lt;/A&gt;&lt;SPAN&gt; event to load the rasters, and the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalMapService.html#startAsync()"&gt;startAsync&lt;/A&gt;&lt;SPAN&gt; with a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalService.html#addLocalServiceStartCompleteListener(com.esri.client.local.LocalServiceStartCompleteListener)"&gt;addLocalServiceStartCompleteListener&lt;/A&gt;&lt;SPAN&gt; event to keep your app responsive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is good work, Jeremie! Does this not work if you stop the service for all work space creation/file loading? Have you tried using the geodatabase connection method to persist loaded rasters on app restart?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 13:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649319#M2009</guid>
      <dc:creator>CarlosColón-Maldonado</dc:creator>
      <dc:date>2013-07-15T13:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649320#M2010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Consider the asynchronous operations of &lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalService.html#stopAsync()"&gt;stopAsync&lt;/A&gt; with a &lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalService.html#addLocalServiceStopCompleteListener(com.esri.client.local.LocalServiceStopCompleteListener)"&gt;addLocalServiceStopCompleteListener&lt;/A&gt; event to load the rasters, and the &lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalMapService.html#startAsync()"&gt;startAsync&lt;/A&gt; with a &lt;A href="http://resources.arcgis.com/en/help/runtime-java/apiref/com/esri/client/local/LocalService.html#addLocalServiceStartCompleteListener(com.esri.client.local.LocalServiceStartCompleteListener)"&gt;addLocalServiceStartCompleteListener&lt;/A&gt; event to keep your app responsive.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're right, and after some time, I was able to implement a solution with asynchronous operations ! It's much better for user as it can take some time to load DTED or CADRG Tiles...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my code allows user to select one folder, then all tiles contained in subfolder are loaded automaticaly by package of maximum X tiles, where X depends of number of layers/datasources in my Blank Map Package. Inconvenient is performance, as 1 local server process is running for each package, in my case 14 processes for 160 DTED tiles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does this not work if you stop the service for all work space creation/file loading? Have you tried using the geodatabase connection method to persist loaded rasters on app restart?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried to use another solution : I definitly can only start a local service once with several workspace info, then on start completed add several dynamic layers and for each layer, define the datasource on layer initiliazed completed event, in order to add my tiles... however, it's not working all fine at this time, as I got error message when I try to load to much tiles ... I'm still looking at this, but hope it can be a better solution, as it definitly use less memory with only one process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, in my case I can't use geodatabase / ESRI specific data format, so no geodatabase. we persist our map configuration by serialization. (in fact, I would need to be able to create new geodatabase, then generate Mosaic Dataset with my local tiles - all this by Geoprocessing Package with ArcGIS Runtime... but I guess I need some Tools to be authorized for ArcGIS Runtime first)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 14:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649320#M2010</guid>
      <dc:creator>JeremieJoalland1</dc:creator>
      <dc:date>2013-09-11T14:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649321#M2011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You're right, and after some time, I was able to implement a solution with asynchronous operations ! It's much better for user as it can take some time to load DTED or CADRG Tiles...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad you're able to get it done. This is how I start the local server and load map services for each of my raster types along with a base map for raster management/footprint viewing mode, all while not missing a beat at startup. At least, these process' instances do not take away from the java VM memory our app needs to fully function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I also tried to use another solution : I definitly can only start a local service once with several workspace info ... I'm still looking at this, but hope it can be a better solution, as it definitly use less memory with only one process.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've begged for more clarification (and documentation) on the proper use of the workspace API with no avail. Perhaps, we won't see this until an advanced course gets put together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;also, in my case I can't use geodatabase / ESRI specific data format, so no geodatabase. we persist our map configuration by serialization. (in fact, I would need to be able to create new geodatabase, then generate Mosaic Dataset with my local tiles - all this by Geoprocessing Package with ArcGIS Runtime... but I guess I need some Tools to be authorized for ArcGIS Runtime first)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're not alone, brother. Hopefully, ESRI will realize this and get us what we need. We're at a stop because we can't add rasters to a file geodatabase where the mosaic datasets reside. Help this cause by giving me your vote &lt;/SPAN&gt;&lt;A href="http://ideas.arcgis.com/ideaView?id=087E00000004pNlIAI"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 11:28:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649321#M2011</guid>
      <dc:creator>CarlosColón-Maldonado</dc:creator>
      <dc:date>2013-09-16T11:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't load more than 3 Local Map Service</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649322#M2012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem, that I cannot load more than one tif file at the same time. They are just loaded one after another...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;So one question is about the following what Jeremie Joalland wrote:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;"In fact I was trying to add blank layers, when the blank map Package only need to contain blank Group Layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;So If I add 10 "new Group Layer" and create my blank Map Package, then I can add 10 rasters by changing the 10 corresponding datasources. issue resolved !"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;What do you mean with corresponding datasource? Where do I need to change this? (And what exactly do I have to change?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Second question you wrote that you have only 1 local server running, but 14 Processes. I'm not sure if it works by you or not. So this means you &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;load 14 times a different tile at the same time? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;But this only works with the mpk file changed to allow the number of processes (14)? Right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 12:49:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/can-t-load-more-than-3-local-map-service/m-p/649322#M2012</guid>
      <dc:creator>TorbenWiggerich</dc:creator>
      <dc:date>2014-09-18T12:49:32Z</dc:date>
    </item>
  </channel>
</rss>

