We have been running Geoserver 2.10.2 for some time under JBoss 6.4. We are 
trying to upgrade to 2.16.0. It would not deploy to JBoss 6.4. I was able to 
get it to deploy to JBoss 7.3. However, I have not been able to get WFS to work.

Our Geoserver data files are outside the WAR file in /geoserver_external_data. 
The 2.10.2 installation, which was created before I joined the project, had 
files in the app-schema-cache subdirectory that did not match the 
documentation's description of the layout. The XSD files all lived under 
localhost/files, not in the structure built from the namespace string one would 
expect from the documentation. The WFS mapping files in the workspaces 
subdirectory seemed to be responsible for that - the schemaUri values in the 
targetTypes block had http://localhost/files/whatever.xsd instead of 
[namespaceUrl]/whatever.xsd. But leaving everything as it was in the working 
2.10/JBoss 6.4 configuration resulted in a log message that it could not find 
the requested feature in the catalog when I tried to issue a WMS request that 
worked in 2.10.

I tried changing the targetTypes URI values to the namespace http string, and 
then to file:///geoserver_external_data/app-schema-cache/localhost/files. I 
changed back to the original http://localhost/files, and deployed a new WAR 
file built after copying the localhost/files directory tree to WEB-INF/classes.

No matter what I do, the request for MyFeature fails, and the log shows an 
error:

Could not locate {[namespace URL]}MyFeature in catalog.

The 2.16.0 app-schema-plugin JAR files are installed, as are querylayer, h2, 
oracle, and imagemosaic. The jars for Spring 5.2.0.RC2 are in WEB-INF/lib as 
well.

---------------------------------------------------------------
Michael Stein, Northrop Grumman Defense Systems
4276 Forbes Blvd
Lanham, MD 20706
703-963-6654(cell); 301-429-5468(ofc)

_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to