You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/01/26 12:21:25 UTC

[jira] [Created] (IGNITE-4618) CPP: Do not start JVM if it is already started

Vladimir Ozerov created IGNITE-4618:
---------------------------------------

             Summary: CPP: Do not start JVM if it is already started
                 Key: IGNITE-4618
                 URL: https://issues.apache.org/jira/browse/IGNITE-4618
             Project: Ignite
          Issue Type: Task
          Components: platforms
    Affects Versions: 1.8
            Reporter: Vladimir Ozerov
            Assignee: Igor Sapego
             Fix For: 1.9


*Problem*
Consider the following scenario:
1) User's app started JVM in the process somehow.
2) User tries to start the node. 
3) Result: exception.

*Solution*
We need to check if JVM is already started. If yes - then try re-using. Note that we are likely to fail at this point because user might forgot to pass proper Ignite classpath. In this case we must throw extremely sensible exception, so that user understand how to fix the problem right away. 

E.g.: "Failed to start Ignite node with already started JVM due to invalid classpath; please add the following JARs to the classpath: [PATH TO IGNITE_HOME JARS]".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)