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
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.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
posted 18 years ago
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