Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat+servlet+xsl transform

Status
Not open for further replies.

rorqual

Programmer
Jan 12, 2001
12
FR
Hi,
I've problems transforming an XML document in servlet (throw a browser).
I'm using JBuilder5, with jakarta-tomcat3.2.1 and BAS4.5
And Xalan-j_2.2.D11, Xerces 1.4.3

When I dev in JBuilder5, and run the servlet I obtain this :
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException: org.xml.sax.SAXException: Namespace not supported by SAXParser

After I rename the /opt/jbuilder5/jakarta-tomcat3.2.1/lib/jaxp.jar and parser.jar (in same directory) in jaxp.jar.old and parser.jar.old, and it's run!!!!!!! The transformation is made and I see the HTML result!!
(If I restart JBuilder, I have a popup saying Tomcat is bad configure...)

When I deploye this on Tomcat (with a war), I obtain the same error message with .old files or not!!

N.B : the servlet "standard" run under Tomcat!!

Also my question is : How can I resolve this probleme ??(upgrade parser.jar and jaxp.jar or other for Tomcat??)
I can't upgrade tomcat to 4.0 ...
If you have a solution help me please!!!
Thanks
Seb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top