This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
gardeners:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

problem using xalan2.1.0 with weblogic6.0 : help !

 
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone
I'm trying to use xalan2.1.0 with weblogic6.0 sp2. When I try to do an xsl transform using
javax.xml.transform.Transformer.transform(Source, Result)
I get the following exception :
java.lang.NoSuchMethodError
at org.apache.xpath.axes.AxesWalker.getNextNode(AxesWalker.java:1051)
at org.apache.xpath.axes.AxesWalker.nextNode(AxesWalker.java:1137)
at org.apache.xpath.axes.LocPathIterator.nextNode(LocPathIterator.java:689)
at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:256)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
at org.apache.xalan.transformer.TransformerImpl.transformToString(TransformerImpl.java:1960)
at org.apache.xalan.templates.ElemAttribute.constructNode(ElemAttribute.java:232)
at org.apache.xalan.templates.ElemElement.execute(ElemElement.java:354)
at org.apache.xalan.templates.ElemAttribute.execute(ElemAttribute.java:145)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2134)
at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1246)
at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070)
at java.lang.Thread.run(Thread.java:484)
The same code worked fine with Weblogic5.10 sp9. I suspect it has something to do with the fact that Weblogic is loading its own versions of these classes.
My classpath in the startweblogic.cmd file looks as follows :
set CLASSPATH=.;.\lib\weblogic.jar;.\lib\mqseries52jms.jar;.\lib\xerces.jar;.\lib\xalan.jar;
I've also tried to put xalan and xerces first in the classpath, but then I get a ClassCastException.
Please help. I'm quite desperate at this stage. I've tried a lot of things.
Jacques

------------------
 
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!