Hello.
I know its just beta however its impossible to install it under GF 3.0.1 (Windows). Deploying causes:
[#|2010-09-07T15:11:15.609+0200|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=32;_ThreadName=Thread-1;|07 wrz 15:11:15 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcCatalogConfiguration' defined in URL [jar:file:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/gwc-2.1-beta1.jar!/geowebcache-geoserver-context.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:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/main-2.1-beta1.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:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/main-2.1-beta1.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:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/main-2.1-beta1.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.RuntimeException: com.thoughtworks.xstream.converters.ConversionException: coverageAccess : coverageAccess : coverageAccess : coverageAccess
---- Debugging information ----
message : coverageAccess : coverageAccess
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : coverageAccess : coverageAccess
class : org.geoserver.config.impl.GeoServerInfoImpl
required-type : org.geoserver.config.impl.GeoServerInfoImpl
line number : 23
-------------------------------
/Peter
HI Piotr,
Thanks for the bug report. Is there any more to the error? A stack trace from the logs? The exception makes me think that there is an older version (2.0.x) of geoserver around that is conflicting with the new version.
Do you have another version of geoserver deployed in the same container?
-Justin
On Tue, Sep 7, 2010 at 3:57 PM, Piotr Tracz <piotr@anonymised.com> wrote:
Hello.
I know its just beta however its impossible to install it under GF 3.0.1
(Windows). Deploying causes:
[#|2010-09-07T15:11:15.609+0200|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=32;_ThreadName=Thread-1;|07
wrz 15:11:15 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name ‘gwcCatalogConfiguration’ defined in URL
[jar:file:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/gwc-2.1-beta1.jar!/geowebcache-geoserver-context.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:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/main-2.1-beta1.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:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/main-2.1-beta1.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:/C:/glassfishv3/glassfish/domains/domain1/applications/geoserver/WEB-INF/lib/main-2.1-beta1.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException:
com.thoughtworks.xstream.converters.ConversionException: coverageAccess
: coverageAccess : coverageAccess : coverageAccess
---- Debugging information ----
message : coverageAccess : coverageAccess
cause-exception :
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : coverageAccess : coverageAccess
class : org.geoserver.config.impl.GeoServerInfoImpl
required-type : org.geoserver.config.impl.GeoServerInfoImpl
line number : 23
/Peter
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
W dniu 2010-09-08 09:43, Justin Deoliveira pisze:
HI Piotr,
Thanks for the bug report. Is there any more to the error? A stack
trace from the logs? The exception makes me think that there is an
older version (2.0.x) of geoserver around that is conflicting with the
new version.
Do you have another version of geoserver deployed in the same container?
-Justin
Hi Justin,
Not sure if that is more related to GF or GS but that only happens when there was deployed previous version of GS (2.0.2) in the same directory name, after undeploying it and deploying new GS beta that error occurs. Deleting content of GS deploy directory solves that problem so I guess some files cant be overwritten or GF locks them (even after undeploying). Stack trace is ofcourse longer and I can send it but I guess that is false alarm. Will try if the same happens on Tomcat.
/Piotr