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.muel...@os-solutions.at] 
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 <cao...@student.uwa.edu.au> 
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.muel...@os-solutions.at] 
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 <cao...@student.uwa.edu.au> 
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.muel...@os-solutions.at] 
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 <cao...@student.uwa.edu.au> 
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:cao...@student.uwa.edu.au] 
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

 

------------------------------------------------------------------------------
"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

Reply via email to