Starting Coherence 3.7.1.1 under OSGI (knopflerfish) Throws An Exception (Doc ID 1427399.1)

Last updated on JULY 09, 2017

Applies to:

Oracle Coherence - Version: 3.7.1.1 and later   [Release: AS10g and later ]
Information in this document applies to any platform.

Symptoms

When starting Coherence 3.7 under OSGI (knopflerfish) the following exception is seen:


java.net.MalformedURLException: invalid url: null!/META-INF/MANIFEST.MF (java.net.MalformedURLException: no protocol: null)
at java.net.URL.<init>(URL.java:601)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at com.tangosol.coherence.component.application.console.Coherence._initStatic(Coherence.CDB:25)
at com.tangosol.coherence.component.application.console.Coherence.<clinit>(Coherence.CDB:27)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.tangosol.net.CacheFactory.<clinit>(CacheFactory.java:923)
at service.data.manager.coherence.impl.CoherenceComponent.initializeCoherence(CoherenceComponent.java:114)
at service.data.manager.coherence.impl.CoherenceComponent.doActivate(CoherenceComponent.java:65)
at runtime.util.component.AbstractDSComponent.activate(AbstractDSComponent.java:41)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.knopflerfish.bundle.component.Component.activate(Component.java:209)
at org.knopflerfish.bundle.component.ImmediateComponent.satisfied(ImmediateComponent.java:29)
at org.knopflerfish.bundle.component.Config.referenceSatisfied(Config.java:154)
at org.knopflerfish.bundle.component.Config.enable(Config.java:91)
at org.knopflerfish.bundle.component.Config.enable(Config.java:77)
at org.knopflerfish.bundle.component.Component.enable(Component.java:88)
at org.knopflerfish.bundle.component.SCR.bundleChanged(SCR.java:154)
at org.knopflerfish.framework.PermissionOps.callBundleChanged(PermissionOps.java:278)
at org.knopflerfish.framework.Listeners.bundleChanged(Listeners.java:252)
at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:329)
at org.knopflerfish.framework.StartLevelImpl.increaseStartLevel(StartLevelImpl.java:285)
at org.knopflerfish.framework.StartLevelImpl$1.run(StartLevelImpl.java:217)
at org.knopflerfish.framework.StartLevelImpl.run(StartLevelImpl.java:178)
at java.lang.Thread.run(Thread.java:680)
Oracle Coherence: The Manifest is corrupted or inaccessible; some functionality may be disabled
[TXDEV] 2011-07-21 19:25:03,274 INFO Logger@135862850 n/a Coherence - 2011-07-21 19:25:03.195/12.148 Oracle Coherence n/a <Info> (thread=startlevel job thread, member=n/a): Loaded operational configuration from "bundle://43.0:0/tangosol-coherence.xml"
[TXDEV] 2011-07-21 19:25:03,275 INFO Logger@135862850 n/a Coherence - 2011-07-21 19:25:03.199/12.152 Oracle Coherence n/a <Info> (thread=startlevel job thread, member=n/a): Loaded operational overrides from "file:/Users/mikel/dev/platform_1.5_jemez/out/ide-knopflerfish/config/coherence-override.xml"
[TXDEV] 2011-07-21 19:25:03,275 DEBUG Logger@135862850 n/a Coherence - 2011-07-21 19:25:03.201/12.154 Oracle Coherence n/a <D5> (thread=startlevel job thread, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
[TXDEV] 2011-07-21 19:25:03,275 DEBUG Logger@135862850 n/a Coherence -
Oracle Coherence Version n/a Build n/a
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

This has started happening since using Coherence 3.7. Same code with Ch 3.5.3 does not show the exception.

Changes

Upgrade from 3.5.3 to 3.7

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