Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A643C200D0F for ; Fri, 29 Sep 2017 17:44:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A4ED71609ED; Fri, 29 Sep 2017 15:44:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9D0541609C5 for ; Fri, 29 Sep 2017 17:44:45 +0200 (CEST) Received: (qmail 55121 invoked by uid 500); 29 Sep 2017 15:44:44 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 55112 invoked by uid 99); 29 Sep 2017 15:44:44 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2017 15:44:44 +0000 Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 4DC7F1A0044 for ; Fri, 29 Sep 2017 15:44:44 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id j126so32548oia.10 for ; Fri, 29 Sep 2017 08:44:44 -0700 (PDT) X-Gm-Message-State: AMCzsaWTUyjOdpqMWlMLPOIQ/kzM9W5AuZfSYr5UN66ptritvm+w9Ods pP9A9unPQjVLNBC++JDrKSlAji4rLgJJzwCEMcZvOw== X-Google-Smtp-Source: AOwi7QAVwYCFv0QmM8+eZgAeB6cAzHlCQEbw7RY7w0qy3Tvwa3zfAUSttq7yJCsvOKTgEP+LM3xPkDkB2ICAFPzwoWw= X-Received: by 10.157.43.138 with SMTP id u10mr2933124ota.388.1506699883701; Fri, 29 Sep 2017 08:44:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.47.175 with HTTP; Fri, 29 Sep 2017 08:44:13 -0700 (PDT) In-Reply-To: References: From: Pavel Tupitsyn Date: Fri, 29 Sep 2017 18:44:13 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Ignite.NET 2.2 crashes on startup without any information To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a113cfb745a36bf055a55e730" archived-at: Fri, 29 Sep 2017 15:44:46 -0000 --001a113cfb745a36bf055a55e730 Content-Type: text/plain; charset="UTF-8" You don't have to copy these files manually. Something is wrong with your setup. I would advise to remove and reinstall the JRE/JDK. By the way, JAVA_HOME is not necessary with Oracle JRE/JDK, Ignite.NET detects it automatically. On Fri, Sep 29, 2017 at 6:39 PM, Patrick Brunmayr < patrick.brunmayr@kpibench.com> wrote: > JAVA_HOME points to my JDK folder! > > There was a problem first! There was no bin\server\jvm.dll there Dont know > why so i copied the jvm.dl from the embedded jdk\jre\bin\server to > jdk\bin\server > > the funny thing is! I was able to run my app about 10 times with no > problems and suddenly it stopped working. > > > > > > Pavel Tupitsyn schrieb am Fr. 29. Sep. 2017 um > 17:34: > >> > Error occurred during initialization of VM >> > Unable to load native library: Can't find dependent libraries >> >> What is your JAVA_HOME? >> Looks like either JAVA_HOME is incorrect, or JRE/JDK install is >> corrupted. >> >> On Fri, Sep 29, 2017 at 6:33 PM, Patrick Brunmayr < >> patrick.brunmayr@kpibench.com> wrote: >> >>> I run my app now from a cmd and this is the output >>> >>> Error occurred during initialization of VM >>> Unable to load native library: Can't find dependent libraries >>> >>> >>> >>> Patrick Brunmayr schrieb am Fr. 29. >>> Sep. 2017 um 17:30: >>> >>>> There is no output from visual studio! When i set a break point to >>>> Ignition.Start and try to step over it crashes imediately! No output! >>>> The only output visual studio gives me is that the app exited with code >>>> ox1 >>>> >>>> The output i got was from running the Apache.Ignite.exe directly that >>>> was copied to the bin\Debug folder! >>>> >>>> >>>> >>>> Alexey Kukushkin schrieb am Fr. 29. Sep. >>>> 2017 um 17:22: >>>> >>>>> Patrick, >>>>> >>>>> Is that output from Visual Studio console window? Ignite writes >>>>> information to standard output and error and not to the Visual Studio >>>>> console. Can you either run your app from cmd.exe or put a breakpoint on >>>>> the last line and see output in the cmd.exe that Visual Studio opens? >>>>> >>>>> On Fri, Sep 29, 2017 at 6:13 PM, Patrick Brunmayr < >>>>> patrick.brunmayr@kpibench.com> wrote: >>>>> >>>>>> I use an embedded version of ignite! Does this help >>>>>> >>>>>> I got some more details. Launching Ignite.Exe gives me >>>>>> >>>>>> Error occurred during initialization of VM >>>>>>> Unable to load native library: Can't find dependent libraries >>>>>> >>>>>> >>>>>> My JAVA_HOME is properly set to my JDK path >>>>>> >>>>>> Where should ignite logs reside or how can i activate them ? >>>>>> >>>>>> Thx >>>>>> >>>>>> >>>>>> >>>>>> 2017-09-29 17:09 GMT+02:00 Andrey Mashenkov < >>>>>> andrey.mashenkov@gmail.com>: >>>>>> >>>>>>> Hi Patrick, >>>>>>> >>>>>>> Would you please share ignite logs? >>>>>>> >>>>>>> On Fri, Sep 29, 2017 at 5:51 PM, Patrick Brunmayr < >>>>>>> patrick.brunmayr@kpibench.com> wrote: >>>>>>> >>>>>>>> Hello >>>>>>>> >>>>>>>> I am using Visual Studio 2017 and have installed Apache Ignite via >>>>>>>> NuGet. Also checked the VC++ Redis is installed. >>>>>>>> >>>>>>>> Tried to run this little code >>>>>>>> >>>>>>>> try >>>>>>>> { >>>>>>>> var ignite = Ignition.Start(); >>>>>>>> } >>>>>>>> catch (Exception e) >>>>>>>> { >>>>>>>> Console.WriteLine(e); >>>>>>>> } >>>>>>>> >>>>>>>> My app terminates with following output >>>>>>>> >>>>>>>> ConsoleApp1.exe' has exited with code 1 (0x1) >>>>>>>> >>>>>>>> It just crashes without any information >>>>>>>> >>>>>>>> My setup >>>>>>>> >>>>>>>> >>>>>>>> - Windows 10 64 Bit >>>>>>>> - Visual Studio 2017 >>>>>>>> - jdk1.8.0_144 >>>>>>>> - Ignite 2.2 >>>>>>>> >>>>>>>> >>>>>>>> How can i know whats going on without any information. Any ideas ? >>>>>>>> >>>>>>>> Thx >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Best regards, >>>>>>> Andrey V. Mashenkov >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Best regards, >>>>> Alexey >>>>> >>>> >> --001a113cfb745a36bf055a55e730 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You don't have to copy these files manually. Something= is wrong with your setup.
I would advise to remove and reinstall the J= RE/JDK.

By the way, JAVA_HOME is not necessary wit= h Oracle JRE/JDK, Ignite.NET detects it automatically.

On Fri, Sep 29, 2017 at 6:= 39 PM, Patrick Brunmayr <patrick.brunmayr@kpibench.com>= wrote:
JAV= A_HOME points to my JDK folder!=C2=A0

There was a problem first! There was no bin\server\jvm.dll th= ere Dont know why so i copied the jvm.dl from the embedded jdk\jre\bin\serv= er to jdk\bin\server

the= funny thing is! I was able to run my app about 10 times with no problems a= nd suddenly it stopped working.





Pavel Tupitsyn &l= t;ptupitsyn@apach= e.org> schrieb am Fr. 29. Sep. 2017 um 17:34:
>=C2=A0Error occ= urred during initialization of VM
> Unable to load native library: Can't = find dependent libraries

What is your JA= VA_HOME?
Looks like eithe= r JAVA_HOME is incorrect, or=C2=A0J= RE/JDK install is corrupted.
<= br>
On Fri, Sep 29, 2017 at 6:33 PM, Patrick Brun= mayr <patrick.brunmayr@kpibench.com> wrote:
I run my app now from a cmd a= nd this is the output

Error occurred during initialization of VM
Unable to load native lib= rary: Can't find dependent libraries



Patrick Br= unmayr <patrick.brunmayr@kpibench.com> schrieb am Fr. 29. Sep. 2017 = um 17:30:
Th= ere is no output from visual studio! When i set a break point to Ignition.S= tart and try to step over it crashes imediately! No output!
The only output visual studio gives me is that the app exited wit= h code ox1

The output i = got was from running the Apache.Ignite.exe directly that was copied to the = bin\Debug folder!



Alexey Kukushkin <kukushkinalexey= @gmail.com> schrieb am Fr. 29. Sep. 2017 um 17:22:
Patrick,

Is that output from= Visual Studio console window? Ignite writes information to standard output= and error and not to the Visual Studio console. Can you either run your ap= p from cmd.exe or put a breakpoint on the last line and see output in the c= md.exe that Visual Studio opens?

On Fri, Sep 29,= 2017 at 6:13 PM, Patrick Brunmayr <patrick.brunmayr@kpibench.com= > wrote:
I use an embedded= version of ignite! Does this help

I got some more detai= ls. Launching Ignite.Exe gives me

Error occurred during initialization of V= M
Unable to load native library: Can't find dependent libraries

My JAVA_HOME is properly set to my JDK pa= th

Where should ignite logs reside or how can i ac= tivate them ?

Thx

<= div class=3D"m_-3637839390498435192m_1396734925420032711m_-4324103786752609= 967m_5678417823294113160m_5213992462316547152h5">

2017-09-29 17:09 GMT+02:00 Andrey Mashenkov= <= andrey.mashenkov@gmail.com>:

On Fr= i, Sep 29, 2017 at 5:51 PM, Patrick Brunmayr <patrick.brunmayr@kpibench.co= m> wrote:
Hello
I am using Visual Studio 2017 and have installed Apache I= gnite via NuGet. Also checked the VC++ Redis is installed.

Tried to run this little code

try
{
var ignite= =3D Ignition.Start();
}
catch (Exception e)
<= div>{
Console.WriteL= ine(e);
}

My app terminates with f= ollowing output

=C2=A0ConsoleApp1.exe' has exi= ted with code 1 (0x1)

It just crashes without = any information

My setup

=
  • Windows 10 64 Bit
  • Visual Studio 2017
  • jdk1.8.0_144
  • Ignite 2.2

How can i know whats g= oing on without any information. Any ideas ?

Thx





--
Best regards,
Andrey V. Mashenkov




<= div class=3D"gmail_extra">--
Best regards,<= div>Alexey


--001a113cfb745a36bf055a55e730--