[jboss-dev] jbossxb at 2.0.0-SNAPSHOT or 2.0.0.CR5

Adrian Brock abrock at redhat.com
Thu Mar 13 14:47:40 EDT 2008


I see a different issue (this is what I like about maven
it always produces the same results for everybody :-)

It is caused by it using an early access runtime
of JAXB 2.0

 javax.xml:jaxb-impl:jar:2.0EA3:compile

The old build used sun-jaxb:2.1.4

This is specified in the root pom.xml
where did these versions come from, was it guesswork? :-)

19:38:13,275 ERROR [AbstractKernelController] Error installing to
Create: name=ManagedConnectionFactoryParserDeployer state=Configured
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/AccessorOrder
        at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:59)
        at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:41)
        at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:123)
        at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:49)
        at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
        at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
        at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:204)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:327)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:198)
        at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
        at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:372)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
        at
org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:121)


On Thu, 2008-03-13 at 19:37 +0200, Dimitris Andreadis wrote:
> The root AS5 pom.xml refers to jbossxb 2.0.0-SNAPSHOT. The removed 
> build/build-thirdparty.xml was referencing 2.0.0.CR5 instead.
> 
> Do we need to revert? The server fails to start with the snapshot:
> 
> 18:52:41,578 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/X:/c
> vs/jboss-public/jboss-head/build/output/jboss-5.0.0.CR1/server/all/conf/bootstra
> p-beans.xml
> Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/xb/binding/
> UnmarshallerFactory
>          at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.<clinit>(Bas
> icXMLDeployer.java:52)
>          at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java
> :98)
>          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
> 398)
>          at org.jboss.Main.boot(Main.java:209)
>          at org.jboss.Main$1.run(Main.java:544)
>          at java.lang.Thread.run(Thread.java:595)
> 18:52:41,593 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
> 18:52:41,593 INFO  [ServerImpl] Shutdown complete
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list