ERROR

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

Last Published: June 16, 2023

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

The following Microsoft TechNet document describes how to do this: How to Add a Computer Account to a Group.

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

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic