[GeoNetwork-users] GeoNetwork 2.4 ... map is not loading.

Hi,

I just installed GeoNetwork 2.4 and when I start the application, the map on
the left won't load.

I also get the following javascript errors in IE6:
- Expected identifier, string or number.
- 'Env' is undefined.

I'm using Tomcat 6 and MySQL 5 with Java 1.5

I also get the following error in the logs when starting Tomcat:

27 Aug 14:25:41 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'applicationState' defined in URL
[file:/C:/geo/web/geoserver/WEB-INF/classes/applicationContext.xml]: Cannot
resolve reference to bean 'data' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'data' defined in URL
[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Cannot resolve reference to bean 'geoServer2' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'geoServer2' defined in URL
[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: java.io.FileNotFoundException: Could not find
services.xml under:C:\geo\web\geoserver\data
  at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
  at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
  at
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
  at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
  at java.security.AccessController.doPrivileged(Native Method)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
  at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
  at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
  at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
  at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
  at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
  at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
  at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
  at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
  at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
  at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
  at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
  at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
  at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
  at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'data' defined in URL
[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Cannot resolve reference to bean 'geoServer2' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'geoServer2' defined in URL
[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: java.io.FileNotFoundException: Could not find
services.xml under:C:\geo\web\geoserver\data
  at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
  at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
  at
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
  at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
  at java.security.AccessController.doPrivileged(Native Method)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
  at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
  at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
  at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
  ... 44 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'geoServer2' defined in URL
[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: java.io.FileNotFoundException: Could not find
services.xml under:C:\geo\web\geoserver\data
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
  at java.security.AccessController.doPrivileged(Native Method)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
  at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
  at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
  at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
  at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
  ... 59 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: Could
not find services.xml under:C:\geo\web\geoserver\data
  at org.geoserver.config.GeoServerLoader.initialize(GeoServerLoader.java:95)
  at
org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:81)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1330)
  at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
  ... 68 more
Caused by: java.io.FileNotFoundException: Could not find services.xml
under:C:\geo\web\geoserver\data
  at
org.geoserver.config.util.LegacyImporterSupport.reader(LegacyImporterSupport.java:19)
  at
org.geoserver.config.util.LegacyLoggingImporter.imprt(LegacyLoggingImporter.java:34)
  at org.geoserver.config.GeoServerLoader.initialize(GeoServerLoader.java:92)
  ... 72 more

Am I missing something? Can anybody help me out.

Thanks,

Kevin
--
View this message in context: http://n2.nabble.com/GeoNetwork-2-4-map-is-not-loading-tp3529124p3529124.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

FYI,
http://n2.nabble.com/GeoNetwork-2-4-1-Javascript-error-with-IE8-and-map-is-not-loading-td3558505.html#a3558505

Cheers,

Mathieu

On Thu, Aug 27, 2009 at 8:40 PM, Kevin Boudreau <kevin.boudreau@anonymised.com>wrote:

Hi,

I just installed GeoNetwork 2.4 and when I start the application, the map
on
the left won't load.

I also get the following javascript errors in IE6:
- Expected identifier, string or number.
- 'Env' is undefined.

I'm using Tomcat 6 and MySQL 5 with Java 1.5

I also get the following error in the logs when starting Tomcat:

27 Aug 14:25:41 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'applicationState' defined in URL
[file:/C:/geo/web/geoserver/WEB-INF/classes/applicationContext.xml]: Cannot
resolve reference to bean 'data' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'data' defined in URL

[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Cannot resolve reference to bean 'geoServer2' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'geoServer2' defined in URL

[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: java.io.FileNotFoundException: Could not find
services.xml under:C:\geo\web\geoserver\data
       at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
       at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
       at

org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
       at

org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
       at java.security.AccessController.doPrivileged(Native Method)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
       at

org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
       at

org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
       at

org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
       at

org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
       at

org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
       at

org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
       at

org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
       at

org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
       at

org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
       at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
       at

org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
       at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
       at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
       at

org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
       at

org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
       at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
       at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
       at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
       at

org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
       at
org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
       at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
       at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
       at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'data' defined in URL

[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Cannot resolve reference to bean 'geoServer2' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'geoServer2' defined in URL

[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: java.io.FileNotFoundException: Could not find
services.xml under:C:\geo\web\geoserver\data
       at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
       at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
       at

org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
       at

org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
       at java.security.AccessController.doPrivileged(Native Method)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
       at

org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
       at

org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
       at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
       ... 44 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'geoServer2' defined in URL

[jar:file:/C:/geo/web/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: java.io.FileNotFoundException: Could not find
services.xml under:C:\geo\web\geoserver\data
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
       at java.security.AccessController.doPrivileged(Native Method)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
       at

org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
       at

org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
       at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
       at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
       ... 59 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: Could
not find services.xml under:C:\geo\web\geoserver\data
       at
org.geoserver.config.GeoServerLoader.initialize(GeoServerLoader.java:95)
       at

org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:81)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1330)
       at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
       ... 68 more
Caused by: java.io.FileNotFoundException: Could not find services.xml
under:C:\geo\web\geoserver\data
       at

org.geoserver.config.util.LegacyImporterSupport.reader(LegacyImporterSupport.java:19)
       at

org.geoserver.config.util.LegacyLoggingImporter.imprt(LegacyLoggingImporter.java:34)
       at
org.geoserver.config.GeoServerLoader.initialize(GeoServerLoader.java:92)
       ... 72 more

Am I missing something? Can anybody help me out.

Thanks,

Kevin
--
View this message in context:
http://n2.nabble.com/GeoNetwork-2-4-map-is-not-loading-tp3529124p3529124.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Mathieu,

Yes this did fix the problem about the JavaScript errors. Thanks.

For the GeoServer errors, I went to this file
(Path_of_installation\web\geoserver\WEB-INF\web.xml) and changed the path of
this GEOSERVER_DATA_DIR context-param. Since I'm using Tomcat and not the
integrated Jetty, it seems that the default path was not working. I changed
it to this:

<context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>Path_of_installation\data\geoserver_data</param-value>
</context-param>

--
View this message in context: http://n2.nabble.com/GeoNetwork-2-4-map-is-not-loading-tp3529124p3572877.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Kevin,

-----Original Message-----
From: Kevin Boudreau [mailto:kevin.boudreau@anonymised.com]

For the GeoServer errors, I went to this file
(Path_of_installation\web\geoserver\WEB-INF\web.xml) and
changed the path of
this GEOSERVER_DATA_DIR context-param. Since I'm using Tomcat
and not the
integrated Jetty, it seems that the default path was not
working. I changed
it to this:

<context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       
<param-value>Path_of_installation\data\geoserver_data</param-value>
</context-param>

Thanks a lot! Finally the map is working!

I also had to change the owner of the data dir to the tomcat user though.

Have a look at the (once again ;)) updated howto here:

http://trac.osgeo.org/geonetwork/wiki/HowToRunUnderTomcat

Cheers,
    Michael

Hello,

I have same problem. I´ve looked at the wiki and changed the data_dir in
web.xml and the things with javascript, gave warranties to the web and data
folders (point 4 of the howto - did it right?) but my map isn´t shown. What
I´m missing?
I perhaps suppose that my folder index/structure isn´t right or something
like that (did point 3 of the howto).

Thanks!
Sarah

Michael.Stegherr wrote:

Hi Kevin,

-----Original Message-----
From: Kevin Boudreau [mailto:kevin.boudreau@anonymised.com]

For the GeoServer errors, I went to this file
(Path_of_installation\web\geoserver\WEB-INF\web.xml) and
changed the path of
this GEOSERVER_DATA_DIR context-param. Since I'm using Tomcat
and not the
integrated Jetty, it seems that the default path was not
working. I changed
it to this:

<context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       
<param-value>Path_of_installation\data\geoserver_data</param-value>
</context-param>

Thanks a lot! Finally the map is working!

I also had to change the owner of the data dir to the tomcat user though.

Have a look at the (once again ;)) updated howto here:

http://trac.osgeo.org/geonetwork/wiki/HowToRunUnderTomcat

Cheers,
    Michael
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://n2.nabble.com/GeoNetwork-2-4-map-is-not-loading-tp3529124p3609935.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

here are error in my log-files:
catalina.xxx log:
09.09.2009 14:20:50 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'debug' to '0' did not find a matching property.
09.09.2009 14:20:50 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'relaodable' to 'false' did not find a matching property.
09.09.2009 14:20:50 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'debug' to '0' did not find a matching property.
09.09.2009 14:20:50 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'relaodable' to 'false' did not find a matching property.
09.09.2009 14:20:50 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'debug' to '0' did not find a matching property.
09.09.2009 14:20:50 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'relaodable' to 'false' did not find a matching property.
09.09.2009 14:20:50 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
09.09.2009 14:20:50 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
09.09.2009 14:20:51 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
09.09.2009 14:20:51 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
09.09.2009 14:20:51 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 924 ms
09.09.2009 14:20:51 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
09.09.2009 14:20:51 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
09.09.2009 14:20:51 org.apache.catalina.ha.tcp.SimpleTcpCluster start
INFO: Cluster is about to start
09.09.2009 14:20:52 org.apache.catalina.tribes.transport.ReceiverBase bind
INFO: Receiver Server Socket bound to:/xx.xx.xx.xx:4000
09.09.2009 14:20:52 org.apache.catalina.tribes.membership.McastServiceImpl
setupSocket
INFO: Setting cluster mcast soTimeout to 500
09.09.2009 14:20:52 org.apache.catalina.tribes.membership.McastServiceImpl
waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership, start
level:4
09.09.2009 14:20:53 org.apache.catalina.tribes.membership.McastServiceImpl
waitForMembers
INFO: Done sleeping, membership established, start level:4
09.09.2009 14:20:53 org.apache.catalina.tribes.membership.McastServiceImpl
waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership, start
level:8
09.09.2009 14:20:54 org.apache.catalina.tribes.membership.McastServiceImpl
waitForMembers
INFO: Done sleeping, membership established, start level:8
09.09.2009 14:21:09 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
09.09.2009 14:21:09 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver] startup failed due to previous errors

geonetwork log:
2009-09-09 14:30:23,264 INFO [jeeves.request] -

2009-09-09 14:30:23,264 INFO [jeeves.request] - HTML Request (from
127.0.0.1) : /geonetwork/srv/en/main.home
2009-09-09 14:30:23,264 DEBUG [jeeves.request] - Method : GET
2009-09-09 14:30:23,264 DEBUG [jeeves.request] - Content type : null
2009-09-09 14:30:23,264 DEBUG [jeeves.request] - Accept : image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
2009-09-09 14:30:23,264 DEBUG [jeeves.request] - Session id is
F6EDE5BA3E8A116EC7388B8167DB0D53.jvm1
2009-09-09 14:30:23,264 DEBUG [jeeves.request] - Session created for client
: 127.0.0.1
2009-09-09 14:30:23,264 INFO [jeeves.service] - Dispatching : main.home
2009-09-09 14:30:23,264 DEBUG [jeeves.service] - -> no input parameters
2009-09-09 14:30:23,264 INFO [jeeves.service] - -> dispatching to output
for : main.home
2009-09-09 14:30:23,563 INFO [jeeves.service] - -> transforming with
stylesheet : C:\Programme\geonetwork\web\geonetwork\/xsl/main-page.xsl
2009-09-09 14:30:23,705 INFO [jeeves.service] - -> end transformation
for : main.home
2009-09-09 14:30:23,705 INFO [jeeves.service] - -> output ended for :
main.home
2009-09-09 14:30:23,705 INFO [jeeves.service] - -> dispatch ended for :
main.home
2009-09-09 14:30:24,430 INFO [jeeves.request] -

2009-09-09 14:30:24,430 INFO [jeeves.request] - HTML Request (from
127.0.0.1) : /geonetwork/srv/en/resources.get
2009-09-09 14:30:24,430 DEBUG [jeeves.request] - Method : GET
2009-09-09 14:30:24,430 DEBUG [jeeves.request] - Content type : null
2009-09-09 14:30:24,430 DEBUG [jeeves.request] - Accept : */*
2009-09-09 14:30:24,430 DEBUG [jeeves.request] - Session id is
F6EDE5BA3E8A116EC7388B8167DB0D53.jvm1
2009-09-09 14:30:24,446 INFO [jeeves.service] - Dispatching : resources.get
2009-09-09 14:30:24,446 DEBUG [jeeves.service] - -> parameters are :
<request>
  <access>public</access>
  <fname>phy_s.gif</fname>
  <id>57</id>
</request>
2009-09-09 14:30:24,446 INFO [jeeves.webapp.resources.get] - File is :
C:\Programme\geonetwork\web\geonetwork\..\..\data\00000-00099\57\public\phy_s.gif
2009-09-09 14:30:24,525 INFO [jeeves.service] - -> dispatching to output
for : resources.get
2009-09-09 14:30:24,525 INFO [jeeves.service] - -> output ended for :
resources.get
2009-09-09 14:30:24,525 INFO [jeeves.service] - -> dispatch ended for :
resources.get
2009-09-09 14:30:29,080 INFO [jeeves.request] -

2009-09-09 14:30:29,080 INFO [jeeves.request] - HTML Request (from
127.0.0.1) : /geonetwork/srv/en/null
2009-09-09 14:30:29,080 DEBUG [jeeves.request] - Method : GET
2009-09-09 14:30:29,080 DEBUG [jeeves.request] - Content type : null
2009-09-09 14:30:29,080 DEBUG [jeeves.request] - Accept : */*
2009-09-09 14:30:29,080 DEBUG [jeeves.request] - Session id is
F6EDE5BA3E8A116EC7388B8167DB0D53.jvm1
2009-09-09 14:30:29,080 INFO [jeeves.service] - Dispatching : null
2009-09-09 14:30:29,080 DEBUG [jeeves.service] - -> no input parameters
2009-09-09 14:30:29,080 ERROR [jeeves.service] - Service not found : null
2009-09-09 14:30:29,080 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="service-not-found">
  <message>Service not found</message>
  <class>ServiceNotFoundEx</class>
  <stack>
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="343" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="621" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="174" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="89" method="doGet" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="617" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="717" method="service" />
    <at class="org.apache.catalina.core.ApplicationFilterChain"
file="ApplicationFilterChain.java" line="290" method="internalDoFilter" />
    <at class="org.apache.catalina.core.ApplicationFilterChain"
file="ApplicationFilterChain.java" line="206" method="doFilter" />
    <at class="org.apache.catalina.core.StandardWrapperValve"
file="StandardWrapperValve.java" line="233" method="invoke" />
    <at class="org.apache.catalina.core.StandardContextValve"
file="StandardContextValve.java" line="191" method="invoke" />
  </stack>
  null
  <request>
    <language>en</language>
    <service>null</service>
  </request>
</error>

localhost.xxx :
09.09.2009 14:22:08 org.apache.catalina.core.StandardContext listenerStart
SCHWERWIEGEND: Exception sending context initialized event to listener
instance of class org.geoserver.GeoserverInitStartupListener
java.lang.NoSuchFieldError: KEY_REPLACE_INDEX_COLOR_MODEL
  at
org.geotools.resources.image.ImageUtilities.<clinit>(ImageUtilities.java:66)
  at
org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:59)
  at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Any ideas what are wrong?
Thanks.
Sarah

sowa wrote:

Hello,

I have same problem. I´ve looked at the wiki and changed the data_dir in
web.xml and the things with javascript, gave warranties to the web and
data folders (point 4 of the howto - did it right?) but my map isn´t
shown. What I´m missing?
I perhaps suppose that my folder index/structure isn´t right or something
like that (did point 3 of the howto).

Thanks!
Sarah

Michael.Stegherr wrote:

Hi Kevin,

-----Original Message-----
From: Kevin Boudreau [mailto:kevin.boudreau@anonymised.com]

For the GeoServer errors, I went to this file
(Path_of_installation\web\geoserver\WEB-INF\web.xml) and
changed the path of
this GEOSERVER_DATA_DIR context-param. Since I'm using Tomcat
and not the
integrated Jetty, it seems that the default path was not
working. I changed
it to this:

<context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       
<param-value>Path_of_installation\data\geoserver_data</param-value>
</context-param>

Thanks a lot! Finally the map is working!

I also had to change the owner of the data dir to the tomcat user though.

Have a look at the (once again ;)) updated howto here:

http://trac.osgeo.org/geonetwork/wiki/HowToRunUnderTomcat

Cheers,
    Michael
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://n2.nabble.com/GeoNetwork-2-4-map-is-not-loading-tp3529124p3610622.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.