This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Receiving java.lang.UnsatisfiedLinkError: ICEJ1 (Library is already loaded in another ClassLoader) on my ICEJ1 DLL. This occurs after a Tomcat restart on the first invocation of a servlet which loads the DLL, so it's not a case of having updated the servlet while Tomcat is running and attempting to reinvoke it (which as I and innumerable other victims have discovered, itself necessitates a Tomcat restart). libICEJ1.x and libICEJ1.so exist only in .../lib, there are no other copies. Could Tomcat have squirreled something somewhere else that precipitates this condition?
Could you post some more detailed information in the matter, its very hard to tell where its going wrong.
Joined: Feb 09, 2012
Not really much I can add. If the DLL-related "lib..." files exist only in the .../lib directory as far as I can tell (where they should exist), then how can they be already loaded elsewhere in a different ClassLoader? A recursive search of the directory hierarchy only shows them in /lib.