• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Xalan 2.7.1 and jBoss 4.2.2GA

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We've been successfully using Xalan 2.7.0 and Websphere (with Java 1.4) to do XSLT transformation (in particular fancy grouping of the XML data).

We're migrating our application to jBoss 4.2.2GA and Java 1.5 and have discovered that we need to use Xalan 2.7.1 in order for the XSLT transformation to work correctly.

If we add the Xalan 2.7.1 libs to our application then jBoss errors when running them - since it's already got Xalan 2.7.0 embedded.

If we try updating the endorsed libs to 2.7.1 then jBoss won't start correctly.

Has anyone tried this before with any success or what 'variation' of Xalan do we need to drop in to get it to work (bcel not needed???)

Help

Chris
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try including the xalan jar with you app and defining a classloader repository in your jboss-app.xml file. See Scoping Classes for instructions.
[ June 03, 2008: Message edited by: Peter Johnson ]
 
Chris Durham
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We had no luck with that approach.

In the end the 'easiest' solution was to copy xalan.jar, serializer.jar, xercesImpl.jar, xml-apis.jar and bcel.jar into the lib/endorsed folder - then everything was happy.

I appreciate that this is not necessarily the best solution but it works for us until Jboss itself moves forward.

Chris
 
Let nothing stop you! Not even this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic