Hi Andrea,

You're right,  I found 2 java processes that I killed and  the restart went
well.
Instead of 'stops', I should have said 'does not respond anymore'.
Now, the problem is : why did these processes appeared. Here's what they
look like in a term :

 7718 ttys000    2:48.17
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java
-Djava.util.logging.config.file


Thank you for your answer.

Cheers

Laurent


2012/2/2 Andrea Aime <andrea.a...@geo-solutions.it>

> On Thu, Feb 2, 2012 at 3:50 PM, laurent pierre <lolostarl...@gmail.com>wrote:
>
>> Hi,
>>
>> I'm trying to use Geoserver 2.1.3 with Tomcat 7.0.25 (java version
>> "1.6.0_29") on OS X Lion, but the server stops after a few hours  and
>> cannot be restarted with this message :
>>
>> 2 f?vr. 2012 15:18:12 org.apache.catalina.core.StandardContext
>> listenerStart
>> GRAVE: Exception lors de l'envoi de l'?v?nement contexte initialis?
>> (context initialized) ? l'instance de classe d'?coute (listener)
>> org.geoserver.platform.GeoServerContextLoaderListener
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'gwcFacade' defined in URL
>> [jar:file:/usr/local/apache-tomcat-7.0.25/webapps/geoserver/WEB-INF/lib/gwc-2.1.3.jar!/geowebcache-geoserver-context.xml]:
>> Cannot resolve reference to bean 'DiskQuotaStore' while setting constructor
>> argument; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'DiskQuotaStore' defined in URL
>> [jar:file:/usr/local/apache-tomcat-7.0.25/webapps/geoserver/WEB-INF/lib/gwc-2.1.3.jar!/geowebcache-diskquota-context.xml]:
>> Invocation of init method failed; nested exception is
>> com.sleepycat.je.EnvironmentLockedException: (JE 4.1.10)
>> /Library/Tomcat/temp/geowebcache/diskquota_page_store The environment
>> cannot be locked for single writer access. ENV_LOCKED: The je.lck file
>> could not be locked. Environment is invalid and must be closed.
>
>
> The GWC file system quota system is preventing the restart. Howerver if
> this happens the old tomcat
> instance is probably not dead for good and is still keeping a lock on that
> file.
>
> Find all the java processes and make sure all the tomcat ones are dead
> before restarting.
> Besides that, it would be interesting to know some detail about the
> "server stops after a few
> hours" problem. Stops how?
>



>
> Cheers
> Andrea
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:    +39 339 8844549
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to