[GeoNode-users] HTTP Status 404 for GeoServer when trying to install 2.4b25
Tukang Sampah
tkgsmph at gmail.com
Thu Jul 9 05:24:58 PDT 2015
Hi Corey,
It's on OpenJDK:
java version "1.6.0_35"
OpenJDK Runtime Environment (IcedTea6 1.13.7) (6b35-1.13.7-1ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
On 2.4b22 running on Ubuntu 14.04.1 I installed GeoNode's requirements with
this:
sudo apt-get -y install python python-support python-dev python-virtualenv
openjdk-6-jre tomcat7 gcc patch zip python-imaging gdal-bin libgeos-dev
python-urlgrabber python-pastescript gettext libpq-dev unzip libjpeg-dev
libpng-dev python-gdal libproj-dev python-psycopg2 apache2
libapache2-mod-wsgi git-core gettext libxml2-dev libxslt-dev
Just tried to replace it with Oracle:
sudo apt-get purge openjdk\*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install tomcat7
sudo vi /etc/default/tomcat7
JAVA_HOME=/usr/lib/jvm/java-7-oracle
sudo service tomcat7 restart
The GeoServer Admin page loads but with errors upon logging in as admin
from GeoNode or GeoServer => http://i.imgur.com/uN3qy8O.png
Here's is GeoServer's log just in case:
2015-07-09 19:16:14,553 INFO [geoserver.global] - Falling back to embedded
data directory: /var/lib/tomcat7/webapps/geoserver/data
2015-07-09 19:16:16,588 INFO [org.geoserver] - Loaded style 'raster'
2015-07-09 19:16:16,606 INFO [org.geoserver] - Loaded style 'point'
2015-07-09 19:16:16,609 INFO [org.geoserver] - Loaded style 'polygon'
2015-07-09 19:16:16,612 INFO [org.geoserver] - Loaded style 'line'
2015-07-09 19:16:16,625 INFO [org.geoserver] - Loaded default workspace
geonode
2015-07-09 19:16:16,650 INFO [org.geoserver] - Loaded workspace 'geonode'
2015-07-09 19:16:18,155 INFO [org.geoserver] - Loaded service 'wcs', enabled
2015-07-09 19:16:18,234 INFO [org.geoserver] - Loaded service 'wfs', enabled
2015-07-09 19:16:18,264 INFO [org.geoserver] - Loaded service 'wms', enabled
2015-07-09 19:16:18,268 INFO [org.geoserver] - Loaded service
'WPSInfoImpl-705b91f1:14e72beb67b:-7fff', enabled
2015-07-09 19:16:18,364 INFO [storage.DefaultStorageFinder] -
***************************************************************************************
2015-07-09 19:16:18,365 INFO [storage.DefaultStorageFinder] - *** Reverting
to java.io.tmpdir null for storage. Please set GEOWEBCACHE_CACHE_DIR. ***
2015-07-09 19:16:18,365 INFO [storage.DefaultStorageFinder] -
***************************************************************************************
2015-07-09 19:16:18,365 INFO [config.XMLConfiguration] - Will look for
geowebcache.xml in '/tmp/tomcat7-tomcat7-tmp/geowebcache'
2015-07-09 19:16:18,790 INFO [gwc.config] - Initializing GeoServer specific
GWC configuration from gwc-gs.xml
2015-07-09 19:16:20,133 INFO [gwc.layer] - Initializing GWC configuration
based on GeoServer's Catalog
2015-07-09 19:16:20,134 INFO [gwc.layer] - GeoServer TileLayer store base
directory is: /var/lib/tomcat7/webapps/geoserver/data/gwc-layers
2015-07-09 19:16:20,135 INFO [gwc.layer] - Loading tile layers from
/var/lib/tomcat7/webapps/geoserver/data/gwc-layers
2015-07-09 19:16:20,221 INFO [gwc.layer] - GWC configuration based on
GeoServer's Catalog loaded successfuly
2015-07-09 19:16:20,221 INFO [layer.TileLayerDispatcher] - Configuration
GeoServer Catalog Configuration contained no layers.
2015-07-09 19:16:20,222 WARN [config.XMLConfiguration] - Found no
configuration file in config directory, will create one at
'/tmp/tomcat7-tomcat7-tmp/geowebcache/geowebcache.xml' from template
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gwc-core-1.7-SNAPSHOT.jar!/geowebcache_empty.xml
2015-07-09 19:16:20,449 INFO [config.XMLConfiguration] - Configuration file
validated fine.
2015-07-09 19:16:20,487 INFO [config.XMLConfiguration] - Initializing
GridSets from /tmp/tomcat7-tomcat7-tmp/geowebcache
2015-07-09 19:16:20,488 INFO [config.XMLConfiguration] - Initializing
layers from /tmp/tomcat7-tomcat7-tmp/geowebcache
2015-07-09 19:16:20,488 INFO [layer.TileLayerDispatcher] - Configuration
/tmp/tomcat7-tomcat7-tmp/geowebcache contained no layers.
2015-07-09 19:16:20,762 INFO [diskquota.ConfigLoader] - DiskQuota
configuration not found:
/tmp/tomcat7-tomcat7-tmp/geowebcache/geowebcache-diskquota.xml
2015-07-09 19:16:20,807 INFO [diskquota.ConfigLoader] - DiskQuota
configuration not found:
/tmp/tomcat7-tomcat7-tmp/geowebcache/geowebcache-diskquota.xml
2015-07-09 19:16:20,809 INFO [diskquota.DiskQuotaMonitor] - Setting up disk
quota periodic enforcement task
2015-07-09 19:16:20,809 INFO [diskquota.DiskQuotaMonitor] - 0 layers
configured with their own quotas.
2015-07-09 19:16:20,833 INFO [diskquota.DiskQuotaMonitor] - 0 layers
attached to global quota 500.0 MB
2015-07-09 19:16:20,875 INFO [diskquota.DiskQuotaMonitor] - Disk quota
periodic enforcement task set up every 10 SECONDS
2015-07-09 19:16:21,576 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/gwc/service/**] onto handler 'dispatcher'
2015-07-09 19:16:21,796 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked
setServletPrefix(gwc)
2015-07-09 19:16:22,016 INFO [georss.GeoRSSPoller] - Initializing GeoRSS
poller in a background job...
2015-07-09 19:16:22,045 INFO [georss.GeoRSSPoller] - No enabled GeoRSS
feeds found, poller will not run.
2015-07-09 19:16:22,355 INFO [rest.RESTDispatcher] - Created RESTDispatcher
with 14 paths
2015-07-09 19:16:22,431 INFO [wms.WMSService] - Will NOT recombine tiles
for non-tiling clients.
2015-07-09 19:16:22,431 INFO [wms.WMSService] - Will proxy requests to
backend that are not getmap or getcapabilities.
2015-07-09 19:17:10,290 INFO [geoserver.global] - Falling back to embedded
data directory: /var/lib/tomcat7/webapps/geoserver/data
2015-07-09 19:17:12,045 INFO [org.geoserver] - Loaded style 'raster'
2015-07-09 19:17:12,047 INFO [org.geoserver] - Loaded style 'point'
2015-07-09 19:17:12,048 INFO [org.geoserver] - Loaded style 'polygon'
2015-07-09 19:17:12,049 INFO [org.geoserver] - Loaded style 'line'
2015-07-09 19:17:12,051 INFO [org.geoserver] - Loaded default workspace
geonode
2015-07-09 19:17:12,060 INFO [org.geoserver] - Loaded workspace 'geonode'
2015-07-09 19:17:13,063 INFO [org.geoserver] - Loaded service 'wcs', enabled
2015-07-09 19:17:13,098 INFO [org.geoserver] - Loaded service 'wfs', enabled
2015-07-09 19:17:13,137 INFO [org.geoserver] - Loaded service 'wms', enabled
2015-07-09 19:17:13,168 INFO [org.geoserver] - Loaded service
'WPSInfoImpl-705b91f1:14e72beb67b:-7fff', enabled
2015-07-09 19:17:13,242 INFO [storage.DefaultStorageFinder] -
***************************************************************************************
2015-07-09 19:17:13,242 INFO [storage.DefaultStorageFinder] - *** Reverting
to java.io.tmpdir null for storage. Please set GEOWEBCACHE_CACHE_DIR. ***
2015-07-09 19:17:13,243 INFO [storage.DefaultStorageFinder] -
***************************************************************************************
2015-07-09 19:17:13,243 INFO [config.XMLConfiguration] - Will look for
geowebcache.xml in '/tmp/tomcat7-tomcat7-tmp/geowebcache'
2015-07-09 19:17:13,662 INFO [gwc.config] - Initializing GeoServer specific
GWC configuration from gwc-gs.xml
2015-07-09 19:17:14,552 INFO [gwc.layer] - Initializing GWC configuration
based on GeoServer's Catalog
2015-07-09 19:17:14,553 INFO [gwc.layer] - GeoServer TileLayer store base
directory is: /var/lib/tomcat7/webapps/geoserver/data/gwc-layers
2015-07-09 19:17:14,554 INFO [gwc.layer] - Loading tile layers from
/var/lib/tomcat7/webapps/geoserver/data/gwc-layers
2015-07-09 19:17:14,589 INFO [gwc.layer] - GWC configuration based on
GeoServer's Catalog loaded successfuly
2015-07-09 19:17:14,589 INFO [layer.TileLayerDispatcher] - Configuration
GeoServer Catalog Configuration contained no layers.
2015-07-09 19:17:14,591 WARN [config.XMLConfiguration] - Found no
configuration file in config directory, will create one at
'/tmp/tomcat7-tomcat7-tmp/geowebcache/geowebcache.xml' from template
jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gwc-core-1.7-SNAPSHOT.jar!/geowebcache_empty.xml
2015-07-09 19:17:14,753 INFO [config.XMLConfiguration] - Configuration file
validated fine.
2015-07-09 19:17:14,767 INFO [config.XMLConfiguration] - Initializing
GridSets from /tmp/tomcat7-tomcat7-tmp/geowebcache
2015-07-09 19:17:14,767 INFO [config.XMLConfiguration] - Initializing
layers from /tmp/tomcat7-tomcat7-tmp/geowebcache
2015-07-09 19:17:14,767 INFO [layer.TileLayerDispatcher] - Configuration
/tmp/tomcat7-tomcat7-tmp/geowebcache contained no layers.
2015-07-09 19:17:14,955 INFO [diskquota.ConfigLoader] - DiskQuota
configuration not found:
/tmp/tomcat7-tomcat7-tmp/geowebcache/geowebcache-diskquota.xml
2015-07-09 19:17:15,015 INFO [diskquota.ConfigLoader] - DiskQuota
configuration not found:
/tmp/tomcat7-tomcat7-tmp/geowebcache/geowebcache-diskquota.xml
2015-07-09 19:17:15,017 INFO [diskquota.DiskQuotaMonitor] - Setting up disk
quota periodic enforcement task
2015-07-09 19:17:15,017 INFO [diskquota.DiskQuotaMonitor] - 0 layers
configured with their own quotas.
2015-07-09 19:17:15,019 INFO [diskquota.DiskQuotaMonitor] - 0 layers
attached to global quota 500.0 MB
2015-07-09 19:17:15,092 INFO [diskquota.DiskQuotaMonitor] - Disk quota
periodic enforcement task set up every 10 SECONDS
2015-07-09 19:17:15,951 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/gwc/service/**] onto handler 'dispatcher'
2015-07-09 19:17:16,024 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked
setServletPrefix(gwc)
2015-07-09 19:17:16,278 INFO [georss.GeoRSSPoller] - Initializing GeoRSS
poller in a background job...
2015-07-09 19:17:16,295 INFO [georss.GeoRSSPoller] - No enabled GeoRSS
feeds found, poller will not run.
2015-07-09 19:17:17,076 INFO [rest.RESTDispatcher] - Created RESTDispatcher
with 14 paths
2015-07-09 19:17:17,214 INFO [wms.WMSService] - Will NOT recombine tiles
for non-tiling clients.
2015-07-09 19:17:17,215 INFO [wms.WMSService] - Will proxy requests to
backend that are not getmap or getcapabilities.
2015-07-09 19:17:26,410 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/kml] onto handler 'dispatcher'
2015-07-09 19:17:26,411 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/kml/*] onto handler 'dispatcher'
2015-07-09 19:17:26,411 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/kml/icon/**/*] onto handler 'kmlIconService'
2015-07-09 19:17:26,668 INFO [geoserver.global] - Falling back to embedded
data directory: /var/lib/tomcat7/webapps/geoserver/data
2015-07-09 19:17:26,814 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/ows/**] onto handler 'dispatcher'
2015-07-09 19:17:26,814 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/ows] onto handler 'dispatcher'
2015-07-09 19:17:26,876 INFO [org.geoserver] - GeoServer configuration lock
is enabled
2015-07-09 19:17:28,509 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wcs] onto handler 'dispatcher'
2015-07-09 19:17:28,510 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wcs/**] onto handler 'dispatcher'
2015-07-09 19:17:32,071 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wfs/*] onto handler 'dispatcher'
2015-07-09 19:17:32,072 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/TestWfsPost] onto handler 'wfsTestServlet'
2015-07-09 19:17:32,072 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wfs] onto handler 'dispatcher'
2015-07-09 19:17:42,716 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wms/*] onto handler 'dispatcher'
2015-07-09 19:17:42,717 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wms] onto handler 'dispatcher'
2015-07-09 19:17:43,383 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/animate] onto handler 'dispatcher'
2015-07-09 19:17:43,383 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/animate/*] onto handler 'dispatcher'
2015-07-09 19:17:44,189 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wps] onto handler 'dispatcher'
2015-07-09 19:17:44,189 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/wps/*] onto handler 'dispatcher'
2015-07-09 19:17:45,077 INFO [ows.OWSHandlerMapping] - Mapped URL path
[/temp/**] onto handler 'filePublisher'
2015-07-09 19:17:45,482 INFO [geoserver.wps] - Found 14 bindable processes
in Raster processes
2015-07-09 19:17:45,623 INFO [geoserver.wps] - Found 48 bindable processes
in Geometry processes
2015-07-09 19:17:46,727 INFO [geoserver.wps] - Found 89 bindable processes
in Deprecated processes
2015-07-09 19:17:46,739 INFO [geoserver.wps] - Found 5 bindable processes
in GeoServer specific processes
2015-07-09 19:17:46,759 INFO [geoserver.wps] - Found 29 bindable processes
in Vector processes
2015-07-09 19:17:46,760 INFO [geoserver.wps] - Blacklisting process
geonode:BatchDownload as the input LAYERS of type class
org.geonode.process.batchdownload.LayerReference cannot be handled
2015-07-09 19:17:46,760 INFO [geoserver.wps] - Blacklisting process
geonode:BatchDownload as the input map of type class
org.geonode.process.batchdownload.MapMetadata cannot be handled
2015-07-09 19:17:46,760 INFO [geoserver.wps] - Blacklisting process
geonode:BatchDownload as the output ZippedFile of type interface
org.geonode.process.storage.Resource cannot be handled
2015-07-09 19:17:46,761 INFO [geoserver.wps] - Found 0 bindable processes
in Batch Downloader
2015-07-09 19:17:47,393 INFO [geoserver.importer] - Enabling import store:
memory
2015-07-09 19:17:47,399 WARN [geoserver.security] -
/var/lib/tomcat7/webapps/geoserver/data/security/masterpw.info is a
security risk. Please read this file and remove it afterward
2015-07-09 19:17:47,448 INFO [geoserver.security] - AuthenticationCache
Initialized with 1000 Max Entries, 300 seconds idle time, 600 seconds time
to live and 3 concurrency level
2015-07-09 19:17:47,449 INFO [geoserver.security] - AuthenticationCache
Eviction Task created to run every 600 seconds
2015-07-09 19:17:48,618 WARN [geoserver.security] - Strong cryptography is
NOT available
Download and installation the of unlimted length policy files is recommended
2015-07-09 19:17:49,655 INFO [geoserver.security] - Start reloading
user/groups for service named default
2015-07-09 19:17:49,669 INFO [geoserver.security] - Reloading user/groups
successful for service named default
2015-07-09 19:17:49,738 INFO [geoserver.security] - Start encrypting
configuration passwords using pbePasswordEncoder
2015-07-09 19:17:49,892 INFO [geoserver.security] - End encrypting
configuration passwords
2015-07-09 19:17:56,338 WARN [geonode.security] - Error connecting to the
GeoNode server for authentication purposes
org.springframework.security.authentication.AuthenticationServiceException:
Communication with GeoNode failed (UsernamePasswordAuthenticationToken)
at
org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:61)
at
org.geoserver.security.GeoServerAuthenticationProvider.authenticate(GeoServerAuthenticationProvider.java:58)
at
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)
at
org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:63)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:111)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.geonode.security.HTTPClient.sendGET(HTTPClient.java:89)
at
org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:167)
at
org.geonode.security.DefaultSecurityClient.authenticateAnonymous(DefaultSecurityClient.java:150)
at
org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:48)
... 53 more
2015-07-09 19:18:05,964 ERROR [wicket.RequestCycle] - Can't instantiate
page using constructor public org.geoserver.web.GeoServerHomePage()
org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor public org.geoserver.web.GeoServerHomePage()
at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
at
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at
org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at
org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:111)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)
... 104 more
Caused by: java.lang.NoSuchMethodError:
com.google.common.base.Stopwatch.createStarted()Lcom/google/common/base/Stopwatch;
at org.geoserver.web.GeoServerHomePage.<init>(GeoServerHomePage.java:87)
... 109 more
Regards,
Tukang Sampah
On Thu, Jul 9, 2015 at 5:09 PM, Corey Carpenter <fruitwerks at gmail.com>
wrote:
> Tukang,
>
> What does your java environment look like?
>
> - Corey
>
> On Thu, Jul 9, 2015 at 4:03 AM, Tukang Sampah <tkgsmph at gmail.com> wrote:
>
>> Hi all,
>>
>> I'm trying to install GeoNode 2.4b25 from source. But getting the
>> following error when opening http://mydomain:8080/geoserver:
>>
>> HTTP Status 404 - /geoserver
>>
>> type Status report
>>
>> message /geoserver
>>
>> description The requested resource is not available.
>> Apache Tomcat/7.0.52 (Ubuntu)
>>
>>
>> I used the same steps when installing 2.4b22. Here is the output when
>> running "sudo paver start":
>>
>> user at ubuntu:/var/www/geonode$ sudo paver start
>> ---> pavement.start
>> ---> pavement.start_geoserver
>> cd /var/www/geonode/geoserver/data
>> java -version
>> java version "1.6.0_35"
>> OpenJDK Runtime Environment (IcedTea6 1.13.7)
>> (6b35-1.13.7-1ubuntu0.14.04.1)
>> OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
>> java -Xmx512m -XX:MaxPermSize=256m
>> -DGEOSERVER_DATA_DIR=/var/www/geonode/geoserver/data
>> -Dorg.eclipse.jetty.server.webapp.parentLoaderPriority=true -jar
>> /var/www/geonode/downloaded/jetty-runner-8.1.8.v20121106.jar --log
>> /var/www/geonode/geoserver/jetty.log
>> /var/www/geonode/scripts/misc/jetty-runner.xml > /dev/null &
>> cd /var/www/geonode
>> Starting GeoServer on http://localhost:8080/geoserver/
>> 2015-07-09 15:50:11.280:INFO:omjr.Runner:Runner
>> 2015-07-09 15:50:11.281:WARN:omjr.Runner:No tx manager found
>> 2015-07-09 15:50:11.521:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
>> 2015-07-09 15:50:12.175:WARN:oejw.WebAppContext:Failed startup of context
>> o.e.j.w.WebAppContext{/geoserver,file:/var/www/geonode/geoserver/geoserver/},../geoserver
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:622)
>> at
>> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
>> at
>> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
>> at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
>> at
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1248)
>> at
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
>> at
>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> at
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>> at org.eclipse.jetty.server.Server.doStart(Server.java:277)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at org.mortbay.jetty.runner.Runner.run(Runner.java:504)
>> at org.mortbay.jetty.runner.Runner.main(Runner.java:625)
>> Caused by:
>> java.lang.UnsupportedClassVersionError:
>> org/geoserver/GeoserverInitStartupListener : Unsupported major.minor
>> version 51.0
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
>> at
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
>> at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>> at
>> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:421)
>> at
>> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
>> at
>> org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1514)
>> at
>> org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1864)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:622)
>> at
>> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
>> at
>> org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
>> at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:367)
>> at
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1248)
>> at
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
>> at
>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> at
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>> at org.eclipse.jetty.server.Server.doStart(Server.java:277)
>> at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>> at org.mortbay.jetty.runner.Runner.run(Runner.java:504)
>> at org.mortbay.jetty.runner.Runner.main(Runner.java:625)
>> 2015-07-09 15:50:12.191:INFO:oejs.NCSARequestLog:Opened
>> /var/www/geonode/geoserver/jetty.log
>> 2015-07-09 15:50:12.244:INFO:oejs.AbstractConnector:Started
>> SelectChannelConnector at 0.0.0.0:8080
>> The logs are available at /var/www/geonode/geoserver/jetty.log
>> GeoServer never started properly or timed out.It may still be running in
>> the background.
>>
>> Perhaps this is due to the new GeoServer version 2.7? Anyone know how to
>> get this to work?
>>
>>
>> Thanks,
>>
>> Tukang Sampah
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>
>>
>
>
> --
>
> _______________________________________________________________________________
> Any use, dissemination, distribution, posting on Internet bulletin boards,
> disclosure or copying of this e-mail or any information contained herein by
> or to anyone other than the intended recipient(s) is strictly prohibited.
> Use of this content for any other purpose is a violation of International
> Copyright Laws.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150709/e1a1fcf7/attachment-0001.html>
More information about the geonode-users
mailing list