I have an xml file that i use to store an application configuration with the option of being updated offline. Now when my web application starts, the SAXParser is loaded fine. The problem arises when i try to reload the xml file. I get the following errors:
java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to load resource [com.sun.org.apache.xerces.internal.parsers.SAXParser], because it has not yet been started, or was already stopped
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1411)
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1369)
at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:49)
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:187)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:150)
what would be the problem? I work with jdk 6u26 netbeans 6.9.1 and glassfish3.1