[GIS] GeoServer Web Admin Interface: 404 error

boundless-suitegeoservertomcatUbuntu

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 start as the installation details point out.
  • The log-file of tomcat at /var/log/tomcat6 reports 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/geoserver the 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:

  1. Download and unzip geoserver-2.3.2-bin.zip.
  2. Move the folder to your preferred installation path and cd into it.
  3. Add the environmental variable JAVA_HOME to your PATH:

    export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64/jre
    

    Note: This path is distribution dependent (here: Ubuntu 13.04)

  4. Shut down the Apache Tomcat servlet engine:

    sudo service tomcat6 stop
    
  5. Start up the Server by executing the provided java archive in the folder:

    java -jar start.jar
    
  6. The Web Admin Interface is now available via web browser under

    localhost:8080/geoserver
    

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.

Best Answer

The Suite 3.0.2 Ubuntu Packages don't work with Ubuntu 13.04. Officially they are for Ubuntu 10.04 or 10.10 and they seem to work on 12.04 without trouble, but they break on 13.04.

Related Question