Unable To Deploy Custom Code Error "Java.net.MalformedURLException: no protocol" (Doc ID 887942.1)

Last updated on JULY 10, 2017

Applies to:

Oracle Communications Order and Service Management - Version 6.3.1 and later
Information in this document applies to any platform.
This problem can occur on any platform.
** Reviewed relevance - this note is still useful

Symptoms

The script build.xml creates the EAR required (using assembleAutomations) ant, but when running build.xml for deploying (using deployAutomations), an malformed URL exception is caused.

BUILD FAILED

D:\development\workspaces\osm_automator\OSM_Automator\build.xml:43: com.mslv.oms.deploytool.api.DeployException: Deploy failed with this message: java.net.MalformedURLException: no proto : Files/OSM/SDK/XMLImportExport/lib/commons-collections-3.2.jar

at com.mslv.oms.deploytool.anttasks.OMSDeployPlugin.processCommand(Unknown Source)
at com.mslv.oms.deploytool.anttasks.OMSDeployPlugin.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)


Steps To Reproduce:

Run ant deployAutomation

Changes

The user set CLASSPATH to deploy and register the plug-ins.

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