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!

No such ProxyService with name: "ExtendTcpProxyService"

poole02Oct 28 2015 — edited Oct 28 2015

I am using coherence as remote cache and trying to connect the coherence cluster through one of the simple client using TCP with name-service. But getting below exception:

2015-10-28 10:49:35.602/1.815 Oracle Coherence GE 12.1.3.0.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/D:/workspaces/Experiments/ExtendClient/config/client-coherence-cache-config.xml"

2015-10-28 10:49:36.949/3.162 Oracle Coherence GE 12.1.3.0.0 <Info> (thread=main, member=n/a): Created cache factory com.tangosol.net.ExtensibleConfigurableCacheFactory

2015-10-28 10:49:40.877/7.090 Oracle Coherence GE 12.1.3.0.0 <D5> (thread=main, member=n/a): Connecting Socket to 10.12.43.60:8088.3

2015-10-28 10:49:40.908/7.121 Oracle Coherence GE 12.1.3.0.0 <Info> (thread=main, member=n/a): Connected Socket to 10.12.43.60:8088.3

Exception in thread "main" com.tangosol.net.messaging.ConnectionException: No such ProxyService with name: "ExtendTcpProxyService"

at com.tangosol.coherence.component.net.extend.RemoteService.lookupProxyServiceAddress(RemoteService.CDB:54)

at com.tangosol.coherence.component.net.extend.remoteService.RemoteCacheService.openChannel(RemoteCacheService.CDB:5)

at com.tangosol.coherence.component.net.extend.RemoteService.doStart(RemoteService.CDB:11)

at com.tangosol.coherence.component.net.extend.RemoteService.start(RemoteService.CDB:5)

at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:57)

at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)

at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)

at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)

at com.tangosol.net.ExtensibleConfigurableCacheFactory.startService(ExtensibleConfigurableCacheFactory.java:687)

at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureService(ExtensibleConfigurableCacheFactory.java:605)

at com.tangosol.coherence.config.scheme.AbstractCachingScheme.realizeCache(AbstractCachingScheme.java:54)

at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureCache(ExtensibleConfigurableCacheFactory.java:242)

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

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

at com.airtel.extend.client.ExtendClient.main(ExtendClient.java:17)

2015-10-28 10:49:41.093/7.306 Oracle Coherence GE 12.1.3.0.0 <Error> (thread=main, member=n/a): Error while starting service "ExtendTcpProxyService": com.tangosol.net.messaging.ConnectionException: No such ProxyService with name: "ExtendTcpProxyService"

at com.tangosol.coherence.component.net.extend.RemoteService.lookupProxyServiceAddress(RemoteService.CDB:54)

at com.tangosol.coherence.component.net.extend.remoteService.RemoteCacheService.openChannel(RemoteCacheService.CDB:5)

at com.tangosol.coherence.component.net.extend.RemoteService.doStart(RemoteService.CDB:11)

at com.tangosol.coherence.component.net.extend.RemoteService.start(RemoteService.CDB:5)

at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:57)

at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)

at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)

at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)

at com.tangosol.net.ExtensibleConfigurableCacheFactory.startService(ExtensibleConfigurableCacheFactory.java:687)

at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureService(ExtensibleConfigurableCacheFactory.java:605)

at com.tangosol.coherence.config.scheme.AbstractCachingScheme.realizeCache(AbstractCachingScheme.java:54)

at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureCache(ExtensibleConfigurableCacheFactory.java:242)

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

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

at com.airtel.extend.client.ExtendClient.main(ExtendClient.java:17)

Server-Side Configuration:

<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xmlns="[http://xmlns.oracle.com/coherence/coherence-cache-config](http://xmlns.oracle.com/coherence/coherence-cache-config)"

          xsi:schemaLocation="[http://xmlns.oracle.com/coherence/coherence-cache-config](http://xmlns.oracle.com/coherence/coherence-cache-config) [http://xmlns.oracle.com/coherence/coherence-cache-config/1.2/coherence-cache-config.xsd](http://xmlns.oracle.com/coherence/coherence-cache-config/1.2/coherence-cache-config.xsd)">

<caching-scheme-mapping>

  \<cache-mapping>

     \<cache-name>people\</cache-name>

     \<scheme-name>extend-tcp\</scheme-name>

  \</cache-mapping>

</caching-scheme-mapping>

<caching-schemes>

  \<distributed-scheme>

     \<scheme-name>extend-tcp\</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>** 

     **\<acceptor-config />**

     \<autostart>true\</autostart>

  \</proxy-scheme>

</caching-schemes>

</cache-config>

Client-Side configuration:

<?xml version="1.0"?>

<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"

xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config

coherence-cache-config.xsd">

<caching-scheme-mapping>

    \<cache-mapping>

        \<cache-name>people\</cache-name>

        \<scheme-name>remote\</scheme-name>

   \</cache-mapping>

</caching-scheme-mapping>

<caching-schemes>

   \<remote-cache-scheme>

        \<scheme-name>remote\</scheme-name>

        **\<service-name>ExtendTcpProxyService\</service-name>**

        \<initiator-config>

             \<tcp-initiator>

                  **\<name-service-addresses>**

                        \<socket-address>

                           \<address>**localhost**\</address>

                           \<port>**8088**\</port>

                        \</socket-address>

                    **\</name-service-addresses>**

                    \<connect-timeout>10s\</connect-timeout>

             \</tcp-initiator>

             \<outgoing-message-handler>

                  \<request-timeout>5s\</request-timeout>

             \</outgoing-message-handler>

        \</initiator-config>

   \</remote-cache-scheme>

</caching-schemes>

</cache-config>

The Gar which is deployed in data-tier in weblogic(cache-server) is "ExampleGar".

Surprisingly, when I change the <service-name>ExtendTcpProxyService</service-name> to <service-name>ExampleGar:ExtendTcpProxyService</service-name> in client, client is able to communicate the cluster.

Is there some configuration missing/incorrect from my side ...?

I am also attaching here the mbean view of cluster:

CoherenceCluster.jpg

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 25 2015
Added on Oct 28 2015
0 comments
672 views