You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Denis Magda <dm...@gridgain.com> on 2015/12/17 17:01:19 UTC

Re: How to define LocalEvent without setting

Hi Alex,

If I understand you properly you want to listen to different system events
that happen on remote and local nodes.

In such a case I would suggest you referring to the following example
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/events/EventsExample.java

If you need something different please provide us with more details.

To start an Ignite node using non xml configuration you may refer to the
following code snippet 

IgniteConfiguration cfg = new IgniteConfiguration();
//set configuration parameters
.......

//Start the node
Ignite ignite = Ignition.start(cfg);

BTW, please properly subscribe to the user list (this way we will not have
to manually approve your emails). All you need to do is send an email to “
user-subscribe@ignite.apache.org” and follow simple instructions in the
reply.

Regards,
Denis



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-define-LocalEvent-without-setting-property-name-peerClassLoadingEnabled-value-true-tp2243p2246.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How to define LocalEvent without setting

Posted by Alex Lee <bw...@nextorm.com>.
Dear Denis,

I found the reason.
It was begineer mistakes.
I copied my library to ignite libs folder, after that everything's Ok.

thank you.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-define-LocalEvent-without-setting-property-name-peerClassLoadingEnabled-value-true-tp2243p2254.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.