java.io.EOFException: Connection closed by remote host or unexpected IO error occurred.

(Last modified: 14Jan2005)

This document (10092172) is provided subject to the disclaimer at the end of this document.

fact

Novell Nsure Identity Manager 2.01

Novell DirXML 1.1a

Novell NDS to NDS Driver

symptom

Error: java.io.EOFException: Connection closed by remote host or unexpected IO error occurred.

User will not synchronize between the two eDirectory trees.

Stream read returned -1 on data read

cause

An attribute had an invalid character of ??.  DirXML was unable to synchronize and process the character.

nspmdistributionpassword attribute was synchronizing incorrectly

fix

The attribute did not need to be synchronized.  Remove the attribute from the filters.  The attribute did not synchronize and the driver starts synchronizing objects.

The default filter settings for the nspmdistributionpassword is ignore on the publisher channel and notify on the subscriber channel. The user causing the error during the migration was not assigned a policy. Once the filter was changed back to the default settings, the migration completed successfully.

note

Part of the dstrace log

<nds dtdversion="1.1" ndsversion="8.6">
         <source>
                      <product version="1.1.2">DirXML</product>
                      <contact>Novell, Inc.</contact>
         </source>
         <input>
                     <modify class-name="User" event-id="0" src-dn="\Mytree\Novell\Users\test" src-entry-id="52728" timestamp="1079022665#7">
                     <association state="associated">{80B5F7F5-E058-d811-B14F-00034708D59A}</association>
                     <modify-attr attr-name="EMail Address">
                              <remove-value>
                                       <value type="structured">
                                                    <component name="eMailType">7</component>
                                                    <component name="eMailAddr">??</component>
                                         </value>
                               </remove-value>
                               <add-value>
                                        <value timestamp="1079022665#7" type="structured">
                                                      <component name="eMailType">7</component>
                                                      <component name="eMailAddr">test@myPOPO1</component>
                                          </value>
                                </add-value>
                   </modify-attr>
              </modify>
    </input>
</nds>

[2004/03/23 17:08:13] TRACE: NdsToNds Subscriber - eDirDept: Document sent.
[2004/03/23 17:08:13] TRACE: NdsToNds Subscriber - eDirDept: Waiting for receive...
[2004/03/23 17:08:13] TRACE: NdsToNds Subscriber - eDirDept: Stream read returned -1 on first size byte read
[2004/03/23 17:08:13] TRACE: NdsToNds Subscriber - eDirDept: Closing connection...
[2004/03/23 17:08:13] TRACE: NdsToNds Subscriber - eDirDept: Connection closed
[2004/03/23 17:08:13] TRACE: NdsToNds Subscriber - eDirDept: java.io.EOFException: Connection closed by remote host or unexpected IO error occurred.
[2004/03/23 17:08:13] TRACE: NdsToNds Subscriber - eDirDept: Remote host may have closed connection.

.

document

Document Title: java.io.EOFException: Connection closed by remote host or unexpected IO error occurred.
Document ID: 10092172
Solution ID: NOVL96201
Creation Date: 24Mar2004
Modified Date: 14Jan2005
Novell Product Class:DirXML

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.