Skip to main content

Source code revision

svn

summary: Fix for issue http://java.net/jira/browse/GLASSFISH-16159. The upgrade tool is parsing domain.xml just to pull the version string out of it, and the document builder was trying to retrieve the DTD for validation. Thus, upgrade tool was useless without an internet connection. This change sets an "empty" entity resolver on the builder to avoid this. There is no need for the tool to actually parse this xml besides getting out the server version.
revision: 45411
author: Bobby Bissett
date: 2011-03-04 22:17:39 UTC (4 years)
message: Fix for issue http://java.net/jira/browse/GLASSFISH-16159. The upgrade tool is parsing domain.xml just to pull the version string out of it, and the document builder was trying to retrieve the DTD for validation. Thus, upgrade tool was useless without an internet connection. This change sets an "empty" entity resolver on the builder to avoid this. There is no need for the tool to actually parse this xml besides getting out the server version.

Reviewed by Tim.

Change Path Actions
M trunk/v3/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/UpgradeUtils.java
 
 
Close
loading
Please Confirm
Close