File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes UnsatisfiedLinkError after Tomcat restart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "UnsatisfiedLinkError after Tomcat restart" Watch "UnsatisfiedLinkError after Tomcat restart" New topic
Author

UnsatisfiedLinkError after Tomcat restart

Jay Grant
Greenhorn

Joined: Feb 09, 2012
Posts: 12
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?
Sachin Pachari
Ranch Hand

Joined: Jan 16, 2012
Posts: 56

Could you post some more detailed information in the matter, its very hard to tell where its going wrong.
Jay Grant
Greenhorn

Joined: Feb 09, 2012
Posts: 12
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.
Sachin Pachari
Ranch Hand

Joined: Jan 16, 2012
Posts: 56

Try Posting the Error Stack Trace, it might give more clarity, just the type of error cant help in any possible way, so could you give more information on this matter ?
Jay Grant
Greenhorn

Joined: Feb 09, 2012
Posts: 12
Actually think I found it...there was an overlooked class file of the same name in the ROOT structure which referenced the mystery DLL...deleted it and the message disappeared.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UnsatisfiedLinkError after Tomcat restart
 
Similar Threads
Deployed Servlet and Jsp
Servlets with Tomcat 4
Tomcat 404 Error on Every New Servlet I Create
Call DLL file signed applet
Restarting apache tomcat after changes in servlet and jsps