<?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: Local services not starting on deployment. in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286413#M833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, little update, got it working with the help of one of the IT guys. we figured it was a networking issue. But something is still off, in the MPK only certain layers show up on the URL (out of 41 layers total, only 7 show up; and its not the first seven). I am going to try to recompile the MPK later tonight and see if that fixes it. I know on the SDK pc all 41 show up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2014 17:57:40 GMT</pubDate>
    <dc:creator>IbrahimHussein</dc:creator>
    <dc:date>2014-01-10T17:57:40Z</dc:date>
    <item>
      <title>Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286410#M830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to test my app on a different computer. I embedded my testing license string and chose the local service from the deployment tool. my folder consists of xyz/argisruntime10.2 with client/localserver/resoures inside of that. I also have xyz/xyz.jar and xyz/mpk and tpk local data. When I run it on my machine (the one with the SDK installed) the mpk loads fine, but when I load it on a different machine the mpk does not load. TPK loads just fine on both machines, which makes me assuming it has do with one of the DLLs not initializing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I entered&amp;nbsp; messagemapserver()&amp;nbsp; and it just says "Starting Map Service ..." as a way to debug it and see if I get any info . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any clue what I am doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using eclipse Kepler, arcgis runtime sdk 10.2&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 18:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286410#M830</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-01-07T18:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286411#M831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ibrahim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering if you have deployed all the files you need for the local server which is what you need for your MPK files.&amp;nbsp; The fact that your TPK&amp;nbsp; suggests this as a tile package doesn't use the local server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have an application which uses the local server I would expect to see the following directories under the arcgisruntime10.2 folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - client32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - client64&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - LocalSever32 (files for the local server if you are 32bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - LocalServer64 (files for the local server if you are 64bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - resources&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you familiar with the deployment tool?&amp;nbsp; This helps you build a deployment based on the functionalily you have added to your application.&amp;nbsp; The LocalServer directories contain quite a lot of files which might not all be needed.&amp;nbsp; You can copy them all (this is very easy, but your deployment might be a bit bigger than needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that my answer is assuming you are using Windows; but the story is very similar for Linux.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how you get on.&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, 08 Jan 2014 08:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286411#M831</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2014-01-08T08:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286412#M832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ibrahim,&lt;BR /&gt;&lt;BR /&gt;I'm wondering if you have deployed all the files you need for the local server which is what you need for your MPK files.&amp;nbsp; The fact that your TPK&amp;nbsp; suggests this as a tile package doesn't use the local server.&lt;BR /&gt;&lt;BR /&gt;If you have an application which uses the local server I would expect to see the following directories under the arcgisruntime10.2 folder:&lt;BR /&gt;&lt;BR /&gt; - client32&lt;BR /&gt; - client64&lt;BR /&gt; - LocalSever32 (files for the local server if you are 32bit)&lt;BR /&gt; - LocalServer64 (files for the local server if you are 64bit)&lt;BR /&gt; - resources&lt;BR /&gt;&lt;BR /&gt;Are you familiar with the deployment tool?&amp;nbsp; This helps you build a deployment based on the functionalily you have added to your application.&amp;nbsp; The LocalServer directories contain quite a lot of files which might not all be needed.&amp;nbsp; You can copy them all (this is very easy, but your deployment might be a bit bigger than needed.&lt;BR /&gt;&lt;BR /&gt;Note that my answer is assuming you are using Windows; but the story is very similar for Linux.&lt;BR /&gt;&lt;BR /&gt;Let me know how you get on.&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply, Yeah this is windows, sorry should have mentioned that; I have that structure you pointed out within arcgisruntime10.2 folder. I went ahead and selected all features from the deployment just to be safe and tested it out and I got the same results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some additional information: I copied over the Local Server app from the SDK sample (and just put my own mpk) and exported it. I tested both my xyz.jar app and the LocalServerApp.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested both jars on 4 computers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Computer 1 - 32 bit - where the SDK is installed (works perfectly for both jars) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Computer 2 - 32 bit - On localServerApp, when I press start server it says&amp;nbsp; "Starting Local Server..." (and never starts, no error). and on xyz.jar tpk shows, mpk does not like before.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Computer 3 - 32 bit - same as computer 2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Computer 4 - 64 bit - (different network than the first three) same as above. just says "Starting Local Server..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit - I noticed when I run both jars on Computer 1 I dont see the server running off of my USB drive, which leads me to assume thats why it works on this computer and not others. When I run them on Computers 2,3,4 I do see that the server is running on the USB drives. could it be a licensing issue? I did enter the testing-standard string into my main function and I do get the warning message when I open the app.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 11:51:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286412#M832</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-01-08T11:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286413#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, little update, got it working with the help of one of the IT guys. we figured it was a networking issue. But something is still off, in the MPK only certain layers show up on the URL (out of 41 layers total, only 7 show up; and its not the first seven). I am going to try to recompile the MPK later tonight and see if that fixes it. I know on the SDK pc all 41 show up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 17:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286413#M833</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-01-10T17:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286414#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hey, little update, got it working with the help of one of the IT guys. we figured it was a networking issue. But something is still off, in the MPK only certain layers show up on the URL (out of 41 layers total, only 7 show up; and its not the first seven). I am going to try to recompile the MPK later tonight and see if that fixes it. I know on the SDK pc all 41 show up.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A little more info on this, the 7 layers that are showing up are the feature data sets; within those sets are layers which are not showing up. Tried to make a new MPK, same results. anyone else encounter this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 13:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286414#M834</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-01-13T13:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286415#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ibrahim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I've not been on the forum for a few days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Great to hear you have partially solved the issue.&amp;nbsp; Now the fact that you only see a few of layers on one machine, but all of them on another suggests we should be taking a closer look at your MPK...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One idea might be when you create your package in ArcMap are you unchecking the option for "Include enterprise data instead of referencing data"?&amp;nbsp; So if your MPK contains reference data are you able to get to it?&amp;nbsp; If it's a file path can you read it from your other machine?&amp;nbsp; If it's an SDE direct connect link to Oracle for axample, do you have the Oracle client setup?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also when you create the MPK does your Analyse button give you any clues about potential issues?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 10:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286415#M835</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2014-01-14T10:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286416#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Ibrahim,&lt;BR /&gt;&lt;BR /&gt;Sorry I've not been on the forum for a few days.&lt;BR /&gt;&lt;BR /&gt;Great to hear you have partially solved the issue.&amp;nbsp; Now the fact that you only see a few of layers on one machine, but all of them on another suggests we should be taking a closer look at your MPK...&lt;BR /&gt;&lt;BR /&gt;One idea might be when you create your package in ArcMap are you unchecking the option for "Include enterprise data instead of referencing data"?&amp;nbsp; So if your MPK contains reference data are you able to get to it?&amp;nbsp; If it's a file path can you read it from your other machine?&amp;nbsp; If it's an SDE direct connect link to Oracle for axample, do you have the Oracle client setup?&lt;BR /&gt;&lt;BR /&gt;Also when you create the MPK does your Analyse button give you any clues about potential issues?&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey Mark, thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah I am unchecking the "Include eterpise data" and checking reference all data, is that correct? its a file path, no oracle client setup. Analyse returns clean. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The left side of the image is the mpk url from my SDK computer, and the right is the mpk url from the deployment computers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;on the right, where the 7 layers are showing up, those 7 are group layers (and within those groups are a bunch of sublayers). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering if this is another firewall issue, since it works on the SDK machine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 12:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286416#M836</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-01-14T12:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286417#M837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay so lets dig into the wMeters layer as a example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to consider:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - What is the layer data source? - I'm assuming it's likely to be a file geodatabase or shape file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Can you access the path which is referenced in the MPK?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you say this sounds like a permissions or firewall issue which always makes life interesting &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 13:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286417#M837</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2014-01-14T13:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Local services not starting on deployment.</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286418#M838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Okay so lets dig into the wMeters layer as a example.&lt;BR /&gt;&lt;BR /&gt;Try to consider:&lt;BR /&gt; - What is the layer data source? - I'm assuming it's likely to be a file geodatabase or shape file&lt;BR /&gt;&lt;STRONG&gt; - Can you access the path which is referenced in the MPK?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;As you say this sounds like a permissions or firewall issue which always makes life interesting &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Mark&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Spot on dude, the referenced datas drive was blocked on the deployment machine. thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 14:10:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-services-not-starting-on-deployment/m-p/286418#M838</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-01-14T14:10:12Z</dc:date>
    </item>
  </channel>
</rss>

