JBoss Community

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

created by Scale It in JBoss Web Services - View the full discussion

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);

            inputSource.setSystemId(systemId);

         }        

         else

         {

            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