UnsatisfiedLinkError
Ran into this little doozy today:
java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\Documentum\Shared\dmcl40.dll already loaded in another classloader
I was loading multiple Documentum-enabled web apps into the same OC4J container on Oracle Application Server 10.something. The solution was to copy the Documentum jar files (dfc.jar, etc.) into the container's applib folder, then restart the container.
People getting this type of error while using Tomcat 5.5 would probably need to copy those same jars to "Tomcat 5.5\common\lib".
Posted by rickg ( Nov 06 2007, 02:28:45 PM PST ) Permalink Comments [0]InvocationTargetException using Axis and OAS
I am having no end of grief using Apache Axis (1.4) and Oracle Application Server (OAS).
Seems like 80% of the time that I redeploy a web service, it starts returning an InvocationTargetException, even if there has been no change to the code.
Here is my process for fixing:
- Completely undeploy the web application.
- Shut down the OC4J container
- Physically delete the web application files from the Oracle applications folder on the hard drive
- Upload the new war file and create a new deployment
- Restart the OC4J container
After that, it usually starts up clean. If not...start over. Arrrg!
Posted by rickg ( Nov 06 2007, 10:55:57 AM PST ) Permalink Comments [0]
