java.lang.IllegalArgumentException: URI scheme is not "file" (Doc ID 2064099.1)

Last updated on JULY 24, 2017

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

On CCB 2.4.0.3/FW 4.3, Inbound Web services having XSL defined will fail with 'java.lang.IllegalArgumentException: URI scheme is not "file"' if 'com.oracle.ouaf.xsl.dir' property is not defined as 'file:${xsl_dir_name}'. On the other hand, if this property is defined this way the deployment process fails on 'XSL File ${filename} doesn't exist'.

For example, such error in the response,

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Header/>
  <env:Body>
  <env:Fault>
  <faultcode>env:Client</faultcode>
  <faultstring>Client error</faultstring>
  <detail>
  <ouaf:Fault xmlns:ouaf="http://ouaf.oracle.com/">
  <ResponseStatus>F</ResponseStatus>
  <ResponseCode>1016</ResponseCode>
  <ResponseText>java.lang.IllegalArgumentException: URI scheme is not "file"</ResponseText>
  <ResponseData number="1016" category="11011" text="Unexpected error during request processing. URI scheme is not "file"" numParm="1" parm1="URI scheme is not "file""/>
  <ServerMessage/>
  </ouaf:Fault>
  </detail>
  </env:Fault>
  </env:Body>
</env:Envelope>   

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms