[Geoserver-users] Problems with

Hi!

I'm new in Geoserver 1.6. When I send this:

<DescribeFeatureType
  version="1.1.0"
  service="WFS"
  xmlns="http://www.opengis.net/wfs&quot;
  xmlns:topp="http://www.openplans.org/topp&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
  
    <TypeName>topp:states</TypeName>
    
</DescribeFeatureType>

petition in a default installation of geoserve 1.6 I get the next error:

  <ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://www.casamontero.org:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd&quot;&gt;
  <ows:Exception exceptionCode="NoApplicableCode">
  <ows:ExceptionText>
java.lang.RuntimeException: Parsing
      failed for TypeName: java.lang.NoClassDefFoundError:
      com/sun/msv/datatype/xsd/XmlNames Parsing failed for
      TypeName: java.lang.NoClassDefFoundError:
      com/sun/msv/datatype/xsd/XmlNames com/sun/msv/datatype/xsd/XmlNames
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

If I try with my own FeatureType I get the same error. What is the problem.

Thanks in adance,

Alt
--
View this message in context: http://www.nabble.com/Problems-with-tp15561420p15561420.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,

Are you running in an application server or with the embedded jetty install. Also which version of java are you using?

Also, it would be helpful if you could capture the entire error log for us. It should be either in your servlet container logs or on the console if you are running with embedded jetty.

-Justin

Alt wrote:

Hi!

I'm new in Geoserver 1.6. When I send this:

<DescribeFeatureType
  version="1.1.0"
  service="WFS"
  xmlns="http://www.opengis.net/wfs&quot;
  xmlns:topp="http://www.openplans.org/topp&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
      <TypeName>topp:states</TypeName>
    </DescribeFeatureType>

petition in a default installation of geoserve 1.6 I get the next error:

  <ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://www.casamontero.org:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd&quot;&gt;
  <ows:Exception exceptionCode="NoApplicableCode">
  <ows:ExceptionText>
java.lang.RuntimeException: Parsing
      failed for TypeName: java.lang.NoClassDefFoundError:
      com/sun/msv/datatype/xsd/XmlNames Parsing failed for
      TypeName: java.lang.NoClassDefFoundError:
      com/sun/msv/datatype/xsd/XmlNames com/sun/msv/datatype/xsd/XmlNames
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

If I try with my own FeatureType I get the same error. What is the problem.

Thanks in adance,

Alt

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Justin.

I running geoserver inside Apache Tomcat/6.0.14 in internet server and tomcat 5.5 in localhost. Now in both of them all works fine. May be a punctual problem with my servers? Now I try the same petition from my local installation and from my shared internet server and localhost and everything works fine. I didn't make any change, I only sleep all night... and that's all!. Now I can't reproduce problem and I can't send you the entire log for inspect. If fail it again, I collect logs for you. Thank you.

Salu2, Alt

Justin Deoliveira escribió:

Hi,

Are you running in an application server or with the embedded jetty install. Also which version of java are you using?

Also, it would be helpful if you could capture the entire error log for us. It should be either in your servlet container logs or on the console if you are running with embedded jetty.

-Justin

Alt wrote:

Hi!

I'm new in Geoserver 1.6. When I send this:

<DescribeFeatureType
  version="1.1.0"
  service="WFS"
  xmlns="http://www.opengis.net/wfs&quot;
  xmlns:topp="http://www.openplans.org/topp&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
      <TypeName>topp:states</TypeName>
    </DescribeFeatureType>

petition in a default installation of geoserve 1.6 I get the next error:

    <ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://www.casamontero.org:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd&quot;&gt;

    <ows:Exception exceptionCode="NoApplicableCode">
    <ows:ExceptionText>
java.lang.RuntimeException: Parsing
      failed for TypeName: java.lang.NoClassDefFoundError:
      com/sun/msv/datatype/xsd/XmlNames Parsing failed for
      TypeName: java.lang.NoClassDefFoundError:
      com/sun/msv/datatype/xsd/XmlNames com/sun/msv/datatype/xsd/XmlNames
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

If I try with my own FeatureType I get the same error. What is the problem.

Thanks in adance,

Alt

Hi all, I’d like to implement a WFS filter based on a date in a Postgres table. I assume i must use the filter as it would be any other property or field, but in which format must be the date when passed as argument to the openlayer WMS constructor, or simply in the geoserver query string?

Thanks

Andrea Maschio ha scritto:

Hi all, I'd like to implement a WFS filter based on a date in a Postgres table. I assume i must use the filter as it would be any other property or field, but in which format must be the date when passed as argument to the openlayer WMS constructor, or simply in the geoserver query string?

ISO standard format should work: http://www.w3.org/TR/NOTE-datetime
Not sure we parse all of the above thought.

Cheers
Andrea

Andrea,

It may depend on what specific PostgreSQL data type you are using, but the following date format works for me for the ‘timestamp without time zone’ data type…

http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML
&width=1024&height=1024&srs=EPSG:4326&layers=mtriDemo:storm_obs&styles=&KMScore=60&KMAttr=true&legend=false
&CQL_FILTER=(obs_datetime>‘3/1/2005’)AND(obs_datetime<‘3/1/2006’)&

  • Tyler

Andrea Maschio wrote:

···
-- 
Tyler A. Erickson, Ph.D.
Research Scientist
Michigan Tech Research Institute
3600 Green Court, Suite 100
Ann Arbor, MI 48105
[tyler.erickson@anonymised.com](mailto:tyler.erickson@anonymised.com)
[www.mtri.org](http://www.mtri.org)
[www.michiganview.org](http://www.michiganview.org)