And also, if you have run these from a windows command prompt, after changing 
the env variables the command prompt will nedd to be closed and re-opened.

From: David Winslow [mailto:dwins...@opengeo.org]
Sent: 03 February 2011 14:36
To: TimoB
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Unable to release locks

In case it was not clear, these options require restarting the 
jetty/tomcat/other servlet container in which GeoServer resides.

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Feb 3, 2011 at 9:33 AM, TimoB 
<timothee.bec...@gmail.com<mailto:timothee.bec...@gmail.com>> wrote:

Hi Steve,
Thank you,
I have typed the following command line on my mac:
export JAVA_OPTS="-Xms1532m -Xmx1532m -XX:MaxPermSize=512m"
I also tried
export JAVA_OPTS="-Xms1532m -Xmx1532m -XX:MaxPermSize=1024m"
But neither of these worked.
Any further advice ?


SteveWay2010 wrote:
>
> Hi Tim,
>
> Just add the following line to your java properties:
>
> -XX:MaxPermSize=512m
>
> Regards,
> Steve
>
> -----Original Message-----
> From: TimoB 
> [mailto:timothee.bec...@gmail.com<mailto:timothee.bec...@gmail.com>]
> Sent: 03 February 2011 13:28
> To: 
> geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
> Subject: Re: [Geoserver-users] Unable to release locks
>
>
> Hi !
> I think I have the same PermGen problem with Geoserver 2.0.2 / Tomcat 6.
> Could you please tell me where to solve this permission problem please?
> Regards,
> Tim
>
>
>
>
> Jett Marks wrote:
>>
>> Andrea Aime <andrea.aime <at> geo-solutions.it<http://geo-solutions.it>> 
>> writes:
>>
>>> Hmmm... I don't see a direct connection between the two, bringing up
>>> the layers page just requires to read metadata, actual access to data
>>> is not required (it happens during the startup, but that's another
>>> story).
>>>
>>> It's probably more likely that the on disk configuration is ruined
>>> enough to prevent the layers page to successfully come up.... one of
>>> the downsides of using a file basic config mechanism, there are no
>>> transactions so files can end up being stuck in an invalid state.
>>>
>>> Do you have anything else in the geoserver logs? Otherwise you can
>>> try to post the contents of your workspaces directory (mind, it will
>>> contain username/passwords in clear text if you are connecting to
>>> database and the like) and we can try to see if there is something
>>> obviously out of place.
>>>
>>> Cheers
>>> Andrea
>>>
>>
>> Thanks for your reply Andrea.  It didn't make sense to me that the two
>> would be connected either.  Your reply gave me the confidence I needed
>> to look elsewhere.
>>
>> In the geoserver.log, well above where the lock file problem was
>> listed, there is a message about not having write access to the
>> directory where the server is trying to create *.fix files.  I fixed
>> the permission problem, restarted the server, and this is allowing
>> access to the Layers page.
>>
>> Thanks for your prod.  It's always good to get someone else's
>> perspective.
>>
>>
>> ----------------------------------------------------------------------
>> -------- Special Offer-- Download ArcSight Logger for FREE (a $49 USD
>> value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Unable-to-release-locks-tp30799539p30835626.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> DISCLAIMER:
>
> This email may contain confidential information and is intended only for
> the use of the specific individual(s) to which it is addressed. If you are
> not the intended recipient of this email, you are hereby notified that any
> unauthorized use, dissemination or copying of this email or the
> information contained in it or attached to it is strictly prohibited. If
> you received this message in error, please immediately notify the sender
> at Infotech or 
> mail.ad...@infotech-enterprises.com<mailto:mail.ad...@infotech-enterprises.com>
>  and delete the original
> message.
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
View this message in context: 
http://old.nabble.com/Unable-to-release-locks-tp30799539p30836099.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to