You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "javastuff.sam@gmail.com" <ja...@gmail.com> on 2017/05/02 21:31:41 UTC

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



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Grid-is-in-invalid-state-to-perform-this-operation-tp12360.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Grid is in invalid state to perform this operation

Posted by dkarachentsev <dk...@gridgain.com>.
Sam,

Please attach logs from your node.

-Dmitry



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Grid-is-in-invalid-state-to-perform-this-operation-tp12360p12411.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Grid is in invalid state to perform this operation

Posted by "javastuff.sam@gmail.com" <ja...@gmail.com>.
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



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Grid-is-in-invalid-state-to-perform-this-operation-tp12360p12397.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Grid is in invalid state to perform this operation

Posted by dkarachentsev <dk...@gridgain.com>.
Hi Sam,

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

Thanks!
-Dmitry



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Grid-is-in-invalid-state-to-perform-this-operation-tp12360p12379.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.