Hello again,

"Solved" - hope so. I cannot find reason, but I did following.

-I undeployed geoserver and geowebcache from tomcat
-I deployed again 2.5.1 and started after installation
-Same for Geowebcache 1.5.2
-Both worked ok
-Then I restored geoserver data-directory from last week's backup
-I started tomcat both and geoserver staus up and working?!
-I checked catalina.out-log and noticed some messages "Permission 
denied" (about 10 xml-files). I forgot to restore ownership to backup 
files.
-Same again, I restored data-dir again and set all ownership to tomcat.
-Starting up tomcat, geoserver shuts down!
-I did data-dir restore again, without changing ownership and started 
tomcat and geoserver stays up.
-I change ownership of current files on data-dir to tomcat and restarted 
tomcat.
-All seems to stay up and running smoothly!

Maybe something which cannot been read, has run as default and after 
that written to config files?

--
Antti J. Lind
Birdlife Finland


Antti J. Lind kirjoitti 2014-11-20 20:47:
> Hi,
> 
> I restored from backups version of data-directory from beginning on 
> last
> month. When starting up tomcat with geoserver, I still get the same
> error-message and geoserver shuts down.
> 
> 20 Nov 20:41:32 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'gwcFacade' defined in URL
> [jar:file:/var/lib/tomcat6/webapps/geoserver_old/WEB-INF/lib/gs-gwc-2.5.1.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'dispatcher' while setting constructor
> argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'dispatcher' defined in URL
> [jar:file:/var/lib/tomcat6/webapps/geoserver_old/WEB-INF/lib/gs-main-2.5.1.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'workspaceLocal' defined in URL
> [jar:file:/var/lib/tomcat6/webapps/geoserver_old/WEB-INF/lib/gs-main-2.5.1.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'geoServer' while setting constructor
> argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'geoServer' defined in URL
> [jar:file:/var/lib/tomcat6/webapps/geoserver_old/WEB-INF/lib/gs-main-2.5.1.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> java.lang.RuntimeException: java.lang.NullPointerException
> 
> ?
> 
> --
> AJL
> 
> Jonathan Moules kirjoitti 2014-11-19 12:39:
>> Hi Antti,
>> Maybe one of the devs can advise on the error, but in a pique of
>> irony, can you restore GeoServer from one of the backups that caused
>> the issue in the first place? Does the issue still occur if you do?
>> Cheers,
>> Jonathan
>> 
>> -----Original Message-----
>> From: Antti J. Lind [mailto:[email protected]]
>> Sent: Tuesday, November 18, 2014 5:14 PM
>> To: [email protected]
>> Subject: [Geoserver-users] geoserver does not start anymore
>> 
>> Hello all,
>> 
>> We are currently using 2.5.1, now successfully about 5 months.
>> 
>> Today we run out of disk space, due to daily backups. Disk space is
>> now cleaned and there is about 40GB free on disk.
>> After this cleaning I rebooted server, but Geoserver won't start
>> anymore. Tomcat is ok.
>> 
>>  From system logs (catalina.out), I found following lines:
>> 
>> 18 Nov 18:23:39 INFO [storage.DefaultStorageBroker] - Destroying
>> StorageBroker
>> 18 Nov 18:23:39 WARN [support.DisposableBeanAdapter] - Invocation of
>> destroy method failed on bean with name 'geoServerLoader':
>> org.springframework.beans.factory.BeanCreationNotAllowedException:
>> Error creating bean with name 'GWCLifeCycleHandler': Singleton bean
>> creation not allowed while the singletons of this factory are in
>> destruction (Do not request a bean from a BeanFactory in a destroy
>> method
>> implementation!)
>> 18 Nov 18:23:39 ERROR [context.ContextLoader] - Context initialization
>> failed
>> org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name 'gwcFacade' defined in URL
>> [jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/gs-gwc-2.5.1.jar!/applicationContext.xml]:
>> Cannot resolve reference to bean 'dispatcher' while setting
>> constructor argument; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name 'dispatcher' defined in URL
>> [jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/gs-main-2.5.1.jar!/applicationContext.xml]:
>> Initialization of bean failed; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name 'workspaceLocal' defined in URL
>> [jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/gs-main-2.5.1.jar!/applicationContext.xml]:
>> Cannot resolve reference to bean 'geoServer' while setting constructor
>> argument; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name 'geoServer' defined in URL
>> [jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/gs-main-2.5.1.jar!/applicationContext.xml]:
>> Initialization of bean failed; nested exception is
>> java.lang.RuntimeException: java.lang.NullPointerException
>>         at
>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
>> 
>> 
>> How to solve this?
>> 
>> --
>> Antti J. Lind
>> Birdlife Finland ry
>> 
>> 
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
>> Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration &
>> more Get technology previously reserved for billion-dollar
>> corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> 
>> 
>> This message has been scanned for viruses by MailControl -
>> www.mailcontrol.com
>> 
>> 
>> 
>> Click
>> https://www.mailcontrol.com/sr/ebgesP6c3h7GX2PQPOmvUoRq5N+0kMbN+vI82ODLS278SuFp3j8sYjxLSC0N5p0KAoUimWL08hchei1KLnaPDA==
>> to report this email as spam.
>> 
>> ________________________________
>> 
>> HR Wallingford and its subsidiaries uses faxes and emails for
>> confidential and legally privileged business communications. They do
>> not of themselves create legal commitments. Disclosure to parties
>> other than addressees requires our specific consent. We are not liable
>> for unauthorised disclosures nor reliance upon them.
>> If you have received this message in error please advise us
>> immediately and destroy all copies of it.
>> 
>> HR Wallingford Limited
>> Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
>> Registered in England No. 02562099
>> 
>> ________________________________
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and 
> Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & 
> more
> Get technology previously reserved for billion-dollar corporations, 
> FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to