HI i am new to geoserver and would like to get it running on my machine.
The OS i am using is WindowsXp Service Pack 2.
The JAVA_HOME env. variable is set to "C:\Program Files\Java\jdk1.5.0_12"
I downloaded the install exe from sourgeforge and installed it , according
to the installation instructions on the web , its strait forward install. To
add data you go Start->Programs->Geoserver 1.6.0->Start Geoserver
When I do that i get the following error early in the echo:
0 [main] INFO org.mortbay.log - Logging to
org.slf4j.impl.SimpleLogger@anonymised.com vi
a org.mortbay.log.Slf4jLog
390 [main] INFO org.mortbay.log - jetty-6.0.2
2234 [main] INFO /geoserver - Loading Spring root WebApplicationContext
18 Feb 13:32:28 ERROR [geoserver.global] -
Then i click on the html link in the Start->Programs->Geoserver
1.6.0->Geoserver Administration , but just get the following message:
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/geoserver/
Powered by jetty://
Could someone please give me a hint where to look for the problem?
PS: I did remove the c:\Temp\Geotools directory with the espg database ,
mentioned in replies in the archives.
--
View this message in context: http://www.nabble.com/Geoserver-1.6.0-Windows-Startup.bat-Error-tp15543506p15543506.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
theunsgis ha scritto:
HI i am new to geoserver and would like to get it running on my machine.
The OS i am using is WindowsXp Service Pack 2.
The JAVA_HOME env. variable is set to "C:\Program Files\Java\jdk1.5.0_12"
I downloaded the install exe from sourgeforge and installed it , according
to the installation instructions on the web , its strait forward install. To
add data you go Start->Programs->Geoserver 1.6.0->Start Geoserver
When I do that i get the following error early in the echo:
0 [main] INFO org.mortbay.log - Logging to
org.slf4j.impl.SimpleLogger@anonymised.com vi
a org.mortbay.log.Slf4jLog
390 [main] INFO org.mortbay.log - jetty-6.0.2
2234 [main] INFO /geoserver - Loading Spring root WebApplicationContext
18 Feb 13:32:28 ERROR [geoserver.global] -
Then i click on the html link in the Start->Programs->Geoserver
1.6.0->Geoserver Administration , but just get the following message:
Can you go into program files\geoserver\data_dir\logs and see if you
can spot a more complete error message in there?
Cheers
Andrea
Thanks for the quick reply Andrea
OK , i started it again and there is no error log file in the mentioned
directory.
The latest jdk i have on my machine is jdk1.6.0_02
My JAVA_HOME environment variable is pointing at "C:\Program
Files\Java\jdk1.5.0_12" and it is enclosed in quotes.
I did however copied the output in the cmd box when running the startup
script.
It seams there is a problem in initializing the 'config' bean.
"Error creating bean with name 'config' defined in URL
[jar:file:/C:/Program%20Files/GeoServer%201.6.0/w
tion of bean failed"
Here is the complete error message:
0 [main] INFO org.mortbay.log - Logging to
org.slf4j.impl.SimpleLogger@anonymised.com vi
a org.mortbay.log.Slf4jLog
391 [main] INFO org.mortbay.log - jetty-6.0.2
2219 [main] INFO /geoserver - Loading Spring root WebApplicationContext
19 Feb 08:05:11 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: E:\Gis\Geoserver\Data Dir
----------------------------------
19 Feb 08:05:11 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
wit
h name 'config' defined in URL
[jar:file:/C:/Program%20Files/GeoServer%201.6.0/w
tion of bean failed; nested exception is java.lang.NullPointerException:
null
ebapps/geoserver/WEB-INF/lib/main-1.6.0.jar!/applicationContext.xml]:
Initializa
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at
org.vfny.geoserver.global.xml.XMLConfigReader.loadServices(XMLConfigR
eader.java:253)
at
org.vfny.geoserver.global.xml.XMLConfigReader.load(XMLConfigReader.ja
va:214)
at
org.vfny.geoserver.global.xml.XMLConfigReader.<init>(XMLConfigReader.
java:176)
at
org.vfny.geoserver.global.Config.setApplicationContext(Config.java:64
)
at
org.springframework.context.support.ApplicationContextAwareProcessor.
postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:84)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanF
actory.java:248)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.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.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:318)
at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.
java:451)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1219)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
421)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496
)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:156)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHan
dlerCollection.java:120)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:156)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
119)
at org.mortbay.jetty.Server.doStart(Server.java:228)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
3641 [main] ERROR org.mortbay.log - Failed startup of context
org.mortbay.jetty.
webapp.WebAppContext@anonymised.com{/geoserver,file:/C:/Program%20Files/GeoServer%201.6
.0/webapps/geoserver/}
org.springframework.beans.factory.BeanCreationException: Error creating bean
wit
h name 'config' defined in URL
[jar:file:/C:/Program%20Files/GeoServer%201.6.0/w
ebapps/geoserver/WEB-INF/lib/main-1.6.0.jar!/applicationContext.xml]:
Initializa
tion of bean failed; nested exception is java.lang.NullPointerException:
null
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at
org.vfny.geoserver.global.xml.XMLConfigReader.loadServices(XMLConfigR
eader.java:253)
at
org.vfny.geoserver.global.xml.XMLConfigReader.load(XMLConfigReader.ja
va:214)
at
org.vfny.geoserver.global.xml.XMLConfigReader.<init>(XMLConfigReader.
java:176)
at
org.vfny.geoserver.global.Config.setApplicationContext(Config.java:64
)
at
org.springframework.context.support.ApplicationContextAwareProcessor.
postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:84)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanF
actory.java:248)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.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.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:318)
at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.
java:451)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1219)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
421)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496
)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:156)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHan
dlerCollection.java:120)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:156)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
119)
at org.mortbay.jetty.Server.doStart(Server.java:228)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
3687 [main] INFO org.mortbay.log - Started SelectChannelConnector @
0.0.0.0:8080
Thanks Andrea
aaime wrote:
theunsgis ha scritto:
HI i am new to geoserver and would like to get it running on my machine.
The OS i am using is WindowsXp Service Pack 2.
The JAVA_HOME env. variable is set to "C:\Program Files\Java\jdk1.5.0_12"
I downloaded the install exe from sourgeforge and installed it ,
according
to the installation instructions on the web , its strait forward install.
To
add data you go Start->Programs->Geoserver 1.6.0->Start Geoserver
When I do that i get the following error early in the echo:
0 [main] INFO org.mortbay.log - Logging to
org.slf4j.impl.SimpleLogger@anonymised.com vi
a org.mortbay.log.Slf4jLog
390 [main] INFO org.mortbay.log - jetty-6.0.2
2234 [main] INFO /geoserver - Loading Spring root WebApplicationContext
18 Feb 13:32:28 ERROR [geoserver.global] -
Then i click on the html link in the Start->Programs->Geoserver
1.6.0->Geoserver Administration , but just get the following message:
Can you go into program files\geoserver\data_dir\logs and see if you
can spot a more complete error message in there?
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/Geoserver-1.6.0-Windows-Startup.bat-Error-tp15543506p15555447.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
(sending again thru Nabble so that I can attach a zip file)
theunsgis ha scritto:
Thanks for the quick reply Andrea
OK , i started it again and there is no error log file in the mentioned
directory.
The latest jdk i have on my machine is jdk1.6.0_02
My JAVA_HOME environment variable is pointing at "C:\Program
Files\Java\jdk1.5.0_12" and it is enclosed in quotes.
I did however copied the output in the cmd box when running the startup
script.
It seams there is a problem in initializing the 'config' bean.
"Error creating bean with name 'config' defined in URL
[jar:file:/C:/Program%20Files/GeoServer%201.6.0/w
tion of bean failed"
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at
Ah, again that error. We definitely need to put a better error
message there.
http://jira.codehaus.org/browse/GEOS-1754
What's happening, afaik, is that "E:\Gis\Geoserver\Data Dir" is
not a proper data dir, but most possibly an empty directory.
For sure it does not have the services.xml file inside.
This file: http://www.nabble.com/file/p15560351/minimal.zip minimal.zip
has a bare bone data dir contents you can use if you want to start from a
clean slate.
Cheers
Andrea
--
View this message in context: http://www.nabble.com/Geoserver-1.6.0-Windows-Startup.bat-Error-tp15543506p15560351.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Thanks Andrea
I unzip the zip file in my data dir and it worked that you
aaime wrote:
(sending again thru Nabble so that I can attach a zip file)
theunsgis ha scritto:
Thanks for the quick reply Andrea
OK , i started it again and there is no error log file in the mentioned
directory.
The latest jdk i have on my machine is jdk1.6.0_02
My JAVA_HOME environment variable is pointing at "C:\Program
Files\Java\jdk1.5.0_12" and it is enclosed in quotes.
I did however copied the output in the cmd box when running the startup
script.
It seams there is a problem in initializing the 'config' bean.
"Error creating bean with name 'config' defined in URL
[jar:file:/C:/Program%20Files/GeoServer%201.6.0/w
tion of bean failed"
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at
Ah, again that error. We definitely need to put a better error
message there.
http://jira.codehaus.org/browse/GEOS-1754
What's happening, afaik, is that "E:\Gis\Geoserver\Data Dir" is
not a proper data dir, but most possibly an empty directory.
For sure it does not have the services.xml file inside.
This file: http://www.nabble.com/file/p15560351/minimal.zip minimal.zip
has a bare bone data dir contents you can use if you want to start from a
clean slate.
Cheers
Andrea
--
View this message in context: http://www.nabble.com/Geoserver-1.6.0-Windows-Startup.bat-Error-tp15543506p15560520.html
Sent from the GeoServer - User mailing list archive at Nabble.com.