Could not find file with URI "./oms-config.xml" because it is a relative path, and no base URI was provided (Doc ID 2215051.1)

Last updated on DECEMBER 20, 2016

Applies to:

Oracle Communications Order and Service Management - Version 7.3.1.0.0 and later
Information in this document applies to any platform.

Goal

 Starting OSM application you are getting an error similar to below that oms-config.xml does not exist though in starting parameter you set -Dmslv.oms.config=./oms-config.xml.

<Dec 15, 2016 7:09:26 PM CET> <Error> <com.mslv.oms.model.base.BaseMetaData> <BEA-000000> <Could not find file with URI "./oms-config.xml" because it is a relative path, and no base URI was provided.
javax.xml.transform.TransformerException: Could not find file with URI "./oms-config.xml" because it is a relative path, and no base URI was provided.
    at oracle.communications.ordermanagement.util.net.CatalogUriResolver.resolveAsFileObject(CatalogUriResolver.java:366)
    at com.mslv.oms.model.base.BaseMetaData.loadConfigFiles(BaseMetaData.java:1047)
    at com.mslv.oms.model.base.BaseMetaData.<init>(BaseMetaData.java:714)
    at com.mslv.oms.model.MetaDataManager.refresh(MetaDataManager.java:112)
    at com.mslv.oms.model.MetaDataManager.<init>(MetaDataManager.java:40)
    at com.mslv.oms.model.MetaDataManager.getMetaData(MetaDataManager.java:86)
    at com.mslv.oms.handler.order.cache.jboss.JBossOrderCacheManager.createCache(JBossOrderCacheManager.java:2420)
    at com.mslv.oms.handler.order.cache.jboss.JBossOrderCacheManager.getCache(JBossOrderCacheManager.java:1404)
    at com.mslv.oms.handler.order.cache.jboss.JBossOrderCacheManager$1.refresh(JBossOrderCacheManager.java:290)

Solution

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