[JBoss JIRA] (ISPN-6736) XML Serializer does not serialize jpaStore element
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6736?page=com.atlassian.jira.plugin.... ]
Anna Manukyan updated ISPN-6736:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4451
> XML Serializer does not serialize jpaStore 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 {{jpaStore}} 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">
> <jpaStore 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 'jpaStore' 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-6680) InterruptedException during PutAll from Hot Rod client prevents failover
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6680?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6680:
------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/4360, https://github.com/infinispan/infinispan/pull/4450 (was: https://github.com/infinispan/infinispan/pull/4360)
> InterruptedException during PutAll from Hot Rod client prevents failover
> ------------------------------------------------------------------------
>
> Key: ISPN-6680
> URL: https://issues.jboss.org/browse/ISPN-6680
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Labels: testsuite_stability
> Fix For: 9.0.0.Alpha3, 8.2.4.Final
>
>
> The server throws an InterruptedException during the PutAllCommand:
> {noformat}
> 2016-05-19 10:28:06,407 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRodServerHandler-4-22) ISPN000136: Error executing command PutMapCommand, writing keys [[B0x034b0000005a, [B0x034b0000005d, [B0x034b0000005b, [B0x034b0000005c, [B0x034b0000005e]: java.lang.InterruptedException
> at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:347)
> at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1907)
> at org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutMapCommand(NonTxDistributionInterceptor.java:201)
> at org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutMapCommand(NonTxDistributionInterceptor.java:67)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:265)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.forkInvocationSync(BaseSequentialInvocationContext.java:90)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:515)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForPutMapCommand(EntryWrappingInterceptor.java:563)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:311)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:77)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:265)
> {noformat}
> That gets propagated to the client that does not recover from the error:
> {noformat}
> org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=218 returned server error (status=0x85): org.infinispan.commons.CacheException: java.lang.InterruptedException
> java.lang.InterruptedException
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.putAll(RemoteCacheSupport.java:49)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ISPN-6736) XML Serializer does not serialize jpaStore element
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6736?page=com.atlassian.jira.plugin.... ]
Anna Manukyan updated ISPN-6736:
--------------------------------
Summary: XML Serializer does not serialize jpaStore element (was: XML Serializer does not serialize jpaStoreType element)
> XML Serializer does not serialize jpaStore 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 jpaStore element
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6736?page=com.atlassian.jira.plugin.... ]
Anna Manukyan updated ISPN-6736:
--------------------------------
Description:
There is no configuration parser available for {{jpaStore}} 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">
<jpaStore 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 'jpaStore' 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}
was:
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}
> XML Serializer does not serialize jpaStore 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 {{jpaStore}} 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">
> <jpaStore 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 'jpaStore' 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-6680) InterruptedException during PutAll from Hot Rod client prevents failover
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6680?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6680:
------------------------------------
Fix Version/s: 8.2.4.Final
> InterruptedException during PutAll from Hot Rod client prevents failover
> ------------------------------------------------------------------------
>
> Key: ISPN-6680
> URL: https://issues.jboss.org/browse/ISPN-6680
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Labels: testsuite_stability
> Fix For: 9.0.0.Alpha3, 8.2.4.Final
>
>
> The server throws an InterruptedException during the PutAllCommand:
> {noformat}
> 2016-05-19 10:28:06,407 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRodServerHandler-4-22) ISPN000136: Error executing command PutMapCommand, writing keys [[B0x034b0000005a, [B0x034b0000005d, [B0x034b0000005b, [B0x034b0000005c, [B0x034b0000005e]: java.lang.InterruptedException
> at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:347)
> at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1907)
> at org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutMapCommand(NonTxDistributionInterceptor.java:201)
> at org.infinispan.interceptors.distribution.NonTxDistributionInterceptor.visitPutMapCommand(NonTxDistributionInterceptor.java:67)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:265)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.forkInvocationSync(BaseSequentialInvocationContext.java:90)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:515)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForPutMapCommand(EntryWrappingInterceptor.java:563)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:311)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutMapCommand(EntryWrappingInterceptor.java:77)
> at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:68)
> at org.infinispan.interceptors.impl.BaseSequentialInvocationContext.doInvokeNextSync(BaseSequentialInvocationContext.java:265)
> {noformat}
> That gets propagated to the client that does not recover from the error:
> {noformat}
> org.infinispan.client.hotrod.exceptions.ParallelOperationException:: java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=218 returned server error (status=0x85): org.infinispan.commons.CacheException: java.lang.InterruptedException
> java.lang.InterruptedException
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.executeParallel(ParallelHotRodOperation.java:79)
> at org.infinispan.client.hotrod.impl.operations.ParallelHotRodOperation.execute(ParallelHotRodOperation.java:50)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:223)
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.putAll(RemoteCacheSupport.java:49)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ISPN-6734) XML serializer serializes the singleFile location property in different way
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6734?page=com.atlassian.jira.plugin.... ]
Anna Manukyan updated ISPN-6734:
--------------------------------
Status: Open (was: New)
> XML serializer serializes the singleFile location property in different way
> ---------------------------------------------------------------------------
>
> Key: ISPN-6734
> URL: https://issues.jboss.org/browse/ISPN-6734
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Reporter: Anna Manukyan
>
> In case when {{persistence}} is configured with {{SingleFileStore}} class and the location is provided with properties, the generated xml contains both the {{path}} attribute and the property with the same value.
> This code:
> {code}
> <infinispan>
> <namedCache name="withLoaderDefaults">
> <persistence>
> <store class="org.infinispan.persistence.file.SingleFileStore">
> <properties>
> <property name="location" value="/tmp/Another-FileCacheStore-Location" />
> </properties>
> </store>
> </persistence>
> </namedCache>
> </infinispan>
> {code}
> is converted to:
> {code}
> <infinispan>
> <threads/>
> <cache-container name="DefaultCacheManager">
> <jmx/>
> <local-cache name="withLoaderDefaults">
> <transaction mode="NONE"/>
> <persistence>
> <file-store path="/tmp/Another-FileCacheStore-Location">
> <property name="location">
> /tmp/Another-FileCacheStore-Location
> </property>
> </file-store>
> </persistence>
> </local-cache>
> </cache-container>
> </infinispan>
> {code}
> Also, if the value of location {{property}} is set to e.g.
> {noformat}
> ${java.io.tmpdir}
> {noformat}
> , then the evaluated value is placed in the generated xml.
> So the following xml:
> {code}
> <infinispan>
> <namedCache name="withLoaderDefaults">
> <persistence>
> <store class="org.infinispan.persistence.file.SingleFileStore">
> <properties>
> <property name="location" value="${java.io.tmpdir}" />
> </properties>
> </store>
> </persistence>
> </namedCache>
> </infinispan>
> {code}
> is converted to:
> {code}
> <infinispan>
> <threads/>
> <cache-container name="DefaultCacheManager">
> <jmx/>
> <local-cache name="withLoaderDefaults">
> <transaction mode="NONE"/>
> <persistence>
> <file-store path="/tmp">
> <property name="location">
> /tmp
> </property>
> </file-store>
> </persistence>
> </local-cache>
> </cache-container>
> </infinispan>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months
[JBoss JIRA] (ISPN-6734) XML serializer serializes the singleFile location property in different way
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-6734?page=com.atlassian.jira.plugin.... ]
Anna Manukyan reassigned ISPN-6734:
-----------------------------------
Assignee: Anna Manukyan
> XML serializer serializes the singleFile location property in different way
> ---------------------------------------------------------------------------
>
> Key: ISPN-6734
> URL: https://issues.jboss.org/browse/ISPN-6734
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
>
> In case when {{persistence}} is configured with {{SingleFileStore}} class and the location is provided with properties, the generated xml contains both the {{path}} attribute and the property with the same value.
> This code:
> {code}
> <infinispan>
> <namedCache name="withLoaderDefaults">
> <persistence>
> <store class="org.infinispan.persistence.file.SingleFileStore">
> <properties>
> <property name="location" value="/tmp/Another-FileCacheStore-Location" />
> </properties>
> </store>
> </persistence>
> </namedCache>
> </infinispan>
> {code}
> is converted to:
> {code}
> <infinispan>
> <threads/>
> <cache-container name="DefaultCacheManager">
> <jmx/>
> <local-cache name="withLoaderDefaults">
> <transaction mode="NONE"/>
> <persistence>
> <file-store path="/tmp/Another-FileCacheStore-Location">
> <property name="location">
> /tmp/Another-FileCacheStore-Location
> </property>
> </file-store>
> </persistence>
> </local-cache>
> </cache-container>
> </infinispan>
> {code}
> Also, if the value of location {{property}} is set to e.g.
> {noformat}
> ${java.io.tmpdir}
> {noformat}
> , then the evaluated value is placed in the generated xml.
> So the following xml:
> {code}
> <infinispan>
> <namedCache name="withLoaderDefaults">
> <persistence>
> <store class="org.infinispan.persistence.file.SingleFileStore">
> <properties>
> <property name="location" value="${java.io.tmpdir}" />
> </properties>
> </store>
> </persistence>
> </namedCache>
> </infinispan>
> {code}
> is converted to:
> {code}
> <infinispan>
> <threads/>
> <cache-container name="DefaultCacheManager">
> <jmx/>
> <local-cache name="withLoaderDefaults">
> <transaction mode="NONE"/>
> <persistence>
> <file-store path="/tmp">
> <property name="location">
> /tmp
> </property>
> </file-store>
> </persistence>
> </local-cache>
> </cache-container>
> </infinispan>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 6 months