[jboss-dev] latest xb and mc-1.0.2
Alexey Loubyansky
alex at jboss.com
Tue Oct 10 06:03:19 EDT 2006
The problem is not just the MC. It also affects jboss-bean-deployer from
varia which is different in HEAD and Branch_4_0 and the system module
(changes done in the jboss-system-jmx.jar in HEAD).
So, if there is a requirement to be able to use the next release of XB
in JBoss-4.0.5, we need to rollback support for global model groups for
that release.
Alexey
Alexey Loubyansky wrote:
> Running jboss-4.0.5.CR1 with the latest XB snapshot revealed a problem.
> I haven't investigated the cause yet but it looks like a consequence of
> the global model group binding support Adrian added recently.
> The error looks similar to the ones I fixed yesterday in the PojoServer
> testcase in the testsuite of the AS. I had to fix the SchemaBinding
> initialization in the test to make it work.
>
> That means if you want to use the latest XB in the AS you will have to
> use the latest MC. This is going to affect the next WS release at least.
>
> The error I got was
>
> Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse
> source: jar:file:/E:/cvsroot/Branch_4_0/buil
> d/output/jboss-4.0.5.CR1-ejb3/server/default/tmp/deploy/tmp13277jbossws.beans!/META-INF/jboss-beans.xml at 27,86
>
> at
> org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:164)
>
> at
> org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:112)
> at
> org.jboss.deployment.SchemaBindingSimpleSubDeployerSupport.parseMetaData(SchemaBindingSimpleSubDepl
>
> oyerSupport.java:51)
> ... 71 more
> Caused by: java.lang.ClassCastException:
> org.jboss.beans.metadata.plugins.AbstractPropertyMetaData
> at
> org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding$ValueMetaDataElementInterceptor.add(BeanS
>
> chemaBinding.java:1242)
> at
> org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java
>
> :1011)
> at
> org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java
>
> :156)
> at
> org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBPars
>
> er.java:295)
> at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> at
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
> Source)
> at
> org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> So
> urce)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> at
> org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:160)
>
> ... 73 more
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
>
More information about the jboss-development
mailing list