Note to self: JAXP Debugging

I’m investigating a problem with Gamut, since the current version doesn’t work properly when running in Java 6. The problem seems to be related to which XML implementation classes it loads through JAXP.

Having worked out this much, I resorted (*gasp*) to reading the documentation, which pointed out the very useful system property jaxp.debug.

Sure enough, running the app with

java -Djaxp.debug=1 -jar Gamut.jar

spews out a load of information about how it is deciding which classes to use, what they are and what the classloaders are. Now I just have to figure out what it means for this application.

Post a Comment

Your email is never published nor shared. Required fields are marked *