DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13307>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13307

Need to specify classLoader when loading resources...





------- Additional Comments From [EMAIL PROTECTED]  2004-01-26 05:01 -------
It's been awhile since I looked at this code, and I don't have the source in 
front of me now.  But going from my first paragraph, If you don't specify a 
classLoader to ResourceBundle, then it uses the classloader that ResourceBundle 
was loaded with.(<--Which is not necessarily the classloader that the calling 
class was loaded with.).

If that doesn't wash with what you know, let me know and I'll investigate it 
some more when I get back to work and have access to the source.

I gave up on trying to embed Catalina within my application.  We had originally 
been using Jetty, but were told at the time that we weren't allowed to use it 
because of it's Foreign origins.(You know...you can't trust those Aussies. ;-
) )  I then tried to embed Tomcat, but found that it was easier to write my own 
simple servlet container.  Eventually, we convinced our security folks to trust 
the Aussies and we reverted to using Jetty.  We still use Tomcat for most of 
our stuff, but Jetty is infinitely easier to embed.

Hope this helps.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to