The class XmlHelper is not compatible with the webstart environment. There is referred a JRE system classloader instead of current classoader assigned to the class. The proposed correction does not affect non-webstart applications. See the code snippet below:
public void checkAndCreateTempDtd() {
is = ClassLoader.getSystemClassLoader().getResourceAsStream( dtdJarFullFileName );
}
should be:
is = getClass().getClassLoader().getResourceAsStream( dtdJarFullFileName );
The change needs to be done at src/main/java/jpos/util/XmlHelper.java.
[Migrated from sourceforge issue tracker, added by Anonymous: https://sourceforge.net/p/jposloader/bugs/57/]
The class
XmlHelper
is not compatible with the webstart environment. There is referred a JRE system classloader instead of current classoader assigned to the class. The proposed correction does not affect non-webstart applications. See the code snippet below:should be:
The change needs to be done at src/main/java/jpos/util/XmlHelper.java.