WebSphere Application Server - Problems with ContextClassLoader and bundleresource

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > March 2007 > Problems with ContextClassLoader and bundleresource





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problems with ContextClassLoader and bundleresource

2007-03-22, 7:31 am

I use Thread.currentThread().getContextClassLoader().getResources("") to determine what's installed and loaded on my server and, therefore, what functionality is available to the end user.

Since upgrading to 6.1, instead of getting a proper path to a file, I get a reference to "bundleresource://22/" - how do I resolve this into a proper URL?

Thanks in advance

2007-03-22, 1:30 pm

I have actually managed to solve this problem myself, and since discovered that it doesn't seem to be of any relevance to me to be able to do this. The main problem for me is that, since upgrading to 6.1, Websphere is no longer finding the EAR file for t
he application running, therefore it can't determine what classes are installed.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com