English

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

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.
  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 for Server Setup window, select the Repair option and follow the instructions in the wizard.
  2. Once the ArcGIS for Server repair is completed, run the Configure ArcGIS Server Account wizard to reapply the ArcGIS Server service account’s permissions. The following ArcGIS for Server document describes how to do this in detail: Changing the ArcGIS Server account.
    Note:
    Another method to repair the ArcGIS for Server installation is to rerun the ArcGIS for Server installation file.
    

Related Information