[Geoserver-users] FW: Geoserver keeps saying 'your session timed out'

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To: ‘geoserver-users@lists.sourceforge.net’
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers
Christian

···

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Hi Christian, Thanks so much for your reply!!!

I am using “…\jre7\bin\java.exe". So jre7, if that answers your question? I am actually very new to development so get quite confused with all the server stuff.

Thanks!

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 4:44 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@anonymised.comt
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers

Christian

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

Ok, you are using Oracle Java 7 on Windows.

Do you have some authentication code (log in) in your Open Layers app. ?

Christian

···

On Thu, May 22, 2014 at 10:50 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, Thanks so much for your reply!!!

I am using “…\jre7\bin\java.exe". So jre7, if that answers your question? I am actually very new to development so get quite confused with all the server stuff.

Thanks!

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 4:44 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers

Christian

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Hi Christian, no, there is no authentication code. I have been using the geoserver and the app for a while and this issue only came out last week. And the app is still working fine, i.e. I can still access all the wms layers and make requests to geoserver. The problem only happens with the geoserver web interface. So I cannot use most operations or make changes to my map layers through the interfaces.

Best,

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 6:18 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@anonymised.comeforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Ok, you are using Oracle Java 7 on Windows.

Do you have some authentication code (log in) in your Open Layers app. ?

Christian

On Thu, May 22, 2014 at 10:50 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, Thanks so much for your reply!!!

I am using “…\jre7\bin\java.exe". So jre7, if that answers your question? I am actually very new to development so get quite confused with all the server stuff.

Thanks!

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 4:44 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers

Christian

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

The web interfaces works with session cookies. Try to increase the session time out in your J2EE container or even better, use the Geoserver REST API with basic authentication for your configuration tasks.

Christian

···

On Thu, May 22, 2014 at 3:04 PM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, no, there is no authentication code. I have been using the geoserver and the app for a while and this issue only came out last week. And the app is still working fine, i.e. I can still access all the wms layers and make requests to geoserver. The problem only happens with the geoserver web interface. So I cannot use most operations or make changes to my map layers through the interfaces.

Best,

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 6:18 PM

To: Yinghui Cathy Cao
Cc: geoserver-users@anonymised.comeforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Ok, you are using Oracle Java 7 on Windows.

Do you have some authentication code (log in) in your Open Layers app. ?

Christian

On Thu, May 22, 2014 at 10:50 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, Thanks so much for your reply!!!

I am using “…\jre7\bin\java.exe". So jre7, if that answers your question? I am actually very new to development so get quite confused with all the server stuff.

Thanks!

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 4:44 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers

Christian

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Hi Christian, Could you please be bit more specific? How can I tell what container I am using? It seems that Java 7 is not a container.

And do you recon it has something to do with the web cookies? But it returns me the session timed out even when I just signed in a sec ago. Is it truly a session time out issue, or there is some other error with geoserver?

Thanks! -Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 10:33 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@anonymised.come.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

The web interfaces works with session cookies. Try to increase the session time out in your J2EE container or even better, use the Geoserver REST API with basic authentication for your configuration tasks.

Christian

On Thu, May 22, 2014 at 3:04 PM, Yinghui Cathy Cao <caoy02@anonymised.com9…> wrote:

Hi Christian, no, there is no authentication code. I have been using the geoserver and the app for a while and this issue only came out last week. And the app is still working fine, i.e. I can still access all the wms layers and make requests to geoserver. The problem only happens with the geoserver web interface. So I cannot use most operations or make changes to my map layers through the interfaces.

Best,

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 6:18 PM

To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Ok, you are using Oracle Java 7 on Windows.

Do you have some authentication code (log in) in your Open Layers app. ?

Christian

On Thu, May 22, 2014 at 10:50 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, Thanks so much for your reply!!!

I am using “…\jre7\bin\java.exe". So jre7, if that answers your question? I am actually very new to development so get quite confused with all the server stuff.

Thanks!

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 4:44 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers

Christian

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

Hi Cathy

Geoserver needs a J2EE Container. Most people use Tomcat. If you downloaded the binary GeoServer package and use the start scripts, the Container is called Jetty.

The default session timeout in Jetty is 30 minutes. Your problem does not look like a session time out. The only idea I have is to change the log level (using the WEB GUI) and examine the log file.

Cheers

···

On Fri, May 23, 2014 at 3:06 AM, Yinghui Cathy Cao <caoy02@anonymised.com49…> wrote:

Hi Christian, Could you please be bit more specific? How can I tell what container I am using? It seems that Java 7 is not a container.

And do you recon it has something to do with the web cookies? But it returns me the session timed out even when I just signed in a sec ago. Is it truly a session time out issue, or there is some other error with geoserver?

Thanks! -Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 10:33 PM

To: Yinghui Cathy Cao
Cc: geoserver-users@anonymised.comceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

The web interfaces works with session cookies. Try to increase the session time out in your J2EE container or even better, use the Geoserver REST API with basic authentication for your configuration tasks.

Christian

On Thu, May 22, 2014 at 3:04 PM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, no, there is no authentication code. I have been using the geoserver and the app for a while and this issue only came out last week. And the app is still working fine, i.e. I can still access all the wms layers and make requests to geoserver. The problem only happens with the geoserver web interface. So I cannot use most operations or make changes to my map layers through the interfaces.

Best,

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 6:18 PM

To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Ok, you are using Oracle Java 7 on Windows.

Do you have some authentication code (log in) in your Open Layers app. ?

Christian

On Thu, May 22, 2014 at 10:50 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, Thanks so much for your reply!!!

I am using “…\jre7\bin\java.exe". So jre7, if that answers your question? I am actually very new to development so get quite confused with all the server stuff.

Thanks!

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 4:44 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers

Christian

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Thank you Christian. I cannot find error in the log file. I will try to re-install geosever to see if the problem can go away.

Best,

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Sunday, 25 May 2014 5:05 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@anonymised.comeforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

Geoserver needs a J2EE Container. Most people use Tomcat. If you downloaded the binary GeoServer package and use the start scripts, the Container is called Jetty.

The default session timeout in Jetty is 30 minutes. Your problem does not look like a session time out. The only idea I have is to change the log level (using the WEB GUI) and examine the log file.

Cheers

On Fri, May 23, 2014 at 3:06 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, Could you please be bit more specific? How can I tell what container I am using? It seems that Java 7 is not a container.

And do you recon it has something to do with the web cookies? But it returns me the session timed out even when I just signed in a sec ago. Is it truly a session time out issue, or there is some other error with geoserver?

Thanks! -Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 10:33 PM

To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

The web interfaces works with session cookies. Try to increase the session time out in your J2EE container or even better, use the Geoserver REST API with basic authentication for your configuration tasks.

Christian

On Thu, May 22, 2014 at 3:04 PM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Hi Christian, no, there is no authentication code. I have been using the geoserver and the app for a while and this issue only came out last week. And the app is still working fine, i.e. I can still access all the wms layers and make requests to geoserver. The problem only happens with the geoserver web interface. So I cannot use most operations or make changes to my map layers through the interfaces.

Best,

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 6:18 PM

To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Ok, you are using Oracle Java 7 on Windows.

Do you have some authentication code (log in) in your Open Layers app. ?

Christian

On Thu, May 22, 2014 at 10:50 AM, Yinghui Cathy Cao <caoy02@anonymised.com9…> wrote:

Hi Christian, Thanks so much for your reply!!!

I am using “…\jre7\bin\java.exe". So jre7, if that answers your question? I am actually very new to development so get quite confused with all the server stuff.

Thanks!

Cathy

From: Christian Mueller [mailto:christian.mueller@anonymised.com]
Sent: Thursday, 22 May 2014 4:44 PM
To: Yinghui Cathy Cao
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] FW: Geoserver keeps saying ‘your session timed out’

Hi Cathy

The Permgen Space has nothing to do with the J2EE Container you use. It is a special java virtual machine argument for Oracle jdk and Open JDK. Which Java do you use ?

Cheers

Christian

On Thu, May 22, 2014 at 4:09 AM, Yinghui Cathy Cao <caoy02@anonymised.com> wrote:

Repost and test if it goes through… I didn’t receive a copy last time even though I set ‘yes’ in the setting.

From: Yinghui Cathy Cao [mailto:caoy02@anonymised.com]
Sent: Wednesday, 21 May 2014 11:44 AM
To:geoserver-users@lists.sourceforge.net
Subject: Geoserver keeps saying ‘your session timed out’

I’ve posted in Codehaus but not sure if it went through to the maillist, so posting again…….

I have been using GeoServer for a simple private OpenLayers app. The geoserver is installed in the default Java environment, not on any additional server container. Several days ago when I tried to use many features through the geoserver web interface, it started to return this following error:

Sorry, your session timed out…
It looks like you waited too long to make that last change.if this continues to happen, you should get in touch with your system administrator.
Go back to the home page and try again.

This has been going for several days. I’ve restarted everything. I Also checked the log, where there is no ERROR, but a lot of WARN. The following are several examples of warns:

2014-05-20 00:30:07,391 WARN [geoserver.web] - Unable to find property: ‘format.wms.kmz’ for component: [class=org.geoserver.web.demo.MapPreviewPage]
2014-05-20 00:30:22,482 WARN [org.geoserver] - Ignoring store directory ‘layergroups’
2014-05-20 00:30:22,890 WARN [referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“WGS84 / Simple Mercator”, GEOGCS[“WGS 84”, DATUM[“WGS_1984”, SPHEROID[“WGS_1984”, 6378137.0, 298.257223563]], PRIMEM[“Greenwich”, 0.0], UNIT[“degree”, 0.017453292519943295]], PROJECTION[“Mercator_1SP_Google”], PARAMETER[“latitude_of_origin”, 0.0], PARAMETER[“central_meridian”, 0.0], PARAMETER[“scale_factor”, 1.0], PARAMETER[“false_easting”, 0.0], PARAMETER[“false_northing”, 0.0], UNIT[“m”, 1.0], AXIS[“x”, EAST], AXIS[“y”, NORTH], AUTHORITY[“EPSG”,“54004”]]

I searched online and found many suggesting that this issue is due to the lack of Permgen Space. I’ve tried to set: [-Xmx512m -Xms48m -XX:MaxPermSize=512m] in the …\geoserver\bin\startup.bat. But it didn’t work.

Many articles provide solutions for making such settings for TOMCAT, but my geoserver is not running on TOMCAT so what else can I do? Any help would be appreciated!

Thanks!

Cathy


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


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

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH

DI Christian Mueller MSc (GIS), MSc (IT-Security)

OSS Open Source Solutions GmbH