In order to solve a WFS performance problem apparently related to GEOT-6014, I
am trying to upgrade from 2.10 to 2.14. I downloaded the new geoserver.war,
unpacked it, and added the following plugin JAR files to WEB-INF/lib:
commons-digester-1.7.jar
gs-querylayer-2.14.1.jar
gt-app-schema-20.1.jar
gt-app-schema-resolver-20.1.jar
gt-imagemosaic-jdbc-20.1.jar
gt-jdbc-oracle-20.1.jar
I also included the GDAL and JPEG2K jars that imagemosaic wants.
I then recreated the new WAR file and deployed it to JBoss 6.4, using Oracle
11.2.
In the logs, I see during startup:
14:03:23,094 INFO [org.geoserver] (ServerService Thread Pool -- 71) Loaded
data store 'aixm_VerticalStructure', enabled
I am not 100% convinced, however, that Geoserver fully starts. When I had 2.10
deployed, the last thing in the JBoss log between startup and trying to do
something was
11:14:15,624 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss
EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) started in 454055ms - Started 729 of
766 services (69 services are lazy, passive or on-demand)
This does not appear in the log with 2.14 deployed. Instead, the last entries
before I try anything is:
20:09:46,157 INFO [org.geoserver.security] (ServerService Thread Pool -- 58)
AuthenticationCache Eviction Task created to run every 600 seconds
20:09:46,192 DEBUG [org.geoserver.security] (ServerService Thread Pool -- 58)
AuthenticationCache removing all entries
20:09:46,192 DEBUG [org.geoserver.security] (ServerService Thread Pool -- 58)
Cache entries #: 0
20:09:46,193 DEBUG [org.geoserver.security] (ServerService Thread Pool -- 58)
AuthenticationCache removed all entries
20:09:46,194 DEBUG [org.geoserver.security] (ServerService Thread Pool -- 58)
Cache entries #: 0
20:09:51,375 INFO
[org.springframework.orm.hibernate4.HibernateTransactionManager] (ServerService
Thread Pool -- 53) Using DataSource
[org.jboss.jca.adapters.jdbc.WrapperDataSource@2a6d3ab6] of Hibernate
SessionFactory for HibernateTransactionManager
20:09:51,661 INFO
[org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor]
(ServerService Thread Pool -- 53) Initializing ExecutorService
'threadPoolExecutor'
20:09:51,671 INFO
[org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor]
(ServerService Thread Pool -- 53) Initializing ExecutorService
'domainThreadPoolExecutor'
20:10:02,965 INFO [org.springframework.web.context.ContextLoader]
(ServerService Thread Pool -- 53) Root WebApplicationContext: initialization
completed in 76558 ms
On the other hand, the GeoServer admin console is available.
When I try to execute a getFeature query for VerticalStructure features using
the same app-schema files and query that work under 2.10, I get:
14:04:07,836 ERROR [org.geoserver.ows] (http-/127.0.0.1:8080-2) :
org.geoserver.wfs.WFSException: Could not locate
{http://www.aixm.aero/schema/5.1}VerticalStructure in catalog.
at
org.geoserver.wfs.GetFeature.featureTypeInfo(GetFeature.java:1404)
[gs-wfs-2.14.1.jar:2.14.1]
at org.geoserver.wfs.GetFeature.run(GetFeature.java:398)
[gs-wfs-2.14.1.jar:2.14.1]
at
org.geoserver.wfs.DefaultWebFeatureService20.getFeature(DefaultWebFeatureService20.java:106)
[gs-wfs-2.14.1.jar:2.14.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.8.0_65]
I have verified that the app-schema-cache/localhost/files directory still has
all the old .xsd files. I may have missed something, but I don't see anything
in the documentation related to upgrading versions that tells me that something
must change in my configuration in order to go to 2.14 from 2.10. Reverting the
WAR file deployment back to the 2.10 version works as it did before.
--------------------------------------------------
Mike Stein
Northrop Grumman Mission Systems
7575 Colshire Dr 7256W M/S C7W2
McLean VA 22102
703-556-1409 (ofc)
703-963-6654 (cell)
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users