Yes. I just got news from the GNU mailing list tha the interface which CXF is using is not implemented into the GNU jvm so far... pitty
2009/8/14 Daniel Kulp <[email protected]>: > > If you google that error, there are a bunch of folks that have run into it and > the general response is that it's a bug in the gnu gcc jvm. The only real > option is to use a real certified JVM. > > Dan > > > On Thu August 13 2009 5:26:14 am dmichel wrote: >> Hi All, >> >> Under linux (ubuntu), If I set JAVA_HOME to gcc's jvm, wsdl2java doesn't >> work anymore: >> >> $ JAVA_HOME=/usr/lib/jvm/java-gcj/ >> $ ./wsdl2java >> Exception in thread "main" java.lang.Error: >> javax.xml.datatype.DatatypeConfigurationException: >> java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory >> at >> com.sun.xml.bind.DatatypeConverterImpl.<clinit>(DatatypeConverterImpl.java: >>833) at java.lang.Class.initializeClass(natClass.cc:780) >> at >> com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:287) >> at >> com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:286) >> at java.security.AccessController.doPrivileged(AccessController.java:96) >> at >> com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:285 >>) at >> com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBCo >>ntextImpl.java:1136) at >> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154) >> at >> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121) >> at >> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:202) >> at java.lang.reflect.Method.invoke(natMethod.cc:205) >> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:133) >> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286) >> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) >> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) >> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244) >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:82) >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:72) >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.getInstance(PluginLoader.java >>:121) at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:48) >> at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:181) Caused >> by: javax.xml.datatype.DatatypeConfigurationException: >> java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory >> at >> javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:112) >> at >> com.sun.xml.bind.DatatypeConverterImpl.<clinit>(DatatypeConverterImpl.java: >>831) ...20 more >> Caused by: java.lang.ClassNotFoundException: >> gnu.xml.datatype.JAXPDatatypeFactory >> at java.lang.Class.forName(natClass.cc:108) >> at java.lang.Class.forName(Class.java:133) >> at >> javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:107) >> ...21 more >> >> >> Is this a known problem, i.e. bug report ? Is there a work around ? >> >> Many thanks for your help >> David > > -- > Daniel Kulp > [email protected] > http://www.dankulp.com/blog >
