[infinispan-dev] Configuration XSD missing, Infinispan not parsing v.6 configuration files ?

Sanne Grinovero sanne at infinispan.org
Wed May 14 08:32:11 EDT 2014


On 14 May 2014 09:58, Pedro Ruivo <pedro at infinispan.org> wrote:
> yes, the release process put the schema here:
> http://docs.jboss.org/infinispan/schemas/

Thanks, I'll use that. But shouldn't we have it at the URL I posted too??

And is it really expected that we don't parse old-style configuration files?
That's quite annoying for users. If it's the intended plan, I'm not
against it but we'd need some clear warning and also some guidance for
an upgrade.
(BTW great job on the documentation updates)

Cheers,
Sanne

>
> Pedro
>
> On 05/14/2014 07:50 AM, Tristan Tarrant wrote:
>> Isn't the deployment of XSDs part of the release process ?
>>
>> Tristan
>>
>> On 14/05/2014 01:36, Sanne Grinovero wrote:
>>> The testing configuration files seem to point to this URL:
>>> http://www.infinispan.org/schemas/infinispan-config-7.0.xsd
>>>
>>> But I'm getting a 404 when attempting to find it.
>>>
>>> It would be very helpfull to make this available, as it seems
>>> Infinispan 7.0.0.Alpha4 is unable to read the old configuration format
>>> :-(
>>>
>>> Is that expected?
>>>
>>> Message: Unexpected element '{urn:infinispan:config:6.0}infinispan'
>>> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:100)
>>> at org.infinispan.test.fwk.TestCacheManagerFactory.fromStream(TestCacheManagerFactory.java:106)
>>> at org.infinispan.test.fwk.TestCacheManagerFactory.fromXml(TestCacheManagerFactory.java:97)
>>> at org.infinispan.test.fwk.TestCacheManagerFactory.fromXml(TestCacheManagerFactory.java:91)
>>> at org.infinispan.manager.CacheManagerXmlConfigurationTest.testBatchingIsEnabled(CacheManagerXmlConfigurationTest.java:126)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>>> 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:334)
>>> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
>>> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
>>> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:744)
>>> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[5,41]
>>> Message: Unexpected element '{urn:infinispan:config:6.0}infinispan'
>>> at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:137)
>>> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:121)
>>> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:108)
>>> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:95)
>>> ... 24 more
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


More information about the infinispan-dev mailing list