Re: Equivalent for PerSessionPageStore in Wicket 9
Many thanks Maxim! Sven On 08.04.20 14:29, Maxim Solodovnik wrote: Released :) On Wed, 8 Apr 2020 at 15:41, Maxim Solodovnik wrote: OK Will start new release process in couple of hours Please stop me if you will find any blocker :) On Wed, 8 Apr 2020 at 14:36, Thomas Heigl wrote: Hi Maxim, It works for me now! Thomas On Wed, Apr 8, 2020 at 9:17 AM Maxim Solodovnik wrote: Thanks a million! On Wed, 8 Apr 2020 at 14:10, Thomas Heigl wrote: Hi Maxim, I'm testing against the snapshot now. Will get back to you shortly. Thomas On Wed, Apr 8, 2020 at 2:53 AM Maxim Solodovnik wrote: Hello All, M5 seems to be broken (deploy has failed more than 10 times during my build attempts) I have to start another release Could you please tell when can I start? On Wed, 8 Apr 2020 at 07:01, Maxim Solodovnik wrote: Hello Thomas, Please test M6-SNAPSHOT (so I don't have to release M5.2 : On Wed, 8 Apr 2020 at 02:39, Thomas Heigl wrote: Hi Maxim, That would be great. I want to do some more extensive testing and then deploy M5 into production. ;) Thomas On Tue, Apr 7, 2020 at 7:50 PM Maxim Solodovnik < solomax...@gmail.com> wrote: I can pack another release later this week ... On Wed, 8 Apr 2020 at 00:48, Thomas Heigl wrote: Thanks Sven! Did your changes make it into the release? Or did they just miss it? Thomas On Tue, Apr 7, 2020 at 7:43 PM Sven Meier wrote: Hi Thomas, yes, you're right: wicketstuff data stores missed some adjustments to the latest updates in wicket-core. And SessionQuotaManagingDataStore$DelegatedPage must be serializable of course. I've pushed changes to wicketstuff master. Thanks Sven On 07.04.20 14:14, Thomas Heigl wrote: And one more thing. There is now a warning logged just before serialization: WARN o.a.w.pageStore.AsynchronousPageStore: Delegated page store 'org.apache.wicket.pageStore.SerializingPageStore' can not be asynchronous On Tue, Apr 7, 2020 at 2:09 PM Thomas Heigl < tho...@umschalt.com> wrote: The cause is the following MetaData entry in the session: class org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$1=org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$SizeLimitedData@4090594a On Tue, Apr 7, 2020 at 1:59 PM Thomas Heigl < tho...@umschalt.com> wrote: Hi Sven, I just found time to give this a try with Wicket 9.0.0-M5. There seem to be issues with serialization now. My new config: protected IPageStore newCachingStore(IPageStore pageStore) { return new CachingPageStore(pageStore, new InMemoryPageStore(getName(), MAX_PAGES_CACHED_PER_SESSION)); } protected IPageStore newPersistentStore() { final RedissonRedisCache redisCache = new RedissonRedisCache(redissonClient); final RedisDataStore redisDataStore = new RedisDataStore(getName(), redisCache, new RedisSettings()); return new SessionQuotaManagingDataStore(redisDataStore, DATA_STORE_MAX_BYTES_PER_SESSION); } This exception is logged after requests: org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.io.NotSerializableException: org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$DelegatedPage at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.serialize(JdkSerializationRedisSerializer.java:96) at org.springframework.data.redis.core.AbstractOperations.rawHashValue(AbstractOperations.java:185) at org.springframework.data.redis.core.DefaultHashOperations.putAll(DefaultHashOperations.java:147) at org.springframework.data.redis.core.DefaultBoundHashOperations.putAll(DefaultBoundHashOperations.java:147) at org.springframework.session.data.redis.RedisIndexedSessionRepository$RedisSession.saveDelta(RedisIndexedSessionRepository.java:795) at org.springframework.session.data.redis.RedisIndexedSessionRepository$RedisSession.save(RedisIndexedSessionRepository.java:783) at org.springframework.session.data.redis.RedisIndexedSessionRepository$RedisSession.access$000(RedisIndexedSessionRepository.java:670) at org.springframework.session.data.redis.RedisIndexedSessionRepository.save(RedisIndexedSessionRepository.java:398) at org.springframework.session.data.redis.RedisIndexedSessionRepository.save(RedisIndexedSessionRepository.java:249) at com.myproject.session.InstrumentedFindByIndexNameSessionRepository.save(InstrumentedFindByIndexNameSessionRepository.java:29) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
Re: Equivalent for PerSessionPageStore in Wicket 9
Released :) On Wed, 8 Apr 2020 at 15:41, Maxim Solodovnik wrote: > > OK > > Will start new release process in couple of hours > Please stop me if you will find any blocker :) > > On Wed, 8 Apr 2020 at 14:36, Thomas Heigl wrote: >> >> Hi Maxim, >> >> It works for me now! >> >> Thomas >> >> On Wed, Apr 8, 2020 at 9:17 AM Maxim Solodovnik >> wrote: >> >> > Thanks a million! >> > >> > On Wed, 8 Apr 2020 at 14:10, Thomas Heigl wrote: >> > > >> > > Hi Maxim, >> > > >> > > I'm testing against the snapshot now. Will get back to you shortly. >> > > >> > > Thomas >> > > >> > > On Wed, Apr 8, 2020 at 2:53 AM Maxim Solodovnik >> > > wrote: >> > > >> > > > Hello All, >> > > > >> > > > M5 seems to be broken (deploy has failed more than 10 times during my >> > > > build attempts) >> > > > I have to start another release >> > > > Could you please tell when can I start? >> > > > >> > > > On Wed, 8 Apr 2020 at 07:01, Maxim Solodovnik >> > > > wrote: >> > > > > >> > > > > Hello Thomas, >> > > > > >> > > > > Please test M6-SNAPSHOT (so I don't have to release M5.2 : >> > > > > >> > > > > On Wed, 8 Apr 2020 at 02:39, Thomas Heigl >> > wrote: >> > > > > > >> > > > > > Hi Maxim, >> > > > > > >> > > > > > That would be great. I want to do some more extensive testing and >> > then >> > > > > > deploy M5 into production. ;) >> > > > > > >> > > > > > Thomas >> > > > > > >> > > > > > On Tue, Apr 7, 2020 at 7:50 PM Maxim Solodovnik < >> > solomax...@gmail.com> >> > > > > > wrote: >> > > > > > >> > > > > > > I can pack another release >> > > > > > > later this week ... >> > > > > > > >> > > > > > > On Wed, 8 Apr 2020 at 00:48, Thomas Heigl >> > > > wrote: >> > > > > > > > >> > > > > > > > Thanks Sven! >> > > > > > > > >> > > > > > > > Did your changes make it into the release? Or did they just >> > miss >> > > > it? >> > > > > > > > >> > > > > > > > Thomas >> > > > > > > > >> > > > > > > > On Tue, Apr 7, 2020 at 7:43 PM Sven Meier >> > wrote: >> > > > > > > > >> > > > > > > > > Hi Thomas, >> > > > > > > > > >> > > > > > > > > yes, you're right: >> > > > > > > > > >> > > > > > > > > wicketstuff data stores missed some adjustments to the latest >> > > > updates >> > > > > > > in >> > > > > > > > > wicket-core. >> > > > > > > > > >> > > > > > > > > And SessionQuotaManagingDataStore$DelegatedPage must be >> > > > serializable of >> > > > > > > > > course. >> > > > > > > > > >> > > > > > > > > I've pushed changes to wicketstuff master. >> > > > > > > > > >> > > > > > > > > Thanks >> > > > > > > > > Sven >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > On 07.04.20 14:14, Thomas Heigl wrote: >> > > > > > > > > > And one more thing. There is now a warning logged just >> > before >> > > > > > > > > serialization: >> > > > > > > > > > >> > > > > > > > > > WARN o.a.w.pageStore.AsynchronousPageStore: Delegated >> > page >> > > > store >> > > > > > > > > >> 'org.apache.wicket.pageStore.SerializingPageStore' can >> > not be >> > > > > > > > > asynchronous >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > On Tue, Apr 7, 2020 at 2:09 PM Thomas Heigl < >> > > > tho...@umschalt.com> >> > > > > > > wrote: >> > > > > > > > > > >> > > > > > > > > >> The cause is the following MetaData entry in the session: >> > > > > > > > > >> >> > > > > > > > > >> class >> > > > > > > > > >>> >> > > > > > > > > >> > > > > > > >> > > > >> > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$1=org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$SizeLimitedData@4090594a >> > > > > > > > > >> >> > > > > > > > > >> On Tue, Apr 7, 2020 at 1:59 PM Thomas Heigl < >> > > > tho...@umschalt.com> >> > > > > > > > > wrote: >> > > > > > > > > >> >> > > > > > > > > >>> Hi Sven, >> > > > > > > > > >>> >> > > > > > > > > >>> I just found time to give this a try with Wicket >> > 9.0.0-M5. >> > > > There >> > > > > > > seem >> > > > > > > > > to >> > > > > > > > > >>> be issues with serialization now. >> > > > > > > > > >>> >> > > > > > > > > >>> My new config: >> > > > > > > > > >>> >> > > > > > > > > >>> protected IPageStore newCachingStore(IPageStore >> > pageStore) { >> > > > > > > > > return new CachingPageStore(pageStore, new >> > > > > > > > > InMemoryPageStore(getName(), >> > > > > > > > > MAX_PAGES_CACHED_PER_SESSION)); >> > > > > > > > > } >> > > > > > > > > protected IPageStore newPersistentStore() { >> > > > > > > > > final RedissonRedisCache redisCache = new >> > > > > > > > > RedissonRedisCache(redissonClient); >> > > > > > > > > final RedisDataStore redisDataStore = new >> > > > > > > RedisDataStore(getName(), >> > > > > > > > > redisCache, new RedisSettings()); >> > > > > > > > > return new SessionQuotaManagingDataStore(redisDataStore, >> > > > > > > > > DATA_STORE_MAX_BYTES_PER_SESSION); >> > > > > > > > > } >> > > > > > > > > >>> >> > > > > > > > > >>> This exception is logged after requests: >> > > > > > > > > >>> >> > > > > > > > > >>> >> > > >
[ANNOUNCE] WicketStuff 9.0.0-M5.1 Released
WicketStuff core 9.0.0-M5.1 based on Apache Wicket 9.0.0-M5 is released and soon will be available at Maven Central! Unfortunately WicketStuff core 9.0.0-M5 is broken, please use this release instead The changelog is: Maxim Solodovnik (12): Switching to the next development version Inline styles are removed Merge branch 'master' of github.com:wicketstuff/core Tests should be fixed wicket-datetime tests are fixed Minor changes in CSS style ID and spacing Merge branch 'master' of github.com:wicketstuff/core Tests should be fixed Dependencies and plugins are updated Select2 is updated, CSP disabled for some examples Some CSP improvements WicketStuff 9.0.0-M5.1 is released Sven Meier (2): DelegatedPage is stored in session SessionQuotaManagingDataStore can be asynchronous Andrea Del Bene (1): Update readme.md renoth (1): #688 Select2 Settings should honor default (#689) The WicketStuff team - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Equivalent for PerSessionPageStore in Wicket 9
OK Will start new release process in couple of hours Please stop me if you will find any blocker :) On Wed, 8 Apr 2020 at 14:36, Thomas Heigl wrote: > Hi Maxim, > > It works for me now! > > Thomas > > On Wed, Apr 8, 2020 at 9:17 AM Maxim Solodovnik > wrote: > > > Thanks a million! > > > > On Wed, 8 Apr 2020 at 14:10, Thomas Heigl wrote: > > > > > > Hi Maxim, > > > > > > I'm testing against the snapshot now. Will get back to you shortly. > > > > > > Thomas > > > > > > On Wed, Apr 8, 2020 at 2:53 AM Maxim Solodovnik > > > wrote: > > > > > > > Hello All, > > > > > > > > M5 seems to be broken (deploy has failed more than 10 times during my > > > > build attempts) > > > > I have to start another release > > > > Could you please tell when can I start? > > > > > > > > On Wed, 8 Apr 2020 at 07:01, Maxim Solodovnik > > > > wrote: > > > > > > > > > > Hello Thomas, > > > > > > > > > > Please test M6-SNAPSHOT (so I don't have to release M5.2 : > > > > > > > > > > On Wed, 8 Apr 2020 at 02:39, Thomas Heigl > > wrote: > > > > > > > > > > > > Hi Maxim, > > > > > > > > > > > > That would be great. I want to do some more extensive testing and > > then > > > > > > deploy M5 into production. ;) > > > > > > > > > > > > Thomas > > > > > > > > > > > > On Tue, Apr 7, 2020 at 7:50 PM Maxim Solodovnik < > > solomax...@gmail.com> > > > > > > wrote: > > > > > > > > > > > > > I can pack another release > > > > > > > later this week ... > > > > > > > > > > > > > > On Wed, 8 Apr 2020 at 00:48, Thomas Heigl > > > > > wrote: > > > > > > > > > > > > > > > > Thanks Sven! > > > > > > > > > > > > > > > > Did your changes make it into the release? Or did they just > > miss > > > > it? > > > > > > > > > > > > > > > > Thomas > > > > > > > > > > > > > > > > On Tue, Apr 7, 2020 at 7:43 PM Sven Meier > > wrote: > > > > > > > > > > > > > > > > > Hi Thomas, > > > > > > > > > > > > > > > > > > yes, you're right: > > > > > > > > > > > > > > > > > > wicketstuff data stores missed some adjustments to the > latest > > > > updates > > > > > > > in > > > > > > > > > wicket-core. > > > > > > > > > > > > > > > > > > And SessionQuotaManagingDataStore$DelegatedPage must be > > > > serializable of > > > > > > > > > course. > > > > > > > > > > > > > > > > > > I've pushed changes to wicketstuff master. > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > Sven > > > > > > > > > > > > > > > > > > > > > > > > > > > On 07.04.20 14:14, Thomas Heigl wrote: > > > > > > > > > > And one more thing. There is now a warning logged just > > before > > > > > > > > > serialization: > > > > > > > > > > > > > > > > > > > > WARN o.a.w.pageStore.AsynchronousPageStore: Delegated > > page > > > > store > > > > > > > > > >> 'org.apache.wicket.pageStore.SerializingPageStore' can > > not be > > > > > > > > > asynchronous > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Apr 7, 2020 at 2:09 PM Thomas Heigl < > > > > tho...@umschalt.com> > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > >> The cause is the following MetaData entry in the > session: > > > > > > > > > >> > > > > > > > > > >> class > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$1=org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$SizeLimitedData@4090594a > > > > > > > > > >> > > > > > > > > > >> On Tue, Apr 7, 2020 at 1:59 PM Thomas Heigl < > > > > tho...@umschalt.com> > > > > > > > > > wrote: > > > > > > > > > >> > > > > > > > > > >>> Hi Sven, > > > > > > > > > >>> > > > > > > > > > >>> I just found time to give this a try with Wicket > > 9.0.0-M5. > > > > There > > > > > > > seem > > > > > > > > > to > > > > > > > > > >>> be issues with serialization now. > > > > > > > > > >>> > > > > > > > > > >>> My new config: > > > > > > > > > >>> > > > > > > > > > >>> protected IPageStore newCachingStore(IPageStore > > pageStore) { > > > > > > > > > return new CachingPageStore(pageStore, new > > > > > > > > > InMemoryPageStore(getName(), > > > > > > > > > MAX_PAGES_CACHED_PER_SESSION)); > > > > > > > > > } > > > > > > > > > protected IPageStore newPersistentStore() { > > > > > > > > > final RedissonRedisCache redisCache = new > > > > > > > > > RedissonRedisCache(redissonClient); > > > > > > > > > final RedisDataStore redisDataStore = new > > > > > > > RedisDataStore(getName(), > > > > > > > > > redisCache, new RedisSettings()); > > > > > > > > > return new > SessionQuotaManagingDataStore(redisDataStore, > > > > > > > > > DATA_STORE_MAX_BYTES_PER_SESSION); > > > > > > > > > } > > > > > > > > > >>> > > > > > > > > > >>> This exception is logged after requests: > > > > > > > > > >>> > > > > > > > > > >>> > > > > org.springframework.data.redis.serializer.SerializationException: > > > > > > > > > Cannot > > > > > > > > > serialize; nested exception is > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: Equivalent for PerSessionPageStore in Wicket 9
Hi Maxim, It works for me now! Thomas On Wed, Apr 8, 2020 at 9:17 AM Maxim Solodovnik wrote: > Thanks a million! > > On Wed, 8 Apr 2020 at 14:10, Thomas Heigl wrote: > > > > Hi Maxim, > > > > I'm testing against the snapshot now. Will get back to you shortly. > > > > Thomas > > > > On Wed, Apr 8, 2020 at 2:53 AM Maxim Solodovnik > > wrote: > > > > > Hello All, > > > > > > M5 seems to be broken (deploy has failed more than 10 times during my > > > build attempts) > > > I have to start another release > > > Could you please tell when can I start? > > > > > > On Wed, 8 Apr 2020 at 07:01, Maxim Solodovnik > > > wrote: > > > > > > > > Hello Thomas, > > > > > > > > Please test M6-SNAPSHOT (so I don't have to release M5.2 : > > > > > > > > On Wed, 8 Apr 2020 at 02:39, Thomas Heigl > wrote: > > > > > > > > > > Hi Maxim, > > > > > > > > > > That would be great. I want to do some more extensive testing and > then > > > > > deploy M5 into production. ;) > > > > > > > > > > Thomas > > > > > > > > > > On Tue, Apr 7, 2020 at 7:50 PM Maxim Solodovnik < > solomax...@gmail.com> > > > > > wrote: > > > > > > > > > > > I can pack another release > > > > > > later this week ... > > > > > > > > > > > > On Wed, 8 Apr 2020 at 00:48, Thomas Heigl > > > wrote: > > > > > > > > > > > > > > Thanks Sven! > > > > > > > > > > > > > > Did your changes make it into the release? Or did they just > miss > > > it? > > > > > > > > > > > > > > Thomas > > > > > > > > > > > > > > On Tue, Apr 7, 2020 at 7:43 PM Sven Meier > wrote: > > > > > > > > > > > > > > > Hi Thomas, > > > > > > > > > > > > > > > > yes, you're right: > > > > > > > > > > > > > > > > wicketstuff data stores missed some adjustments to the latest > > > updates > > > > > > in > > > > > > > > wicket-core. > > > > > > > > > > > > > > > > And SessionQuotaManagingDataStore$DelegatedPage must be > > > serializable of > > > > > > > > course. > > > > > > > > > > > > > > > > I've pushed changes to wicketstuff master. > > > > > > > > > > > > > > > > Thanks > > > > > > > > Sven > > > > > > > > > > > > > > > > > > > > > > > > On 07.04.20 14:14, Thomas Heigl wrote: > > > > > > > > > And one more thing. There is now a warning logged just > before > > > > > > > > serialization: > > > > > > > > > > > > > > > > > > WARN o.a.w.pageStore.AsynchronousPageStore: Delegated > page > > > store > > > > > > > > >> 'org.apache.wicket.pageStore.SerializingPageStore' can > not be > > > > > > > > asynchronous > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Apr 7, 2020 at 2:09 PM Thomas Heigl < > > > tho...@umschalt.com> > > > > > > wrote: > > > > > > > > > > > > > > > > > >> The cause is the following MetaData entry in the session: > > > > > > > > >> > > > > > > > > >> class > > > > > > > > >>> > > > > > > > > > > > > > > > > > > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$1=org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$SizeLimitedData@4090594a > > > > > > > > >> > > > > > > > > >> On Tue, Apr 7, 2020 at 1:59 PM Thomas Heigl < > > > tho...@umschalt.com> > > > > > > > > wrote: > > > > > > > > >> > > > > > > > > >>> Hi Sven, > > > > > > > > >>> > > > > > > > > >>> I just found time to give this a try with Wicket > 9.0.0-M5. > > > There > > > > > > seem > > > > > > > > to > > > > > > > > >>> be issues with serialization now. > > > > > > > > >>> > > > > > > > > >>> My new config: > > > > > > > > >>> > > > > > > > > >>> protected IPageStore newCachingStore(IPageStore > pageStore) { > > > > > > > > return new CachingPageStore(pageStore, new > > > > > > > > InMemoryPageStore(getName(), > > > > > > > > MAX_PAGES_CACHED_PER_SESSION)); > > > > > > > > } > > > > > > > > protected IPageStore newPersistentStore() { > > > > > > > > final RedissonRedisCache redisCache = new > > > > > > > > RedissonRedisCache(redissonClient); > > > > > > > > final RedisDataStore redisDataStore = new > > > > > > RedisDataStore(getName(), > > > > > > > > redisCache, new RedisSettings()); > > > > > > > > return new SessionQuotaManagingDataStore(redisDataStore, > > > > > > > > DATA_STORE_MAX_BYTES_PER_SESSION); > > > > > > > > } > > > > > > > > >>> > > > > > > > > >>> This exception is logged after requests: > > > > > > > > >>> > > > > > > > > >>> > > > org.springframework.data.redis.serializer.SerializationException: > > > > > > > > Cannot > > > > > > > > serialize; nested exception is > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.core.serializer.support.SerializationFailedException: > > > > > > > > Failed to serialize object using DefaultSerializer; > nested > > > > > > exception > > > > > > > > is > > > > > > > > java.io.NotSerializableException: > > > > > > > > > > > > > > > > > > > > > > > > > > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$DelegatedPage > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: Equivalent for PerSessionPageStore in Wicket 9
Thanks a million! On Wed, 8 Apr 2020 at 14:10, Thomas Heigl wrote: > > Hi Maxim, > > I'm testing against the snapshot now. Will get back to you shortly. > > Thomas > > On Wed, Apr 8, 2020 at 2:53 AM Maxim Solodovnik > wrote: > > > Hello All, > > > > M5 seems to be broken (deploy has failed more than 10 times during my > > build attempts) > > I have to start another release > > Could you please tell when can I start? > > > > On Wed, 8 Apr 2020 at 07:01, Maxim Solodovnik > > wrote: > > > > > > Hello Thomas, > > > > > > Please test M6-SNAPSHOT (so I don't have to release M5.2 : > > > > > > On Wed, 8 Apr 2020 at 02:39, Thomas Heigl wrote: > > > > > > > > Hi Maxim, > > > > > > > > That would be great. I want to do some more extensive testing and then > > > > deploy M5 into production. ;) > > > > > > > > Thomas > > > > > > > > On Tue, Apr 7, 2020 at 7:50 PM Maxim Solodovnik > > > > wrote: > > > > > > > > > I can pack another release > > > > > later this week ... > > > > > > > > > > On Wed, 8 Apr 2020 at 00:48, Thomas Heigl > > wrote: > > > > > > > > > > > > Thanks Sven! > > > > > > > > > > > > Did your changes make it into the release? Or did they just miss > > it? > > > > > > > > > > > > Thomas > > > > > > > > > > > > On Tue, Apr 7, 2020 at 7:43 PM Sven Meier wrote: > > > > > > > > > > > > > Hi Thomas, > > > > > > > > > > > > > > yes, you're right: > > > > > > > > > > > > > > wicketstuff data stores missed some adjustments to the latest > > updates > > > > > in > > > > > > > wicket-core. > > > > > > > > > > > > > > And SessionQuotaManagingDataStore$DelegatedPage must be > > serializable of > > > > > > > course. > > > > > > > > > > > > > > I've pushed changes to wicketstuff master. > > > > > > > > > > > > > > Thanks > > > > > > > Sven > > > > > > > > > > > > > > > > > > > > > On 07.04.20 14:14, Thomas Heigl wrote: > > > > > > > > And one more thing. There is now a warning logged just before > > > > > > > serialization: > > > > > > > > > > > > > > > > WARN o.a.w.pageStore.AsynchronousPageStore: Delegated page > > store > > > > > > > >> 'org.apache.wicket.pageStore.SerializingPageStore' can not be > > > > > > > asynchronous > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Apr 7, 2020 at 2:09 PM Thomas Heigl < > > tho...@umschalt.com> > > > > > wrote: > > > > > > > > > > > > > > > >> The cause is the following MetaData entry in the session: > > > > > > > >> > > > > > > > >> class > > > > > > > >>> > > > > > > > > > > > > > > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$1=org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$SizeLimitedData@4090594a > > > > > > > >> > > > > > > > >> On Tue, Apr 7, 2020 at 1:59 PM Thomas Heigl < > > tho...@umschalt.com> > > > > > > > wrote: > > > > > > > >> > > > > > > > >>> Hi Sven, > > > > > > > >>> > > > > > > > >>> I just found time to give this a try with Wicket 9.0.0-M5. > > There > > > > > seem > > > > > > > to > > > > > > > >>> be issues with serialization now. > > > > > > > >>> > > > > > > > >>> My new config: > > > > > > > >>> > > > > > > > >>> protected IPageStore newCachingStore(IPageStore pageStore) { > > > > > > > return new CachingPageStore(pageStore, new > > > > > > > InMemoryPageStore(getName(), > > > > > > > MAX_PAGES_CACHED_PER_SESSION)); > > > > > > > } > > > > > > > protected IPageStore newPersistentStore() { > > > > > > > final RedissonRedisCache redisCache = new > > > > > > > RedissonRedisCache(redissonClient); > > > > > > > final RedisDataStore redisDataStore = new > > > > > RedisDataStore(getName(), > > > > > > > redisCache, new RedisSettings()); > > > > > > > return new SessionQuotaManagingDataStore(redisDataStore, > > > > > > > DATA_STORE_MAX_BYTES_PER_SESSION); > > > > > > > } > > > > > > > >>> > > > > > > > >>> This exception is logged after requests: > > > > > > > >>> > > > > > > > >>> > > org.springframework.data.redis.serializer.SerializationException: > > > > > > > Cannot > > > > > > > serialize; nested exception is > > > > > > > > > > > > > > > > > > > > > org.springframework.core.serializer.support.SerializationFailedException: > > > > > > > Failed to serialize object using DefaultSerializer; nested > > > > > exception > > > > > > > is > > > > > > > java.io.NotSerializableException: > > > > > > > > > > > > > > > > > > > > > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$DelegatedPage > > > > > > > at > > > > > > > > > > > > > > > > > > > > > org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.serialize(JdkSerializationRedisSerializer.java:96) > > > > > > > at > > > > > > > > > > > > > > > > > > > > > org.springframework.data.redis.core.AbstractOperations.rawHashValue(AbstractOperations.java:185) > > > > > > > at > > > > > > > > > > > > > > > > > > > > > org.springframework.data.redis.core.DefaultHashOperations.putAll(DefaultHashOperations.java:147) >
Re: Equivalent for PerSessionPageStore in Wicket 9
Hi Maxim, I'm testing against the snapshot now. Will get back to you shortly. Thomas On Wed, Apr 8, 2020 at 2:53 AM Maxim Solodovnik wrote: > Hello All, > > M5 seems to be broken (deploy has failed more than 10 times during my > build attempts) > I have to start another release > Could you please tell when can I start? > > On Wed, 8 Apr 2020 at 07:01, Maxim Solodovnik > wrote: > > > > Hello Thomas, > > > > Please test M6-SNAPSHOT (so I don't have to release M5.2 : > > > > On Wed, 8 Apr 2020 at 02:39, Thomas Heigl wrote: > > > > > > Hi Maxim, > > > > > > That would be great. I want to do some more extensive testing and then > > > deploy M5 into production. ;) > > > > > > Thomas > > > > > > On Tue, Apr 7, 2020 at 7:50 PM Maxim Solodovnik > > > wrote: > > > > > > > I can pack another release > > > > later this week ... > > > > > > > > On Wed, 8 Apr 2020 at 00:48, Thomas Heigl > wrote: > > > > > > > > > > Thanks Sven! > > > > > > > > > > Did your changes make it into the release? Or did they just miss > it? > > > > > > > > > > Thomas > > > > > > > > > > On Tue, Apr 7, 2020 at 7:43 PM Sven Meier wrote: > > > > > > > > > > > Hi Thomas, > > > > > > > > > > > > yes, you're right: > > > > > > > > > > > > wicketstuff data stores missed some adjustments to the latest > updates > > > > in > > > > > > wicket-core. > > > > > > > > > > > > And SessionQuotaManagingDataStore$DelegatedPage must be > serializable of > > > > > > course. > > > > > > > > > > > > I've pushed changes to wicketstuff master. > > > > > > > > > > > > Thanks > > > > > > Sven > > > > > > > > > > > > > > > > > > On 07.04.20 14:14, Thomas Heigl wrote: > > > > > > > And one more thing. There is now a warning logged just before > > > > > > serialization: > > > > > > > > > > > > > > WARN o.a.w.pageStore.AsynchronousPageStore: Delegated page > store > > > > > > >> 'org.apache.wicket.pageStore.SerializingPageStore' can not be > > > > > > asynchronous > > > > > > > > > > > > > > > > > > > > > On Tue, Apr 7, 2020 at 2:09 PM Thomas Heigl < > tho...@umschalt.com> > > > > wrote: > > > > > > > > > > > > > >> The cause is the following MetaData entry in the session: > > > > > > >> > > > > > > >> class > > > > > > >>> > > > > > > > > > > > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$1=org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$SizeLimitedData@4090594a > > > > > > >> > > > > > > >> On Tue, Apr 7, 2020 at 1:59 PM Thomas Heigl < > tho...@umschalt.com> > > > > > > wrote: > > > > > > >> > > > > > > >>> Hi Sven, > > > > > > >>> > > > > > > >>> I just found time to give this a try with Wicket 9.0.0-M5. > There > > > > seem > > > > > > to > > > > > > >>> be issues with serialization now. > > > > > > >>> > > > > > > >>> My new config: > > > > > > >>> > > > > > > >>> protected IPageStore newCachingStore(IPageStore pageStore) { > > > > > > return new CachingPageStore(pageStore, new > > > > > > InMemoryPageStore(getName(), > > > > > > MAX_PAGES_CACHED_PER_SESSION)); > > > > > > } > > > > > > protected IPageStore newPersistentStore() { > > > > > > final RedissonRedisCache redisCache = new > > > > > > RedissonRedisCache(redissonClient); > > > > > > final RedisDataStore redisDataStore = new > > > > RedisDataStore(getName(), > > > > > > redisCache, new RedisSettings()); > > > > > > return new SessionQuotaManagingDataStore(redisDataStore, > > > > > > DATA_STORE_MAX_BYTES_PER_SESSION); > > > > > > } > > > > > > >>> > > > > > > >>> This exception is logged after requests: > > > > > > >>> > > > > > > >>> > org.springframework.data.redis.serializer.SerializationException: > > > > > > Cannot > > > > > > serialize; nested exception is > > > > > > > > > > > > > > > > > org.springframework.core.serializer.support.SerializationFailedException: > > > > > > Failed to serialize object using DefaultSerializer; nested > > > > exception > > > > > > is > > > > > > java.io.NotSerializableException: > > > > > > > > > > > > > > > > > org.wicketstuff.datastores.common.SessionQuotaManagingDataStore$DelegatedPage > > > > > > at > > > > > > > > > > > > > > > > > org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.serialize(JdkSerializationRedisSerializer.java:96) > > > > > > at > > > > > > > > > > > > > > > > > org.springframework.data.redis.core.AbstractOperations.rawHashValue(AbstractOperations.java:185) > > > > > > at > > > > > > > > > > > > > > > > > org.springframework.data.redis.core.DefaultHashOperations.putAll(DefaultHashOperations.java:147) > > > > > > at > > > > > > > > > > > > > > > > > org.springframework.data.redis.core.DefaultBoundHashOperations.putAll(DefaultBoundHashOperations.java:147) > > > > > > at > > > > > > > > > > > > > > > > > org.springframework.session.data.redis.RedisIndexedSessionRepository$RedisSession.saveDelta(RedisIndexedSessionRepository.java:795) > > > > > >