Make sure that you are creating an Ignite client within a singleton bean.

Kind regards,
Alex.

On Mon, Jul 17, 2017 at 11:32 AM, Alexander Fedotov <
alexander.fedot...@gmail.com> wrote:

> Could you describe or share the code where and how you create Ignite
> client?
>
> Kind regards,
> Alex
>
> 16 июля 2017 г. 11:32 AM пользователь "krutipatel" <
> krutipatel1...@gmail.com> написал:
>
> When I try to access using service-proxy through a client-mode ignite from
> within the J2ee app. The app is stuck to receive the data from the service
> proxy instance. On the service node I am getting the below exception: Caused
> by: javax.cache.CacheException: class 
> org.apache.ignite.IgniteInterruptedException:
> Got interrupted while waiting for future to complete. at
> org.apache.ignite.internal.processors.cache.GridCacheUtils.c
> onvertToCacheException(GridCacheUtils.java:1421) at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy
> .cacheException(IgniteCacheProxy.java:2641) at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy
> .get(IgniteCacheProxy.java:1205) at app.ds.cnfg.mgr.service.impl.C
> omponentServiceImpl.getComponent(ComponentServiceImpl.java:46) ... 20
> more On the Data Node I am seeing intermittent below exception, however I
> have still not identified any pattern on when all this occurs:
> [13:42:57,009][ERROR][tcp-disco-ip-finder-cleaner-#5%null%][TcpDiscoveryMulticastIpFinder]
> Failed to request nodes addresses. java.net.SocketException: Can't assign
> requested address (Error setting socket option) at java.net
> .PlainDatagramSocketImpl.socketSetOption0(Native Method) at java.net
> .PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:74)
> at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractP
> lainDatagramSocketImpl.java:309) at java.net.MulticastSocket.setIn
> terface(MulticastSocket.java:471) at org.apache.ignite.spi.discover
> y.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder.reque
> stAddresses(TcpDiscoveryMulticastIpFinder.java:565) at
> org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDi
> scoveryMulticastIpFinder.getRegisteredAddresses(TcpDiscoveryMulticastIpFinder.java:454)
> at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.register
> edAddresses(TcpDiscoverySpi.java:1711) at org.apache.ignite.spi.discover
> y.tcp.ServerImpl$IpFinderCleaner.cleanIpFinder(ServerImpl.java:1837) at
> org.apache.ignite.spi.discovery.tcp.ServerImpl$IpFinderCleaner.body(ServerImpl.java:1812)
> at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
> ------------------------------
> View this message in context: Re: How to access Apache Ignite service
> grid services from a J2ee application server
> <http://apache-ignite-users.70518.x6.nabble.com/How-to-access-Apache-Ignite-service-grid-services-from-a-J2ee-application-server-tp14970p14979.html>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>
>
>

Reply via email to