Hello! You can only access Apache Ignite instances launched in the same JVM with Ignition.ignite(). Come to think of it, how would you gain an Ignite object that is in a different process?
Regards, -- Ilya Kasnacheev чт, 6 сент. 2018 г. в 10:44, monstereo <[email protected]>: > Think of it, i will work on production. > > Here is the igniteConfig.xml > <bean id="ignite.cfg" > class="org.apache.ignite.configuration.IgniteConfiguration"> > <property name="igniteInstanceName" value="sample"/> > // others default configuration. > > I have started this node on terminal: here is the log > > 2018-09-06 10:39:22 INFO IgniteKernal%as:95 - > > >>> > +----------------------------------------------------------------------+ > >>> Ignite ver. 2.5.0#20180523-sha1:86e110c750a340dc9be2d3964113 > >>> > +----------------------------------------------------------------------+ > >>> OS name: Linux 4.4.0-134-generic amd64 > >>> CPU(s): 4 > >>> Heap: 1.3GB > >>> VM name: 15276@ubuntu > >>> Ignite instance name: sample > > > Now on the ide: I have written > > public static void main(String[] args) { > Ignite node = Ignition.ignite("sample"); > slf4jLogger.info("\n\n" + node.toString() + "\n\n"); > } > > but it gives me error: > Exception in thread "main" class > org.apache.ignite.IgniteIllegalStateException: Ignite instance with > provided > name doesn't exist. Did you call Ignition.start(..) to start an Ignite > instance? [name=sample] > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
