Actions
Bug #206
openMulgaraUserConfig uses system classloader for conf/mulgara-x-config.xml
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
The MulgaraUserConfig class uses the system class loader to find conf/mulgara-x-config.xml. In some cases, the system class loader is not necessarily the class loader that was used to load the mulgara jar, so it is unable to find the config file that is in the mulgara jar.
The simple fix is to change
URL sysUrl = [[ClassLoader]].getSystemResource(CONFIG_PATH);
to
URL sysUrl = this.getClass().getClassLoader().getResource(CONFIG_PATH);
in src/jar/server/java/org/mulgara/server/MulgaraUserConfig.java, line 89.
No data to display
Actions