You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (JIRA)" <ji...@apache.org> on 2017/06/16 09:36:01 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-4618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Sapego updated IGNITE-4618:
--------------------------------
    Fix Version/s:     (was: 2.1)
                   2.2

> 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
>              Labels: cpp
>             Fix For: 2.2
>
>
> *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.4.14#64029)