Hello Ben,

I can see what the problem is. The logging.xml file in the data 
directory is existing but corrupt. I can replicate the error by making 
this file on my local system completely empty (but not deleting it).

The problem can be solved by removing the file or replacing it with a 
real logging.xml configuration file.

Just wondering, since geoserver is lenient towards not having no such 
file at all, if we should be lenient as well to it being empty / faulty. 
We could catch the exception, log a warning and further act as if the 
file wasn't there. Just a preposition.

Kind Regards
Niels

On 09-12-15 20:47, Ben Caradoc-Davies wrote:
> Niels,
>
> it looks like GeoServer CITE WMS 1.3 fails to start with a 
> BeanCreationException every time since I merged your PR #1346 
> (ResourceStore API changes) last week:
> http://ares.opengeo.org/jenkins/job/cite-wms-1.3/
>
> I have no idea why this only affects CITE WMS 1.3.
>
> One possibility is that I corrupted the workspace by manually stopping 
> the first build (I forgot to kick nightly). If this is the case, local 
> filesystem intervention may be needed.
>
> Jody, it would be good if this is fixed before your milestone release 
> next week.
>
> Here is a sample error message:
>
> 2015-12-09 17:01:57.645:WARN:oejw.WebAppContext:main: Failed startup 
> of context 
> o.e.j.w.WebAppContext@2f2bbce3{/geoserver,file:/var/lib/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/,STARTING}{/geoserver}
> org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'gwcFacade' defined in URL 
> [jar:file:/var/lib/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-gwc-2.9-SNAPSHOT.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/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-main-2.9-SNAPSHOT.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/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-main-2.9-SNAPSHOT.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/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-main-2.9-SNAPSHOT.jar!/applicationContext.xml]:
>  
> Initialization of bean failed; nested exception is 
> java.lang.RuntimeException: 
> com.thoughtworks.xstream.io.StreamException:  : input contained no data
> [...]
> Caused by:
> org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'dispatcher' defined in URL 
> [jar:file:/var/lib/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-main-2.9-SNAPSHOT.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/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-main-2.9-SNAPSHOT.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/jenkins/workspace/geoserver-cite/geoserver/geoserver-2.9-SNAPSHOT/webapps/geoserver/WEB-INF/lib/gs-main-2.9-SNAPSHOT.jar!/applicationContext.xml]:
>  
> Initialization of bean failed; nested exception is 
> java.lang.RuntimeException: 
> com.thoughtworks.xstream.io.StreamException:  : input contained no data
> [...]
>
> Kind regards,
>


------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to