Pu Lin, does your machine have internet access?
If you are behind a firewall that prevents outgoing web connections, GeoServer app-schema will not be able to download the GML application schemas that define the GeoSciML information model, and data store initialisation will fail. This download only occurs the first time GeoServer app-schema starts; schemas are cached for future use in the folder app-schema-cache in your data directory. There are several solutions to this problem, documented at the end of this page: http://docs.geoserver.org/latest/en/user/data/app-schema/app-schema-resolution.html Also, if you are able to make outgoing HTTP requests on port 80 using a web proxy, you should also be able to configure your JRE to use this proxy. I have not tried it as I do not use Windows, but here is the Java support page: http://www.java.com/en/download/help/proxy_setup.xml Kind regards, Ben. On 17/07/13 09:03, Pu Lin wrote: > Hi, > I had the similar problem. I followed the instructions to install > Geoserver2.3.3, application schema and tutorial data on Windows 7 (64), JRE6 > (32). When I enter the following url > "http://localhost:8080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=gsml:GeologicUnit", > the error message is > > <?xml version="1.0" encoding="UTF-8" ?> > - <ows:ExceptionReport version="1.0.0" > xsi:schemaLocation="http://www.opengis.net/ows > http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:ows="http://www.opengis.net/ows"> > - <ows:Exception exceptionCode="NoApplicableCode"> > <ows:ExceptionText>Error occurred getting features null > java.net.UnknownHostException: www.geosciml.org > www.geosciml.org</ows:ExceptionText> > </ows:Exception> > </ows:ExceptionReport> > > The server log has "Error connecting to 'gsml_GeologicUnit'. Disabling:. > > Cheers > > Pu Lin > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/application-schema-error-tp5045388p5066904.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
