Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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

xml & weblogic

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created a programme which generates a pdf file from xml and xsl files iam using the sample programs XalanCommandLine and CommandLine given with apache fop jar files. when i run them without a weblogic server, they are running well (i.e pdf is generated) but in weblogic server i am getting the following exception
"javax.xml.transform.TransformerConfigurationException: System property org.xml.sax.driver not specified."
please i need help, regarding this.
thanx in advance
sai
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are working with JAXP, you have to set system property with:
System.setProperty ("org.xml.sax.parser","<QualifiedpathToYourParser>");
JAXP uses "org.xml.sax.parser" as key for SAX Parser class name. Perhaps JAXP is bundled with WebLogic..
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
SaiPrasad Jukalkar
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ajith,
thanx for your reply, the solution given by u is working.
saiprasad.

 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!