1 2 Previous Next 25 Replies Latest reply: Aug 15, 2014 9:36 AM by 2728688 RSS

    Unable to load Custom POF Configuration

    2719802

      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

        • 1. Re: Unable to load Custom POF Configuration
          2719802

          Config files are:

           

          <?xml version="1.0"?>

          <!DOCTYPE cache-config SYSTEM "cache-config.dtd">

           

          <cache-config>

            <caching-scheme-mapping>

              <cache-mapping>

                <cache-name>dist-*</cache-name>

                <scheme-name>dist-default</scheme-name>

              </cache-mapping>

            </caching-scheme-mapping>

           

            <caching-schemes>

              <distributed-scheme>

                <scheme-name>dist-default</scheme-name>

                <lease-granularity>member</lease-granularity>

                <backing-map-scheme>

                  <local-scheme/>

                </backing-map-scheme>

                <autostart>true</autostart>

              </distributed-scheme>

           

              <proxy-scheme>

                <service-name>ExtendTcpProxyService</service-name>

                <thread-count>5</thread-count>

                <acceptor-config>

                  <tcp-acceptor>

                    <local-address>

                      <address>localhost</address>

                      <port>9099</port>

                    </local-address>

                  </tcp-acceptor>

                <serializer>

                <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>

                <init-params>

                  <init-param>

                    <param-type>string</param-type>

                    <param-value>Mypof-config.xml</param-value>

                  </init-param>

                </init-params>

              </serializer>

                </acceptor-config>

                <autostart>true</autostart>

              </proxy-scheme>

            </caching-schemes>

          </cache-config>

           

          <?xml version="1.0"?>

          <!DOCTYPE pof-config SYSTEM "pof-config.dtd">

          <pof-config>

          <user-type-list>

          <!-- include all "standard" Coherence POF user types -->

          <include>coherence-pof-config.xml</include>

          <!-- include all application POF user types -->

          <!--<user-type>

          <type-id>2001</type-id>

          <class-name>ContactInfo</class-name>

          </user-type>-->

          </user-type-list>

          </pof-config>

          • 2. Re: Unable to load Custom POF Configuration
            Khangharoth

            Failed to load POF configuration: Mypof-config

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

             

            Looks like your app is not able to load Mypof-config , make sure that its in source path

            • 3. Re: Unable to load Custom POF Configuration
              2719802

              Khangroth Thank you for response.

              I believe it is in ClassPath. becuase if I remove the file from the folder, I'm finding a different error.

              • 4. Re: Unable to load Custom POF Configuration
                2719802

                Please help. Urgent assisstance required

                • 5. Re: Unable to load Custom POF Configuration
                  Arkadiy

                  Hi,

                  did you try to argument to the starting script?

                   

                  something like

                  -Dtangosol.pof.config=%coherence%\Mypof-config.xml

                  • 6. Re: Unable to load Custom POF Configuration
                    2719802

                    Yes, I did.

                    • 7. Re: Unable to load Custom POF Configuration
                      2719802

                      Please help me. I wasted almost a week on this. I configured everything as per directions given in Coherence .net Client User guide. Not sure which is invoking the issue. I'm wasting my time like anything.....

                      • 8. Re: Unable to load Custom POF Configuration
                        2719802

                        Another information is, with no Custom POF file defined, .net client application able to interact with coherence. Coherence server is unable to load POF file by which custom types are not working in my machine.

                        • 9. Re: Unable to load Custom POF Configuration
                          user9028169

                          Hi,

                           

                          Can you try it once by giving absolute path to your pof file and check is that working with that or not.

                           

                          It will clarify that the issue with classpath or not.

                           

                          Thanks

                          • 10. Re: Unable to load Custom POF Configuration
                            2719802

                            I tried doing with full class path, still it is not loading the file. Its not problem with finding the file location, because when tried to give wrong path coherence says File not found error. But when I correct the path the error is in loading the POF Config file. Please help.

                            • 11. Re: Unable to load Custom POF Configuration
                              user9028169

                              Can you please attach the logs, which you get while starting up the server

                              • 12. Re: Unable to load Custom POF Configuration
                                2719802

                                Please find the total log on the Cache-server.cmd

                                 

                                {
                                }

                                  Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),

                                Id=0, Version=3.7.1}

                                  ToMemberSet=null

                                  NotifySent=false

                                 

                                  LastRecvTimestamp=none

                                  MemberSet=MemberSet(Size=1, ids=[1])

                                  }

                                Terminate batch job (Y/N)? Y

                                 

                                C:\OracleCoherence\coherence\bin>cache-server

                                java version "1.7.0_60"

                                Java(TM) SE Runtime Environment (build 1.7.0_60-b19)

                                Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing)

                                 

                                2014-08-05 13:25:25.753/0.327 Oracle Coherence 3.7.1.0 <Info> (thread=main, memb

                                er=n/a): Loaded operational configuration from "jar:file:/C:/OracleCoherence/coh

                                erence/lib/coherence.jar!/tangosol-coherence.xml"

                                2014-08-05 13:25:25.816/0.390 Oracle Coherence 3.7.1.0 <Info> (thread=main, memb

                                er=n/a): Loaded operational overrides from "jar:file:/C:/OracleCoherence/coheren

                                ce/lib/coherence.jar!/tangosol-coherence-override-dev.xml"

                                2014-08-05 13:25:25.816/0.390 Oracle Coherence 3.7.1.0 <D5> (thread=main, member

                                =n/a): Optional configuration override "/tangosol-coherence-override.xml" is not

                                specified

                                2014-08-05 13:25:25.816/0.390 Oracle Coherence 3.7.1.0 <D5> (thread=main, member

                                =n/a): Optional configuration override "/custom-mbeans.xml" is not specified

                                 

                                Oracle Coherence Version 3.7.1.0 Build 27797

                                Grid Edition: Development mode

                                Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

                                 

                                2014-08-05 13:25:25.972/0.546 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, m

                                ember=n/a): Loaded cache configuration from "file:/C:/OracleCoherence/coherence/

                                lib/cache-config.xml"; this document does not refer to any schema definition and

                                has not been validated.

                                2014-08-05 13:25:26.440/1.014 Oracle Coherence GE 3.7.1.0 <Warning> (thread=main

                                , member=n/a): Local address "127.0.0.1" is a loopback address; this cluster nod

                                e will not connect to nodes located on different machines

                                2014-08-05 13:25:26.830/1.404 Oracle Coherence GE 3.7.1.0 <D4> (thread=main, mem

                                ber=n/a): TCMP bound to /127.0.0.1:8088 using SystemSocketProvider

                                2014-08-05 13:25:30.558/5.132 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster

                                , member=n/a): Created a new cluster "cluster:0xFCC1" with Member(Id=1, Timestam

                                p=2014-08-05 13:25:27.251, Address=127.0.0.1:8088, MachineId=45419, Location=sit

                                e:,process:18420, Role=CoherenceServer, Edition=Grid Edition, Mode=Development,

                                CpuCount=2, SocketCount=2) UID=0x7F00000100000147A52A6E93B16B1F98

                                2014-08-05 13:25:30.558/5.132 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, m

                                ember=n/a): Started cluster Name=cluster:0xFCC1

                                 

                                Group{Address=224.3.7.0, Port=37000, TTL=0}

                                 

                                MasterMemberSet(

                                  ThisMember=Member(Id=1, Timestamp=2014-08-05 13:25:27.251, Address=127.0.0.1:8

                                088, MachineId=45419, Location=site:,process:18420, Role=CoherenceServer)

                                  OldestMember=Member(Id=1, Timestamp=2014-08-05 13:25:27.251, Address=127.0.0.1

                                :8088, MachineId=45419, Location=site:,process:18420, Role=CoherenceServer)

                                  ActualMemberSet=MemberSet(Size=1

                                Member(Id=1, Timestamp=2014-08-05 13:25:27.251, Address=127.0.0.1:8088, Mach

                                ineId=45419, Location=site:,process:18420, Role=CoherenceServer)

                                )

                                  MemberId|ServiceVersion|ServiceJoined|MemberState

                                1|3.7.1|2014-08-05 13:25:30.558|JOINED

                                  RecycleMillis=1200000

                                  RecycleSet=MemberSet(Size=0

                                )

                                  )

                                 

                                TcpRing{Connections=[]}

                                IpMonitor{AddressListSize=0}

                                 

                                2014-08-05 13:25:30.620/5.194 Oracle Coherence GE 3.7.1.0 <Error> (thread=Cluste

                                r, member=1): StopRunning ClusterService{Name=Cluster, State=(SERVICE_STARTED, S

                                TATE_JOINED), Id=0, Version=3.7.1, OldestMemberId=1} due to unhandled exception:

                                 

                                Exception in thread "main" (Wrapped: Failed to start Service "Management" (Servi

                                ceState=SERVICE_STOPPED)) java.lang.RuntimeException: Failed to start Service "C

                                luster" (ServiceState=SERVICE_STOPPED, STATE_JOINED)

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

                                tart(Service.CDB:38)

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

                                rid.start(Grid.CDB:6)

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

                                rvice.CDB:39)

                                    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.coherence.component.net.management.Connector.startServic

                                e(Connector.CDB:58)

                                    at com.tangosol.coherence.component.net.management.gateway.Remote.regist

                                erLocalModel(Remote.CDB:10)

                                    at com.tangosol.coherence.component.net.management.Gateway.register(Gate

                                way.CDB:6)

                                    at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluste

                                r(SafeCluster.CDB:46)

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

                                DB:2)

                                    at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:427)
                                    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInterna

                                l(DefaultConfigurableCacheFactory.java:968)

                                    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: java.lang.RuntimeException: Failed to start Service "Cluster" (Servic

                                eState=SERVICE_STOPPED, STATE_JOINED)

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

                                aitAcceptingClients(Service.CDB:12)

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

                                rid.poll(Grid.CDB:9)

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

                                rid.poll(Grid.CDB:11)

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

                                rid.ClusterService.ensureService(ClusterService.CDB:15)

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

                                rid.ClusterService.doServiceJoining(ClusterService.CDB:47)

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

                                rid.onServiceState(Grid.CDB:23)

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

                                etServiceState(Service.CDB:8)

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

                                rid.setServiceState(Grid.CDB:21)

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

                                rid$NotifyStartup.onReceived(Grid.CDB:3)

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

                                rid.onMessage(Grid.CDB:34)

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

                                rid.onNotify(Grid.CDB:33)

                                    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
                                    at java.lang.Thread.run(Unknown Source)

                                2014-08-05 13:25:30.620/5.194 Oracle Coherence GE 3.7.1.0 <Error> (thread=Cluste

                                r, member=1):

                                (Wrapped: Failed to load POF configuration: C:\OracleCoherence\coherence\lib\Myp

                                ofconfig.xml) java.io.IOException: The POF configuration is missing: "C:\OracleC

                                oherence\coherence\lib\Mypofconfig.xml", loader=sun.misc.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.util.ExternalizableHelper.ensureSerializer(Externalizabl

                                eHelper.java:291)

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

                                nsureSerializer(Service.CDB:28)

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

                                nsureSerializer(Service.CDB:4)

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

                                riteObject(Service.CDB:1)

                                    at com.tangosol.coherence.component.net.Message.writeObject(Message.CDB:

                                1)

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

                                rid.ClusterService$ServiceJoining.write(ClusterService.CDB:8)

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

                                rid.serializeMessage(Grid.CDB:14)

                                    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetPro

                                cessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:17)

                                    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetPro

                                cessor.PacketPublisher$InQueue.add(PacketPublisher.CDB:11)

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

                                rid.dispatchMessage(Grid.CDB:62)

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

                                rid.post(Grid.CDB:31)

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

                                rid.send(Grid.CDB:1)

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

                                rid.ClusterService$ServiceJoinRequest.proceed(ClusterService.CDB:35)

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

                                rid.ClusterService.validateNewService(ClusterService.CDB:88)

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

                                rid.ClusterService$ServiceJoinRequest.onReceived(ClusterService.CDB:66)

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

                                rid.onMessage(Grid.CDB:34)

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

                                rid.onNotify(Grid.CDB:33)

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

                                rid.ClusterService.onNotify(ClusterService.CDB:3)

                                    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
                                    at java.lang.Thread.run(Unknown Source)

                                Caused by: java.io.IOException: The POF configuration is missing: "C:\OracleCohe

                                rence\coherence\lib\Mypofconfig.xml", loader=sun.misc.Launcher$AppClassLoader@1b

                                90b39

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

                                8)

                                    ... 24 more

                                2014-08-05 13:25:30.620/5.194 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster,

                                member=n/a): Service Cluster left the cluster

                                2014-08-05 13:25:30.620/5.194 Oracle Coherence GE 3.7.1.0 <Error> (thread=Invoca

                                tion:Management, member=n/a): Terminating InvocationService due to unhandled exc

                                eption: java.lang.RuntimeException

                                2014-08-05 13:25:30.620/5.194 Oracle Coherence GE 3.7.1.0 <Error> (thread=Invoca

                                tion:Management, member=n/a):

                                java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERV

                                ICE_STOPPED, STATE_JOINED)

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

                                aitAcceptingClients(Service.CDB:12)

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

                                rid.poll(Grid.CDB:9)

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

                                rid.poll(Grid.CDB:11)

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

                                rid.ClusterService.ensureService(ClusterService.CDB:15)

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

                                rid.ClusterService.doServiceJoining(ClusterService.CDB:47)

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

                                rid.onServiceState(Grid.CDB:23)

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

                                etServiceState(Service.CDB:8)

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

                                rid.setServiceState(Grid.CDB:21)

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

                                rid$NotifyStartup.onReceived(Grid.CDB:3)

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

                                rid.onMessage(Grid.CDB:34)

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

                                rid.onNotify(Grid.CDB:33)

                                    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
                                    at java.lang.Thread.run(Unknown Source)

                                2014-08-05 13:25:30.620/5.194 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocatio

                                n:Management, member=n/a): Service Management left the cluster

                                2014-08-05 13:25:30.636/5.210 Oracle Coherence GE 3.7.1.0 <Error> (thread=main,

                                member=n/a): Error while starting service "Management": (Wrapped: Failed to star

                                t Service "Management" (ServiceState=SERVICE_STOPPED)) java.lang.RuntimeExceptio

                                n: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINED

                                )

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

                                tart(Service.CDB:38)

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

                                rid.start(Grid.CDB:6)

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

                                rvice.CDB:39)

                                    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.coherence.component.net.management.Connector.startServic

                                e(Connector.CDB:58)

                                    at com.tangosol.coherence.component.net.management.gateway.Remote.regist

                                erLocalModel(Remote.CDB:10)

                                    at com.tangosol.coherence.component.net.management.Gateway.register(Gate

                                way.CDB:6)

                                    at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluste

                                r(SafeCluster.CDB:46)

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

                                DB:2)

                                    at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:427)
                                    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInterna

                                l(DefaultConfigurableCacheFactory.java:968)

                                    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: java.lang.RuntimeException: Failed to start Service "Cluster" (Servic

                                eState=SERVICE_STOPPED, STATE_JOINED)

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

                                aitAcceptingClients(Service.CDB:12)

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

                                rid.poll(Grid.CDB:9)

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

                                rid.poll(Grid.CDB:11)

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

                                rid.ClusterService.ensureService(ClusterService.CDB:15)

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

                                rid.ClusterService.doServiceJoining(ClusterService.CDB:47)

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

                                rid.onServiceState(Grid.CDB:23)

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

                                etServiceState(Service.CDB:8)

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

                                rid.setServiceState(Grid.CDB:21)

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

                                rid$NotifyStartup.onReceived(Grid.CDB:3)

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

                                rid.onMessage(Grid.CDB:34)

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

                                rid.onNotify(Grid.CDB:33)

                                    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
                                    at java.lang.Thread.run(Unknown Source)

                                 

                                 

                                C:\OracleCoherence\coherence\bin>

                                 

                                And the Cache-Server content is

                                 

                                @echo off

                                @

                                @rem This will start a cache server

                                @

                                setlocal

                                 

                                :config

                                @rem specify the Coherence installation directory

                                set coherence_home=%~dp0\..

                                 

                                @rem specify the JVM heap size

                                set memory=512m

                                 

                                set java_home=

                                :start

                                if not exist "%coherence_home%\lib\coherence.jar" goto instructions

                                 

                                 

                                :launch

                                 

                                if "%1"=="-jmx" (

                                    set jmxproperties=-Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true

                                    shift 

                                )   

                                 

                                set java_opts=-Xms%memory% -Xmx%memory% %jmxproperties%

                                 

                                java -server -showversion -Dtangosol.coherence.ttl=0 -Dtangosol.coherence.localhost=127.0.0.1 -Dtangosol.pof.enabled=true -

                                 

                                Dtangosol.coherence.cacheconfig=C:\OracleCoherence\coherence\lib\cache-config.xml -Dtangosol.pof.config=C:\OracleCoherence\coherence\lib\Mypofconfig.xml

                                 

                                %java_opts%  -cp "%coherence_home%\lib\coherence.jar" com.tangosol.net.DefaultCacheServer %1

                                 

                                goto exit

                                 

                                :instructions

                                 

                                echo Usage:

                                echo   ^<coherence_home^>\bin\cache-server.cmd

                                goto exit

                                 

                                :exit

                                endlocal

                                @echo on

                                • 13. Re: Unable to load Custom POF Configuration
                                  2719802

                                  Please help........

                                  • 14. Re: Unable to load Custom POF Configuration
                                    2686807

                                    Hi, you said:

                                     

                                    Khangroth Thank you for response.

                                    I believe it is in ClassPath. becuase if I remove the file from the folder, I'm finding a different error.

                                     

                                    What's the different error you're seeing? (As this may help shed light on this issue)

                                    1 2 Previous Next