Good afternoon all,
I would appreciate any help.
I´ve been having problems with running geoserver. When trying to run the administrator console I get this error:
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/geoserver/
Powered by jetty://
And in the log file I get a: Failed to start JDBC metastore: General error: java.lang.RuntimeException: Unexpected code path [50000-119]
Following is the log:
2015-11-29 17:30:24,741 INFO [gwc.config] - Initializing GeoServer specific GWC configuration from gwc-gs.xml
2015-11-29 17:30:25,224 INFO [storage.DefaultStorageFinder] - **************************************************************************************************************************************************
2015-11-29 17:30:25,224 INFO [storage.DefaultStorageFinder] - *** Found Java environment variable GEOSERVER_DATA_DIR set to C:\Program Files (x86)\GeoServer 2.1.3\data_dir, using it as the default prefix. ***
2015-11-29 17:30:25,224 INFO [storage.DefaultStorageFinder] - **************************************************************************************************************************************************
2015-11-29 17:30:30,064 ERROR [jdbc.JDBCMetaBackend] - Failed to start JDBC metastore: General error: java.lang.RuntimeException: Unexpected code path [50000-119]
2015-11-29 17:30:30,064 WARN [jdbc.JDBCMetaBackend] - Disabling JDBC metastore, not all functionality will be available!
2015-11-29 17:30:30,079 INFO [config.XMLConfiguration] - Will look for geowebcache.xml in ‘C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc’
2015-11-29 17:30:30,095 INFO [config.XMLConfiguration] - Found configuration file in C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2015-11-29 17:30:30,173 INFO [config.XMLConfiguration] - Configuration file validated fine.
2015-11-29 17:30:30,188 INFO [config.XMLConfiguration] - Initializing GridSets from C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2015-11-29 17:30:30,204 INFO [config.XMLConfiguration] - Initializing layers from C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2015-11-29 17:30:30,204 INFO [layer.TileLayerDispatcher] - Configuration C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc contained no layers.
2015-11-29 17:30:30,251 INFO [storage.EntityStoreBuilder] - Neither disk quota page store’ cache memory percent nor cache size was provided. Defaulting to 25% Heap Size
2015-11-29 17:30:32,185 INFO [storage.BDBQuotaStore] - Berkeley DB JE Disk Quota page store configured at C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc\diskquota_page_store
2015-11-29 17:30:32,201 INFO [storage.BDBQuotaStore] - Quota Store initialized. Global quota: 16.56 GB
2015-11-29 17:30:32,201 INFO [diskquota.ConfigLoader] - DiskQuota configuration not found: C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc\geowebcache-diskquota.xml
2015-11-29 17:30:32,201 INFO [diskquota.DiskQuotaMonitor] - Setting up disk quota periodic enforcement task
2015-11-29 17:30:32,201 INFO [diskquota.DiskQuotaMonitor] - 0 layers configured with their own quotas.
2015-11-29 17:30:32,201 INFO [diskquota.DiskQuotaMonitor] - 284 layers attached to global quota 500.0 MB
2015-11-29 17:30:32,232 INFO [diskquota.DiskQuotaMonitor] - Disk quota periodic enforcement task set up every 10 SECONDS
2015-11-29 17:30:32,685 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked setServletPrefix(gwc)
2015-11-29 17:30:32,685 INFO [georss.GeoRSSPoller] - Initializing GeoRSS poller in a background job…
2015-11-29 17:30:32,716 INFO [georss.GeoRSSPoller] - No enabled GeoRSS feeds found, poller will not run.
2015-11-29 17:30:32,778 INFO [rest.RESTDispatcher] - Created RESTDispatcher with 9 paths
2015-11-29 17:30:32,809 INFO [wms.WMSService] - Will NOT recombine tiles for non-tiling clients.
2015-11-29 17:30:32,809 INFO [wms.WMSService] - Will proxy requests to backend that are not getmap or getcapabilities.
2015-11-29 17:30:32,841 INFO [org.geoserver] - GeoServer configuration lock is enabled
2015-11-29 17:30:34,135 ERROR [context.ContextLoader] - Context initialization failed
java.lang.NullPointerException
at org.geoserver.wms.WMS.getMaxAnimatorRenderingTime(WMS.java:443)
at org.geoserver.wms.WMSLifecycleHandler.resetAnimatorExecutorService(WMSLifecycleHandler.java:77)
at org.geoserver.wms.WMSLifecycleHandler.onApplicationEvent(WMSLifecycleHandler.java:133)
at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:384)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
at java.lang.Thread.run(Unknown Source)
2015-11-29 21:00:20,368 WARN [yaml.CustomBeanWrapper] - ColumnDef: unknown field ‘columnWeight’ with value ‘2’
2015-11-29 21:00:20,368 WARN [yaml.CustomBeanWrapper] - ColumnDef: unknown field ‘columnWeight’ with value ‘5’
Thank you for you help.
···
Edwin Cabnal
Hi,
looks like your wms.xml configuration file got ruined in the data directory.
Try replacing it with this one:
https://raw.githubusercontent.com/geoserver/geoserver/2.1.x/data/release/wms.xml
Cheers
Andrea
···
On Mon, Nov 30, 2015 at 9:43 PM, Edwin Cabnal <ecabnal@anonymised.com> wrote:
Good afternoon all,
I would appreciate any help.
I´ve been having problems with running geoserver. When trying to run the administrator console I get this error:
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/geoserver/
Powered by jetty://
And in the log file I get a: Failed to start JDBC metastore: General error: java.lang.RuntimeException: Unexpected code path [50000-119]
Following is the log:
2015-11-29 17:30:24,741 INFO [gwc.config] - Initializing GeoServer specific GWC configuration from gwc-gs.xml
2015-11-29 17:30:25,224 INFO [storage.DefaultStorageFinder] - **************************************************************************************************************************************************
2015-11-29 17:30:25,224 INFO [storage.DefaultStorageFinder] - *** Found Java environment variable GEOSERVER_DATA_DIR set to C:\Program Files (x86)\GeoServer 2.1.3\data_dir, using it as the default prefix. ***
2015-11-29 17:30:25,224 INFO [storage.DefaultStorageFinder] - **************************************************************************************************************************************************
2015-11-29 17:30:30,064 ERROR [jdbc.JDBCMetaBackend] - Failed to start JDBC metastore: General error: java.lang.RuntimeException: Unexpected code path [50000-119]
2015-11-29 17:30:30,064 WARN [jdbc.JDBCMetaBackend] - Disabling JDBC metastore, not all functionality will be available!
2015-11-29 17:30:30,079 INFO [config.XMLConfiguration] - Will look for geowebcache.xml in ‘C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc’
2015-11-29 17:30:30,095 INFO [config.XMLConfiguration] - Found configuration file in C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2015-11-29 17:30:30,173 INFO [config.XMLConfiguration] - Configuration file validated fine.
2015-11-29 17:30:30,188 INFO [config.XMLConfiguration] - Initializing GridSets from C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2015-11-29 17:30:30,204 INFO [config.XMLConfiguration] - Initializing layers from C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2015-11-29 17:30:30,204 INFO [layer.TileLayerDispatcher] - Configuration C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc contained no layers.
2015-11-29 17:30:30,251 INFO [storage.EntityStoreBuilder] - Neither disk quota page store’ cache memory percent nor cache size was provided. Defaulting to 25% Heap Size
2015-11-29 17:30:32,185 INFO [storage.BDBQuotaStore] - Berkeley DB JE Disk Quota page store configured at C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc\diskquota_page_store
2015-11-29 17:30:32,201 INFO [storage.BDBQuotaStore] - Quota Store initialized. Global quota: 16.56 GB
2015-11-29 17:30:32,201 INFO [diskquota.ConfigLoader] - DiskQuota configuration not found: C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc\geowebcache-diskquota.xml
2015-11-29 17:30:32,201 INFO [diskquota.DiskQuotaMonitor] - Setting up disk quota periodic enforcement task
2015-11-29 17:30:32,201 INFO [diskquota.DiskQuotaMonitor] - 0 layers configured with their own quotas.
2015-11-29 17:30:32,201 INFO [diskquota.DiskQuotaMonitor] - 284 layers attached to global quota 500.0 MB
2015-11-29 17:30:32,232 INFO [diskquota.DiskQuotaMonitor] - Disk quota periodic enforcement task set up every 10 SECONDS
2015-11-29 17:30:32,685 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked setServletPrefix(gwc)
2015-11-29 17:30:32,685 INFO [georss.GeoRSSPoller] - Initializing GeoRSS poller in a background job…
2015-11-29 17:30:32,716 INFO [georss.GeoRSSPoller] - No enabled GeoRSS feeds found, poller will not run.
2015-11-29 17:30:32,778 INFO [rest.RESTDispatcher] - Created RESTDispatcher with 9 paths
2015-11-29 17:30:32,809 INFO [wms.WMSService] - Will NOT recombine tiles for non-tiling clients.
2015-11-29 17:30:32,809 INFO [wms.WMSService] - Will proxy requests to backend that are not getmap or getcapabilities.
2015-11-29 17:30:32,841 INFO [org.geoserver] - GeoServer configuration lock is enabled
2015-11-29 17:30:34,135 ERROR [context.ContextLoader] - Context initialization failed
java.lang.NullPointerException
at org.geoserver.wms.WMS.getMaxAnimatorRenderingTime(WMS.java:443)
at org.geoserver.wms.WMSLifecycleHandler.resetAnimatorExecutorService(WMSLifecycleHandler.java:77)
at org.geoserver.wms.WMSLifecycleHandler.onApplicationEvent(WMSLifecycleHandler.java:133)
at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:384)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
at java.lang.Thread.run(Unknown Source)
2015-11-29 21:00:20,368 WARN [yaml.CustomBeanWrapper] - ColumnDef: unknown field ‘columnWeight’ with value ‘2’
2015-11-29 21:00:20,368 WARN [yaml.CustomBeanWrapper] - ColumnDef: unknown field ‘columnWeight’ with value ‘5’
Thank you for you help.
–
Edwin Cabnal
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.