Re: [Geoserver-users] Default style parameter lost for some layers after GeoServer update from 2.9.2 to 2.12.2

2018-03-15 Thread user154654 via Geoserver-users
CAN SOMEONE DELETE THIS POST, ACCIDENTALLY I HAVE MADE DUPLICATES OF THIS
POST



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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


Re: [Geoserver-users] Default style parameter lost for some layers after GeoServer update from 2.9.2 to 2.12.2

2018-03-15 Thread user154654 via Geoserver-users
CAN SOMEONE DELETE THIS POST, ACCIDENTALLY I HAVE MADE DUPLICATES OF THIS
POST



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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


[Geoserver-users] Default style parameter lost for some layers after GeoServer update from 2.9.2 to 2.12.2

2018-03-15 Thread user154654 via Geoserver-users
After I updated GeoServer I observed that some layers are not rendered -
GetMap requests returned java.lang.NullPointerException (in response as
XML). Note: I have copied data_dir and told the new GeoServer to look at the
copy.

In the logs I saw:

/ERROR [geoserver.ows] - 
java.lang.NullPointerException
at
org.geoserver.wms.map.GetMapKvpRequestReader.getDefaultStyle(GetMapKvpRequestReader.java:635)
at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:446)/

Then I checked the source code and found that exception occurs here:

/private Style getDefaultStyle (LayerInfo layer) throws IOException{
if (layer.getResource() instanceof WMSLayerInfo) {
// NamedStyle is a subclass of Style -> we use it as a way to
convey
// cascaded WMS layer styles
NamedStyle namedStyle =
CommonFactoryFinder.getStyleFactory(null)
.createNamedStyle();
namedStyle.setName(null);
return namedStyle;
} else {
StyleInfo defaultStyle = layer.getDefaultStyle();
*return defaultStyle.getStyle();*
}
}/

Then I went to GeoServer web > Layers > selected bad layer > Publishing tab
> and saw that in fact "Default Style" property was not set. I enabled
verbose logging, did same actions and I saw this in the logs:

/15 Kov 10:17:01 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] -
Checking match of request : 'Path:
/web/wicket/bookmarkable/org.geoserver.web.data.resource.resourceconfigurationpage,
QueryString: name=ORT16_JPEG_50=NMA_GIS2'; against '/web/**'
15 Kov 10:17:01 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] -
Matched Path:
/web/wicket/bookmarkable/org.geoserver.web.data.resource.resourceconfigurationpage,
QueryString: name=ORT16_JPEG_50=NMA_GIS2 with /web/**
15 Kov 10:17:01 DEBUG [geoserver.ows] - Could not a layer group named web
15 Kov 10:17:01 TRACE [ows.OWSHandlerMapping] - No handler mapping found for
[/web/wicket/bookmarkable/org.geoserver.web.data.resource.ResourceConfigurationPage]
15 Kov 10:17:01 DEBUG [geoserver.ows] - Could not a layer group named web
15 Kov 10:17:01 TRACE [ows.OWSHandlerMapping] - No handler mapping found for
[/web/wicket/bookmarkable/org.geoserver.web.data.resource.ResourceConfigurationPage]
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 locking in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 got the lock in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 locking in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 releasing the lock in
mode READ
15 Kov 10:17:01 ERROR [java.JavaSerializer] - Error serializing object class
org.geoserver.web.data.resource.ResourceConfigurationPage [object=[Page
class = org.geoserver.web.data.resource.ResourceConfigurationPage, id = 27,
render count = 1]]
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream$ObjectCheckException:
The object type is not Serializable!
A problem occurred while checking object with type:
org.geoserver.catalog.impl.ResolvingProxy
Field hierarchy is:
  27 [class=org.geoserver.web.data.resource.ResourceConfigurationPage,
path=27]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=java.util.ArrayList]
  java.lang.Object org.apache.wicket.Component.data[write:90][write:91]
[class=org.apache.wicket.markup.html.form.Form, path=27:publishedinfo]
java.lang.Object org.apache.wicket.Component.data
[class=org.apache.wicket.model.CompoundPropertyModel]
  private java.lang.Object
org.apache.wicket.model.ChainingModel.target
[class=org.apache.wicket.model.Model]
private java.io.Serializable
org.apache.wicket.model.Model.object [class=com.sun.proxy.$Proxy58]
  protected java.lang.reflect.InvocationHandler
java.lang.reflect.Proxy.h
[class=org.geoserver.catalog.impl.ModificationProxy]
java.lang.Object
org.geoserver.catalog.impl.ModificationProxy.proxyObject
[class=org.geoserver.catalog.impl.LayerInfoImpl]
  protected org.geoserver.catalog.StyleInfo
org.geoserver.catalog.impl.LayerInfoImpl.defaultStyle
[class=com.sun.proxy.$Proxy51]
protected java.lang.reflect.InvocationHandler
java.lang.reflect.Proxy.h [class=org.geoserver.catalog.impl.ResolvingProxy]
<- field that is causing the problem
at
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.internalCheck(CheckingObjectOutputStream.java:358)
at
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.check(CheckingObjectOutputStream.java:341)
...
...
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.NotSerializableException:
org.geoserver.catalog.impl.ResolvingProxy
at 

[Geoserver-users] Default style parameter lost for some layers after GeoServer update from 2.9.2 to 2.12.2

2018-03-15 Thread user154654 via Geoserver-users
After I updated GeoServer I observed that some layers are not rendered -
GetMap requests returned java.lang.NullPointerException (in response as
XML). Note: I have copied data_dir and told the new GeoServer to look at the
copy.

In the logs I saw:

/ERROR [geoserver.ows] - 
java.lang.NullPointerException
at
org.geoserver.wms.map.GetMapKvpRequestReader.getDefaultStyle(GetMapKvpRequestReader.java:635)
at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:446)/

Then I checked the source code and found that exception occurs here:

/private Style getDefaultStyle (LayerInfo layer) throws IOException{
if (layer.getResource() instanceof WMSLayerInfo) {
// NamedStyle is a subclass of Style -> we use it as a way to
convey
// cascaded WMS layer styles
NamedStyle namedStyle =
CommonFactoryFinder.getStyleFactory(null)
.createNamedStyle();
namedStyle.setName(null);
return namedStyle;
} else {
StyleInfo defaultStyle = layer.getDefaultStyle();
*return defaultStyle.getStyle();*
}
}/

Then I went to GeoServer web > Layers > selected bad layer > Publishing tab
> and saw that in fact "Default Style" property was not set. I enabled
verbose logging, did same actions and I saw this in the logs:

/15 Kov 10:17:01 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] -
Checking match of request : 'Path:
/web/wicket/bookmarkable/org.geoserver.web.data.resource.resourceconfigurationpage,
QueryString: name=ORT16_JPEG_50=NMA_GIS2'; against '/web/**'
15 Kov 10:17:01 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] -
Matched Path:
/web/wicket/bookmarkable/org.geoserver.web.data.resource.resourceconfigurationpage,
QueryString: name=ORT16_JPEG_50=NMA_GIS2 with /web/**
15 Kov 10:17:01 DEBUG [geoserver.ows] - Could not a layer group named web
15 Kov 10:17:01 TRACE [ows.OWSHandlerMapping] - No handler mapping found for
[/web/wicket/bookmarkable/org.geoserver.web.data.resource.ResourceConfigurationPage]
15 Kov 10:17:01 DEBUG [geoserver.ows] - Could not a layer group named web
15 Kov 10:17:01 TRACE [ows.OWSHandlerMapping] - No handler mapping found for
[/web/wicket/bookmarkable/org.geoserver.web.data.resource.ResourceConfigurationPage]
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 locking in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 got the lock in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 locking in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 releasing the lock in
mode READ
15 Kov 10:17:01 ERROR [java.JavaSerializer] - Error serializing object class
org.geoserver.web.data.resource.ResourceConfigurationPage [object=[Page
class = org.geoserver.web.data.resource.ResourceConfigurationPage, id = 27,
render count = 1]]
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream$ObjectCheckException:
The object type is not Serializable!
A problem occurred while checking object with type:
org.geoserver.catalog.impl.ResolvingProxy
Field hierarchy is:
  27 [class=org.geoserver.web.data.resource.ResourceConfigurationPage,
path=27]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=java.util.ArrayList]
  java.lang.Object org.apache.wicket.Component.data[write:90][write:91]
[class=org.apache.wicket.markup.html.form.Form, path=27:publishedinfo]
java.lang.Object org.apache.wicket.Component.data
[class=org.apache.wicket.model.CompoundPropertyModel]
  private java.lang.Object
org.apache.wicket.model.ChainingModel.target
[class=org.apache.wicket.model.Model]
private java.io.Serializable
org.apache.wicket.model.Model.object [class=com.sun.proxy.$Proxy58]
  protected java.lang.reflect.InvocationHandler
java.lang.reflect.Proxy.h
[class=org.geoserver.catalog.impl.ModificationProxy]
java.lang.Object
org.geoserver.catalog.impl.ModificationProxy.proxyObject
[class=org.geoserver.catalog.impl.LayerInfoImpl]
  protected org.geoserver.catalog.StyleInfo
org.geoserver.catalog.impl.LayerInfoImpl.defaultStyle
[class=com.sun.proxy.$Proxy51]
protected java.lang.reflect.InvocationHandler
java.lang.reflect.Proxy.h [class=org.geoserver.catalog.impl.ResolvingProxy]
<- field that is causing the problem
at
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.internalCheck(CheckingObjectOutputStream.java:358)
at
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.check(CheckingObjectOutputStream.java:341)
...
...
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.NotSerializableException:
org.geoserver.catalog.impl.ResolvingProxy
at 

[Geoserver-users] Default style parameter lost for some layers after GeoServer update from 2.9.2 to 2.12.2

2018-03-15 Thread user154654 via Geoserver-users
After I updated GeoServer I observed that some layers are not rendered -
GetMap requests returned java.lang.NullPointerException (in response as
XML). Note: I have copied data_dir and told the new GeoServer to look at the
copy.

In the logs I saw:

/ERROR [geoserver.ows] - 
java.lang.NullPointerException
at
org.geoserver.wms.map.GetMapKvpRequestReader.getDefaultStyle(GetMapKvpRequestReader.java:635)
at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:446)/

Then I checked the source code and found that exception occurs here:

/private Style getDefaultStyle (LayerInfo layer) throws IOException{
if (layer.getResource() instanceof WMSLayerInfo) {
// NamedStyle is a subclass of Style -> we use it as a way to
convey
// cascaded WMS layer styles
NamedStyle namedStyle =
CommonFactoryFinder.getStyleFactory(null)
.createNamedStyle();
namedStyle.setName(null);
return namedStyle;
} else {
StyleInfo defaultStyle = layer.getDefaultStyle();
*return defaultStyle.getStyle();*
}
}/

Then I went to GeoServer web > Layers > selected bad layer > Publishing tab
> and saw that in fact "Default Style" property was not set. I enabled
verbose logging, did same actions and I saw this in the logs:

/15 Kov 10:17:01 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] -
Checking match of request : 'Path:
/web/wicket/bookmarkable/org.geoserver.web.data.resource.resourceconfigurationpage,
QueryString: name=ORT16_JPEG_50=NMA_GIS2'; against '/web/**'
15 Kov 10:17:01 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] -
Matched Path:
/web/wicket/bookmarkable/org.geoserver.web.data.resource.resourceconfigurationpage,
QueryString: name=ORT16_JPEG_50=NMA_GIS2 with /web/**
15 Kov 10:17:01 DEBUG [geoserver.ows] - Could not a layer group named web
15 Kov 10:17:01 TRACE [ows.OWSHandlerMapping] - No handler mapping found for
[/web/wicket/bookmarkable/org.geoserver.web.data.resource.ResourceConfigurationPage]
15 Kov 10:17:01 DEBUG [geoserver.ows] - Could not a layer group named web
15 Kov 10:17:01 TRACE [ows.OWSHandlerMapping] - No handler mapping found for
[/web/wicket/bookmarkable/org.geoserver.web.data.resource.ResourceConfigurationPage]
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 locking in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 got the lock in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 locking in mode READ
15 Kov 10:17:01 DEBUG [org.geoserver] - Thread 102 releasing the lock in
mode READ
15 Kov 10:17:01 ERROR [java.JavaSerializer] - Error serializing object class
org.geoserver.web.data.resource.ResourceConfigurationPage [object=[Page
class = org.geoserver.web.data.resource.ResourceConfigurationPage, id = 27,
render count = 1]]
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream$ObjectCheckException:
The object type is not Serializable!
A problem occurred while checking object with type:
org.geoserver.catalog.impl.ResolvingProxy
Field hierarchy is:
  27 [class=org.geoserver.web.data.resource.ResourceConfigurationPage,
path=27]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=java.util.ArrayList]
  java.lang.Object org.apache.wicket.Component.data[write:90][write:91]
[class=org.apache.wicket.markup.html.form.Form, path=27:publishedinfo]
java.lang.Object org.apache.wicket.Component.data
[class=org.apache.wicket.model.CompoundPropertyModel]
  private java.lang.Object
org.apache.wicket.model.ChainingModel.target
[class=org.apache.wicket.model.Model]
private java.io.Serializable
org.apache.wicket.model.Model.object [class=com.sun.proxy.$Proxy58]
  protected java.lang.reflect.InvocationHandler
java.lang.reflect.Proxy.h
[class=org.geoserver.catalog.impl.ModificationProxy]
java.lang.Object
org.geoserver.catalog.impl.ModificationProxy.proxyObject
[class=org.geoserver.catalog.impl.LayerInfoImpl]
  protected org.geoserver.catalog.StyleInfo
org.geoserver.catalog.impl.LayerInfoImpl.defaultStyle
[class=com.sun.proxy.$Proxy51]
protected java.lang.reflect.InvocationHandler
java.lang.reflect.Proxy.h [class=org.geoserver.catalog.impl.ResolvingProxy]
<- field that is causing the problem
at
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.internalCheck(CheckingObjectOutputStream.java:358)
at
org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream.check(CheckingObjectOutputStream.java:341)
...
...
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.NotSerializableException:
org.geoserver.catalog.impl.ResolvingProxy
at 

Re: [Geoserver-users] Trouble with Image Mosaic (.tif)

2017-09-26 Thread user154654 via Geoserver-users
Problem was that tiff files were overlapping so I had to move overlapping
tiffs to different layers and create a layer group.

Since I was checking logs on production onvironment I guess I misjudged time
of my GetMap requests or there was actualy a bad layer /bellow/ the tiff
layer and that is why I "connected" those warnings with blank areas.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Geoserver 2.9.2 GC overhead limit exceeded

2017-09-20 Thread user154654 via Geoserver-users
This is not entirely connected to the issue I created this post for but...
setting "-DGWC_DISKQUOTA_DISABLED=true" in Tomcat configurations helped to
improve performance. From
http://geowebcache.org/docs/1.11.0/configuration/diskquotas.html:

/Note The enabled configuration property only accounts to whether the layers
should be automatically truncated when the disk quota is exceeded, and to do
so the disk usage statistics kept being recorded *even if enabled is set to
false*, in order to avoid the potentially very expensive task of
re-traversing the full tile cache if the page store gets out of date./

Since Disk Quota was mentioned in the post I am mentioning this here, maybe
someone will find it helpful.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Geoserver 2.9.2 GC overhead limit exceeded

2017-09-05 Thread user154654 via Geoserver-users
Although this might not have been the root cause of our issues but I think it
migth be of interest for someone: 

/*Note *The enabled configuration property only accounts to whether the
layers should be automatically truncated when the disk quota is exceeded,
and to do so the disk usage statistics kept being recorded even if enabled
is set to false, in order to avoid the potentially very expensive task of
re-traversing the full tile cache if the page store gets out of date / (from
from http://geowebcache.org/docs/1.11.0/configuration/diskquotas.html) 

After setting *GWC_DISKQUOTA_DISABLED=true* (in setenv.sh) we immediately
saw a better geoserver performace. 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Geoserver 2.9.2 keeps updating database layer info every second

2017-08-03 Thread user154654 via Geoserver-users
Why this select is necessary in the first palce?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geoserver-2-9-2-keeps-updating-database-layer-info-every-second-tp5330157p5330324.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Geoserver 2.9.2 keeps updating database layer info every second

2017-08-02 Thread user154654 via Geoserver-users
Oracle 11.1.0.7
Geoserver 2.9.2
Linux 4.1.12-61.1.6.el6uek.x86_64 #2 SMP Thu Aug 18 21:59:11 PDT 2016 x86_64
x86_64 x86_64 GNU/Linux
sorry, don't know how to answer/what you mean "and what layers you have
configured? are they JDBC or JNDI?"




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geoserver-2-9-2-keeps-updating-database-layer-info-every-second-tp5330157p5330220.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


[Geoserver-users] Geoserver 2.9.2 keeps updating database layer info every second

2017-08-02 Thread user154654 via Geoserver-users
Our DB admin found that following call is made about 1 time per second to our
database by geoserver DB user: 
SELECT NULL  AS table_cat,
   o.owner   AS table_schem,
   o.object_name AS table_name,
   o.object_type AS table_type,
   NULL  AS remarks
  FROM all_objects o
 WHERE o.owner LIKE :1 ESCAPE '/'
   AND o.object_name LIKE :2 ESCAPE
 '/'
   AND o.object_type IN ('xxx', 'TABLE', 'VIEW', 'SYNONYM')
 ORDER BY table_type, table_schem, table_name

Is this normal? Maybe time interval could be greater (where to change it)? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geoserver-2-9-2-keeps-updating-database-layer-info-every-second-tp5330157.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Trouble with Image Mosaic (.tif)

2017-07-10 Thread user154654 via Geoserver-users
This matter is temporary set aside, will let you know how it went.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Trouble-with-Image-Mosaic-tif-tp5326504p5327254.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Is it possible to disable auto cahche delete after layer is deleted?

2017-07-10 Thread user154654 via Geoserver-users
Hi.
My problem is that there are 3 geoservers sharing same cache. So if
layer *X* is in all three geoservers and once it is deleted from lets say
*geoserver1*, both *geoserver2* and *geoserver3* no longer has cached data
since it goes to gwc-in-progress-deletes (I thinks that's the name).

1) This is an issue when you still want to keep same layer in the remaining
geoservers 
2) Also auto deletion of cached layer data is an issue when someone
accidenatly deletes layer in geoserver.
 
That is what happened for us in production  environment - a person was
following instructions on how to set up a layer in geoserver and do custom
caching steps and for some sily reason she deleted layer store from
geoserver and 500GB+ cahce was gone. Only few remaining "zoom start/zoom
stop" levels were found in "gwc-in-progress-deletes".

It would be nice to switch-off this behaviour for geoserver...



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Is-it-possible-to-disable-auto-cahche-delete-after-layer-is-deleted-tp5327206p5327253.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


[Geoserver-users] Is it possible to disable auto cahche delete after layer is deleted?

2017-07-10 Thread user154654 via Geoserver-users
Is there an option to change geoserver configurations so my cached layer data
would not get deleted once a corresponding layer/layer group is deleted?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Is-it-possible-to-disable-auto-cahche-delete-after-layer-is-deleted-tp5327206.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Trouble with Image Mosaic (.tif)

2017-07-04 Thread user154654 via Geoserver-users
Hi, how would I validate this file?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Trouble-with-Image-Mosaic-tif-tp5326504p5326572.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


[Geoserver-users] Trouble with Image Mosaic (.tif)

2017-07-03 Thread user154654 via Geoserver-users
Hello.
1) Layer *L* was created - Image Mosaic from .tif files.
2) Layer group *LG* was created and *L* added to it.
3) When viewing the layer there is a spot where layer is blank although
there should be images. I have openend .tif file and checked, the marked are
is blank http://prntscr.com/fr34ty.

Geoserver provides following messages:
/2017-07-03 16:24:50,048 WARN [lite.gridcoverage2d] - Could not reduce the
grid geometry inside the valid area bounds: 
ReferencedEnvelope[-21.0 : 69.0, -90.0 : 90.0] Grid geometry
isGridGeometry2D[GridEnvelope2D[35013..37139, 40792..42918],
PARAM_MT["Affine", PARAMETER["num_row", 3], PARAMETER["num_col", 3],
PARAMETER["elt_0_0", 2.75], PARAMETER["elt_0_2", 475001.375],
PARAMETER["elt_1_1", -2.75], PARAMETER["elt_1_2", 6259998.625]]]
2017-07-03 16:24:50,171 WARN [gdal.BaseGDALGridCoverage2DReader] - Using
default coordinate reference system
2017-07-03 16:24:50,188 WARN [coverageio.gdal] - Not all the values were
found for this world file!
org.geotools.data.DataSourceException: Not all the values were found for
this world file! at
org.geotools.data.WorldFileReader.parseWorldFile(WorldFileReader.java:231)
at org.geotools.data.WorldFileReader.(WorldFileReader.java:128) at
org.geotools.data.WorldFileReader.(WorldFileReader.java:110)/

What is the problem?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Trouble-with-Image-Mosaic-tif-tp5326504.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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