0 Replies Latest reply on Apr 16, 2019 5:44 AM by snidely_whiplash

    Wrong error message is being shown.  Should be FileNotFoundException.

    snidely_whiplash

      I think the wrong error message is being shown.  It should be FileNotFoundException.  As soon as I place the file in that location on disk it works fine.

       

      Caused by: (Wrapped: The configuration URI contains illegal characters for a URL c:\java/coherence/cache-config.xml) java.net.MalformedURLException: unknown protocol: c

              at com.tangosol.util.Base.ensureRuntimeException(Base.java:296)

              at com.tangosol.net.ScopedCacheFactoryBuilder.resolveURL(ScopedCacheFactoryBuilder.java:553)

              at com.tangosol.net.ScopedCacheFactoryBuilder.loadConfigFromURI(ScopedCacheFactoryBuilder.java:372)

              at com.tangosol.net.ScopedCacheFactoryBuilder.buildFactory(ScopedCacheFactoryBuilder.java:428)

              at com.tangosol.net.ScopedCacheFactoryBuilder.getFactoryInternal(ScopedCacheFactoryBuilder.java:272)

              at com.tangosol.net.ScopedCacheFactoryBuilder.getFactory(ScopedCacheFactoryBuilder.java:235)

              at com.tangosol.net.ScopedCacheFactoryBuilder.getConfigurableCacheFactory(ScopedCacheFactoryBuilder.java:115)

              at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactory.java:154)

              at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:295)

              at com.tangosol.net.CacheFactory.getTypedCache(CacheFactory.java:322)