XoomCode/AcidMaps — Issue #13: Issues with starting AcidMaps on Windows 2008 Server
Author: toobad
Created: 2012-01-09 08:56:56+00:00
State: open

Hi, I'd like to try AcidMaps for Hotspot analysis, but I'm having problems in starting of Geoserver after I've copied the JNI .dll and the .jar.

Looking through the previous issues I've tried lots of combinations but without success.
I have
Windows Server 2008 R2 machine, 64 bit
32-bit JRE/JDK v1.6
Geoserver v2.2-SNAPSHOT

I've tried with 64-bit version of JNI and extracted it to System32 dir (https://github.com/downloads/XoomCode/AcidMaps/AcidMaps_2.0_JNI_Windows_64_bit.rar) and copied plugin to /webapps/geoserver/WEB-INF/lib (https://github.com/downloads/XoomCode/AcidMaps/AcidMaps_2.0.1_GeoServer_Plugin.tar.gz)

Then I've read this issue (https://github.com/XoomCode/AcidMaps/issues/1) and try it this way (https://github.com/XoomCode/AcidMaps/issues/1#issuecomment-984240)

But also without success. Everytime I recieve the following error:

09 sij 09:42:06 ERROR [context.ContextLoader] - Context initialization failed
INFO | jvm 1 | 2012/01/09 09:42:06 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'amsService' defined in URL [jar:file:/C:/Program%20Files%20(x86)/geoserver-2.2-SNAPSHOT/webapps/geoserver/WEB-INF/lib/AcidMaps_2.0.1_GeoServer_Plugin.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/geoserver/wms/WMSMapContext
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.jetty.Server.doStart(Server.java:222)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.start.Main.invokeMain(Main.java:183)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.start.Main.start(Main.java:497)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.mortbay.start.Main.main(Main.java:115)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136)
INFO | jvm 1 | 2012/01/09 09:42:06 |	at java.lang.Thread.run(Unknown Source)

Thanks in advance.

Tomislav