Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to load Custom POF Configuration

2719802Jul 25 2014 — edited Aug 15 2014

I successfully downloaded Coherence 3.7 and able to run the from .Net client with default Coherence.POF.Config file. As soon as I'm changing the POF file configuration to custom type, I'm unable to run the Coherence server. And finding the following error. Any Help is appreciated.

2014-07-25 18:31:07.130/4.930 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster

, member=1): Loaded POF configuration from "jar:file:/C:/OracleCoherence/coheren

ce/lib/coherence.jar!/pof-config.xml"

2014-07-25 18:31:07.147/4.947 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster

, member=1): Loaded included POF configuration from "jar:file:/C:/OracleCoherenc

e/coherence/lib/coherence.jar!/coherence-pof-config.xml"

2014-07-25 18:31:07.194/4.994 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocatio

n:Management, member=1): Service Management joined the cluster with senior servi

ce member 1

2014-07-25 18:31:07.401/5.201 Oracle Coherence GE 3.7.1.0 <D5> (thread=Distribut

edCache, member=1): Service DistributedCache joined the cluster with senior serv

ice member 1

Exception in thread "main" (Wrapped: error creating class "com.tangosol.io.pof.C

onfigurablePofContext") (Wrapped: Failed to load POF configuration: Mypof-config

.xml) java.io.IOException: The POF configuration is missing: "Mypof-config.xml",

loader=sun.misc.Launcher$AppClassLoader@1b90b39

        at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(Config

urableSerializerFactory.java:46)

        at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.i

nstantiateSerializer(Service.CDB:1)

        at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.e

nsureSerializer(Service.CDB:32)

        at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.e

nsureSerializer(Service.CDB:4)

        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g

rid.ProxyService.configure(ProxyService.CDB:101)

        at com.tangosol.coherence.component.util.SafeService.startService(SafeSe

rvice.CDB:17)

        at com.tangosol.coherence.component.util.SafeService.ensureRunningServic

e(SafeService.CDB:27)

        at com.tangosol.coherence.component.util.SafeService.start(SafeService.C

DB:14)

        at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInterna

l(DefaultConfigurableCacheFactory.java:1105)

        at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(Defaul

tConfigurableCacheFactory.java:937)

        at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.

java:81)

        at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheS

erver.java:250)

        at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServe

r.java:55)

        at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)

Caused by: (Wrapped: Failed to load POF configuration: Mypof-config.xml) java.io

.IOException: The POF configuration is missing: "Mypof-config.xml", loader=sun.m

isc.Launcher$AppClassLoader@1b90b39

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

        at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:34

1)

        at com.tangosol.run.xml.XmlHelper.loadFileOrResource(XmlHelper.java:283)

        at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(Configurab

lePofContext.java:835)

        at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePof

Context.java:797)

        at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(Conf

igurablePofContext.java:322)

        at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(Config

urableSerializerFactory.java:42)

        ... 13 more

Caused by: java.io.IOException: The POF configuration is missing: "Mypof-config.

xml", loader=sun.misc.Launcher$AppClassLoader@1b90b39

        at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:31

8)

        ... 18 more

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2014
Added on Jul 25 2014
25 comments
7,546 views