I have deployed a struts application on JRun 3.0. Whenever I start the applicatoin server, I see error message in the error log saying something like "parsing error on resource file path WEB-INF/struts-config.xml" and "NoSuchMethodError getXMLReader()". I read some discussion on the web, and knew this is because the XML parser with JRun 3.0 is too old to read the struts 1.1 config file. So I followed the most common solution, explicitly force JRun to load a newer xerces.jar first by modifying the classpath defined in the global.properties file, and the error is gone. However, the problem is, I can only do this on the testing server. I have no privilege to do such trick on the production server. So, is there any other workaround to do the same thing, that is, force JRun to use a newer xerces.jar, at least for my application, and the setting can be done at an applicatoin-wise level, so that I have enough privilege to do so? I don't mind even modifying my source code to load the classes in Runtime. I just want to avoid modifying the server-wise setting.
That new kid is a freak. Show him this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!