Re: Query regarding Generic Entity Framework Cache Store.

2023-08-13 Thread Pavel Tupitsyn
Hi Satyajit,

Generic cache store usage is commented out in the sample repo:
https://github.com/ptupitsyn/ignite-net-examples/blob/master/EFCacheStore/IgniteEFCacheStore/PostCacheStore.cs#L124

Have you tried replacing "return new PostCacheStore();" with the commented
code?

On Mon, Aug 14, 2023 at 5:15 AM  wrote:

> Hi  Pavel,
>
>
>
> Do  you  have  the  example  code  which  calls  the  generic  entity
> framework cache  store.  In the example  mentioned  here  I don’t see  the
> generic  entity framework cache  store  getting  called. Can you  share
> the  code  through  which  you  tested  the  generic entity framework
>  cache store?
>
>
>
>
>
> https://ptupitsyn.github.io/Entity-Framework-Cache-Store/
>
>
>
>
> https://github.com/ptupitsyn/ignite-net-examples/blob/master/EFCacheStore/IgniteEFCacheStore/EntityFrameworkCacheStore.cs
>
>
>
> Need an  example  which  calls  EntityFrameworkCacheStore.
>
>
>
> Regards
>
> Satyajit
>
>
>
> Barclays Execution Services Limited registered in England. Registered No.
> 1767980. Registered office: 1 Churchill Place, London, E14 5HP
>
> Barclays Execution Services Limited provides support and administrative
> services across Barclays group. Barclays Execution Services Limited is an
> appointed representative of Barclays Bank UK plc, Barclays Bank plc and
> Clydesdale Financial Services Limited. Barclays Bank UK plc and Barclays
> Bank plc are authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority. Clydesdale Financial Services Limited is authorised and
> regulated by the Financial Conduct Authority.
>
> This email and any attachments are confidential and intended solely for
> the addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this email
> in error, please notify the sender and immediately delete it and any
> attachments from your system. Do not copy, use, disclose or otherwise act
> on any part of this email or its attachments.
>
> Internet communications are not guaranteed to be secure or virus-free. The
> Barclays group does not accept responsibility for any loss arising from
> unauthorised access to, or interference with, any internet communications
> by any third party, or from the transmission of any viruses. Replies to
> this email may be monitored by the Barclays group for operational or
> business reasons.
>
> Any opinion or other information in this email or its attachments that
> does not relate to the business of the Barclays group is personal to the
> sender and is not given or endorsed by the Barclays group.
>
> Unless specifically indicated, this e-mail is not an offer to buy or sell
> or a solicitation to buy or sell any securities, investment products or
> other financial product or service, an official confirmation of any
> transaction, or an official statement of Barclays.
>


ignite-http-rest

2023-08-13 Thread Humphrey Lopez
When running ignite http rest with spring boot 3, i'm getting the following
error:

java.lang.AbstractMethodError: Receiver class
org.apache.ignite.internal.processors.rest.protocols.http.jetty.GridJettyRestHandler
does not define or inherit an implementation of the resolved method
'abstract void handle(java.lang.String,
org.eclipse.jetty.server.Request,
jakarta.servlet.http.HttpServletRequest,
jakarta.servlet.http.HttpServletResponse)' of interface
org.eclipse.jetty.server.Handler. Selected method is 'abstract void
org.eclipse.jetty.server.handler.AbstractHandler.handle(java.lang.String,
org.eclipse.jetty.server.Request,
jakarta.servlet.http.HttpServletRequest,
jakarta.servlet.http.HttpServletResponse)'.
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.Server.handle(Server.java:563)
at 
org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497)
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)
at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
at 
org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
at java.base/java.lang.Thread.run(Thread.java:1589)


I've looked in the code, it only has method for javax
(javax.servlet.http.HttpServletRequest) and not for the jakarta
(jakarta.servlet.http.HttpServletRequest) interfaces. Will this be picked
up any time soon, as the javax is dead, and everyone is using jakarta now?
(Tested with Ignite version 2.15)


Query regarding Generic Entity Framework Cache Store.

2023-08-13 Thread satyajit.mandal.barclays.com via user
Hi  Pavel,

Do  you  have  the  example  code  which  calls  the  generic  entity framework 
cache  store.  In the example  mentioned  here  I don't see  the generic  
entity framework cache  store  getting  called. Can you  share  the  code  
through  which  you  tested  the  generic entity framework  cache store?


https://ptupitsyn.github.io/Entity-Framework-Cache-Store/

https://github.com/ptupitsyn/ignite-net-examples/blob/master/EFCacheStore/IgniteEFCacheStore/EntityFrameworkCacheStore.cs

Need an  example  which  calls  EntityFrameworkCacheStore.

Regards
Satyajit


Barclays Execution Services Limited registered in England. Registered No. 
1767980. Registered office: 1 Churchill Place, London, E14 5HP

Barclays Execution Services Limited provides support and administrative 
services across Barclays group. Barclays Execution Services Limited is an 
appointed representative of Barclays Bank UK plc, Barclays Bank plc and 
Clydesdale Financial Services Limited. Barclays Bank UK plc and Barclays Bank 
plc are authorised by the Prudential Regulation Authority and regulated by the 
Financial Conduct Authority and the Prudential Regulation Authority. Clydesdale 
Financial Services Limited is authorised and regulated by the Financial Conduct 
Authority.

This email and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this email in error, please 
notify the sender and immediately delete it and any attachments from your 
system. Do not copy, use, disclose or otherwise act on any part of this email 
or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any internet communications by 
any third party, or from the transmission of any viruses. Replies to this email 
may be monitored by the Barclays group for operational or business reasons.

Any opinion or other information in this email or its attachments that does not 
relate to the business of the Barclays group is personal to the sender and is 
not given or endorsed by the Barclays group.

Unless specifically indicated, this e-mail is not an offer to buy or sell or a 
solicitation to buy or sell any securities, investment products or other 
financial product or service, an official confirmation of any transaction, or 
an official statement of Barclays.


Re: Simple question relating to multiple data regions with persistence

2023-08-13 Thread Raymond Wilson
Actually, ignore that question. I was conflating storage and data region
configurations so my question is invalid!

On Mon, Aug 14, 2023 at 11:40 AM Raymond Wilson 
wrote:

> I am looking at defining additional data regions with persistence to
> support cache with some different settings (eg: page size, synchronization
> mode).
>
> After reading
> https://ignite.apache.org/docs/latest/persistence/native-persistence#enabling-persistent-storage
> I am not sure if I should specify different storage folders for each data
> region for data and WAL files, or whether Ignite is happy to have all data
> regions using the same base storage path.
>
> Raymond.
>
>
> --
> 
> Raymond Wilson
> Trimble Distinguished Engineer, Civil Construction Software (CCS)
> 11 Birmingham Drive | Christchurch, New Zealand
> raymond_wil...@trimble.com
>
>
> 
>


-- 

Raymond Wilson
Trimble Distinguished Engineer, Civil Construction Software (CCS)
11 Birmingham Drive | Christchurch, New Zealand
raymond_wil...@trimble.com




Simple question relating to multiple data regions with persistence

2023-08-13 Thread Raymond Wilson
I am looking at defining additional data regions with persistence to
support cache with some different settings (eg: page size, synchronization
mode).

After reading
https://ignite.apache.org/docs/latest/persistence/native-persistence#enabling-persistent-storage
I am not sure if I should specify different storage folders for each data
region for data and WAL files, or whether Ignite is happy to have all data
regions using the same base storage path.

Raymond.


-- 

Raymond Wilson
Trimble Distinguished Engineer, Civil Construction Software (CCS)
11 Birmingham Drive | Christchurch, New Zealand
raymond_wil...@trimble.com