• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

trax compiled xsl problems in websphere 5.1

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We compile xsl stylesheets at runtime. We only references classes in the javax.xml packages ( nothing directly to apache those are all provided at runtime by the websphsere class loader). Yet we are getting what looks like a library mismatch error from the classes that the trax compiler is generating. Any ideas on this? I can provide the code that allocates the transformers and the compiles the xsl if needed. My guess is there is a property that needs to be set to work correctly for the IBM jvm. This code runs fine on websphere 4.x althought there we had to provide the trax and xerces jar files.



[5/14/04 18:08:46:786 CDT] 769d63ba WebGroup E SRVE0026E: [Servlet Error]-[ea_page_Generic: method trim(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V not found]: java.lang.NoSuchMethodError: ea_page_Generic: method trim(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V not found
at ea_page_Generic.template$dot$66()
at ea_page_Generic.applyTemplates()
at ea_page_Generic.template$dot$65()
at ea_page_Generic.applyTemplates()
at ea_page_Generic.template$dot$64()
at ea_page_Generic.applyTemplates()
at ea_page_Generic.makeRowInfo()
at ea_page_Generic.makeGroupInfo()
at ea_page_Generic.makePageInfo()
at ea_page_Generic.makeContent_Page()
at ea_page_Generic.makeContent()
at ea_page_Generic.makeTabPageContent()
at ea_page_Generic.makeDocumentBody()
at ea_page_Generic.makePageBody()
at ea_page_Generic.makePage()
at ea_page_Generic.applyTemplates()
at ea_page_Generic.applyTemplates()
at ea_page_Generic.transform()
at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:545)
at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:671)
at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:304)
********************* To leave this List ******************* e-mail to listserv@users.websphere.org and, in the text of your message (not the subject line), write: SIGNOFF WEBSPHERE
********************* To join this list ******************** e-mail to listserv@users.websphere.org and, in the text of your message (not the subject line), write: SUBSCRIBE WEBSPHERE yourfirstname yourlastname
 
Jeff Gaer
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its a documented bug,


http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&q1=DTMAxisIterator&uid=swg1PQ87326&loc=en_US&cs=utf-8&lang=en+en
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!