Native Library X already loaded in another classloader
Posted: Mon Dec 04, 2006 8:25 pm
I'm working on a project that uses extension jar files to retrieve additional content from a Documentum docbase. These jars reference a dll on the system that provides the connection to the docbase in a similar way to how a database driver might offer connection to a database.
I had gotten transformations to work in oXygen 7.0 by a combination of dropping the extension jars into the oXygen lib folder and amending the classpath in the oxygen.ini to include c:\Documentum\config. Whilst this still works, I would prefer to use the per scenario extensions functionality that was introduced in oXygen 7.2
I removed the custom jar files from the lib folder and placed them elsewhere on my system. I then added them to a transformation scenario via the extensions option. Everything works as it should for the first transform executed after starting oXygen. However the second and subsequent transforms return the error "java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\Documentum\Shared\dmcl40.dll already loaded in another classloader". This error persists until the oXygen IDE is restarted.
I found a report of a similar bug in Eclipse with a database driver which may provide some useful information to a developer looking into the matter.
System
Windows XP SP2
Oxygen 7.2 - 8.0
JRE 1.4.2_10
Regards,
--
Darren
I had gotten transformations to work in oXygen 7.0 by a combination of dropping the extension jars into the oXygen lib folder and amending the classpath in the oxygen.ini to include c:\Documentum\config. Whilst this still works, I would prefer to use the per scenario extensions functionality that was introduced in oXygen 7.2
I removed the custom jar files from the lib folder and placed them elsewhere on my system. I then added them to a transformation scenario via the extensions option. Everything works as it should for the first transform executed after starting oXygen. However the second and subsequent transforms return the error "java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\Documentum\Shared\dmcl40.dll already loaded in another classloader". This error persists until the oXygen IDE is restarted.
I found a report of a similar bug in Eclipse with a database driver which may provide some useful information to a developer looking into the matter.
System
Windows XP SP2
Oxygen 7.2 - 8.0
JRE 1.4.2_10
Regards,
--
Darren