Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-23 Thread Thomas Andraschko
And creating a dsrid for each request is by design anyway, the windowhandler JS removes it then. Therefore i suggest everyone to use the Lazy mode. Thomas Andraschko schrieb am Di., 23. Jan. 2024, 14:20: > As i said, it works fine in our jsf playground example application. If you > have a

Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-23 Thread Thomas Andraschko
ly reproducible test using standard > WWW-toolset! > > You don't agree, let's agree to disagree. > If the "dsrwid" handling stays as it is, I will simply disable > DS-ClientWindow. > End. > > > Am Di., 23. Jan. 2024 um 11:09 Uhr schrieb Thomas Andraschko <

Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-23 Thread Thomas Andraschko
FALSE /webFALSE 0 JSESSIONID > A574C3F9FBB9FD9E4FB7235CD3D81EA0 > localhost FALSE / FALSE 0 dsrwid--803 -803 > > I think that this demonstrates the accumulation of DS-Window cookies. > I cannot imagine that this is the desired behavior. >

Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-18 Thread Thomas Andraschko
n of client cookies? > > Would it not be useful to check, if any cookie - matching pattern > "dsrwid-\d" - exists, and accept it (and perhaps increment max-age)? > > > Am Mi., 17. Jan. 2024 um 22:39 Uhr schrieb Thomas Andraschko < > andraschko.tho...@gmail.com>: &

Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-17 Thread Thomas Andraschko
Works for me in the playground with myfaces/tomee. Can you try the WAR on your wildfly? Thomas Frühbeck schrieb am Mi., 17. Jan. 2024, 22:05: > I hope you meant RenderMode, this is in my case: > ClientWindowRenderMode.LAZY > > Am Mi., 17. Jan. 2024 um 14:00 Uhr schrieb Thoma

Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-17 Thread Thomas Andraschko
i readded the jsf-playground, which can be started via: mvn clean package tomee-embedded:run both CLIENTWINDOW and LAZY works fine for me Am Mi., 17. Jan. 2024 um 14:00 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > Whats the default currently? Should be clientwindow.

Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-17 Thread Thomas Andraschko
WindowConfig { > > @Override > public ClientWindowRenderMode getClientWindowRenderMode(FacesContext > facesContext) { > return super.getClientWindowRenderMode(facesContext); > } > } > > and in web.xml: > > jakarta.faces.CLIENT_WINDOW_MODE > NONE > > > Am

Re: Deltaspike-2.0.0-SNAPSHOT - DS-WindowId - massive cookies - DoS on Undertow by IllegalStateException

2024-01-17 Thread Thomas Andraschko
whats your config? CLIENTWINDOW? Am Di., 16. Jan. 2024 um 22:31 Uhr schrieb Thomas Frühbeck < t.fruehb...@gmail.com>: > I am using in my template. > Now an incredible number of dswid-nnn cookies are generated! > > After some request the Undertow stack will generate IllegalStateExceptions > due

Re: Deltaspike-2.0.0-SNAPSHOT - CdiTestRunner - Weld5 - timing - Tests fail on "unsatisfied Dependency"

2024-01-16 Thread Thomas Andraschko
I never ever used it Do you use junit5? Im sure we are still on 4 Thomas Frühbeck schrieb am Di., 16. Jan. 2024, 21:34: > I have problems with tests using CdiTestRunner failing on "unsatisfied > Dependencies". > I did my best to assure that beans exist - and the code works flawlessly in >

Re: Mojarra 4.0.4 - ClientWindowHelper.handleInitialRedirect causes NullPointerException

2024-01-16 Thread Thomas Andraschko
and complete failure!) > > I worked around it by an own FacesContextFactory setting this attribute > "facelets.encoding". > A stupid hack, but couldn't find any solution :-/ > > On Tue, 16 Jan 2024, 10:20 Thomas Andraschko, > > wrote: > > > Can you make a

Re: Mojarra 4.0.4 - ClientWindowHelper.handleInitialRedirect causes NullPointerException

2024-01-16 Thread Thomas Andraschko
Can you make a PR in Mojarra for this? I think Mojarra can easily add a null check here, makes a lot easier for us. Am Di., 16. Jan. 2024 um 08:08 Uhr schrieb Thomas Frühbeck < t.fruehb...@gmail.com>: > Mojarra 4.0.4 is _very_ convinced, that encodeRedirectURL may be called > only(?) in context

Re: 2.0.0-SNAPSHOT - MessageBundleExtension - Weld - NullPointerExc II

2024-01-11 Thread Thomas Andraschko
Weld builds now! Am Do., 11. Jan. 2024 um 19:19 Uhr schrieb Thomas Frühbeck < t.fruehb...@gmail.com>: > For Profile Weld update of dependencies I just sent a pull request >

Re: 2.0.0-SNAPSHOT - EAR on Wildfly - Even DefaultConfigSourceProvider is not found

2024-01-11 Thread Thomas Andraschko
ndy. > > Wildfly 29 is NOT an older container. > > > On Jan 11, 2024, at 11:16 AM, Thomas Andraschko < > andraschko.tho...@gmail.com> wrote: > > > > could you try to test this feature in a simple WAR? Did it work in DS > 1.x? > > > &g

Re: 2.0.0-SNAPSHOT - EAR on Wildfly - Even DefaultConfigSourceProvider is not found

2024-01-11 Thread Thomas Andraschko
could you try to test this feature in a simple WAR? Did it work in DS 1.x? we removed some hacks in DS for older containers, maybe its related to this or just a bug in the current codebase. Am So., 7. Jan. 2024 um 20:55 Uhr schrieb Arnold Morein : > If the DefaultConfigSourceProvider class is

Re: 2.0.0-SNAPSHOT - local testing

2024-01-11 Thread Thomas Andraschko
to master Am Do., 11. Jan. 2024 um 18:06 Uhr schrieb Arnold Morein : > to where? a new branch or trunk? > > > On Jan 11, 2024, at 10:40 AM, Thomas Andraschko < > andraschko.tho...@gmail.com> wrote: > > > > i applied your suggestions > > > > Am

Re: 2.0.0-SNAPSHOT - MessageBundleExtension - Weld - NullPointerExc II

2024-01-11 Thread Thomas Andraschko
the code you posted doesnt seem to exist anymore?! Am Do., 11. Jan. 2024 um 17:41 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > How do you run this test? > > Am Mo., 8. Jan. 2024 um 14:12 Uhr schrieb Thomas Frühbeck < > t.fruehb...@gmail.com>: >

Re: 2.0.0-SNAPSHOT - MessageBundleExtension - Weld - NullPointerExc II

2024-01-11 Thread Thomas Andraschko
How do you run this test? Am Mo., 8. Jan. 2024 um 14:12 Uhr schrieb Thomas Frühbeck < t.fruehb...@gmail.com>: > I would like to continue on the Weld-Profile, there I am lost on the > following Test. > I do not see any hint, how this could work. > > Profile: Weld > Test:

Re: 2.0.0-SNAPSHOT - local testing

2024-01-11 Thread Thomas Andraschko
i applied your suggestions Am Mo., 8. Jan. 2024 um 13:19 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > yep > that would be great > > i will also come back this month as we migrating our company applications > to jakarta and we also depend on DS. > >

Re: 2.0.0-SNAPSHOT - local testing

2024-01-08 Thread Thomas Andraschko
yep that would be great i will also come back this month as we migrating our company applications to jakarta and we also depend on DS. Am So., 7. Jan. 2024 um 18:25 Uhr schrieb Arnold Morein : > oh, a pull request. ok. > > > On Jan 7, 2024, at 10:40 AM, Arnold Morein > wrote: > > > > I know

Re: 2.0.0-SNAPSHOT - local testing

2024-01-07 Thread Thomas Andraschko
Can you create a PR? That would help a lot Arnold Morein schrieb am So., 7. Jan. 2024, 17:41: > I know that not all of javax was renamed to jakarta, but several of these > would appear to be incorrect and need to be updated. > > > /** > * These config keys will get used to detect the

Re: Is DeltaSpike maintained any longer? What about Jakarta

2023-12-28 Thread Thomas Andraschko
t; deltaspike-proxy-module-impl-asm-1.9.7-SNAPSHOT.jar > >>>> 22154 Jun 1 2022 deltaspike-security-module-api-1.9.7-SNAPSHOT.jar > >>>> 40039 Jun 1 2022 deltaspike-security-module-impl-1.9.7-SNAPSHOT.jar > >>>> > >>>> Is this some kin

Re: Is DeltaSpike maintained any longer? What about Jakarta

2023-12-28 Thread Thomas Andraschko
Can you try snapshots? We migrated the master to Jakarta, just noone has enough time to Test or finish. Just to few active commiters. Arnold Morein schrieb am Do., 28. Dez. 2023, 18:43: > I’m trying to add DeltaSpike’s JSF modules and maven is including the > non-classified modules as well. Not

Re: Deltaspike 1.9.4 on Payara 6 not working anymore - 2.0 ?

2023-10-10 Thread Thomas Andraschko
oes it make sense to remove > Deltaspike from my projects (which will be a huge effort) or are the some > release plans so that we can use it with the current JEE Versions. > > br > Thomas > > > > -Ursprüngliche Nachricht- > Von: Thomas Andraschko

Re: Deltaspike 1.9.4 on Payara 6 not working anymore - 2.0 ?

2023-10-05 Thread Thomas Andraschko
le for me too. > > Br > Thomas > > > -Ursprüngliche Nachricht- > Von: Thomas Andraschko > Gesendet: Donnerstag, 5. Oktober 2023 16:20 > An: users@deltaspike.apache.org > Betreff: Re: Deltaspike 1.9.4 on Payara 6 not working anymore - 2.0 ? > > Hi guys, > > in

Re: Deltaspike 1.9.4 on Payara 6 not working anymore - 2.0 ?

2023-10-05 Thread Thomas Andraschko
Hi guys, in theory we did the most work in the master. We would just need some help to re-activate our arquillian tests and fix the result. I just dont have enough time, probably same as other commiters. So if you can work on it, it would be great. Am Do., 5. Okt. 2023 um 15:57 Uhr schrieb

Re: Re: Best way to run DeltaSpike with JakartaEE 9+ ?

2023-04-20 Thread Thomas Andraschko
; > java.lang.NoSuchMethodError: 'java.lang.Class > > org.apache.deltaspike.proxy.api.DeltaSpikeProxyFactory.getProxyClass(jakarta.enterprise.inject.spi.BeanManager, > java.lang.Class)' > > I can give you more information if you guide me in what to look for. > > Thank you > Alessandro > > On Thu, Apr 20, 2023 at 12

Re: Re: Best way to run DeltaSpike with JakartaEE 9+ ?

2023-04-20 Thread Thomas Andraschko
what doesnt work for you? Am Do., 20. Apr. 2023 um 12:27 Uhr schrieb Alessandro Magnolo < a...@magnolo.com>: > Hello Matti, > the snapshots are available, see > https://deltaspike.apache.org/documentation/snapshots.html . > I tried using DeltaSpike 2.0.0-SNAPSHOT with WildFly 27.0.1 (and >

Re: Data module - EntityMetadataInitializer strange exception

2020-05-19 Thread Thomas Andraschko
st Regards, > Panos Konstantinidis > > -Original Message- > From: Thomas Andraschko > Sent: Tuesday, May 19, 2020 8:31 PM > To: users@deltaspike.apache.org > Subject: Re: Data module - EntityMetadataInitializer strange exception > > Hi, > > Could you tr

Re: Data module - EntityMetadataInitializer strange exception

2020-05-19 Thread Thomas Andraschko
Hi, Could you try to add a unittest in the data-impl module? I can fix it then. KONSTANTINIDIS Panagiotis schrieb am Di., 19. Mai 2020, 18:28: > Hello, > > This is a long shot, but I thought to give it a try. > > We are using DeltaSpike v1.9.3 in our JEE web application which is > deployed to

Re: Quarkus + Deltaspike

2020-04-15 Thread Thomas Andraschko
Hi, that wont work! Quarkus isn't a CDI implementation (it just uses many API parts), so i general we would need to re-development party of DS in a Quarkus extension. E.g. Quarkus doesn't support the CDI Extensions mechanism, where DS takes a heavy use of it. If you would like to create a such a

Re: Deltaspike 1.8.2 -> 1.9.3

2020-04-13 Thread Thomas Andraschko
+1 to add the JNDI fallback per default but not re-introduce our own lookup/CL mapping per default. Users can still switch to the old behavior via the config and maybe its also worth to check the case here exactly and create a issue in the AS.

Re: Deltaspike 1.8.2 -> 1.9.3

2020-04-12 Thread Thomas Andraschko
Not sure. I think the behavior is correct to full rely on CDI.current or not. If our default should be to use our own BeanManagerProvider-logic (which will be lead to memleaks), we can change the default. Am So., 12. Apr. 2020 um 11:07 Uhr schrieb Gerhard Petracek < gpetra...@apache.org>: >

Re: Deltaspike 1.8.2 -> 1.9.3

2020-04-06 Thread Thomas Andraschko
It would be great if you could always find the breaking version - otherwise its very hard to find the reason if you skip 3 versions :P Virenfrei. www.avast.com

Re: Update to Deltaspike 1.9.3 ?

2020-02-26 Thread Thomas Andraschko
Did you try deltaspike.bean-manager.delegate_lookup = false? Am Mi., 26. Feb. 2020 um 10:51 Uhr schrieb Thomas Kernstock < t.kernst...@e-technologies.at>: > Servus Mark, > > unfortunately not. The only thing that's logged in the eclipse logfile is: > > !ENTRY org.eclipse.core.resources 4 75

Re: Problem with deltaspike 1.9.2 on BeanProvider.getContextualReference

2020-01-07 Thread Thomas Andraschko
Hi, i think Mark can explain it better. Short: CDI.current is probably broken in Weld and EAR. You can restore the old behavior via: deltaspike.bean-manager.delegate_lookup= false Am Di., 7. Jan. 2020 um 18:30 Uhr schrieb DESTOMBES Christophe < cdestom...@spirica.fr>: > Hello and best wishes

Re: [ANNOUNCE] Release of Apache DeltaSpike 1.9.2

2019-12-16 Thread Thomas Andraschko
ibraries out there. At first I assumed there will be tons but found only > DS. I guess I am still puzzled by the lack of libraries out there... > Thanks again. > > > -Original Message- > From: Thomas Andraschko > Sent: יום ב 16 דצמבר 2019 17:31 > To: users@deltaspike.

Re: [ANNOUNCE] Release of Apache DeltaSpike 1.9.2

2019-12-16 Thread Thomas Andraschko
dmap with > new features etc... > Thanks! > > -Original Message- > From: Thomas Andraschko > Sent: יום ב 16 דצמבר 2019 17:17 > To: annou...@apache.org; d...@deltaspike.apache.org; > users@deltaspike.apache.org > Subject: [ANNOUNCE] Release of Apache DeltaSpike 1.9.2

[ANNOUNCE] Release of Apache DeltaSpike 1.9.2

2019-12-16 Thread Thomas Andraschko
bled projects. More can be found on our website - https://deltaspike.apache.org Documentation:https://deltaspike.apache.org/documentation/ Download:https://deltaspike.apache.org/download.html Release Notes:https://s.apache.org/DeltaSpike1.9.2 Enjoy! Thomas Andraschko

Re: Potential discrepancy in AbstractQuartzScheduler.stop of Scheduler Module

2019-11-07 Thread Thomas Andraschko
Hi, Feel free to create a issue and provide a Patch / pull request. Best regards, Thomas Gary Hodgson schrieb am Do., 7. Nov. 2019, 22:29: > Hi > > I believe I may have found a discrepancy in the AbstractQuartzScheduler > class of the Scheduler Module. > > The stop method calls the shutdown

[COMMUNITY] DeltaSpike += Christian Beikov

2019-10-21 Thread Thomas Andraschko
The DeltaSpike PMC is proud to announce a new addition to our community. Please welcome Christian Beikov as the newest DeltaSpike committer! @Christian: Please add yourself to the developers section (in deltaspike/parent/pom.xml). Welcome & Best regards, Thomas

Re: JSF-module window handling with frames

2019-10-10 Thread Thomas Andraschko
t. I wanted to hear from the main maintainer, which seems to > be you Thomas, if there is a preference before starting to work on > something that might be worthless. > > Am 09.10.2019 um 22:22 schrieb Thomas Andraschko: > > Hi, > > > > i think it's intended and

Re: JSF-module window handling with frames

2019-10-09 Thread Thomas Andraschko
Hi, i think it's intended and was never a requirement. Feel free anaylze it more and work on a PR. The JS itself is quite good documented + contains many logging + the mechanism itself is quite good documented in the DS docu.

Re: Doubt about CDI 2.0 in Deltaspike

2019-08-28 Thread Thomas Andraschko
Probably 1.0, but we are compatible with 2.0 Daniel Dias Dos Santos schrieb am Mi., 28. Aug. 2019, 21:24: > Hello, > > I have an doubt about version of CDI in project. > > Currently which version the CDI the deltaspike 1.9.1 that use ? > > Thanks. >

Re: Differently secured JSF pages

2019-08-21 Thread Thomas Andraschko
You can secure directories / single views with DeltaSpike TypeSafe ViewConfig + Security: http://deltaspike.apache.org/documentation/jsf.html#Type-safeView-Configs Am Mi., 21. Aug. 2019 um 20:13 Uhr schrieb Stephen More < stephen.m...@gmail.com>: > IMO this is not a deltaspike issue. > > For

Re: Updating ASM for newer Java releases

2019-08-20 Thread Thomas Andraschko
Hi, Why should this be easier to update? You would still need to rebuild/shade ASM within a DS package. Also also the relation between the ASM proxy and ASM is 1:1. As not every Java release requires a new ASM, i currently don't see a problem. We should just release every 6-12 months. Best

[ANNOUNCE] Release of Apache DeltaSpike 1.9.1

2019-08-19 Thread Thomas Andraschko
The Apache DeltaSpike team is pleased to announce the 33th release of DeltaSpike. Apache DeltaSpike is a suite of portable CDI (Contexts & Dependency Injection) extensions intended to make application development easier when working with CDI and Java EE. Some of its key features include: - A

Re: Deltaspike 1.9.1 release date

2019-08-12 Thread Thomas Andraschko
will do it now! Am Fr., 9. Aug. 2019 um 20:59 Uhr schrieb Andrew Schmidt < andrew.schm...@impactmobile.com>: > So any chance someone can do a release? > > -Original Message- > From: Thomas Andraschko > Sent: Monday, March 25, 2019 3:32 PM > To: users@deltaspike.

Re: [Data/Auditing] Introduce @CreatedBy

2019-07-31 Thread Thomas Andraschko
Would be great if you can create a issue (we use this for tracking) and add documentation. Am Di., 30. Juli 2019 um 10:21 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > Hi, > > looks good to me. I will probably merge it this week. > > Documentation is here:

Re: [Data/Auditing] Introduce @CreatedBy

2019-07-30 Thread Thomas Andraschko
, and because I was bored due to bad > weather, I decided to go ahead and implement the feature as proposed by > Thomas Andraschko. It can be found at > https://github.com/apache/deltaspike/pull/93 > > Btw.: Could someone please point me to where and how I can contribute to > th

Re: [Data/Auditing] Introduce @CreatedBy

2019-07-02 Thread Thomas Andraschko
+1 for default backwards compatible and remove the flag in 2.0 Am Di., 2. Juli 2019 um 16:09 Uhr schrieb Juri Berlanda < juri.berla...@tuwien.ac.at>: > Hi all, > > I recently stumbled over the auditing capabilities of DeltaSpike Data > module. I like them a lot, but I noticed that there is

Re: project still active?

2019-06-11 Thread Thomas Andraschko
omeone could point me in a > direction as the internals of repository/ weld deserialization is beyond my > knowledge. > > -----Original Message- > From: Thomas Andraschko > Sent: Tuesday, June 11, 2019 9:35 AM > To: users@deltaspike.apache.org > Subject: Re: project

Re: project still active?

2019-06-11 Thread Thomas Andraschko
Hi, we are still active but as the project is quite mature, we don't implement many feature currently. There may be more activity again when we have to migrate to JakartaEE. If you have an issue or feature request, just create an issue and we will try to assist. You know, it's an open source

Re: Sort by expression using criteria

2019-03-28 Thread Thomas Andraschko
Hi, no idea but feel free to work on a patch for an upcoming version! Am Mi., 27. März 2019 um 16:19 Uhr schrieb Frank Martínez < mnesa...@gmail.com>: > Hi Guys, > I am trying to set the order of a query using an Expression, but > creiteria.orderAsc only supports SingularAttribute. > > The use

Re: Using a CriteriaBuilder in a repository with SimpleQueryInOutMapperBase

2018-11-26 Thread Thomas Andraschko
nOutMapperBase.mapResult(SimpleQueryInOutMapperBase.java:70) > at > com.vangenechten.SomeMapper$Proxy$_$$_WeldClientProxy.mapResult(Unknown > Source) > at > org.apache.deltaspike.data.impl.builder.QueryBuilder.executeQuery(QueryBuilder.java:66) > at > org.apache.del

Re: Using a CriteriaBuilder in a repository with SimpleQueryInOutMapperBase

2018-11-26 Thread Thomas Andraschko
Hi, could you please post the stacktrace? I didn't develop the mapper feature, so no idea but i can try to help. Best regards, Thomas Am Mo., 26. Nov. 2018 um 13:39 Uhr schrieb Brecht Derwael < brecht.derw...@vangenechten.com>: > Hi all, > > I'm on deltaspike version 1.9.0 and when trying to

Re: Wildfly swarm cannot shutdown cause by Repository resource locked

2018-09-18 Thread Thomas Andraschko
It just looks like the class is still loaded somewhere. Maybe you can check that via a profiler. Maybe the application shutdown failed and the jvm still running or something like that? If we dont have a memleak, i dont think that its directly related to Deltaspike. schrieb am Di., 18. Sep.

Re: countBy method failed

2018-09-18 Thread Thomas Andraschko
Seems like you didn't attach the whole stacktrace?! schrieb am Mi., 19. Sep. 2018, 05:56: > Hi, > > The application is using deltaspike 1.8.2. > > The following Repository class is defined : > @Repository > public interface UserRepository extends EntityRepository { > > long

Re: Welcome Alex Falb as new Apache DeltaSpike

2018-08-07 Thread Thomas Andraschko
welcome! 2018-08-07 8:56 GMT+02:00 Romain Manni-Bucau : > Welcome! > > Romain Manni-Bucau > @rmannibucau | Blog > | Old Blog > | Github rmannibucau> | > LinkedIn

Re: Could there be a final Java 6 version of DeltaSpike released?

2018-05-02 Thread Thomas Andraschko
salve...@gmail.com> > >> wrote: > >> > >>> Tested. It works as in the master. Thanks :) > >>> > >>> LA > >>> > >>> On Wed, May 2, 2018 at 9:59 AM, Luís Alves <luisalve...@gmail.com> > >>> wrote: > &g

Re: Could there be a final Java 6 version of DeltaSpike released?

2018-05-02 Thread Thomas Andraschko
> > > > Thanks, > > > Colin > > > > > > -Original Message- > > > From: Astley, Colin (C.J.) > > > Sent: Wednesday, April 04, 2018 4:55 AM > > > To: users@deltaspike.apache.org > > > Subject: Re: Could there be a final

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-24 Thread Thomas Andraschko
} > > > > works as expected. > > Since this is related with JCACHE (JSR-107) I was wondering if you can do a > maintenance release (1.8.2)? I'm not sure if other users do JCache in > Repositories. > > best regards, > LA > > > On Mon, Apr 23, 2018 at 1:36

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-23 Thread Thomas Andraschko
> >>>>> Can't understand the different behavior :( seem like there's a >>>>> previous lookup for @InterceptorBinding annotations...and since none was >>>>> found it has skipped the method...but the code tells otherwise...any idea? >>>>>

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-23 Thread Thomas Andraschko
I'm trying to understand from the trace why the @CacheResult is not visible > alone... > > addInterceptorBindings(beanManager, bindings, > method.getDeclaredAnnotations()); <--should see all the annotation... > > > On Fri, Apr 20, 2018 at 8:11 PM, Thomas Andraschko <

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
} > >> } > >> } > >> } > >> > >> Thanks very much Thomas :) > >> > >> > >> On Fri, Apr 20, 2018 at 4:48 PM, Luís Alves <luisalve...@gmail.com> > >> wrote: > >> > >>&

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
> isAnnotationPresent(InterceptorBinding.class))...we need some runtime way > to check it... > > BTW if a solutions is found can you make it available on 1.8.2? > > > > > On Fri, Apr 20, 2018 at 3:33 PM, Thomas Andraschko < > andraschko.tho...@gmail.com> wrote: > >

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
07.ri.annotations.cdi.CacheRemoveEntryInterceptor > > org.jsr107.ri.annotations.cdi.CacheRemoveAllInterceptor > > > > and they have 2files with: > > org.jsr107.ri.annotations.cdi.InterceptorExtension > > and > > org.jsr107.ri.annotations.cdi.CdiAnnotationProviderImpl > > The interce

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
rceptors? Can you > point > > me out the code? > > Isn't possible to look for all annotations even if they don't have > > @InterceptorBinding and then look for the registered interceptors? > > > > > > > > > > On Fri, Apr 20, 2018 at 2:33 PM, Luís A

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
javax.cache/cache-api/1.0.0/ > javax/cache/annotation/CacheResult.html > > is there a way that using that annotation we get the interceptor to work? > (I can implement the interceptor myselfas I said I cannot modify the > annotation as it is javax packge) > > > > On

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
the >> > purpose of that? >> > >> > On Fri, Apr 20, 2018 at 1:06 PM, Luís Alves <luisalve...@gmail.com> >> wrote: >> > >> >> don't you want to rewrite your tests with the @CacheResult interceptor >> ;) >> >> ? to see if it wor

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
> > >> don't you want to rewrite your tests with the @CacheResult interceptor > ;) > >> ? to see if it works? > >> > >> On Fri, Apr 20, 2018 at 12:57 PM, Thomas Andraschko < > >> andraschko.tho...@gmail.com> wrote: > >> > >>&g

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
d;> > > > > > > org.jsr107.ri.annotations.cdi. > > CacheResultInterceptor > > ... > > eu.gls.ddtm.config.CustomInterceptorImpl > > > > > > > > > > It's called on the service layer but not on the @Repository :(

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
di. > CacheResultInterceptor > ... > eu.gls.ddtm.config.CustomInterceptorImpl > > > > > It's called on the service layer but not on the @Repository :( > > ...I'm using Wildfly 10 (CDI 1.x)... > > > > On Fri, Apr 20, 2018 at 11:50 AM, Thomas Andraschko <

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
eation for class class CustomBaseRepository failed. Is it > >> associated with a valid Entity? I got this base class for some > repositories > >> for some similar behavior: > >> > >> public abstract class CustomBaseRepository , K > >> extends Serializable> > >&g

Re: @Repository and @CacheResult(cacheName = "my-cache")

2018-04-20 Thread Thomas Andraschko
See: https://github.com/apache/deltaspike/tree/master/deltaspike/modules/partial-bean/impl/src/test/java/org/apache/deltaspike/test/core/api/partialbean/uc008 2018-04-20 11:22 GMT+02:00 Thomas Andraschko <andraschko.tho...@gmail.com>: > Interceptors in generell should be supported but

Re: Could there be a final Java 6 version of DeltaSpike released?

2018-04-03 Thread Thomas Andraschko
I backported the both mentioned issues. Gerhard also did some backports of other features. Would you please give it a try? It's the 1.8.x branch. If everything works fine, we could trigger a release. 2018-03-26 22:38 GMT+02:00 Gerhard Petracek : > +1 for your suggestion >

Re: Could there be a final Java 6 version of DeltaSpike released?

2018-03-26 Thread Thomas Andraschko
Hi, if anyone else would do the actual release (i never did any release), i would port back the fixes. I think it's only DELTASPIKE-1313 and DELTASPIKE-1324. Regards Thomas 2018-03-26 17:51 GMT+02:00 Astley, Colin (C.J.) : > Hello, > > Would you be willing to release a final

Re: Introduce Pageable in DeltaSpike Data analogous to Spring Data

2018-03-01 Thread Thomas Andraschko
to keep JEE7 as the baseline for 2.0 as JEE8 > > doesn't seem to be very widespread yet. > > > > > > Mit freundlichen Grüßen, > > -------- > > *Christian Beikov* > > Am 01.03.2018 um 10:16 schrieb Tho

Re: Introduce Pageable in DeltaSpike Data analogous to Spring Data

2018-03-01 Thread Thomas Andraschko
Feel free to work on patch! ;) And yes, probably DS2.0 will need some redesigns or enhancements based on Java8. We also already talked about if DS2.0 should only target JEE8, to do a little cleanup on the project. I think we will need to start a new discussion, but don't know if anyone has time

Re: deltaspike @Repository scope

2018-02-13 Thread Thomas Andraschko
> > return entityManager; > > } > > } > > > > So...will it work properly? or do I have to mark my EM as @RequestScoped? > > > > LA > > > > > > > > On Tue, Feb 13, 2018 at 10:24 AM, Thomas Andraschko < > > andrasch

Re: deltaspike @Repository scope

2018-02-13 Thread Thomas Andraschko
Hi, the default scope is @Dependent but i suggest everyone to use @ApplicationScoped. The EM will be proxied if you use a NormalScope like @RequestScoped, Regards, Thomas 2018-02-13 10:54 GMT+01:00 Luís Alves : > Hi, > > What is the scope of @Repository? Do you use

Re: Exlude an abstract repository from being proxied

2018-01-05 Thread Thomas Andraschko
> > > > > 2018-01-05 13:47 GMT+01:00 John D. Ament <john.d.am...@gmail.com>: > > > > > > > Adding a check for Exclude would make sense and be easy. Adding > > Vetoed, > > > > since we're still CDI 1.0, would be hard. I just put in >

Re: Exlude an abstract repository from being proxied

2018-01-05 Thread Thomas Andraschko
y extends > AbstractEntityRepository it is included as a "real" repository; even though > it has no @Repository. > > Best regards, > Ivo Limmen > > On Fri, Jan 5, 2018 at 1:24 PM, Thomas Andraschko < > andraschko.tho...@gmail.com> wrote: > > > It actually sho

Re: Exlude an abstract repository from being proxied

2018-01-05 Thread Thomas Andraschko
It actually shoudln't if there is no @Repository present. Could you debug RepositoryExtension#isRepository? 2018-01-05 13:20 GMT+01:00 Ivo Limmen : > Yes it is. > > Best regards, > Ivo Limmen > > On Fri, Jan 5, 2018 at 1:19 PM, John D. Ament > wrote: >

Re: Empty dswid-paramter causes infinite redirects - similar to 754

2017-12-21 Thread Thomas Andraschko
But, just to make it clear: You can simple fix it by removing the windowname in your window.open call and avoid having multiple ds:windowId in your view. 2017-12-21 13:01 GMT+01:00 Thomas Andraschko <andraschko.tho...@gmail.com>: > probably this year, maybe january ;) > > 2017-12-

Re: Empty dswid-paramter causes infinite redirects - similar to 754

2017-12-21 Thread Thomas Andraschko
I think we forgot to updated the news section on the deltaspike > > home page that the latest one is 1.8.0 and not 1.7.2 . > > > > Thanks & Regards, > > Avinash > > > > On Tue, Dec 19, 2017 at 3:18 AM, Thomas Andraschko < > > andraschko.tho...@gmail.

Re: Empty dswid-paramter causes infinite redirects - similar to 754

2017-12-19 Thread Thomas Andraschko
second issue: you have multiple ds:windowId ;) improved both cases now with DELTASPIKE-1306 and DELTASPIKE-1305. 2017-12-19 9:36 GMT+01:00 Thomas Andraschko <andraschko.tho...@gmail.com>: > The problem is that you use a windowname to open the view. > DeltaSpike uses the window.n

Re: Empty dswid-paramter causes infinite redirects - similar to 754

2017-12-19 Thread Thomas Andraschko
Dec 15, 2017 at 12:09 PM, Avinash Moram <avi.mo...@gmail.com> > wrote: > > > Hi Thomas, > > > > I will try to get one up on github this weekend. > > > > Thanks & Regards, > > Avinash > > > > On Fri, Dec 15, 2017 at 12:07 PM, Thomas

Re: Performance of DeltaSpike Data

2017-06-15 Thread Thomas Andraschko
and cache the bean references. Will likely do it in 1-2 weeks. Am Donnerstag, 15. Juni 2017 schrieb Thomas Andraschko : > Hi, > > It would be great if you could try your sample with OWB instead of weld. > I always to such tests with OWB. > > Regards, > Thomas > > Am Donner

Re: Performance of DeltaSpike Data

2017-06-08 Thread Thomas Andraschko
5937816| 13.217757392| > 25.372525787| > | EM| 0.010955534| 0.020851247| 0.041094277| 0.076565573| 0.195617863| > 0.386509868| 0.812829151| 1.4044238 | 3.007676477| 6.232350452 | > 11.726264467| > > Grüße > Johannes > > > -Original Message- > From: Thomas Andrasch

Re: Performance of DeltaSpike Data

2017-06-08 Thread Thomas Andraschko
I did a major improvement and in my tests, both plain JPA and DS Data are now very similar. Would be great if you could provide the new numbers. 2017-06-07 14:33 GMT+02:00 Thomas Andraschko <andraschko.tho...@gmail.com>: > Hi, > > could you please try to run your test again aga

Re: Performance of DeltaSpike Data

2017-06-07 Thread Thomas Andraschko
or his additional hints. > I committed all changes to the github repo. > > Regards, > Johannes > > -Original Message- > From: Gerhard Petracek [mailto:gpetra...@apache.org] > Sent: Thursday, June 1, 2017 1:21 PM > To: users@deltaspike.apache.org > Subject: Re: Performance

Re: Performance of DeltaSpike Data

2017-06-01 Thread Thomas Andraschko
Hi, ~1 year ago i did many optimizations in the data module and AFAIR DS Data was only a little bit slower. After i compared my testcase with a benchmark from a user, the big different came from the transaction handling which was different in both testcases. Regards, Thomas 2017-06-01 12:33

Re: [DISCUSS] 1.7.2 release

2016-10-28 Thread Thomas Andraschko
+1 2016-10-28 6:40 GMT+02:00 Christian Kaltepoth : > I agree. +1 for releasing 1.7.2 soon. > > 2016-10-28 3:24 GMT+02:00 John D. Ament : > > > Hey guys > > > > I was looking at the pending release, 1.7.2. It looks like we're in good > > shape,

Re: Restrictions of using BeanProvider?

2016-07-20 Thread Thomas Andraschko
Hi, BeanProvider just works for managed beans as it just "provide beans" from the underlying CDI container. If you would like to do injection in a unmanaged object, you can do the following: MyUnmanagedBean a = new MyUnmanagedBean(); BeanProvider.injectFields(a); Regards, Thomas 2016-07-20

Re: deltaspike dswid not being updated on right click

2016-06-21 Thread Thomas Andraschko
Hi, please try 1.7.0. 2016-06-21 9:41 GMT+02:00 : > Hi, > > I have a question regarding deltaspike version 1.0.2 and I am using a > WindowScoped controller. > > The problem is as follows: > > I open my web application in a browser tab. Then I go in the navigation > menu of my

Re: [COMMUNITY] DeltaSpike += Matej Novotny

2016-06-03 Thread Thomas Andraschko
Welcome! :) 2016-06-03 10:37 GMT+02:00 Romain Manni-Bucau : > Welcome Matej! > > > Romain Manni-Bucau > @rmannibucau | Blog > | Github < > https://github.com/rmannibucau> | > LinkedIn

Re: Context capturing and JSF Parallel-Preloading

2016-04-09 Thread Thomas Andraschko
------- > *Christian Beikov* > Am 09.04.2016 um 09:18 schrieb Thomas Andraschko: > >> Hi Christian, >> >> basically thats an interesting idea, just not sure if we could implement >> it >> in a nicer wa

Re: Context capturing and JSF Parallel-Preloading

2016-04-09 Thread Thomas Andraschko
What about reusing @Futurable on the producer and create a new tag - something like "ds:preload value=#{supplierNames}", which be placed early in the content? 2016-04-09 9:18 GMT+02:00 Thomas Andraschko <andraschko.tho...@gmail.com>: > Hi Christian, > > basically thats

Re: Context capturing and JSF Parallel-Preloading

2016-04-09 Thread Thomas Andraschko
Hi Christian, basically thats an interesting idea, just not sure if we could implement it in a nicer way. I think scanning the component tree and analyzing every EL expression feels a little risky and slow. Using a bytecode library isn't the problem in the JSF module, we already use there our

Re: [keycloak-dev] Problem with Keycloak 1.8.0.CR1 and Deltaspike

2016-01-25 Thread Thomas Andraschko
o work > properly, so there is nothing wrong with deltaspike. > > Thanks anyway for the quick answers! > > Regards, > Christian > > > Am 24.01.2016 um 01:20 schrieb Thomas Andraschko: > >> Hi, >> >> what mode are you using? Lazy or ClientWindow?

  1   2   >