[JBoss JIRA] (ISPN-6736) XML Serializer does not serialize jpaStoreType element
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6736?page=com.atlassian.jira.plugin.... ]
Anna Manukyan reassigned ISPN-6736:
-----------------------------------
Assignee: Anna Manukyan
> XML Serializer does not serialize jpaStoreType element
> ------------------------------------------------------
>
> Key: ISPN-6736
> URL: https://issues.jboss.org/browse/ISPN-6736
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
>
> There is no configuration parser available for {{jpaStoreType}} element (http://infinispan.org/schemas/infinispan-cachestore-jpa-config-6.0.xsd ).
> When trying to parse the following xml:
> {code}
> <namedCache name="withJpaStore">
> <persistence passivation="true">
> <jpaStoreType xmlns="urn:infinispan:config:jpa:6.0" persistenceUnitName="TestPersistentName" entityClassName="org.infinispan.tools.customs.CustomDataContainer"
> batchSize="80" storeMetadata="false"/>
> </persistence>
> </namedCache>
> {code}
> getting the following exception:
> {code}
> org.infinispan.commons.CacheConfigurationException: ISPN000327: Cannot find a parser for element 'jpaStoreType' in namespace 'urn:infinispan:config:jpa:6.0'. Check that your configuration is up-to date for this version of Infinispan.
> at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:157)
> at org.infinispan.configuration.parsing.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:37)
> at org.infinispan.tools.config.v6.Parser60.parsePersistence(Parser60.java:570)
> at org.infinispan.tools.config.v6.Parser60.parseCache(Parser60.java:162)
> at org.infinispan.tools.config.v6.Parser60.parseNamedCache(Parser60.java:121)
> at org.infinispan.tools.config.v6.Parser60.readElement(Parser60.java:88)
> at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:161)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:141)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:128)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:115)
> at org.infinispan.tools.config.ConfigurationConverter.convert(ConfigurationConverter.java:27)
> at org.infinispan.tools.ConfigurationConverterTest.testConversionAndSerializationFrom60(ConfigurationConverterTest.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ISPN-6736) XML Serializer does not serialize jpaStoreType element
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6736?page=com.atlassian.jira.plugin.... ]
Anna Manukyan updated ISPN-6736:
--------------------------------
Status: Open (was: New)
> XML Serializer does not serialize jpaStoreType element
> ------------------------------------------------------
>
> Key: ISPN-6736
> URL: https://issues.jboss.org/browse/ISPN-6736
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
>
> There is no configuration parser available for {{jpaStoreType}} element (http://infinispan.org/schemas/infinispan-cachestore-jpa-config-6.0.xsd ).
> When trying to parse the following xml:
> {code}
> <namedCache name="withJpaStore">
> <persistence passivation="true">
> <jpaStoreType xmlns="urn:infinispan:config:jpa:6.0" persistenceUnitName="TestPersistentName" entityClassName="org.infinispan.tools.customs.CustomDataContainer"
> batchSize="80" storeMetadata="false"/>
> </persistence>
> </namedCache>
> {code}
> getting the following exception:
> {code}
> org.infinispan.commons.CacheConfigurationException: ISPN000327: Cannot find a parser for element 'jpaStoreType' in namespace 'urn:infinispan:config:jpa:6.0'. Check that your configuration is up-to date for this version of Infinispan.
> at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:157)
> at org.infinispan.configuration.parsing.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:37)
> at org.infinispan.tools.config.v6.Parser60.parsePersistence(Parser60.java:570)
> at org.infinispan.tools.config.v6.Parser60.parseCache(Parser60.java:162)
> at org.infinispan.tools.config.v6.Parser60.parseNamedCache(Parser60.java:121)
> at org.infinispan.tools.config.v6.Parser60.readElement(Parser60.java:88)
> at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:161)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:141)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:128)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:115)
> at org.infinispan.tools.config.ConfigurationConverter.convert(ConfigurationConverter.java:27)
> at org.infinispan.tools.ConfigurationConverterTest.testConversionAndSerializationFrom60(ConfigurationConverterTest.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (IPROTO-14) Allow aliases for enum constants if option 'allow_alias' is true
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-14?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on IPROTO-14:
-------------------------------------
The current version of the square proto parser makes it hard to implement right now. We'll have to see if we can upgrade.
> Allow aliases for enum constants if option 'allow_alias' is true
> ----------------------------------------------------------------
>
> Key: IPROTO-14
> URL: https://issues.jboss.org/browse/IPROTO-14
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.6.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 4.0.0.Alpha1, 4.0.0.Final
>
>
> Duplicate constant numbers are not usually allowed, but the the following should be allowed (based on the presence of 'allow_alias' option.
> {code}
> enum EnumAllowingAlias {
> option allow_alias = true;
> UNKNOWN = 0;
> STARTED = 1;
> RUNNING = 1;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (IPROTO-14) Allow aliases for enum constants if option 'allow_alias' is true
by Adrian Nistor (JIRA)
Adrian Nistor created IPROTO-14:
-----------------------------------
Summary: Allow aliases for enum constants if option 'allow_alias' is true
Key: IPROTO-14
URL: https://issues.jboss.org/browse/IPROTO-14
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 3.0.6.Final
Reporter: Adrian Nistor
Duplicate constant numbers are not usually allowed, but the the following should be allowed (based on the presence of 'allow_alias' option.
{code}
enum EnumAllowingAlias {
option allow_alias = true;
UNKNOWN = 0;
STARTED = 1;
RUNNING = 1;
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ISPN-6568) ExampleConfigsIT.testRestRollingUpgrades still fails randomly
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6568?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec reassigned ISPN-6568:
-----------------------------------------
Assignee: Galder Zamarreño (was: Sebastian Łaskawiec)
> ExampleConfigsIT.testRestRollingUpgrades still fails randomly
> -------------------------------------------------------------
>
> Key: ISPN-6568
> URL: https://issues.jboss.org/browse/ISPN-6568
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Test Suite - Server
> Affects Versions: 9.0.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Galder Zamarreño
> Labels: testsuite_stability
>
> {{ExampleConfigsIT.testRestRollingUpgrades}} still fails randomly in CI, and the log always includes this warning:
> {noformat}
> 09:26:39,332 WARN [org.infinispan.persistence.rest.upgrade.RestTargetMigrator] (pool-5-thread-4) ISPN000277: Could not migrate key keyLoad49: org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: io/netty/util/internal/TypeParameterMatcher
> at org.infinispan.interceptors.impl.SequentialInterceptorChainImpl.invoke(SequentialInterceptorChainImpl.java:247)
> at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:422)
> at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:408)
> at org.infinispan.persistence.rest.upgrade.RestTargetMigrator$1.run(RestTargetMigrator.java:62)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: io/netty/util/internal/TypeParameterMatcher
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at io.netty.util.internal.JavassistTypeParameterMatcherGenerator.generate(JavassistTypeParameterMatcherGenerator.java:62)
> at io.netty.util.internal.JavassistTypeParameterMatcherGenerator.generate(JavassistTypeParameterMatcherGenerator.java:54)
> at io.netty.util.internal.TypeParameterMatcher.get(TypeParameterMatcher.java:42)
> at io.netty.util.internal.TypeParameterMatcher.find(TypeParameterMatcher.java:78)
> at io.netty.channel.SimpleChannelInboundHandler.<init>(SimpleChannelInboundHandler.java:67)
> at io.netty.channel.SimpleChannelInboundHandler.<init>(SimpleChannelInboundHandler.java:57)
> at org.infinispan.persistence.rest.RestStore$HttpResponseHandler.<init>(RestStore.java:212)
> at org.infinispan.persistence.rest.RestStore.load(RestStore.java:269)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.loadFromAllStores(PersistenceManagerImpl.java:456)
> at org.infinispan.persistence.PersistenceUtil.loadAndCheckExpiration(PersistenceUtil.java:113)
> at org.infinispan.persistence.PersistenceUtil.lambda$loadAndStoreInDataContainer$2(PersistenceUtil.java:98)
> at org.infinispan.persistence.PersistenceUtil$$Lambda$56/511185912.compute(Unknown Source)
> at org.infinispan.container.DefaultDataContainer.lambda$compute$313(DefaultDataContainer.java:324)
> at org.infinispan.container.DefaultDataContainer$$Lambda$57/1297726545.apply(Unknown Source)
> at org.infinispan.commons.util.concurrent.jdk8backported.EquivalentConcurrentHashMapV8.compute(EquivalentConcurrentHashMapV8.java:1873)
> at org.infinispan.container.DefaultDataContainer.compute(DefaultDataContainer.java:323)
> at org.infinispan.persistence.PersistenceUtil.loadAndStoreInDataContainer(PersistenceUtil.java:91)
> at org.infinispan.interceptors.CacheLoaderInterceptor.loadInContext(CacheLoaderInterceptor.java:371)
> at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:366)
> at org.infinispan.interceptors.CacheLoaderInterceptor.visitDataCommand(CacheLoaderInterceptor.java:187)
> at org.infinispan.interceptors.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:141)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:41)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:263)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.forkInvocationSync(BaseSequentialInvocationContext.java:90)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
> at org.infinispan.interceptors.EntryWrappingInterceptor.visitDataReadCommand(EntryWrappingInterceptor.java:134)
> at org.infinispan.interceptors.EntryWrappingInterceptor.visitGetKeyValueCommand(EntryWrappingInterceptor.java:124)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:41)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:263)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.forkInvocationSync(BaseSequentialInvocationContext.java:90)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
> at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataReadCommand(NonTransactionalLockingInterceptor.java:32)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitGetKeyValueCommand(AbstractLockingInterceptor.java:78)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:41)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:263)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.forkInvocationSync(BaseSequentialInvocationContext.java:90)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
> at org.infinispan.interceptors.CacheMgmtInterceptor.visitDataReadCommand(CacheMgmtInterceptor.java:103)
> at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:91)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:41)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:263)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.forkInvocationSync(BaseSequentialInvocationContext.java:90)
> at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
> at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:110)
> at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:79)
> at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85)
> at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:41)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:263)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.invokeSync(BaseSequentialInvocationContext.java:253)
> at org.infinispan.interceptors.impl.SequentialInterceptorChainImpl.invoke(SequentialInterceptorChainImpl.java:240)
> ... 8 more
> Caused by: java.lang.ClassNotFoundException: io.netty.util.internal.TypeParameterMatcher from [Module "org.infinispan:main" from local module loader @18e8568 (finder: local module finder @33e5ccce (roots: /opt/buildAgent/work/4107e96132ab99f9/server/integration/testsuite/target/server/node1/modules,/opt/buildAgent/work/4107e96132ab99f9/server/integration/testsuite/target/server/node1/modules/system/layers/base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
> ... 60 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months