Hi
 
I have looked through the archives - but haven't been able to find any solution to this.
 
The saxon servlet works fine (as we all know) as long as there are no other parsers around.
When ever I deploy it in the iPlanet environment (which is using its own parser) I get the following error:
 
[06/Sep/2001:11:14:51] info (26627): Internal Info: loading servlet /servlets/SaxonServlet
[06/Sep/2001:11:14:52] info (26627): /servlets/SaxonServlet: init
[06/Sep/2001:11:14:52] failure (26627): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: javax.xml.transform.TransformerFactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.xalan.processor.TransformerFactoryImpl
        at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
        at SaxonServlet.tryCache(SaxonServlet.java:130)
        at SaxonServlet.apply(SaxonServlet.java:84)
        at SaxonServlet.service(SaxonServlet.java:49)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:887)
        at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
So I know its picking up the org.apache.xalan.processor.TransformerFactoryImpl classes.
I looked in the archives and someone suggested this line. (I put it at the start of service method in the SaxonServlet)
 
System.setProperty("javax.xml.transform.TransformerFactory",
           "com.icl.saxon.TransformerFactoryImpl");
 
Now when I run the servlet I get the following error:
 
[06/Sep/2001:11:22:47] info (26651): /servlets/SaxonServlet: init
[06/Sep/2001:11:22:47] failure (26651): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: javax.xml.transform.TransformerFactoryConfigurationError: java.lang.ClassNotFoundException: com.icl.saxon.TransformerFactoryImpl
        at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
        at SaxonServlet.tryCache(SaxonServlet.java:130)
        at SaxonServlet.apply(SaxonServlet.java:84)
        at SaxonServlet.service(SaxonServlet.java:49)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:887)
        at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
I'm really stuck on this one, and have been for about a week! Any help is appreciated (and needed)!!
 
Thanks
 
Liam.