Re: embedded jetty & ignite

2020-05-29 Thread Denis Magda
Clay, Just start your Jetty server and deploy as many instances of your web app as needed. Inside the logic of those apps start Ignite server nodes instances. Then, refer to this documentation page for session clustering configuration: https://apacheignite-mix.readme.io/docs/web-session-clustering

Re: embedded jetty & ignite

2020-05-29 Thread Clay Teahouse
thank you Denis. If I want to go with the first option, how would I deploy jetty as embedded server? Do I deploy it as an ignite service? How would I do session clustering in this case? On Fri, May 29, 2020 at 3:18 PM Denis Magda wrote: > Hi Clay, > > I wouldn't suggest using Ignite's Jetty inst

Re: Random2LruPageEvictionTracker causing hanging in our integration tests

2020-05-29 Thread scottmf
hi Ilya, I have reproduced the problem and logged a bug bug -> https://issues.apache.org/jira/browse/IGNITE-13097 repro -> https://github.com/scottmf/ignite-oom As I stated on the bug: My observation is that each IgniteCache object takes up almost 8MB. I'm pretty sure this is taking up all the

Re: embedded jetty & ignite

2020-05-29 Thread Denis Magda
Hi Clay, I wouldn't suggest using Ignite's Jetty instance for the deployment of your services. Ignite's Jetty primary function is to handle REST requests specific to Ignite: https://apacheignite.readme.io/docs/rest-api Instead, deploy and manage your restful services separately. Then, if the goal

Re: Building Ignite 2.8.1 using open jdk

2020-05-29 Thread Stephen Darlington
Correct: JDK8 to build, JDK11 to run. BTW, you shouldn’t need to change the core product to do something like that. Not finished yet, but you might be able to get some ideas from here: https://github.com/sdarlington/ignite-vault Regards, Stephen > On 29 May 2020, at 16:15, Debdatta Bhattacharj

embedded jetty & ignite

2020-05-29 Thread Clay Teahouse
hello, I understand that ignite comes with embedded jetty server. 1) Can I utilize this jetty server to deploy my own restful services (using Jersey implementation)? If yes, can you please direct me to some examples. Further questions: 2)How does the ignite embedded jetty work with regard to load b

Re: Building Ignite 2.8.1 using open jdk

2020-05-29 Thread Debdatta Bhattacharjee
Thanks Stephen! Well, we had some local code changes done for Ignite where we used write behind and for integrating Cassandra, the password was not encrypted. So we had to change the code to integrate our own password encryption/decryption strategy for which we need to build the code. 2.4 also had

Re: Building Ignite 2.8.1 using open jdk

2020-05-29 Thread Stephen Darlington
You can run it using JDK11 but it currently only builds with JDK8. Unless you’re developing Ignite itself, there’s generally not much need to actually build Ignite yourself. I normally just use the downloads from Maven and I often use JDK11. Regards, Stephen > On 29 May 2020, at 15:28, Debdatt

Building Ignite 2.8.1 using open jdk

2020-05-29 Thread Debdatta Bhattacharjee
Hello there, Looking at the below link: https://apacheignite.readme.io/docs/getting-started It says Ignite 2.8.1 is officially tested on Open JDK 8 and above. 1. Does this mean it is tested on Open JDK 11 as well? I would assume that it is tested with Open JDK 8 runtime. 2. Can Ignite

Re: Slow query from PHP PDO with auhentication enabled

2020-05-29 Thread manueltg89
But This problem increases when we've authentication enabled. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-29 Thread Ilya Kasnacheev
Hello! You need assembly because assembly collects puts files in libs/. Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 13:52, rakshita04 : > i do not need to the zip of bin files. > Basically i want to build modules/core and i want to put the output jar > files inside /module/libs folder. >

Re: How to build apache ignite binaries using source code for C++ platform

2020-05-29 Thread Igor Sapego
Hi, C++ code is not built using maven, it uses atuotools or msvc instead. see ignite/modules/platforms/cpp/DEVNOTES.txt for instructions. And yes, it does not require internet connection to be built. Best Regards, Igor On Thu, May 28, 2020 at 1:30 PM rakshita04 wrote: > Hi , actually we need

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-29 Thread rakshita04
i do not need to the zip of bin files. Basically i want to build modules/core and i want to put the output jar files inside /module/libs folder. when i run the command mentioned by you in the thread it puts the generated jar files in module/core/target folder. -- Sent from: http://apache-ignite-

Re: Retrieve object from cache triggers ClassNotFoundException

2020-05-29 Thread xingjl6280
Hi all, Thanks for all your reply. Finally, I resolved it. Originally, I thought it's an ignite bug related to Object deserialisation, but I realise it's not when I failed to reproduce this issue in a springboot project. My problematic project is based on Cuba Platform, which uses ParallelWebap

Re: Retrieve object from cache triggers ClassNotFoundException

2020-05-29 Thread Ilya Kasnacheev
Hello! It should be working. Can you share a reproducer? Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 04:53, xingjl6280 : > Hi Alex, > > Sorry, seems I didn't put my question clearly. > > I tried ignite.cache().get() to retrieve my object, but got error > ClassNotFound > That's why I try

Re: Slow query from PHP PDO with auhentication enabled

2020-05-29 Thread Ilya Kasnacheev
Hello! I can see how opening new connections may become slower. It is advised to pool connections. Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 12:06, manueltg89 : > As I've said in my previous message the problem is to open connection with > cluster, when I've enabled authentication on c

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-29 Thread Ilya Kasnacheev
Hello! Normally this is done by mvn initialize -Prelease, then all the files will be in target/apache-ignite-VERSION-bin directory and corresponding zip file. Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 10:37, rakshita04 : > Thanks Ilya. > I am able to build the binaries using above comm

Re: Slow query from PHP PDO with auhentication enabled

2020-05-29 Thread manueltg89
As I've said in my previous message the problem is to open connection with cluster, when I've enabled authentication on cluster this process is more slow than when I've disabled authentication. After to open connection the queries take much o less the same time, but, Is normal that to open connecti

Re: Messages being Missed on Node Start

2020-05-29 Thread zork
Thanks akorensh, As advised I'm trying to send a user-defined event from the receiving node when it becomes ready to accept messages and listening to this event on the sending node to wait until the receiver is ready. However, the node that I'm trying to send a user-defined event from is a .net no

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-29 Thread rakshita04
Thanks Ilya. I am able to build the binaries using above command. Is there any way that i can put the output jar files in a specific target directory? Currently its going in core/target and core/target/libs And the apache ignite is trying to pick the libraries from modules/libs folder. -- Sent f