[CITE-Forum] WCS 1.0 tests internet dependent

Luis Bermudez lbermudez at opengeospatial.org
Sat Sep 13 16:01:00 EDT 2014


Hi Andrea,

Are you running via command line?

Maybe the resources folder, where the xsds are stored, are not being access properly  by TEAM Engine.

I'm investigating. 


- Luis

---------------------------------------------------
Luis Bermudez, Ph.D.
Director Compliance Program
Open Geospatial Consortium (OGC)
The OGC: Making Location Count

Skype: bermudez_luis
Twitter: @berdez
Tel: +1 301 760 7323
http://www.opengeospatial.org/ogc/organization/staff/lbermudez




On Sep 13, 2014, at 1:05 PM, Andrea Aime <andrea.aime at geo-solutions.it> wrote:

> Hi,
> I'm running the latest WCS 1.0 tests from github and noticed something
> "new", they were just flying by very quickly, now 
> it seems the tests are pulling schemas from the internet and as a result
> they are pretty slow.
> 
> I run a jstack against the tomcat running teamengine and found this:
> 
> "Thread-3" daemon prio=10 tid=0x00007fda5c39f000 nid=0x330d runnable [0x00007fda9ea40000]
>    java.lang.Thread.State: RUNNABLE
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:152)
>         at java.net.SocketInputStream.read(SocketInputStream.java:122)
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>         at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
>         - locked <0x00000000f86100a8> (a java.io.BufferedInputStream)
>         at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
>         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
>         - locked <0x00000000f860e330> (a sun.net.www.protocol.http.HttpURLConnection)
>         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
>         at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
>         at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
>         at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
>         at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
>         at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
>         at com.occamlab.te.parsers.XMLValidatingParser.validate(XMLValidatingParser.java:358)
>         at com.occamlab.te.parsers.XMLValidatingParser.parse(XMLValidatingParser.java:254)
>         at com.occamlab.te.parsers.XMLValidatingParser.parse(XMLValidatingParser.java:191)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> I cannot be sure this is something that happened in the WCS tests, but does it run
> a bell for you?
> 
> Cheers
> Andrea
> 
> -- 
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
> 
> Ing. Andrea Aime 
> @geowolf
> Technical Lead
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
> 
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> 
> -------------------------------------------------------
> _______________________________________________
> CITE-Forum mailing list
> CITE-Forum at lists.opengeospatial.org
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum



More information about the CITE-Forum mailing list