I am trying to upgrade from GS 1.3.3 to 1.4-M2-WCS on my local machine. I
just placed the .war file into webapps and restarted Tomcat--same way I've
upgraded before--but this time nothing is working; I get a "resource
(/geoserver/) is not available" message. Any thoughts on what I'm doing
wrong?
Thanks,
Steve
Stephen Crawford
Center for Environmental Informatics
GeoVISTA Center
The Pennsylvania State University
814.865.9905
src176@anonymised.com
I think that the problem could be on the catalog configuration … it would be possible to have a little bit more detailed log or stacktrace of your web container initialization?
I am trying to upgrade from GS 1.3.3 to 1.4-M2-WCS on my local machine. I
just placed the .war file into webapps and restarted Tomcat–same way I’ve
upgraded before–but this time nothing is working; I get a “resource
(/geoserver/) is not available” message. Any thoughts on what I’m doing
wrong?
Thanks,
Steve
Stephen Crawford
Center for Environmental Informatics
GeoVISTA Center
The Pennsylvania State University
814.865.9905 src176@anonymised.com
Hi,
I have the same problem on. I have installed tomcat 5.5 on my windows
pc. After this I just put the geoserver.war available out of
geoserver-1.4.0-M2-WCS-war.zip and started tomcat.
Normally the *.war file is deployed automatically but if i watch on the
manager site of tomcat it sais, that geoserver isn't running.
When i try to start it manually by clicking start, if i do so i get the
following error message:
FAIL - Application at context path /geoserver could not be started
If i use the normal geoserver-1.4-RC4-war.zip (without WCS) everything
is working. Unfortunately i need WCS.
After this i tried using the geoserver-1.4.0-M2-WCS-war with Tomcat6.02
beta and i also tried under Linux, but it doesn't work.
Any help is welcome. If you need more information to help me, please let
me know what you need to know.
greetings
Fabian
Alessio Fabiani schrieb:
I think that the problem could be on the catalog configuration ... it would
be possible to have a little bit more detailed log or stacktrace of your
web
container initialization?
On 11/20/06, Stephen Crawford <src176@anonymised.com> wrote:
All,
I am trying to upgrade from GS 1.3.3 to 1.4-M2-WCS on my local
machine. I
just placed the .war file into webapps and restarted Tomcat--same way
I've
upgraded before--but this time nothing is working; I get a "resource
(/geoserver/) is not available" message. Any thoughts on what I'm doing
wrong?
Thanks,
Steve
Stephen Crawford
Center for Environmental Informatics
GeoVISTA Center
The Pennsylvania State University
814.865.9905
src176@anonymised.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Hi,
I have the same problem on. I have installed tomcat 5.5 on my windows
pc. After this I just put the geoserver.war available out of
geoserver-1.4.0-M2-WCS-war.zip and started tomcat.
Normally the *.war file is deployed automatically but if i watch on the
manager site of tomcat it sais, that geoserver isn't running.
When i try to start it manually by clicking start, if i do so i get the
following error message:
FAIL - Application at context path /geoserver could not be started
This is not useful to track down what happened.
Post the entire log generated by running start for the command line,
hopefully there's more interesting information.
Hi,
don't know whether it helps or not, but here are the logfiles generated
by tomcat.
I hope this is more interesting.
greetings Fabian
ps: The most interesting part of the catalina*.log seems to be this:
-----------------------------------------------------------------
30.11.2006 14:52:51 org.springframework.web.context.ContextLoader
initWebApplicationContext
SCHWERWIEGEND: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'wcs' defined in URL
[jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/wcs-1.4.0-M2-WCS.jar!/applicationContext.xml]:
Can't resolve reference to bean 'config' while setting property
'constructor argument'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'config' defined in URL
[jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'config' defined in URL
[jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.geotools.gce.imagepyramid.ImagePyramidFormatFactory.isAvailable(ImagePyramidFormatFactory.java:48)
at
org.geotools.data.coverage.grid.GridFormatFinder.getAvailableFormats(GridFormatFinder.java:72)
at
org.geotools.data.coverage.grid.GridFormatFinder.getFormatArray(GridFormatFinder.java:83)
at
org.vfny.geoserver.util.CoverageStoreUtils.<clinit>(CoverageStoreUtils.java:49)
at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCoverageDTOFromXML(XMLConfigReader.java:1733)
at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCoverage(XMLConfigReader.java:1630)
at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCoverages(XMLConfigReader.java:1581)
at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(XMLConfigReader.java:335)
at
org.vfny.geoserver.global.xml.XMLConfigReader.load(XMLConfigReader.java:221)
at
org.vfny.geoserver.global.xml.XMLConfigReader.<init>(XMLConfigReader.java:169)
at org.vfny.geoserver.global.Config.setApplicationContext(Config.java:42)
at
org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:84)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:248)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:362)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveConstructorArguments(AbstractAutowireCapableBeanFactory.java:713)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:611)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:329)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
30.11.2006 14:52:51 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
30.11.2006 14:52:51 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver] startup failed due to previous errors
Andrea Aime schrieb:
Fabian Patzke ha scritto:
Hi,
I have the same problem on. I have installed tomcat 5.5 on my windows
pc. After this I just put the geoserver.war available out of
geoserver-1.4.0-M2-WCS-war.zip and started tomcat.
Normally the *.war file is deployed automatically but if i watch on the
manager site of tomcat it sais, that geoserver isn't running.
When i try to start it manually by clicking start, if i do so i get the
following error message:
FAIL - Application at context path /geoserver could not be started
This is not useful to track down what happened.
Post the entire log generated by running start for the command line,
hopefully there's more interesting information.
Hi,
don't know whether it helps or not, but here are the logfiles generated
by tomcat.
I hope this is more interesting.
Yes it is
See the following stack trace:
30.11.2006 14:52:49 org.apache.catalina.core.ApplicationContext log
INFO: Loading Spring root WebApplicationContext
30.11.2006 14:52:51 org.apache.catalina.core.StandardContext listenerStart
SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wcs' defined in URL [jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/wcs-1.4.0-M2-WCS.jar!/applicationContext.xml]: Can't resolve reference to bean 'config' while setting property 'constructor argument'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'config' defined in URL [jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'config' defined in URL [jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
This tells me you don't have JAI installed in your jdk or in your jre, depending on which you're using to make tomcat run.
JAI and JAI image/io are a prerequisite for all WCS operations.
Ciao Fabian,
I confirm what Andrea just stated, that is you do not have JAI
installed and presumably not even ImageIO.
If you need instructions, please, provide the details of your platform
and I will tell you how to install it properly.
Ciao,
Simone.
On 11/30/06, Andrea Aime <aaime@anonymised.com> wrote:
Fabian Patzke ha scritto:
> Hi,
> don't know whether it helps or not, but here are the logfiles generated
> by tomcat.
>
> I hope this is more interesting.
Yes it is
See the following stack trace:
>
> 30.11.2006 14:52:49 org.apache.catalina.core.ApplicationContext log
> INFO: Loading Spring root WebApplicationContext
> 30.11.2006 14:52:51 org.apache.catalina.core.StandardContext listenerStart
> SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wcs' defined in URL [jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/wcs-1.4.0-M2-WCS.jar!/applicationContext.xml]: Can't resolve reference to bean 'config' while setting property 'constructor argument'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'config' defined in URL [jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'config' defined in URL [jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
> java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
This tells me you don't have JAI installed in your jdk or in your jre,
depending on which you're using to make tomcat run.
JAI and JAI image/io are a prerequisite for all WCS operations.
Hi,
thanks for your help. Was my fault, and if i had read the logs more
carefully i might have solved it my way. Just forgot the JAI thing.
So the WCS is up and running.
There is a small strange thing, I have set the windows-system variable
GEOSERVER_DATA_DIR to a directory outside of tomcat, but the GeoServer
doesn't use it.
If i activate the GEOSERVER_DATA_DIR inside the /WEB-INF/web.xml it does
work. Is there something to do with Tomcat so that it can use system
variables under windowsXP?
Thanks,
Fabian
Simone Giannecchini schrieb:
Ciao Fabian,
I confirm what Andrea just stated, that is you do not have JAI
installed and presumably not even ImageIO.
If you need instructions, please, provide the details of your platform
and I will tell you how to install it properly.
Ciao,
Simone.
On 11/30/06, Andrea Aime <aaime@anonymised.com> wrote:
Fabian Patzke ha scritto:
> Hi,
> don't know whether it helps or not, but here are the logfiles generated
> by tomcat.
>
> I hope this is more interesting.
Yes it is
See the following stack trace:
>
> 30.11.2006 14:52:49 org.apache.catalina.core.ApplicationContext log
> INFO: Loading Spring root WebApplicationContext
> 30.11.2006 14:52:51 org.apache.catalina.core.StandardContext
listenerStart
> SCHWERWIEGEND: Exception sending context initialized event to
listener instance of class
org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'wcs' defined in URL
[jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/wcs-1.4.0-M2-WCS.jar!/applicationContext.xml]:
Can't resolve reference to bean 'config' while setting property
'constructor argument'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'config' defined in URL
[jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
> org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'config' defined in URL
[jar:file:/d:/bachelor/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.4.0-M2-WCS.jar!/applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
> java.lang.NoClassDefFoundError: javax/media/jai/Interpolation
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
This tells me you don't have JAI installed in your jdk or in your jre,
depending on which you're using to make tomcat run.
JAI and JAI image/io are a prerequisite for all WCS operations.
Did you remove the geoserver context (directory in webapps) first? You might
try that and then restart Tomcat.
Peter
Stephen Crawford wrote:
All,
I am trying to upgrade from GS 1.3.3 to 1.4-M2-WCS on my local machine. I
just placed the .war file into webapps and restarted Tomcat--same way I've
upgraded before--but this time nothing is working; I get a "resource
(/geoserver/) is not available" message. Any thoughts on what I'm doing
wrong?