I'm working through the OpenGeo workshop and I'm stuck with setting up a GeoServer. When I try to access the Web Admin Interface
localhost:8080/geoserver/, Tomcat reports a "HTTP 404 Status" error page. The same holds for the GeoWebCache configuration page.
Some additional info:
- My system: Ubuntu 13.04 with OpenGeo Suite 3.0.2 installed as described in the official reference. Things work fine on windows by the way.
- I started Tomcat 6.0.35 via
$/etc/init.d/tomcat6 startas the installation details point out.
The log-file of tomcat at
/var/log/tomcat6reports a "severe" FileNotFoundException for the file masterpw.xml:
SEVERE: Exception sending context initialized event to listener instance of class org.geoserver.platform.GeoServerContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error occured reading security configuration; nested exception is java.io.FileNotFoundException: /usr/share/opengeo-suite-data/geoserver_data/security/masterpw.xml (No such file or directory)
At the end of geoserver.log in
/var/log/geoserverthe following warning is reported:
WARN [support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name 'geoServerLoader': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'GWCLifeCycleHandler': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
I'm new to web mapping and the above steps together with an internet recherche didn't resolve my problem. Do you have any suggestions?
Update: Setting up a GeoServer outside of the OpenGeo framework works just fine. The key is that there is an OS-independent binary provided on GeoServer.org using a webapp bundled in Jetty instead of Apache Tomcat. The steps it took were:
- Download and unzip
- Move the folder to your preferred installation path and cd into it.
Add the environmental variable JAVA_HOME to your PATH:
Note: This path is distribution dependent (here: Ubuntu 13.04)
Shut down the Apache Tomcat servlet engine:
sudo service tomcat6 stop
Start up the Server by executing the provided java archive in the folder:
java -jar start.jar
The Web Admin Interface is now available via web browser under
However, I suspect that if one knows about how to assign port numbers etc it might still work with Apache as installed by the OpenGeo Suite. Suggestions are welcome.