<?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: Error Publishing GPService with name exceeding 19 characters in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275312#M10530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems I spoke too soon... I can rename the service, but after it is renamed, it won't start.&amp;nbsp; I get the following error message when trying to start the service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service failed to start&lt;BR /&gt;TestLongServiceNameFail.GPServer: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 22:50:28 GMT</pubDate>
    <dc:creator>RobertYarbrough</dc:creator>
    <dc:date>2017-11-15T22:50:28Z</dc:date>
    <item>
      <title>Error Publishing GPService with name exceeding 19 characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275308#M10526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having a problem publishing a geoprocessing service in which the name exceeds 19 characters on ArcGIS Server 10.5.1.&amp;nbsp; The service will stage and I can build a service definition just fine, but when I go to publish it, if the name of the service exceeds 19 characters, the publish will fail.&amp;nbsp; I've gone as far as to strip everything out of the python script the service calls, it still fails if the name is too long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have instances that I've upgraded from 10.3.1 to 10.5.1 and the service in question exists on an upgraded 10.5.1 server, but I cannot create the service on a fresh install.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to make this work would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 22:22:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275308#M10526</guid>
      <dc:creator>RobertYarbrough</dc:creator>
      <dc:date>2017-11-15T22:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error Publishing GPService with name exceeding 19 characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275309#M10527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this will help as a work around, but there is a tool that will let you copy a service from one AGS install to another.&amp;nbsp; It doesn't work for all types, but I have got it to work for many of our services (although just trial runs/tests, not production yet).&amp;nbsp; I also modified our copy of the tool for our purposes.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this thread if interested.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/647870-re-movecopy-services-to-another-service-directory"&gt;https://community.esri.com/message/647870-re-movecopy-services-to-another-service-directory&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 22:33:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275309#M10527</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-11-15T22:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error Publishing GPService with name exceeding 19 characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275310#M10528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should note that I have a workaround of sorts, I can publish the service with a shorter name then rename it.&amp;nbsp; The process seems to fail, but it looks like the service gets renamed.&amp;nbsp; I'd rather not have to do this, but I don't see any setting anywhere that would limit the name size of a service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 22:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275310#M10528</guid>
      <dc:creator>RobertYarbrough</dc:creator>
      <dc:date>2017-11-15T22:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error Publishing GPService with name exceeding 19 characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275311#M10529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the config-store and directories paths in a similar path, (for example C:\arcgisserver\... on each site)? What are the errors in the logs?&amp;nbsp; Is this on Windows or Linux?&amp;nbsp; Since this points to some type of pathing issue, you can try to run &lt;A href="https://docs.microsoft.com/en-us/sysinternals/downloads/procmon"&gt;ProcMon&lt;/A&gt; and filter for any file activity from the Server processes to determine if there's a write or read failure due to the path being too long, as the limit is 260 characters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 22:41:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275311#M10529</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-11-15T22:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error Publishing GPService with name exceeding 19 characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275312#M10530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems I spoke too soon... I can rename the service, but after it is renamed, it won't start.&amp;nbsp; I get the following error message when trying to start the service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service failed to start&lt;BR /&gt;TestLongServiceNameFail.GPServer: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 22:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275312#M10530</guid>
      <dc:creator>RobertYarbrough</dc:creator>
      <dc:date>2017-11-15T22:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error Publishing GPService with name exceeding 19 characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275313#M10531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm... the config stores are in similar paths, but the new one is a bit longer.&amp;nbsp; I'll try this with a shorter path name on the config store directory.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 22:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275313#M10531</guid>
      <dc:creator>RobertYarbrough</dc:creator>
      <dc:date>2017-11-15T22:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error Publishing GPService with name exceeding 19 characters</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275314#M10532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I rebuilt the site using a shorter path name, and publishing the service worked just fine with the longer name.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 23:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/error-publishing-gpservice-with-name-exceeding-19/m-p/275314#M10532</guid>
      <dc:creator>RobertYarbrough</dc:creator>
      <dc:date>2017-11-15T23:07:26Z</dc:date>
    </item>
  </channel>
</rss>

