geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Kleineikenscheidt" <>
Subject XBean Classloader Issues
Date Wed, 09 Aug 2006 21:41:51 GMT

Hi all,

i'm trying to embed XBean in an existing system, which classloader doesn't
return sensible values when calling
  cl.getImplementationVersion();  or

#1 results in a NPE thrown by Spring, when calling

#2 results in XBean not finding the property files, which contain the custom

As I can't change the classloader easily, I have created a simple solution
which lets XBean read a system property *after* everything else has failed.
The system property points to a directory, where XBean can load the property
files plus an additional file, which contains a property

What do you think about this solution?  Should I open an issue for that and
attach my patch?

Thanks for feedback,

Stefan Kleineikenscheidt           tel. +49 (711) 99 33 035
Rosenbergstr. 58                   mob. +49 (172) 130 54 77
70176 Stuttgart (GERMANY)

View raw message