I have just setup GeoServer for the first time.
The admin works very well, and have gone through and configured everything
according to install document. Added PostGis datastore and configured a
feature.
Before configuring anything, I tried a GetCapabilities and it returned an
exception and now after configuration, it still returns following exception:
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl could not be instantiated:
java.lang.NullPointerException at
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:1
09) at
org.vfny.geoserver.responses.CapabilitiesResponse.writeTo(CapabilitiesRespon
se.java:155) at
org.vfny.geoserver.responses.CapabilitiesResponse.execute(CapabilitiesRespon
se.java:78) at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:3
62) at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:235)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:731) at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:526) at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684) at java.lang.Thread.run(Thread.java:595)
Am I missing the Xalan jar?
Thanks for any info,
Drew.
Greetings, Simpson,
Friday, December 3, 2004, 2:56:11 PM, you wrote:
Before configuring anything, I tried a GetCapabilities and it returned an
exception and now after configuration, it still returns following exception:
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl could not be instantiated:
...
Am I missing the Xalan jar?
That is probably the case if you got Java 1.5 installation. Xalan is
not included in it for some reason so you'll have to add xalan.jar to
GeoServer web application /lib directory manually. You may also expose
it somewhere in a global classpath if you wish. I believe that
xalan.jar is shipped with GeoServer distribution and is just not being
included into .war file by default.
This should be mentioned somewhere in the GeoServer's documentation.
I pretty sure I read about Xalan and Tiger in "Building" section.
--
WBR,
Artie Konin
Yes I have JDK 1.5 and am using Tomcat.
I managed to get it to work by adding xalan.jar to
$CATALINA_HOME/common/endorsed
I tried adding to webapp /lib directory, but found Tomcat's class loader
always looks to the jre for certain packages
(javax.*,org.xml.sax.*,org.w3c.dom.*,org.apache.xerces.* and
org.apache.xalan.*) unless overridden in /common/endorsed.
Thanks for the info,
Drew.
-----Original Message-----
From: Artie Konin [mailto:a-thor@anonymised.com]
Sent: Friday, December 03, 2004 7:30 AM
To: Simpson
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] wfs GetCapabilities exception
Greetings, Simpson,
Friday, December 3, 2004, 2:56:11 PM, you wrote:
Before configuring anything, I tried a GetCapabilities and it returned an
exception and now after configuration, it still returns following
exception:
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl could not be
instantiated:
...
Am I missing the Xalan jar?
That is probably the case if you got Java 1.5 installation. Xalan is
not included in it for some reason so you'll have to add xalan.jar to
GeoServer web application /lib directory manually. You may also expose
it somewhere in a global classpath if you wish. I believe that
xalan.jar is shipped with GeoServer distribution and is just not being
included into .war file by default.
This should be mentioned somewhere in the GeoServer's documentation.
I pretty sure I read about Xalan and Tiger in "Building" section.
--
WBR,
Artie Konin