Hi Brent,
I am using tomcat 5.0:
rpm -qa |grep tomcat
tomcat5-servlet-2.4-api-5.0.30-9.1mdk
tomcat5-5.0.30-9.1mdk
tomcat5-jasper-5.0.30-9.1mdk
Doing the procedure again:
cd /usr/share/tomcat5/webapps/
unzip geoserver-1.3.0-RC6-war.zip
cp geoserver.war /usr/share/tomcat5/webapps/
/etc/rc.d/init.d/tomcat5 restart
# Testing:
http://localhost:8080/geoserver/wfs/GetCapabilities
-> XML file
"This is a description of your Web Feature Server.
..."
http://localhost:8080/geoserver/
-> takes me to http://localhost:8080/geoserver/JSPCompiler
Loading .... xx% completed
-> " Welcome to GeoServer 1.3.0-RC7"
Both WFS and WMS bars at top left are in red color.
* Admin
-> login + passwd, submit (not sure if this is needed)
* Config
-> Configuration of GeoServer application
tasmania_water_bodies:tasmania_water_bodies
DS_poly_landmarks:poly_landmarks
DS_giant_polygon:giant_polygon
DS_poi:poi
states_shapestates
tasmania_cities:tasmania_cities
DS_tiger_roads:tiger_roads
tasmania_state_boundaries:tasmania_state_boundaries
tasmania_roads:tasmania_roads
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_water_bodies/tasmania_water_bodies.shp, namespace=http://www.openplans.org/topp\}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=tiger, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/poly_landmarks.shp, namespace=http://www.census.gov}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=tiger, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/giant_polygon.shp, namespace=http://www.census.gov}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=tiger, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/poi.shp, namespace=http://www.census.gov}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/featureTypes/states/states.shp, namespace=http://www.openplans.org/topp\}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_cities/tasmania_cities.shp, namespace=http://www.openplans.org/topp\}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=tiger, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/tiger_roads.shp, namespace=http://www.census.gov}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_state_boundaries/tasmania_state_boundaries.shp, namespace=http://www.openplans.org/topp\}]
java.util.NoSuchElementException: No datastore found capable of managing DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection parameters={url=/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_roads/tasmania_roads.shp, namespace=http://www.openplans.org/topp\}]
Same thing with RC6 - meanwhile I have spent > 10hours on this...
Jetty I didn't try yet (have to learn installation etc
first).
Best regards
Markus
On Wed, Dec 28, 2005 at 11:05:35AM -0800, Brent Owens wrote:
Hi Markus
From the error, it seems that it is failing outside of Geoserver: while
trying to handle the JSP.
I've had issues with tomcat5.5, so I've been using 5.0.
Does it work in Jetty?
Can you retrace the steps for me on how you got the error? Did you hit
the apply or save button, or did it die when you tried to go to the
datastore editor page?
Brent Owens
TOPP
Markus Neteler wrote:
>Brent,
>
>thanks for your suggestion. I tried to install GeoServer
>'out-of-the-box'... after installing tomcat5/gcj.
>
>Following your suggestion, I end up with the error below.
>I'm clueless...
>
>My goal is to promote GeoServer here, so I need a working
>installation very soonish (luckily I was able to postpone
>the appointment to January 2006).
>
>Best regards
>
>Markus Neteler
>
>PS: Here the output:
>
>DataStore Editor
>
>Edit a source of spatial information
>
>[ServletException in:/WEB-INF/pages/data/DataConfigDataStoresEditor.jsp]
>null' java.lang.NullPointerException at
>java.beans.IndexedPropertyDescriptor.IndexedPropertyDescriptor(java.lang.String, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method) (/usr/lib/libgcj.so.6.0.0) at gnu.java.beans.IntrospectionIncubator.findXXXInt(gnu.java.beans.BeanInfoEmbryo, int) (/usr/lib/libgcj.so.6.0.0) at gnu.java.beans.IntrospectionIncubator.getBeanInfoEmbryo() (/usr/lib/libgcj.so.6.0.0) at java.beans.Introspector.getBeanInfo(java.lang.Class, java.lang.Class) (/usr/lib/libgcj.so.6.0.0) at java.beans.Introspector.getBeanInfo(java.lang.Class) (/usr/lib/libgcj.so.6.0.0) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(java.lang.Class) (Unknown Source) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(java.lang.Object) (Unknown Source) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(java.lang.Object, java.lang.String)
>(Unknown Source) at
>org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(java.lang.Object, java.lang.String) (Unknown Source) at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(java.lang.Object, java.lang.String) (Unknown Source) at org.apache.commons.beanutils.PropertyUtils.getProperty(java.lang.Object, java.lang.String) (Unknown Source) at org.apache.struts.util.RequestUtils.lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String) (Unknown Source) at org.apache.struts.taglib.bean.WriteTag.doStartTag() (Unknown Source) at org.apache.jsp.WEB_002dINF.pages.data.DataConfigDataStoresEditor_jsp._jspx_meth_bean_write_0(javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.PageContext) (Unknown Source) at org.apache.jsp.WEB_002dINF.pages.data.DataConfigDataStoresEditor_jsp._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (Unknown Source) at
>org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (/usr/lib/gcj/tomcat5/jasper5-runtime-5.0.30.jar.so) at javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/servletapi5-5.0.30.jar.so) at org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean) (/usr/lib/gcj/tomcat5/jasper5-compiler-5.0.30.jar.so) at org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean) (/usr/lib/gcj/tomcat5/jasper5-compiler-5.0.30.jar.so) at org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (/usr/lib/gcj/tomcat5/jasper5-compiler-5.0.30.jar.so) at javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
>javax.servlet.ServletResponse)
>(/usr/lib/gcj/tomcat5/servletapi5-5.0.30.jar.so) at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationDispatcher.doInclude(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.jasper.runtime.JspRuntimeLibrary.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.lang.String,
>javax.servlet.jsp.JspWriter, boolean)
>(/usr/lib/gcj/tomcat5/jasper5-runtime-5.0.30.jar.so) at
>org.apache.jasper.runtime.PageContextImpl.include(java.lang.String)
>(/usr/lib/gcj/tomcat5/jasper5-runtime-5.0.30.jar.so) at
>org.apache.struts.tiles.TilesUtilImpl.doInclude(java.lang.String,
>javax.servlet.jsp.PageContext) (Unknown Source) at
>org.apache.struts.tiles.TilesUtil.doInclude(java.lang.String,
>javax.servlet.jsp.PageContext) (Unknown Source) at
>org.apache.struts.taglib.tiles.InsertTag.doInclude(java.lang.String)
>(Unknown Source) at
>org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag() (Unknown
>Source) at org.apache.struts.taglib.tiles.InsertTag.doEndTag() (Unknown
>Source) at
>org.apache.jsp.WEB_002dINF.pages.layouts.mainLayout_jsp._jspx_meth_tiles_insert_6(javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.PageContext) (Unknown Source) at org.apache.jsp.WEB_002dINF.pages.layouts.mainLayout_jsp._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (Unknown
>Source) at
>org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (/usr/lib/gcj/tomcat5/jasper5-runtime-5.0.30.jar.so) at javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/servletapi5-5.0.30.jar.so) at org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean) (/usr/lib/gcj/tomcat5/jasper5-compiler-5.0.30.jar.so) at org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean) (/usr/lib/gcj/tomcat5/jasper5-compiler-5.0.30.jar.so) at org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (/usr/lib/gcj/tomcat5/jasper5-compiler-5.0.30.jar.so) at
>javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
>javax.servlet.ServletResponse)
>(/usr/lib/gcj/tomcat5/servletapi5-5.0.30.jar.so) at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationDispatcher.processRequest(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.catalina.core.ApplicationDispatcher.doForward(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at
>org.apache.catalina.core.ApplicationDispatcher.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/gcj/tomcat5/catalina.jar.so) at org.apache.struts.action.RequestProcessor.doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (Unknown Source)
>
>
>On Mon, Dec 19, 2005 at 03:54:22PM -0800, Brent Owens wrote:
>
>
>>Hi Markus,
>>
>>From the error in B), it looks like GeoServer can't find your
>>shapefiles, which would be the cause of the rendering not happening.
>>You should navigate, using the GeoServer web UI, to config -> data ->
>>stores
>>Here is a tutorial on adding a shapefile:
>>http://docs.codehaus.org/display/GEOSDOC/User+Tutorial+Shapefile
>>
>>If the shapefiles are working, they should appear in the WMS map preview
>>demo page.
>>
>>GeoServer 'out-of-the-box' should work with the shapefiles, but it can
>>depend on your configuration and what servelet container you are using.
>>
>>Brent Owens
>>TOPP
>>
>>
>>
>>Markus Neteler (JIRA) wrote:
>>
>>
>>
>>>GeoServer: JAI fails
>>>--------------------
>>>
>>> Key: GEOS-508
>>> URL: http://jira.codehaus.org/browse/GEOS-508
>>> Project: GeoServer
>>> Type: Bug
>>>
>>>Components: Configuration
>>> Versions: 1.3.0 RC6
>>>Environment: Mandriva 2006 Linux
>>>with
>>>java-1.4.2-gcj-compat-1.4.2.0-40.16mdk
>>>gcc-java-4.0.1-5mdk
>>>java-1.4.2-gcj-compat-bootstrap-devel-1.4.2.0-40.16mdk
>>>tomcat5-servlet-2.4-api-5.0.30-9.1mdk
>>>tomcat5-5.0.30-9.1mdk
>>>tomcat5-jasper-5.0.30-9.1mdk
>>>
>>>jai-1_1_2-lib-linux-i586-jdk.bin (from SUN)
>>> Reporter: Markus Neteler
>>>Assigned to: dblasby
>>>
>>>
>>>I tried to get GeoServer running on Mandriva 2006 Linux, while menus etc
>>>appear,
>>>all demos fails. I suspect that JAI is the cause. Both 1.3.0-RC6 and
>>>1.3.0-RC7 fail.
>>>Is the java-1.4.2-gcj probably incompatible with JAI?
>>>WFS GeoCapabilities seem to work.
>>>WMS does not:
>>><?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
>>>ServiceExceptionReport SYSTEM
>>>"http://localhost:8080/geoserver/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1"> <ServiceException code="">null</ServiceException> </ServiceExceptionReport>
>>>
>>>And also the most wanted WFS-T demo do not (zoom icons etc are there but
>>>not the map).
>>>
>>>Some details:
>>>
>>>A) GeoServer Administration
>>>Administration of running GeoServer application
>>> This Administration page is currently at the idea stage, it is
>>> intended to show the runtime status (and allow interaction with) the
>>> running GeoSever application.
>>>Locks: 0
>>>Connections: 0
>>>Memory: 9412K
>>>Version of JVM: Free Software Foundation, Inc. : 1.4.2
>>>JAI is available: true
>>>
>>>
>>>B) GeoServer Configuration
>>>Configuration of GeoServer application
>>>tasmania_water_bodies:tasmania_water_bodies
>>>DS_poly_landmarks:poly_landmarks
>>>DS_giant_polygon:giant_polygon
>>>DS_poi:poi
>>>states_shapefile:states
>>>tasmania_cities:tasmania_cities
>>>DS_tiger_roads:tiger_roads
>>>tasmania_state_boundaries:tasmania_state_boundaries
>>>tasmania_roads:tasmania_roads
>>> java.util.NoSuchElementException: No datastore found capable of
>>> managing DataStoreConfig[namespace=topp, enabled=false,
>>> abstract=null, connection
>>> parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_water_bodies/tasmania_water_bodies.shp, namespace=http://www.openplans.org/topp\}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=tiger, enabled=false, abstract=null,
>>>connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/poly_landmarks.shp, namespace=http://www.census.gov}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=tiger, enabled=false, abstract=null,
>>>connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/giant_polygon.shp, namespace=http://www.census.gov}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=tiger, enabled=false, abstract=null,
>>>connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/poi.shp, namespace=http://www.census.gov}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/featureTypes/states/states.shp, namespace=http://www.openplans.org/topp\}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_cities/tasmania_cities.shp, namespace=http://www.openplans.org/topp\}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=tiger, enabled=false, abstract=null,
>>>connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/demo/popup_map/data/tiger_roads.shp, namespace=http://www.census.gov}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_state_boundaries/tasmania_state_boundaries.shp, namespace=http://www.openplans.org/topp\}]
>>>java.util.NoSuchElementException: No datastore found capable of managing
>>>DataStoreConfig[namespace=topp, enabled=false, abstract=null, connection
>>>parameters={url=file:/usr/share/tomcat5/webapps/geoserver/data/featureTypes/tasmania_roads/tasmania_roads.shp, namespace=http://www.openplans.org/topp\}]
>>>
>>>Help is appreciated
>>>thanks
>>>
>>>Markus
>>>
>>>
>>>
>>>
>>>
>
>
>
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy