[jdom-interest] javax.xml.transform.TransformerConfigurationException
Arnaud D.
adostes at yahoo.com
Wed Apr 18 06:21:45 PDT 2001
> This has probably been discussed before but sorry,
> the archive is
> unavailable.
>
> I get a
>
javax.xml.transform.TransformerConfigurationException,
> here is the
> stack trace :
>
>
javax.xml.transform.TransformerConfigurationException:
> System property
> org.xml.sax.driver not specified
> at
>
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
> FactoryImpl.java:650)
> at com.twomadcows.Index.toHtml(Index.java:115)
> at com.twomadcows.Index.service(Index.java:98)
> at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
> (Ajp12ConnectionHandler.java:166)
> at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>
============================================================================
> ==================================================
> After investigation, I found out that the
> environment variable
> "org.xml.sax.driver" has to be set to
> "org.apache.xerces.parsers.SAXParser"
> This should be done automatically when using
> jdom/xerces (as it is on my
> home machine), but unfortunatly the security manager
> (the rights I have on
> my ISP's servlet engine) on the production machine
> prevents xerces from
> doing so and fordbids me to call the
> System.setProperty() method (I get a
> SecurityException when doing so)...
>
> Is there a workaround for this ?
>
> Thanks in advance.
> AD.
>
> PS : I use JDK1.3, tomcat 3.2, JDOM, Xerces and
> Xalan.
>
>
>
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com
More information about the jdom-interest
mailing list