hello all,
i'm trying to use IBM's Java 6 SDK SR4 (full details at end) to run a
GeoServer 1.6.4b instance (GeoTools 2.4.4) but i get a one failure on
a shapefile based data-store. i was wandering if somebody has seen
this before or knows how to work around it. pls. note that (a) the
same shapefile/data-store works fine with Sun's JDK, (b) this
shapefile/data-store is not _unique_ in the sense that there are
similar shapefile-based layers that work, and finally (c) this layer
is the _first_ feature that is loaded.
any info is appreciated.
* the exception in the log looks like so:
INFO | jvm 1 | 2009/05/26 11:27:15 | 26 May 11:27:15 INFO [org.vfny.geoserver.global] - Loading feature type 'xxx' (layer 1/153)
INFO | jvm 1 | 2009/05/26 11:27:15 | 26 May 11:27:15 DEBUG [org.vfny.geoserver.global] - FeatureType xxx: loading feature type info dto:[FeatureTypeInfoDTO: xxx, alias: null, datastoreId: xxx, latLongBBOX:
Env[67.053984808 : 171.801106646, -58.449469946 : -8.472062942]
INFO | jvm 1 | 2009/05/26 11:27:15 | SRS: 4326, schema:, schemaName: null, dirName: xxx, title: xxx_Type
INFO | jvm 1 | 2009/05/26 11:27:15 | definitionQuery: null, defaultStyle: afz-pol_style, legend icon: null, caching?: true, max-age: 300, maxFeatures: 0
INFO | jvm 1 | 2009/05/26 11:27:15 | 26 May 11:27:15 DEBUG [org.vfny.geoserver.global] - in string url
INFO | jvm 1 | 2009/05/26 11:27:15 | 26 May 11:27:15 DEBUG [org.vfny.geoserver.global] - in string url
INFO | jvm 1 | 2009/05/26 11:27:15 | 26 May 11:27:15 DEBUG [org.vfny.geoserver.global] - connection established by DataStoreConfig[namespace=xxx, enabled=true, abstract=null, connection parameters={create
spatial index=true, namespace=xxx, memory mapped buffer=true, url=file:xxx.shp}]
INFO | jvm 1 | 2009/05/26 11:27:15 | 26 May 11:27:15 ERROR [org.vfny.geoserver.global] - FeatureTypeInfo xxx ignored - as DataStore xxx is broken
INFO | jvm 1 | 2009/05/26 11:27:15 | java.lang.RuntimeException: Unable to create class LengthFunction
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:81)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.filter.FilterFactoryImpl.function(FilterFactoryImpl.java:423)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.feature.DefaultAttributeTypeFactory.createAttributeType(DefaultAttributeTypeFactory.java:158)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.feature.AttributeTypeFactory.newAttributeType(AttributeTypeFactory.java:92)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:703)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.getSchema(IndexedShapefileDataStore.java:898)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.getSchema(IndexedShapefileDataStore.java:892)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.vfny.geoserver.global.Data.loadFeatureTypes(Data.java:555)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.vfny.geoserver.global.Data.load(Data.java:235)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.vfny.geoserver.global.Data.<init>(Data.java:178)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.vfny.geoserver.global.Data.<init>(Data.java:188)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:41)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:75)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:669)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:329)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveConstructorArguments(AbstractAutowireCapableBeanFactory.java:713)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:611)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:329)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:451)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1219)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:421)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.jetty.Server.doStart(Server.java:228)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.lang.reflect.Method.invoke(Method.java:599)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.start.Main.invokeMain(Main.java:183)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.start.Main.start(Main.java:497)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.mortbay.start.Main.main(Main.java:115)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2009/05/26 11:27:15 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.lang.reflect.Method.invoke(Method.java:599)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.lang.Thread.run(Thread.java:735)
INFO | jvm 1 | 2009/05/26 11:27:15 | Caused by:
INFO | jvm 1 | 2009/05/26 11:27:15 | java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.util.ArrayList.get(ArrayList.java:343)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.filter.function.PropertyExistsFunction.getPropertyName(PropertyExistsFunction.java:53)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.filter.function.PropertyExistsFunction.equals(PropertyExistsFunction.java:134)
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.util.HashMap.removeEntry(HashMap.java:770)
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.util.HashMap.remove(HashMap.java:743)
INFO | jvm 1 | 2009/05/26 11:27:15 | at java.util.HashSet.remove(HashSet.java:174)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.factory.FactoryRegistry.usesAcceptableHints(FactoryRegistry.java:559)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:518)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:190)
INFO | jvm 1 | 2009/05/26 11:27:15 | at javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:804)
INFO | jvm 1 | 2009/05/26 11:27:15 | at javax.imageio.spi.FilterIterator.next(ServiceRegistry.java:822)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.resources.LazySet.addNext(LazySet.java:71)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.resources.LazySet.get(LazySet.java:120)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.resources.LazySet$Iter.next(LazySet.java:139)
INFO | jvm 1 | 2009/05/26 11:27:15 | at org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:52)
INFO | jvm 1 | 2009/05/26 11:27:15 | ... 61 more
* JRE markings:
STATUS | wrapper | 2009/05/26 11:27:10 | Launching a JVM...
INFO | jvm 1 | 2009/05/26 11:27:10 | java version "1.6.0"
INFO | jvm 1 | 2009/05/26 11:27:10 | Java(TM) SE Runtime Environment (build pxi3260sr4-20090219_01(SR4))
INFO | jvm 1 | 2009/05/26 11:27:10 | IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20090215_29883 (JIT enabled, AOT enabled)
INFO | jvm 1 | 2009/05/26 11:27:10 | J9VM - 20090215_029883_lHdSMr
INFO | jvm 1 | 2009/05/26 11:27:10 | JIT - r9_20090213_2028
INFO | jvm 1 | 2009/05/26 11:27:10 | GC - 20090213_AA)
INFO | jvm 1 | 2009/05/26 11:27:10 | JCL - 20090218_01
TIA + cheers;
rsn