[Geoserver-users] GeoFence on Jetty

Hi

Based on previous advice, I’ve looked into GeoFence, as it seems to be the only way to script creation of users through REST. I don’t understand, why this is natively supported by Geoserver itself, but leave that aside for now.

I have downloaded the geofence.war and unpacked in my geoserver\webapps\geofence, but this doesn’t seem to start GeoFence with Geoserver on Jetty on Windows. The installation guide provided at

https://github.com/geosolutions-it/geofence/wiki/GeoFence-installation

only mentions how to install in Tomcat. Is it impossible to install in Jetty, which is distributed with the “Windows installer” package? If it’s possible, kindly provide instructions.

Thanks in advance,

Jacob Madsen

Hi,

I'm trying to upgrade Geoserver from 2.3.5 to 2.8.1. According to to the doc there seems to be nothing special to do:

http://docs.geoserver.org/stable/en/user/datadirectory/migrating.html#migrating-data-directory

The war file can be deployed without problems. But after I stop geoserver to assign GEOSERVER_DATA_DIR in web.xml, it cannot be re-run again.

In the log this is the only exception I could notice:

INFORMATION: Illegal access: this web application instance has been stopped already. Could not load org.geotools.data.DefaultServiceInfo. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1370)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
     at org.geotools.data.store.ContentDataStore.getInfo(ContentDataStore.java:292)
     at org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.finalize(GTDataStoreGranuleCatalog.java:749)
     at java.lang.System$2.invokeFinalize(System.java:1270)
     at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
     at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
     at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)

I'd appreciate any hint!

Best regards,
NV

HI Nhahn,

you have to provide more information, like the entire stack trace, for example.

When subscribing to the list you were asked to read this document, it contains a list of info

that makes for a useful question:
http://geoserver.org/comm/userlist-guidelines.html

Cheers

Andrea

···

On Tue, Dec 1, 2015 at 2:51 PM, Nhan Vo <nhanvo@anonymised.com> wrote:

Hi,

I’m trying to upgrade Geoserver from 2.3.5 to 2.8.1. According to to the
doc there seems to be nothing special to do:

http://docs.geoserver.org/stable/en/user/datadirectory/migrating.html#migrating-data-directory

The war file can be deployed without problems. But after I stop
geoserver to assign GEOSERVER_DATA_DIR in web.xml, it cannot be re-run
again.

In the log this is the only exception I could notice:

INFORMATION: Illegal access: this web application instance has been
stopped already. Could not load org.geotools.data.DefaultServiceInfo.
The eventual following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the thread which
caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1370)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
at
org.geotools.data.store.ContentDataStore.getInfo(ContentDataStore.java:292)
at
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.finalize(GTDataStoreGranuleCatalog.java:749)
at java.lang.System$2.invokeFinalize(System.java:1270)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)

I’d appreciate any hint!

Best regards,
NV


Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Geosolutions’ Winter Holidays from 24/12 to 6/1

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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.