Re: Logging using Log4Net

2018-02-14 Thread ozgurnevres
Great. Many thanks! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Logging using Log4Net

2018-02-12 Thread ozgurnevres
You can download a simple reproducer project here: https://1drv.ms/u/s!ApZeEREhT0aVxHwU56ywJxhuVWvR -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Logging using Log4Net

2018-02-12 Thread ozgurnevres
"please ensure that your log4net configuration section is actually used" How can I ensure that? It seems there's no property in logger configuration to tell which appender will be used. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Logging using Log4Net

2018-02-12 Thread ozgurnevres
Hi, I want to use log4net for logging. Ignite starts from ApplicationConfiguration like this: Ignition.StartFromApplicationConfiguration() It seems it isn't logging in C:\Logs. What am I doing wrong? Ignite configuration is like http://ignite.apache.org/schema/dotnet/IgniteConfigurationSectio

Re: REST API Configuration for Ignite.net

2017-04-11 Thread ozgurnevres
Thanks, Pavel In fact I already understand that I have to use spring xml, but I couldn't find how to configure the REST API in spring xml. At app.config, I can set some options like this: -Xmx5g -XX:ParallelGCThreads=8 -XX:ConcGCThreads=8 -XX:+UseG1GC-->

REST API Configuration for Ignite.net

2017-04-11 Thread ozgurnevres
I previously opened a thread here: http://apache-ignite-users.70518.x6.nabble.com/Configuration-using-spring-xml-log4j-error-td11872.html But I think in that thread I made things complicated. My simpler question is: how to configure REST API for Ignite.net? By default, it uses 8080 port and I suc

Re: Configuration using spring xml - log4j error

2017-04-11 Thread ozgurnevres
After a bit searching I found this thread: http://apache-ignite-users.70518.x6.nabble.com/Rest-api-Returning-no-reply-from-server-td6561.html The conservation in the thread: /"Are you asking how to provide your own XML for Jetty? If so, it can be done like this: ConnectorConfiguration connCfg =

Re: Configuration using spring xml - log4j error

2017-04-11 Thread ozgurnevres
A few more about topic: - Why I am trying to use spring xml? Because I want to use the Ignite REST API, and I couldn't find a way to configure it. THere is a configuration xml sample at https://apacheignite.readme.io/docs/rest-api#general-configuration So I thought that if I configure Ignite with

Configuration using spring xml - log4j error

2017-04-11 Thread ozgurnevres
Hi, I am trying to configure Ignite using spring xml. I am trying to apply the example here: https://apacheignite-net.readme.io/v1.9/docs/configuration#section-spring-xml But when I try to start the Ignite, I am getting the error below: (it is actually warning, but Ignite does not start) No app

Re: Asp.net client reconnect problem

2017-04-07 Thread ozgurnevres
I think you mean the source code on github, did I get it right? Will this fix be included in the future updates of the Ignite nuget package? thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Asp-net-client-reconnect-problem-tp11735p11808.html Sent from the

Re: Asp.net client reconnect problem

2017-04-06 Thread ozgurnevres
Any suggestion? :( -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Asp-net-client-reconnect-problem-tp11735p11772.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Asp.net client reconnect problem

2017-04-05 Thread ozgurnevres
log.txt Hi Pavel, The log file (after ClientReconnected is fired while server is still down) is attached. thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Asp-net-client-reconnect-prob

Re: Asp.net client reconnect problem

2017-04-05 Thread ozgurnevres
And yes, I am sure there's no other server node. (Topology shows 1 server ven I restart the server) -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Asp-net-client-reconnect-problem-tp11735p11751.html Sent from the Apache Ignite Users mailing list archive at Nabbl

Re: Asp.net client reconnect problem

2017-04-05 Thread ozgurnevres
Hi, Pavel The steps are below: 1- I am starting server node. 2- Then starting asp.net client node. 3- Querying database. Works perfect. 4- Stopping server node. Ignite fires ClientDisconnected as one expected. 5- A few seconds later, while server is still down, Ignite fires ClientReconnected event

Re: Asp.net client reconnect problem

2017-04-05 Thread ozgurnevres
While we send a query to our cluster, We get the following error message from asp.net client node "Grid is in invalid state to perform this operation. It either not started yet or has already being or have stopped [gridName=myGrid1, state=STOPPED]" Then we restart every thing on client node(app p

Asp.net client reconnect problem

2017-04-05 Thread ozgurnevres
Hi, I am running Ignite on asp.net as a client node. I have also a server node as console application. M problem is: 1- When I stop the server node when asp.net client node is connected, it fires first "ClientDisconnected" event. Then, a few seconds later fires "ClientReconnected" event. Why? The s

"Ignite instance with this name has already been started" exception

2017-04-04 Thread ozgurnevres
Hi, I have an interesting problem. Sometimes, when starting ignite in my asp.net mvc project, I am getting the exception below: "Ignite instance with this name has already been started: myGrid1" My code is like this:, if (null == Ignition.TryGetIgnite("myGrid1")) _ignite = Ignition.StartFromAp

A question about cluster configuration (Are there any way to make client connection faster?)

2017-04-03 Thread ozgurnevres
The ignite configuration in my app.config (and web.config) is like below: 48500 192.168.1.100:48500 48100 With that configuration, a client on the same network (on a different computer) connects around 10-12 seconds. If I

Re: Can I use Ignite as a database within my asp.net mvc project? (not as Output Cache Provider or Session State Store Provider)

2017-03-31 Thread ozgurnevres
It worked, thanks! I didn't see the ASP.NET Deployment section, my mistake... -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Can-I-use-Ignite-as-a-database-within-my-asp-net-mvc-project-not-as-Output-Cache-Provider-or-Session-tp11624p11628.html Sent from the Apa

Can I use Ignite as a database within my asp.net mvc project? (not as Output Cache Provider or Session State Store Provider)

2017-03-31 Thread ozgurnevres
Hi, I want to use Ignite within my asp.net mvc project but I don't want it use as a Output Cache Provider or Session State Store Provider. I want to use it as a database, and run sql queries on it, i.e. querying products. Is this possible? When I try to start Ignite in Application_Start in Global

How to set join timeout? (Ignite.net)

2017-03-29 Thread ozgurnevres
I am trying to do this: when no server available, if a client starts, wait for some exact seconds and then give the user some feedback. I found this in documentation: setJoinTimeout(long) Sets join timeout. If non-shared IP finder is used and node fails to connect to any address from IP finder, n

Re: How can I perform SqlFieldsQuery on DateTime field (binary cache)?

2017-03-27 Thread ozgurnevres
Sorry my mistake it works, thanks! I wrote "birthdate" instead of "birthday" at the query line. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-can-I-perform-SqlFieldsQuery-on-DateTime-field-binary-cache-tp11457p11474.html Sent from the Apache Ignite Users m

Re: How can I perform SqlFieldsQuery on DateTime field (binary cache)?

2017-03-27 Thread ozgurnevres
Hi, again Thanks for the answer. Now my PopulateCache method is like below (I didn't change any other thing from my previous post): private static void PopulateCache(ICache cache) { IBinary binary = cache.Ignite.GetBinary(); // Populate persons.

Re: How can I perform SqlFieldsQuery on DateTime field (binary cache)?

2017-03-27 Thread ozgurnevres
And I forgot to answer your question, yes, this is Ignite.net -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-can-I-perform-SqlFieldsQuery-on-DateTime-field-binary-cache-tp11457p11470.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How can I perform SqlFieldsQuery on DateTime field (binary cache)?

2017-03-27 Thread ozgurnevres
Hi, Pitupitsyn Thanks for the quick reply! After trying a bit more, I realized that there might be another problem. Here my steps if you want to reproduce (Five steps total): 1- I downloaded Apache.Ignite.Examples sln and working on it. 2- On BinaryCodeExample.cs, I first added a DateTime field

How can I perform SqlFieldsQuery on DateTime field (binary cache)?

2017-03-27 Thread ozgurnevres
My query is: var rows = _cache.QueryFields(new SqlFieldsQuery("select productid, recorddate, inventory from product where recorddate > '2016-03-27'")); and I get the exception below: Failed to run map query remotely but this works: var rows = _cache.QueryFields(new SqlFieldsQuery("select product

Re: Can I use Dynamic Linq on Binary Objects cache?

2017-03-17 Thread ozgurnevres
Ok I'll do so. Thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Can-I-use-Dynamic-Linq-on-Binary-Objects-cache-tp11265p11279.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Can I use Dynamic Linq on Binary Objects cache?

2017-03-17 Thread ozgurnevres
Hi, I am working on your example c# project. On BinaryModeExample.cs, I run all examples. But there's no example showing how to use dynamic Linq with binary cache. How can I do that? I tried the code below but it didn't work. var cacheQueryable = _cacheBinary.AsCacheQueryable(false, "