Grid is in invalid state to perform this operation

classic Classic list List threaded Threaded
4 messages Options
javastuff.sam@gmail.com javastuff.sam@gmail.com
Reply | Threaded
Open this post in threaded view
|

Grid is in invalid state to perform this operation

Hi,

My application was working and later laptop went into sleep/standBy mode. After awake got below exception. Looks like grid is stopped. Is there a way to handle this?

java.lang.IllegalStateException: Grid is in invalid state to perform this operation. It either not started yet or has already being or have stopped [gridName=grid.cfg, state=STOPPED]
org.apache.ignite.internal.GridKernalGatewayImpl.illegalState(GridKernalGatewayImpl.java:190)
org.apache.ignite.internal.GridKernalGatewayImpl.readLock(GridKernalGatewayImpl.java:90)
org.apache.ignite.internal.IgniteKernal.guard(IgniteKernal.java:3300)
org.apache.ignite.internal.IgniteKernal.cache(IgniteKernal.java:2548)


Thanks,
-Sam
dkarachentsev dkarachentsev
Reply | Threaded
Open this post in threaded view
|

Re: Grid is in invalid state to perform this operation

Hi Sam,

Was local node connected to remote cluster? Probably it was kicked off the cluster, because of closed connection.

Thanks!
-Dmitry
javastuff.sam@gmail.com javastuff.sam@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: Grid is in invalid state to perform this operation

Want to go to the cluster case as you suggested. As of now I am running only single node. After awake application (JBOSS) revive, but cache grid seems to be stopped.

Thanks,
-Sam
dkarachentsev dkarachentsev
Reply | Threaded
Open this post in threaded view
|

Re: Grid is in invalid state to perform this operation

Sam,

Please attach logs from your node.

-Dmitry