Gabriel Roldán <groldan <at> opengeo.org> writes:
>
> Hi Arne,
>
> I don't think you need to download the icu jar, it should come in the
> geoserver arcsde extension zip file. Not sure that would be the cause of
> the problem though, but just in case make sure there's only one icu jar
> in WEB-INF/lib
>
> Other than that, what would really help is that you send me the contents
> for your <data dir>/logs/geoserver.log file, as the HTTP error alone
> doesn't give me any clue of what might be going wrong.
>
> Cheers,
> Gabriel
> > Hi Gabriel,
> >
> > once I copy the ArcSDE files into the lib directory and start the
GeoServer
> > the log file writes the following:
> >
> > 127.0.0.1 - - [25/Sep/2010:06:11:26 +0000] "GET /geoserver/web/
HTTP/1.1"
> > 503 1321
> >
> > With this the Geoserver gives me:
> >
> > HTTP ERROR: 503
> > SERVICE_UNAVAILABLE
> > RequestURI=/geoserver/web/
> >
> > Powered by jetty://
> >
> > Apart from downloading the ArcSDE extension from
> > http://sourceforge.net/projects/geoserver/files/GeoServer%
> > 20Extensions/2.0.2/geoserver-2.0.2-arcsde-plugin.zip, I took the
jsde_sdk.jar
> > and the jpe_sdk.jar from a ArcGIS 9.3.1 Update CD and there from the
ArcSDE
> > folder sde931-esri-hp.tar.gz. The last file included the icu4j_3_2.jar
from
> > ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/3.2/
> >
> > These settings, even though posted on various sites as the way to proceed,
> > leave me with a non-functioning GeoServer. I must be doing a mistake
> > somewhere, but I really do not have a clue.
> >
> > Am I right to assume, that ArcSDE does not have to be installed on the
machine
> > where I am running GeoServer, nor that I have to install any components. I
> > only have to copy these files in the Geoserver/lib directory, isn't it?
> >
> > I would be very thankful for any suggestions why this is happening.
> >
> > Best regards, Arne
> >
> >
> > ---------------------------------------------------------------------------
---
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > _______________________________________________
> > Geoserver-users mailing list
> > Geoserver-users <at> lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
Hi Gabriel,
thanks for the hint of the icu4_3_2.jar. I suspected that as well but that is
not the problem. I tried removing both individually icu4j-3.4.4.jar and
icu4j_3_2.jar but I am getting the same error. The geoserver.log file is
attached at the bottom.
Have you got any idea what this could be? I truly wanna thank you for your
time and effort in resolving the problem.
2010-09-26 09:04:29,379 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: C:\Program Files\GeoServer 2.0.2\data_dir
----------------------------------
2010-09-26 09:04:29,613 WARN [support.DisposableBeanAdapter] - Invocation of
destroy method failed on bean with name 'geoServerLoader':
java.lang.NullPointerException
2010-09-26 09:04:29,629 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'arcsdeCoverageStorePanel' defined in URL [jar:file:/C:/Program
Files/GeoServer 2.0.2/lib/arcsde-2.0.2.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'factoryClass'; nested exception is
java.lang.IllegalArgumentException: Error loading class
[org.geotools.arcsde.raster.gce.ArcSDERasterFormat]: problem with class file
or dependent class.
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.do
CreateBean(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.cr
eateBean(AbstractAutowireCapableBeanFactory.java:380)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
(AbstractBeanFactory.java:264)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingl
eton(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.preInstant
iateSingletons(DefaultListableBeanFactory.java:429)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactor
yInitialization(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.mortbay.jetty.handler.ContextHandler.startContext
(ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext
(WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart
(ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart
(WebAppContext.java:448)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart
(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart
(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerCollection.doStart
(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:39)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
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.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert
property value of type [java.lang.String] to required type [java.lang.Class]
for property 'factoryClass'; nested exception is
java.lang.IllegalArgumentException: Error loading class
[org.geotools.arcsde.raster.gce.ArcSDERasterFormat]: problem with class file
or dependent class.
at org.springframework.beans.BeanWrapperImpl.convertForProperty
(BeanWrapperImpl.java:391)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.co
nvertForProperty(AbstractAutowireCapableBeanFactory.java:1288)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ap
plyPropertyValues(AbstractAutowireCapableBeanFactory.java:1249)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.po
pulateBean(AbstractAutowireCapableBeanFactory.java:1010)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.do
CreateBean(AbstractAutowireCapableBeanFactory.java:472)
... 36 more
Caused by: java.lang.IllegalArgumentException: Error loading class
[org.geotools.arcsde.raster.gce.ArcSDERasterFormat]: problem with class file
or dependent class.
at org.springframework.util.ClassUtils.resolveClassName
(ClassUtils.java:269)
at org.springframework.beans.propertyeditors.ClassEditor.setAsText
(ClassEditor.java:63)
at org.springframework.beans.TypeConverterDelegate.doConvertTextValue
(TypeConverterDelegate.java:374)
at org.springframework.beans.TypeConverterDelegate.doConvertValue
(TypeConverterDelegate.java:350)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary
(TypeConverterDelegate.java:173)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary
(TypeConverterDelegate.java:138)
at org.springframework.beans.BeanWrapperImpl.convertForProperty
(BeanWrapperImpl.java:386)
... 40 more
Caused by: java.lang.NoClassDefFoundError: org/opengis/coverage/grid/Format
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
(WebAppClassLoader.java:352)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass
(WebAppClassLoader.java:337)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:242)
at org.springframework.util.ClassUtils.resolveClassName
(ClassUtils.java:261)
... 46 more
Caused by: java.lang.ClassNotFoundException: org.opengis.coverage.grid.Format
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 61 more
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users