sorry to bother you with my no-sexy question....
trying to deploy my geoserverXX.war, tomcat says :
18 janv. 17:46:54 ERROR [[localhost].[/geoserverflysafe]] - Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Cannot register alias 'catalog' for bean name 'data': it's already registered for bean name 'data'
at org.springframework.beans.factory.support.AbstractBeanFactory.registerAlias(AbstractBeanFactory.java:461)
what's wrong in my war ?
--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr
Hi Sébastien,
This means that there are somehow two copies of geoserver modules being
loaded, in this case the "main" module. Can you inspect the contents of
th war and ensure that there is only one version of the main module jar.
This can happen if when you build the war you do not do a "clean
install". Based on your last message it appears that only an "install"
was done. The reason you are seeing it is because we just updated the
version numbers.
Hope that helps, let us know.
-Justin
Sébastien Geindre wrote:
sorry to bother you with my no-sexy question....
trying to deploy my geoserverXX.war, tomcat says :
18 janv. 17:46:54 ERROR [[localhost].[/geoserverflysafe]] - Exception
lors de l'envoi de l'évènement contexte initialisé (context initialized)
à l'instance de classe d'écoute (listener)
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Cannot
register alias 'catalog' for bean name 'data': it's already registered
for bean name 'data'
at
org.springframework.beans.factory.support.AbstractBeanFactory.registerAlias(AbstractBeanFactory.java:461)
what's wrong in my war ?
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
That's it !!
After a clean install packaging, it works like a charm....almost...
small things to handle :
21 janv. 09:39:31 WARN [geoserver.global] - log4jConfigFile 'GEOSERVER_DEVELOPER_LOGGING. properties' couldn't be found in the data dir, so GeoServer will install the various loggng config file into the data dir, and then try to find it again.
it seems that the data dir made by maven does not contains logging information.
Did i miss option ?
Thanks again ( i should put that thanks in my mail signature !!
)
Justin Deoliveira a écrit :
Hi Sébastien,
This means that there are somehow two copies of geoserver modules being
loaded, in this case the "main" module. Can you inspect the contents of
th war and ensure that there is only one version of the main module jar.
This can happen if when you build the war you do not do a "clean
install". Based on your last message it appears that only an "install"
was done. The reason you are seeing it is because we just updated the
version numbers.
Hope that helps, let us know.
-Justin
Sébastien Geindre wrote:
sorry to bother you with my no-sexy question....
trying to deploy my geoserverXX.war, tomcat says :
18 janv. 17:46:54 ERROR [[localhost].[/geoserverflysafe]] - Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Cannot register alias 'catalog' for bean name 'data': it's already registered for bean name 'data'
at org.springframework.beans.factory.support.AbstractBeanFactory.registerAlias(AbstractBeanFactory.java:461)
what's wrong in my war ?
--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr
Glad it worked :). This warning message is ok. GeoServer has a couple of
preset logging setup which it will copy into the data directory if not
there. This will happen the first time you run for instance. From there
on out you should not see the warning anymore.
Sébastien Geindre wrote:
That's it !!
After a clean install packaging, it works like a charm....almost...
small things to handle :
21 janv. 09:39:31 WARN [geoserver.global] - log4jConfigFile
'GEOSERVER_DEVELOPER_LOGGING. properties' couldn't be found
in the data dir, so GeoServer will install the various loggng config
file into the data dir, and then try to find it again.
it seems that the data dir made by maven does not contains logging
information.
Did i miss option ?
Thanks again ( i should put that thanks in my mail signature !!
)
Justin Deoliveira a écrit :
Hi Sébastien,
This means that there are somehow two copies of geoserver modules being
loaded, in this case the "main" module. Can you inspect the contents of
th war and ensure that there is only one version of the main module jar.
This can happen if when you build the war you do not do a "clean
install". Based on your last message it appears that only an "install"
was done. The reason you are seeing it is because we just updated the
version numbers.
Hope that helps, let us know.
-Justin
Sébastien Geindre wrote:
sorry to bother you with my no-sexy question....
trying to deploy my geoserverXX.war, tomcat says :
18 janv. 17:46:54 ERROR [[localhost].[/geoserverflysafe]] - Exception
lors de l'envoi de l'évènement contexte initialisé (context initialized)
à l'instance de classe d'écoute (listener)
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Cannot
register alias 'catalog' for bean name 'data': it's already registered
for bean name 'data'
at
org.springframework.beans.factory.support.AbstractBeanFactory.registerAlias(AbstractBeanFactory.java:461)
what's wrong in my war ?
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org