[jboss-user] [JBoss Web Services] - Re: Trying to resolve systemId as a non-file URL

Scale It do-not-reply at jboss.com
Tue Apr 3 03:16:11 EDT 2012

Scale It [https://community.jboss.org/people/meselfe] created the discussion

"Re: Trying to resolve systemId as a non-file URL"

To view the discussion, visit: https://community.jboss.org/message/727908#727908

Looking at the code of the JBossEntityResolver Im still not sure what the warning is about but yeah im going to adjust the logging level.

URL url = new URL(systemId);
if (warnOnNonFileURLs && url.getProtocol().equalsIgnoreCase("file") == false)
            log.warn("Trying to resolve systemId as a non-file URL: " + systemId);

         InputStream ins = url.openStream();
if (ins != null)
            inputSource = new InputSource(ins);
            log.warn("Cannot load systemId as URL: " + systemId);

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120403/b9cef2ae/attachment.html 

More information about the jboss-user mailing list