Hi all,
I downloaded and installed IPT and geoserver, and I got into troubles. I'm new to Tomcat, and this doesn't help me solving this issue.
First I couldn't start geoserver. After searching the solution was to change owner (unzipping and installing defaults to root.root) and to make geoserver/data/service.xml writeable.
Now I'm trying to start IPT but this doesn't work. After changing memory values, I finally get the following error message:
FAIL - Application at context path /ipt could not be started
The message from the logs is the following: INFO: HTMLManager: start: Starting web application at '/ipt' Resolved relative path / with servlet context : /usr/share/tomcat5/webapps/ipt/ Resolved relative path /data with servlet context : /usr/share/tomcat5/webapps/ipt/data Resolved relative path / with servlet context : /usr/share/tomcat5/webapps/ipt/ Resolved relative path /data with servlet context : /usr/share/tomcat5/webapps/ipt/data ERROR http-8080-Processor25-[/ipt].filterStart(3639) | Exception starting filter struts javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) at com.opensymphony.xwork2.util.DomHelper $DOMBuilder.<clinit>(DomHelper.java:167) at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:830) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452) at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222) at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1176) at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:545) at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:636) Apr 24, 2009 10:08:26 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Apr 24, 2009 10:08:26 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ipt] startup failed due to previous errors Apr 24, 2009 10:08:27 AM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
I don't know if that means my system is missing some class/package or if it's a configuration issue. My system is Centos 5.3
Cheers, Mickaël
Hi Michael,
Thanks for posting the detailed description of the error - it really helps us in debugging!
Could I please ask you to look around the tomcat directories (but not the tomcat5/webapps) for xml-apis.jar or xalan.jar ?
specifically, please look in:
.../tomcat5/shared/.. (including subfolders such as endorsed and lib if they are present) ../tomcat5/common/..
If you find them, please try removing them and restarting tomcat. Please consider moving them so you can recover to the current state if need be.
Some versions of tomcat incorrectly ship with these libraries - for example on the RedHat version we use on some servers we have to remove these Jars.
Many thanks,
Tim
On 27 Apr 2009, at 10:35, Mickael Graf wrote:
Hi all,
I downloaded and installed IPT and geoserver, and I got into troubles. I'm new to Tomcat, and this doesn't help me solving this issue.
First I couldn't start geoserver. After searching the solution was to change owner (unzipping and installing defaults to root.root) and to make geoserver/data/service.xml writeable.
Now I'm trying to start IPT but this doesn't work. After changing memory values, I finally get the following error message:
FAIL - Application at context path /ipt could not be started
The message from the logs is the following: INFO: HTMLManager: start: Starting web application at '/ipt' Resolved relative path / with servlet context : /usr/share/tomcat5/webapps/ipt/ Resolved relative path /data with servlet context : /usr/share/tomcat5/webapps/ipt/data Resolved relative path / with servlet context : /usr/share/tomcat5/webapps/ipt/ Resolved relative path /data with servlet context : /usr/share/tomcat5/webapps/ipt/data ERROR http-8080-Processor25-[/ipt].filterStart(3639) | Exception starting filter struts javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) at com.opensymphony.xwork2.util.DomHelper $DOMBuilder.<clinit>(DomHelper.java:167) at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115) at com .opensymphony .xwork2 .config .providers .XmlConfigurationProvider .loadConfigurationFiles(XmlConfigurationProvider.java:830) at com .opensymphony .xwork2 .config .providers .XmlConfigurationProvider .loadDocuments(XmlConfigurationProvider.java:131) at com .opensymphony .xwork2 .config .providers .XmlConfigurationProvider.init(XmlConfigurationProvider.java:100) at com .opensymphony .xwork2 .config.impl.DefaultConfiguration.reload(DefaultConfiguration.java: 130) at com .opensymphony .xwork2 .config .ConfigurationManager.getConfiguration(ConfigurationManager.java:52) at org .apache .struts2 .dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452) at org .apache .struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201) at org .apache .catalina .core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java: 221) at org .apache .catalina .core .ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java: 302) at org .apache .catalina .core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78) at org .apache .catalina.core.StandardContext.filterStart(StandardContext.java:3635) at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4222) at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java: 1176) at org .apache .catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java: 545) at org .apache .catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java: 105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 269) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org .apache .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 210) at org .apache .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 172) at org .apache .catalina .authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org .apache .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org .apache .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 108) at org .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 151) at org .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 870) at org.apache.coyote.http11.Http11BaseProtocol $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: 665) at org .apache .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: 528) at org .apache .tomcat .util .net .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:636) Apr 24, 2009 10:08:26 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Apr 24, 2009 10:08:26 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/ipt] startup failed due to previous errors Apr 24, 2009 10:08:27 AM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
I don't know if that means my system is missing some class/package or if it's a configuration issue. My system is Centos 5.3
Cheers, Mickaël
--
Mickaël Graf Database developper, GBIF Sweden - http://www.gbif.se tel: +46 8 5195 4045 mailto:mickael.graf@nrm.se
Swedish Museum of Natural History - http://www.nrm.se Box 50007 SE-104 05 Stockholm Sweden
IPT mailing list IPT@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ipt
participants (2)
-
Mickael Graf
-
Tim Robertson