Error while migrating proxy configuration and ACL rules. Please use fillattr.ncf to migrate manually

  • 3703610
  • 02-Mar-2008
  • 26-Apr-2012

Environment


Novell BorderManager 3.9

Situation

During the migration from Novell BorderManager 3.8 to 3.9 version, the above error is seen. Install finish and when we tried to run fillattr manually from the server console, the logger screen showed that ACL Rules migrated successfully but in the end there was an error:

"BMAccess Main: Failed to migrate Proxy Configuration
Failed. Migration did not complete successfully"

After that, going into iManager, the "Access Rules" menu worked fine, but if we wanted to access "Proxy Services" and choose the correct BM-Server-Object, we've got the message:

"Either you have selected the wrong object or the migration is not done
properly (Please run the fillattr manually)"


No matter how many times fillattr were run with the proper values, error persisted

Resolution

The exception was caused because the code was written to have maximum numbers of Default NDS Context to be 15 and there were 17 defined.
Also, if problems are encountered when migrating the proxy ip addresses, the error will be displayed
Fiexed in
bmpxy.jar file, included in bm39sp1 support pack

Additional Information

Logger screen of the unsuccessful manually fillattr looked like this:

next field : Netsock address type             

readallndsattr: java.lang.ArrayIndexOutOfBoundsException: 10

readallndsattr:
com.novell.bordermanager.proxy.migration.Addrlist.psprocessPriPu
baddrlist(Addrlist.java:187)

readallndsattr:
com.novell.bordermanager.proxy.migration.BMAccess.psProcessParam
sFromDirectory(BMAccess.java:247)

readallndsattr:
com.novell.bordermanager.proxy.migration.BMAccess.readallndsattr
(BMAccess.java:435)

readallndsattr:
com.novell.bordermanager.proxy.migration.BMAccess.migrateConfigu
ration(BMAccess.java:4262)

readallndsattr:
com.novell.bordermanager.proxy.migration.BMAccess.run(BMAccess.j
ava:4337)

BMAccess Main: Failed to migrate Proxy Configuration

Failed. Migration did not complete successfully.

java: Class com.novell.bordermanager.proxy.migration.BMAccess exited
successfull
y