aspose file tools*
The moose likes Java in General and the fly likes Hanging jdk Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Hanging jdk" Watch "Hanging jdk" New topic
Author

Hanging jdk

Adam Soren
Greenhorn

Joined: Aug 01, 2002
Posts: 4
Hi, I've recently had an issue where a java.lang.NoClassDefFoundError exception is hanging the jdk. I've found this happens with different versions. Is this correct behaviour? It means if a jar is missing from the setup the jdk hangs, this makes it difficult for our monitoring software to pick up the problem.
I'm sure I'm missing something
Thanks
Adam
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Well, unless that application was written to recover from a ClassDefNotFoundError - which it shouldn't be, then this error should terminate the application.
Why is the classpath incorrect?
[ August 02, 2002: Message edited by: Cindy Glass ]

"JavaRanch, where the deer and the Certified play" - David O'Meara
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
My guess is that you are getting the Error in one thread, but others are still running and the VM won't exit till they are done.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hanging jdk