Environment
Novell Identity Manager 3.6.1
Novell Identity Manager 3.6
Novell Identity Manager 3.5.1
Novell Identity Manager Driver - SAP HR
Novell Identity Manager Driver - SAP User Management
Situation
After updating my Windows JCO3 to a newer version. The driver fails to start with the following java exception.
DirXML Log Event -------------------
Driver = \PICASSO_TREE\novell\infrastructure\PICASSO_DRIVERSET\SAP User Management CMP
Thread = Subscriber
Level = fatal
Message = Exception caused by DriverShim.init()
java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\sapjco3.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:212)
at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:73)
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
at com.sap.conn.jco.rt.RuntimeEnvironment.<init>(RuntimeEnvironment.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sap.conn.jco.ext.Environment.getInstance(Environment.java:121)
at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:216)
at com.novell.nds.dirxml.driver.SAP.environment.JCoEnvironment.registerJCOProviders(JCoEnvironment.java:34)
at com.novell.nds.dirxml.driver.sapumshim.SAPDriverShim.init(SAPDriverShim.java:113)
at com.novell.nds.dirxml.remote.loader.Driver.startDriver(Driver.java:361)
at com.novell.nds.dirxml.remote.loader.Driver.driverStart(Driver.java:90
DirXML: [02/18/10 11:48:43.45]: )
at com.novell.nds.dirxml.remote.loader.RemoteLoader.run(RemoteLoader.java:950)
at java.lang.Thread.run(Thread.java:619)
DirXML: [02/18/10 11:48:43.45]: TRACE: Remote Loader: Sending...
DirXML: [02/18/10 11:48:43.45]: TRACE: <nds dtdversion="3.5" ndsversion="8.x">
Driver = \PICASSO_TREE\novell\infrastructure\PICASSO_DRIVERSET\SAP User Management CMP
Thread = Subscriber
Level = fatal
Message = Exception caused by DriverShim.init()
java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\sapjco3.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:212)
at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:73)
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
at com.sap.conn.jco.rt.RuntimeEnvironment.<init>(RuntimeEnvironment.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sap.conn.jco.ext.Environment.getInstance(Environment.java:121)
at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:216)
at com.novell.nds.dirxml.driver.SAP.environment.JCoEnvironment.registerJCOProviders(JCoEnvironment.java:34)
at com.novell.nds.dirxml.driver.sapumshim.SAPDriverShim.init(SAPDriverShim.java:113)
at com.novell.nds.dirxml.remote.loader.Driver.startDriver(Driver.java:361)
at com.novell.nds.dirxml.remote.loader.Driver.driverStart(Driver.java:90
DirXML: [02/18/10 11:48:43.45]: )
at com.novell.nds.dirxml.remote.loader.RemoteLoader.run(RemoteLoader.java:950)
at java.lang.Thread.run(Thread.java:619)
DirXML: [02/18/10 11:48:43.45]: TRACE: Remote Loader: Sending...
DirXML: [02/18/10 11:48:43.45]: TRACE: <nds dtdversion="3.5" ndsversion="8.x">
Resolution
The latest JCO requires the Microsoft Visual C++ 2005 Redistributable Package. It can be downloaded here... http://www.microsoft.com/downloads/details.aspx?familyid=766A6AF7-EC73-40FF-B072-9112BAB119C2&displaylang=en