I have two different programs that run fine under eclipse, but the class
loader throws a file not found error for i18n.jar when I run them
under the debugger. I suspect that some of the eclipse debug classes
may use internationalization, but don't know if this is the case.
OK, so for anyone who may run across this...One solution is to turn off the breakpoint option to stop in all exceptions (or whatevs it's called). Don't recall if/how I had this turned on in the first place, but once I deleted it, my JBoss (4.0.5_GA)server came up. Still seems like there's a problem with the exception being thrown in the first place and/or if the i18n.jar is valid with later versions of the JDK (post 1.4).
A thrown exception isn't always an indication of a problem. Exceptions are thrown to indicate that an exceptional condition was encountered. The method being called couldn't complete successfully given the context that existed when the method was invoked. The exception leaves it up to the caller to handle the exceptional condition. Class loaders are normally built hierarchically to all allow different look up strategies. When attempting to use a class loader to load a resource, the return has to be an instance of the resource. If the resource can't be located the class loader needs to throw an exception can't create a resource instance. The class loader hierarchy uses this to find the loader that can find the resource.