Re: Ignite.NET 2.2 crashes on startup without any information

2018-08-01 Thread Pavel Tupitsyn
Hi Ilya, Yes, this requirement is stated in the documentation in Getting Started [1] and Troubleshooting [2] sections. By the way, this is no longer the case since 2.4 onwards. [1] https://apacheignite-net.readme.io/v2.2/docs/getting-started-2 [2] https://apacheignite-net.readme.io/v2.2/docs/tro

Re: Ignite.NET 2.2 crashes on startup without any information

2018-07-31 Thread ilya.kasnacheev
Hello! I have just witnessed this problem and was able to fix it by installing MFC Redistributable 2010. Apparently jvm.dll depends on msvcr100.dll and it can get misplaced even on modern Windows as to require reinstall of this component. Regards, -- Sent from: http://apache-ignite-users.7051

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
Okay tried the setup on another station and it works like a charme! Seems my box has a bad setup. Don't know how to fix but i know its an issue of my setup. Thx a lot guys Patrick Brunmayr schrieb am Fr. 29. Sep. 2017 um 19:20: > i will try on monday and give feedback > > Thx for your help so f

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
i will try on monday and give feedback Thx for your help so far 2017-09-29 19:15 GMT+02:00 Patrick Brunmayr : > >1. jre\bin\server\jvm.dll is there > >2. I can try it > >

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
1. jre\bin\server\jvm.dll is there 2. I can try it

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
Patrick, With the configuration above (App built for x64 platform and having x64 Java installed), do you still see this output ? Error occurred during initialization of VM Unable to load native library: Can't find dependent libraries

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Pavel Tupitsyn
1) Does it have "jre\bin\server\jvm.dll" though? 2) Can you set IgniteConfiguretion.JvmDllPath to point to jvm.dll, wherever it is on your machine? On Fri, Sep 29, 2017 at 8:10 PM, Patrick Brunmayr < patrick.brunm...@kpibench.com> wrote: > >1. No. I am running x64 Build not Any Cpu > >2.

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
1. No. I am running x64 Build not Any Cpu 2. No i have Oracle JDK 8.144 64 Bit and pointed my JAVA_HOME there ( BUT JDK Folder does not have bin\server\jvm.dll ) 2017-09-29 19:05 GMT+02:00 Alexey Kukushkin : > Patrick, > > Can you please confirm two things: > > >1. This is the only

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
Patrick, Can you please confirm two things: 1. This is the only output you see if you run your app build for "Any CPU" in cmd: Error occurred during initialization of VM Unable to load native library: Can't find dependent libraries 2. You have Oracle JDK 8.144, which is 32bit (in

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
it still does not work! Thes items are yellow in dependency manager API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL API-MS-WIN-CORE-WINRT-L1-1-0.DLL API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL DCOMP.DLL IESHIMS.DLL 2017-09-29 18:56 GMT+02:00 Alexey Kukushkin : > Pa

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
Patrick, It seems you might have a different problem. My problem was I had Java x64 but my console app preferred 32bit JNI library, which could not load 64bit jvm.dll. I fixed it by either switching to x64 or unchecking "Prefer 32bit" for "Any CPU". Your errors and behaviour seems different. Let

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Pavel Tupitsyn
Ok, can you try the Dependency Walker on your jvm.dll and see if it helps? http://www.dependencywalker.com/ On Fri, Sep 29, 2017 at 7:39 PM, Patrick Brunmayr < patrick.brunm...@kpibench.com> wrote: > Yes and as i told you there is no exception :) > > The output from the console window is > > Erro

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
okay i try that 2017-09-29 18:44 GMT+02:00 Alexey Kukushkin : > OK, I solved all my issues. I can run the console app on "Any CPU" after > unchecking "Prefer 32-bit" in the project build properties. > > On Fri, Sep 29, 2017 at 7:39 PM, Patrick Brunmayr < > patrick.brunm...@kpibench.com> wrote: >

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
OK, I solved all my issues. I can run the console app on "Any CPU" after unchecking "Prefer 32-bit" in the project build properties. On Fri, Sep 29, 2017 at 7:39 PM, Patrick Brunmayr < patrick.brunm...@kpibench.com> wrote: > Yes and as i told you there is no exception :) > > The output from the c

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
Yes and as i told you there is no exception :) The output from the console window is Error occurred during initialization of VM Unable to load native library: Can't find dependent libraries 2017-09-29 18:37 GMT+02:00 Pavel Tupitsyn : > You said "without any exception" above, but it turns ou

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Pavel Tupitsyn
You said "without any exception" above, but it turns out there is a very good and descriptive exception :) Please make sure to get the exception details and attach them here. If you run Apache.Ignite.exe, do so from a console window, so that you can see the output. On Fri, Sep 29, 2017 at 7:32 PM

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Pavel Tupitsyn
> C:\Program Files\Java\jdk1.8.0_144\jre\bin\server\jvm.dll, error=DLL could not be loaded (193: ERROR_BAD_EXE_FORMAT). This is often caused by x64/x86 mismatch. Current process runs in x86 mode, and DLL is not x86.] There is your problem. Ignite.NET found the dll, but there is x86-x64 mismatch. M

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
Yes but that is not the problem. I came across that exception and changed to a x64 build config and rebuilt all. But it still crashes without any exception 2017-09-29 18:30 GMT+02:00 Pavel Tupitsyn : > > C:\Program Files\Java\jdk1.8.0_144\jre\bin\server\jvm.dll, error=DLL > could not be loaded (1

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
Did the same like you but now its crashing 2017-09-29 18:19 GMT+02:00 Alexey Kukushkin : > Patrick, > > I fixed the problem by creating new x64 configuration (set Platform to > "x64") since I have JDK x64 installed. I still do not understand why Any > CPU does not work. > > On Fri, Sep 29, 2017 a

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
Patrick, I fixed the problem by creating new x64 configuration (set Platform to "x64") since I have JDK x64 installed. I still do not understand why Any CPU does not work. On Fri, Sep 29, 2017 at 7:15 PM, Patrick Brunmayr < patrick.brunm...@kpibench.com> wrote: > I got the exact same message lik

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
I got the exact same message like you Alexey 2017-09-29 18:13 GMT+02:00 Alexey Kukushkin : > Pavel, > > It does not work for me - seems same problem. I also have VisualStudio > 2017 and Oracle JDK 8.144. I suggest we open a ticket and investigate. I > have jvm.dll inside jre\bin\server\jvm.dll bu

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
BTW, I have MSVC++ 2010 redistributable. On Fri, Sep 29, 2017 at 7:13 PM, Alexey Kukushkin wrote: > Pavel, > > It does not work for me - seems same problem. I also have VisualStudio > 2017 and Oracle JDK 8.144. I suggest we open a ticket and investigate. I > have jvm.dll inside jre\bin\server\jv

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
I have Java SE Development Kit 8u144 Maybe it did not work because the jdk and the jre have not been at the same root level ? The JRE was installed inside the JDK folder. Maybe thats the bug thx 2017-09-29 18:09 GMT+02:00 Pavel Tupitsyn : > Ignite.NET uses multiple lookup paths to locate jvm

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
Pavel, It does not work for me - seems same problem. I also have VisualStudio 2017 and Oracle JDK 8.144. I suggest we open a ticket and investigate. I have jvm.dll inside jre\bin\server\jvm.dll but for some reason Ignite does not try it. Apache.Ignite.Core.Common.IgniteException: Failed to load j

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Pavel Tupitsyn
Ignite.NET uses multiple lookup paths to locate jvm.dll: https://github.com/apache/ignite/blob/master/modules/platforms/dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs#L49 // JRE paths@"bin\server",@"bin\client", // JDK paths@"jre\bin\server",@"jre\bin\client",@"jre\bin\default" On my machine JA

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
I just removed the JDK and reinstalled it properly. BUT I need JAVA_HOME for other applications like cassandra. According to internet JAVA_HOME should point to the JDK installation dir right ? But when i do this Ignite tries to load %JAVA_HOME%\bin\server.dll which is not present in the JDK fold

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Pavel Tupitsyn
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.brunm..

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
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 work

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Pavel Tupitsyn
> 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.brunm...@kpibench.com> wrote:

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
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.S

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
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 t

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Alexey Kukushkin
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

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
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 h

Re: Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Andrey Mashenkov
Hi Patrick, Would you please share ignite logs? On Fri, Sep 29, 2017 at 5:51 PM, Patrick Brunmayr < patrick.brunm...@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

Ignite.NET 2.2 crashes on startup without any information

2017-09-29 Thread Patrick Brunmayr
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'