Groupwise 2014 REST driver fails to add user - return status code: 404

  • 7016436
  • 17-Apr-2015
  • 17-Apr-2015

Environment


NetIQ Identity Manager 4.0.2
NetIQ Identity Manager 4.5
NetIQ Identity Manager Driver - Groupwise 2014 REST Driver

Situation

A "GroupWise Error:  com.novell.gw.dirxml.driver.rest.exceptions.InvalidResponseException: Invalid response received while adding the object /gwadmin-service/domains/T-GWDomain/postoffices/T-PO/users with http return status code: 404"   is received when trying to synchronize new users over with the Groupwise 2014 REST Driver.

-------------Snipit of the driver trace--------------------------
[03/27/15 13:00:55.867]:**GW2014** ST:GroupWise2014:      Add Event
[03/27/15 13:00:55.867]:**GW2014** ST:GroupWise2014:      class-name = User
[03/27/15 13:00:55.868]:**GW2014** ST:GroupWise2014:      Domain.PostOffice.Object = T-GWDomain.T-PO.user1
[03/27/15 13:00:55.868]:**GW2014** ST:GroupWise2014:      Setting up SSL connection..........
[03/27/15 13:00:55.893]:**GW2014** ST:GroupWise2014:      Directory Id is available, this object will be linked to directory : VAULT
[03/27/15 13:00:55.894]:**GW2014** ST:GroupWise2014:      Setting up SSL connection..........
[03/27/15 13:00:55.895]:**GW2014** ST:GroupWise2014:      <?xml version="1.0" encoding="UTF-8"?>
<user><name>arbass</name><givenName>ALYSA</givenName><middleInitial>A</middleInitial><surname>BASS</surname><loginDisabled>0</loginDisabled><ldapId>5D1479E602B56D44E5A25D1479E602B5</ldapId><directoryId>VAULT</directoryId><ldapDn>CN=user1,OU=users,O=netiq</ldapDn><domainName>T-GWDomain</domainName><postOfficeName>T-PO-</postOfficeName><password>99999</password></user>
[03/27/15 13:00:55.920]:**GW2014** ST:GroupWise2014:      https://172.0.0.1:9710/gwadmin-service/domains/T-GWDomain/postoffices/T-PO/users
[03/27/15 13:00:55.921]:**GW2014** ST:GroupWise2014:      Add response: 404
[03/27/15 13:00:55.922]:**GW2014** ST:GroupWise2014:      com.novell.gw.dirxml.driver.rest.exceptions.InvalidResponseException: Invalid response received while adding the object /gwadmin-service/domains/T-GWDomain/postoffices/T-PO-STU/users with http return status code: 404
    at com.novell.gw.dirxml.driver.rest.common.GWengine.processAddEvent(Unknown Source)
    at com.novell.gw.dirxml.driver.rest.common.GWengine.execute(Unknown Source)
    at com.novell.gw.dirxml.driver.rest.shim.GWsubscriptionShim.execute(Unknown Source)
    at com.novell.nds.dirxml.engine.Subscriber.execute(Subscriber.java:451)
    at com.novell.nds.dirxml.engine.Subscriber.execute(Subscriber.java:285)
    at com.novell.nds.dirxml.engine.Subscriber$AddProcessor.process(Subscriber.java:1507)
    at com.novell.nds.dirxml.engine.Subscriber$ModifyProcessor.process(Subscriber.java:1558)
    at com.novell.nds.dirxml.engine.Subscriber.processEvent(Subscriber.java:1132)
    at com.novell.nds.dirxml.engine.Subscriber.processEvents(Subscriber.java:949)
    at com.novell.nds.dirxml.engine.Driver.submitTransaction(Driver.java:764)
    at com.novell.nds.dirxml.engine.DriverEntry.submitTransaction(DriverEntry.java:1128)
    at com.novell.nds.dirxml.engine.DriverEntry.processCachedTransaction(DriverEntry.java:1012)
    at com.novell.nds.dirxml.engine.DriverEntry.eventLoop(DriverEntry.java:820)
    at com.novell.nds.dirxml.engine.DriverEntry.run(DriverEntry.java:597)
    at java.lang.Thread.run(Thread.java:745)

[03/27/15 13:00:55.925]:**GW2014** ST:GroupWise2014:     
*** GroupWise Error:  com.novell.gw.dirxml.driver.rest.exceptions.InvalidResponseException: Invalid response received while adding the object /gwadmin-service/domains/T-GWDomain/postoffices/T-PO/users with http return status code: 404

Resolution

Make sure the name of the LDAP Server you create in the Groupwise Administrator for the driver, matches the treename of the tree for the server the Groupwise Driver is running on.

Per the Groupwise 2014 REST Driver Documentation:

3.1.5 Associating Identity Vault with GroupWise System
2 a.  Name: Specify the name of your Identity Vault (eDirectory tree).

The name of your LDAP Server you create in the Groupwise Administration tool, must match the name of your tree.

Cause

The name the LDAP Server in the Groupwise Administration tool was T-IDM-VAULT11.
The treename was:  VAULT

Hence they do not match thus generating a 404 file not found error because it cannot find the LDAP Server in Groupwise for the driver.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.