I've found http://www.jboss.org/community/docs/DOC-9962to support using DOM L3 on JBoss 4.X, but this requires to change the run script. I'm not sure this is a supported change in my customer environment :-/
2009/4/28 Benson Margulies <[email protected]> > Looks like more level 3. Are you sure JBoss doesn't offer a recipe for > upgrading the DOM API in their version4? > > On Tue, Apr 28, 2009 at 6:34 AM, nicolas de loof > <[email protected]>wrote: > > > I get the same error when invoking the service : > > root cause > > java.lang.NoSuchMethodError: > > org.w3c.dom.Element.getBaseURI()Ljava/lang/String; > > > > > org.apache.cxf.wsdl.EndpointReferenceUtils.createSchema(EndpointReferenceUtils.java:591) > > > > > > > org.apache.cxf.wsdl.EndpointReferenceUtils.getSchema(EndpointReferenceUtils.java:655) > > ... > > > > My app will not work on JBoss 4.x :'( > > > > > > 2009/4/28 Benson Margulies <[email protected]> > > > > > Dan, whom I believe to be on a sunny island someplace, closed CXF-1861 > > > without explaining why. > > > > > > This is a level-3 method. The question is, are we generally trying to > > > support DOM level 2 or not? > > > > > > If this were the only case of a level 3 method, a bit of reflection > would > > > solve your problem. > > > > > > If you complain bitterly to JBoss about needing a level-3-compliant > DOM, > > > what happens? > > > > > > If you reopen CXF-1861, I guess I would code the reflection support. > It's > > > not a ton of wasted work if it turns out that there are lots of other > > > reasons for requiring a level 3 API. > > > > > > > > > > > > On Tue, Apr 28, 2009 at 6:22 AM, nicolas de loof <[email protected]> > > > wrote: > > > > > > > It seems JBoss 4.X uses an endorses directory with an older xml-api > Jar > > > > that > > > > does NOT support this method.I expected the "parent-last" class > > > delegation > > > > model to avoid such ugly XML parser issue. The endorsed mecanism > seems > > to > > > > take precedence on classloading hierarchy :'( > > > > > > > > 2009/4/28 nicolas de loof <[email protected]> > > > > > > > > > Hello > > > > > I'm running a CXF webapp on JBoss 4.0.2 with JDK 1.6.13. > > > > > My service get deployed, but when requesting the "?wsdl" URL I get > a > > > > > " > > > > > NoSuchMethodError: org.w3c.dom.Document.setXmlStandalone > > > > > " > > > > > > > > > > Browsing the JIRA I've found CXF-1861 but this doesn't helped me a > > lot. > > > > > > > > > > My JBoss-web.xml is set with java2ClassLoadingCompliance="false" > > > > > & java2ParentDelegation=false, so I should not inherit from a > > container > > > > JAR > > > > > for this API. > > > > > > > > > > Using a grep I've found my WEB-INF/lib has xml-apis-1.4_04.jar to > be > > > the > > > > > only jar having this w3c class, and this version defines the > > public > > > > > abstract void setXmlStandalone(boolean flag) method > > > > > > > > > > Any suggestion ? > > > > > > > > > > Nicolas > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
