java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

  • 7010142
  • 09-Feb-2012
  • 26-Apr-2012

Environment

Novell Identity Manager 3.6.1
Role and Resources Services Driver

Situation

After updating the IDM 3.6.1 engine with IDM 3.6.1 Engine Patch 4b Build 3.6.15 it introduces an issue where the Role and Resources Service driver does not start.

The trace will show

[02/09/12 13:56:12.385]:Role and Resource Service ST:
DirXML Log Event -------------------
     Driver:   \TREE\system\Driver Set\Role and Resource Service
     Status:   Error
     Message:  Code(-9010) An exception occurred: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.<clinit>(MultiThreadedHttpConnectionManager.java:69)
        at com.novell.soa.ws.impl.transport.http.Http.<clinit>(Http.java:102)
        at com.novell.soa.ws.impl.transport.http.HttpEndPoint.<init>(HttpEndPoint.java:66)
        at com.novell.soa.ws.impl.transport.http.HttpHandler.createEndpoint(HttpHandler.java:72)
        at com.novell.soa.ws.impl.rpc.ClientDelegateImpl.setTargetEndpointAddress(ClientDelegateImpl.java:295)
        at com.novell.soa.af.impl.soap.ProvisioningServiceImpl.createCalls(ProvisioningServiceImpl.java:211)
        at com.novell.soa.af.impl.soap.ProvisioningServiceImpl.initialize(ProvisioningServiceImpl.java:27)
        at com.novell.soa.af.impl.soap.ProvisioningServiceImpl.<init>(ProvisioningServiceImpl.java:20)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)

Resolution

Currently there is no official solution available, but LogFactory is provided by commons-logging.jar which is available from http://commons.apache.org/logging/download_logging.cgi

1) download commons-logging-1.1.1.bin.(tar.gz or zip)
2) unpack the file
3) copy commons-logging-1.1.1.jar to the ../dirxml/classes directory
4) restart eDirectory 

Then the Role and Resources Services driver will start

Additional Information

This have been reported to engineering.