[Cartoweb-users] owsproxyserver: help installing
Duarte Carreira
DCarreira at edia.pt
Mon Dec 17 06:27:17 EST 2007
Hi all.
I'm hoping this list is the right place to get help setting up
owsproxyserver.
I'm using Tomcat 5.5 under Win2k3 and IIS, with Isapi redirector. This
was already running for previous applications, so it was easy to install
the owsproxyserver servlet.
But I can't get it to run. I keep getting errors when starting the
application in Tomcat Manager.
The errors appear in Catalina_<date>.log and stdout_<date>.log
I'm pasting the errors below.
The first error I can see is "Content in not allowed in prolog.", which
I also get from other Tomcat apps when trying to use the HTTP
Authentication in URLs like: http://user:passwd@site/link. Don't know if
this is related or not...
Another error I can see is "jar not loaded - offending class
javax/servlet/Servlet.class". But this is a INFO not an error. Then I
get SEVERE: Error filterStart...
Can anyone help?
Thanks,
Duarte
Catalina_<date>.log*****************************************************
**********
Dec 17, 2007 10:55:53 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/owsproxyserver] startup failed due to previous errors
Dec 17, 2007 11:04:45 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/owsproxyserver]
Dec 17, 2007 11:04:45 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/owsproxy
server] has not been started
Dec 17, 2007 11:04:45 AM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(C:\Tomcat5.5.\webapps\owsproxyserver\WEB-INF\lib\servlet
-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.class
Dec 17, 2007 11:04:45 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Dec 17, 2007 11:04:45 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/owsproxyserver] startup failed due to previous errors
Dec 17, 2007 11:04:51 AM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(C:\Tomcat5.5.\webapps\owsproxyserver\WEB-INF\lib\servlet
-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.class
Dec 17, 2007 11:04:52 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Dec 17, 2007 11:04:52 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/owsproxyserver] startup failed due to previous errors
Dec 17, 2007 11:06:14 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Dec 17, 2007 11:06:14 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/owsproxyserver] startup failed due to previous errors
************************************************************************
**************
stdout_<date>.log*******************************************************
**********
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
Using: defaultChannelName=deegree,
mailNotificationAddress=administrator at localhost,
mailSessionName=mail/DefaultSession, log.mail.active=false
Using Logging Class: org.deegree.framework.log.Log4JLogger
[Fatal Error] :1:1: Content is not allowed in prolog.
[11:06:14] ERROR: Content is not allowed in prolog.
org.xml.sax.SAXException: Content is not allowed in prolog.
at org.deegree.framework.xml.XMLTools.parse(XMLTools.java:1066)
at
org.deegree.security.owsrequestvalidator.PolicyDocument.<init>(PolicyDoc
ument.java:102)
at
org.deegree.security.owsproxy.OWSProxyServletFilter.initValidator(OWSPro
xyServletFilter.java:172)
at
org.deegree.security.owsproxy.OWSProxyServletFilter.init(OWSProxyServlet
Filter.java:152)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi
lterConfig.java:223)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio
nFilterConfig.java:304)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte
rConfig.java:77)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav
a:3600)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4193
)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:117
5)
at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.
java:527)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.
java:104)
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(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:524)
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:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Unknown Source)
[11:06:14] ERROR: Content is not allowed in prolog.
org.xml.sax.SAXException
org.deegree.framework.xml.XMLTools XMLTools.java parse(1066)
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(102)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
org.deegree.security.SecurityConfigurationException: Content is not
allowed in prolog.
org.xml.sax.SAXException
org.deegree.framework.xml.XMLTools XMLTools.java parse(1066)
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(102)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
at
org.deegree.security.owsrequestvalidator.PolicyDocument.<init>(PolicyDoc
ument.java:106)
at
org.deegree.security.owsproxy.OWSProxyServletFilter.initValidator(OWSPro
xyServletFilter.java:172)
at
org.deegree.security.owsproxy.OWSProxyServletFilter.init(OWSProxyServlet
Filter.java:152)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi
lterConfig.java:223)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio
nFilterConfig.java:304)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte
rConfig.java:77)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav
a:3600)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4193
)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:117
5)
at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.
java:527)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.
java:104)
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(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:524)
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:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Unknown Source)
[11:06:14] ERROR: Content is not allowed in prolog.
org.xml.sax.SAXException
org.deegree.framework.xml.XMLTools XMLTools.java parse(1066)
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(102)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
org.deegree.security.SecurityConfigurationException
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(106)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java <init>(77)
javax.servlet.ServletException: Content is not allowed in prolog.
org.xml.sax.SAXException
org.deegree.framework.xml.XMLTools XMLTools.java parse(1066)
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(102)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
org.deegree.security.SecurityConfigurationException
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(106)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java <init>(77)
at
org.deegree.security.owsproxy.OWSProxyServletFilter.initValidator(OWSPro
xyServletFilter.java:188)
at
org.deegree.security.owsproxy.OWSProxyServletFilter.init(OWSProxyServlet
Filter.java:152)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi
lterConfig.java:223)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio
nFilterConfig.java:304)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte
rConfig.java:77)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav
a:3600)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4193
)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:117
5)
at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.
java:527)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.
java:104)
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(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:524)
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:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Unknown Source)
[11:06:14] ERROR: Exception starting filter
OWSProxyServletFilter_WMSEdiaOrtos
javax.servlet.ServletException: Content is not allowed in prolog.
org.xml.sax.SAXException
org.deegree.framework.xml.XMLTools XMLTools.java parse(1066)
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(102)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
org.deegree.security.SecurityConfigurationException
org.deegree.security.owsrequestvalidator.PolicyDocument
PolicyDocument.java <init>(106)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java initValidator(172)
org.deegree.security.owsproxy.OWSProxyServletFilter
OWSProxyServletFilter.java init(152)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java getFilter(223)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java setFilterDef(304)
org.apache.catalina.core.ApplicationFilterConfig
ApplicationFilterConfig.java <init>(77)
at
org.deegree.security.owsproxy.OWSProxyServletFilter.init(OWSProxyServlet
Filter.java:158)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFi
lterConfig.java:223)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applicatio
nFilterConfig.java:304)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilte
rConfig.java:77)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.jav
a:3600)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4193
)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:117
5)
at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.
java:527)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.
java:104)
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(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:524)
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:1
48)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
at java.lang.Thread.run(Unknown Source)
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
Using: defaultChannelName=deegree,
mailNotificationAddress=administrator at localhost,
mailSessionName=mail/DefaultSession, log.mail.active=false
Using Logging Class: org.deegree.framework.log.Log4JLogger
[Fatal Error] :1:1: Content is not allowed in prolog.
************************************************************************
**************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071217/652f6391/attachment-0001.html
More information about the Cartoweb-users
mailing list