ERROR

System.PublishingTools.GPServer: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset

Last Published: October 3, 2024

Error Message

In ArcGIS Server, publishing a service returns the following error message:

Error:   
System.PublishingTools.GPServer: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset

Cause

The ArcGIS Server account does not have the appropriate permissions to access the required folders. This commonly occurs in environments that apply group policies through an Active Directory, which can automatically revoke account privileges based on the policy configured.

Solution or Workaround

Warning:
It is recommended that users backup their data before proceeding. If necessary, consult with the organization's IT administrator before making the following changes.

Add the ArcGIS Server account under the Administrator group in Windows

  1. In the Windows search bar, search for and click Computer Management.
  2. In the Computer Management window, under System Tools, expand Local Users and Groups and click Groups.
  3. Right-click Administrators and select Add to Group....
  4. In the <Group name> Properties window, click Add....
  5. In the Select Users, Computers, Service Accounts, or Groups window, under Enter the object names to select (examples):, type the username of the user and click Check Names to verify the user.
  6. Click OK.

Ensure that appropriate permissions are granted to the ArcGIS Server account

For more information on the required permissions, refer to the following web help page: ArcGIS for Server: What permissions do I need to grant to the ArcGIS Server account?

Repair the ArcGIS Server installation and reapply the ArcGIS Server service account’s permissions

  1. Click Windows Start > Control Panel.
  2. From the Control Panel window, click Programs and Features.
  3. In the Uninstall or change a program window, click ArcGIS for Server and select the Uninstall/Change button.
Control panel options when repairing installation.
  1. In the ArcGIS Server Setup window, select the Repair option and follow the instructions in the wizard.
  2. Once the ArcGIS Server repair is completed, run the Configure ArcGIS Server Account wizard to reapply the ArcGIS Server service account’s permissions. The following ArcGIS Server document describes how to do this in detail: Changing the ArcGIS Server account.
Note:
Another method to repair the ArcGIS Server installation is to re-run the ArcGIS Server installation file.

Article ID:000014195

Software:
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options