[Geoserver-users] Server Status -> Oops, something went wrong...

I just installed geoserver on a Linux Open Client system following the instructions in the user’s guide. Geoserver version is 2.3.0:

About GeoServer
General information about GeoServer

…and this is the Java version:
$ java -version
java version “1.6.0”
Java™ SE Runtime Environment (build pxa6460sr12-20121025_01(SR12))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT - r9_20120914_26057
GC - 20120928_AA)
JCL - 20121014_01

I am using tomcat6 and not tomcat7.

In any case, I am seeing the below error whenever I click on the “Server Status”. I have seen other comments about this error but I have not seen any suggestions other than restarting the server which I have tried.

Oops, something went wrong…
Sorry, something unexpected happened on the server.
Here’s an error report you can include in a JIRA bug report about this issue:
org.apache.wicket.WicketRuntimeException: Can’t instantiate page using constructor public org.geoserver.web.admin.StatusPage() 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:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 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:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) 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:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:115) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:46) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) 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:103) 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:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:738) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) at java.lang.reflect.Constructor.newInstance(Constructor.java:527) at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192) … 93 more Caused by: java.lang.NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure) at java.lang.J9VMInternals.initialize(J9VMInternals.java:140) at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:141) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:79) at org.geoserver.web.admin.StatusPage.(StatusPage.java:134) … 98 more

Edward Judge

Software Engineer
IBM Software Group, Information Management
INZA SW Development


Phone: 508-382-4166 IBM Marlborough

E-Mail: ejudge@anonymised.com Marlborough, MA 01752
USA


Edward.

the IBM J9 VM is not a supported VM; looks like it is missing some implementation classes including sun.awt.X11GraphicsEnvironment. Please try using Oracle Java 6 (JRE or JDK should work), which is the reference platform for GeoServer. Unit, integration, and release testing is performed against Oracle Java 6:
http://docs.geoserver.org/stable/en/user/installation/war.html#java
http://docs.geoserver.org/stable/en/user/production/java.html#production-java

Kind regards,
Ben.

On 19/04/13 05:15, Edward Judge wrote:

I just installed geoserver on a Linux Open Client system following the
instructions in the user's guide. Geoserver version is 2.3.0:

About GeoServer
General information about GeoServer

Build Information
Version2.3.0
Git Revision257c5f6a57df84ecf2aaea392fe8e22dbd70ca09
Build Date16-Mar-2013 14:00
GeoTools Version9.0 (rev cd6a0ac13e0ccd9ed3df653e1d7ca640a80ed86d)
GeoWebCache Version1.4-SNAPSHOT (rev
8eca04a1cd45233fdb5875b111095660425b5b1b/8eca04a1cd45233fdb5875b111095660425b5b1b)

...and this is the Java version:
$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr12-20121025_01(SR12))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64
jvmxa6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT - r9_20120914_26057
GC - 20120928_AA)
JCL - 20121014_01

I am using tomcat6 and not tomcat7.

In any case, I am seeing the below error whenever I click on the "Server
Status". I have seen other comments about this error but I have not seen
any suggestions other than restarting the server which I have tried.

Oops, something went wrong...
Sorry, something unexpected happened on the server.
Here's an error report you can include in a JIRA bug report
<http://jira.codehaus.org/browse/GEOS/&gt;about this issue:
org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor public org.geoserver.web.admin.StatusPage() 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:617) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 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:617) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
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:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:115)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at
org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:46)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
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:103)
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:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:738) Caused by:
java.lang.reflect.InvocationTargetException at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527) at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)
... 93 more Caused by: java.lang.NoClassDefFoundError:
sun.awt.X11GraphicsEnvironment (initialization failure) at
java.lang.J9VMInternals.initialize(J9VMInternals.java:140) at
java.lang.Class.forNameImpl(Native Method) at
java.lang.Class.forName(Class.java:141) at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:79)
at org.geoserver.web.admin.StatusPage.<init>(StatusPage.java:134) ... 98
more

*Edward Judge*

Software Engineer
IBM Software Group, Information Management
INZA SW Development
------------------------------------------------------------------------
Phone: 508-382-4166 IBM Marlborough
E-Mail: ejudge@anonymised.com Marlborough, MA 01752
    USA
    
------------------------------------------------------------------------
      
--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

On Fri, Apr 19, 2013 at 5:56 AM, Ben Caradoc-Davies <
Ben.Caradoc-Davies@anonymised.com> wrote:

Edward.

the IBM J9 VM is not a supported VM; looks like it is missing some
implementation classes including sun.awt.X11GraphicsEnvironment. Please
try using Oracle Java 6 (JRE or JDK should work), which is the reference
platform for GeoServer. Unit, integration, and release testing is
performed against Oracle Java 6:
http://docs.geoserver.org/stable/en/user/installation/war.html#java

http://docs.geoserver.org/stable/en/user/production/java.html#production-java

All true, although I believe Christian (a GS developer) is a heavy user of
the IBM VM.
Given the particular error though, it might be solved if you pass to the JVM
the following parameter:

-Djava.awt.headless=true

Cheers
Andrea

--

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Yep indeed, I am using IBM SDK on Linux Intel, Linux on power , AIX and Linux for zSeries. I did some quick tests on the master branch with jetty and tomcat 6 using

java version “1.6.0”
Java™ SE Runtime Environment (build pxa6460sr9fp2-20110625_01(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526
JIT - r9_20101028_17488ifx17
GC - 20101027_AA)
JCL - 20110530_01

No stacktrace, cannot reproduce the problem. Tomcat runs without -Djava.awt.headless=true.

Can you start your tomcat with -Djava.awt.headless=true as proposed by Andrea ?

Cheers
Christian

···

2013/4/19 Andrea Aime <andrea.aime@anonymised.com.>

On Fri, Apr 19, 2013 at 5:56 AM, Ben Caradoc-Davies <Ben.Caradoc-Davies@…367…> wrote:

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Edward.

the IBM J9 VM is not a supported VM; looks like it is missing some
implementation classes including sun.awt.X11GraphicsEnvironment. Please
try using Oracle Java 6 (JRE or JDK should work), which is the reference
platform for GeoServer. Unit, integration, and release testing is
performed against Oracle Java 6:
http://docs.geoserver.org/stable/en/user/installation/war.html#java
http://docs.geoserver.org/stable/en/user/production/java.html#production-java

All true, although I believe Christian (a GS developer) is a heavy user of the IBM VM.
Given the particular error though, it might be solved if you pass to the JVM
the following parameter:

-Djava.awt.headless=true

Cheers
Andrea

==
GeoServer training in Milan, 6th & 7th June 2013! Visit http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Thanks Ben, Andrea and Christian. “Server status” now works fine.

Edward Judge

Software Engineer
IBM Software Group, Information Management
INZA SW Development


Phone: 508-382-4166 IBM Marlborough

E-Mail: ejudge@anonymised.com Marlborough, MA 01752
USA


From: Christian Mueller christian.mueller@anonymised.com
To: Andrea Aime andrea.aime@anonymised.com,
Cc: Ben Caradoc-Davies Ben.Caradoc-Davies@anonymised.com, Edward Judge/Marlborough/IBM@anonymised.com, “geoserver-users@lists.sourceforge.netgeoserver-users@lists.sourceforge.net
Date: 04/19/2013 05:20 AM
Subject: Re: [Geoserver-users] Server Status → Oops, something went wrong…


Yep indeed, I am using IBM SDK on Linux Intel, Linux on power , AIX and Linux for zSeries. I did some quick tests on the master branch with jetty and tomcat 6 using

java version “1.6.0”
Java™ SE Runtime Environment (build pxa6460sr9fp2-20110625_01(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526
JIT - r9_20101028_17488ifx17
GC - 20101027_AA)
JCL - 20110530_01

No stacktrace, cannot reproduce the problem. Tomcat runs without -Djava.awt.headless=true.

Can you start your tomcat with -Djava.awt.headless=true as proposed by Andrea ?

Cheers
Christian

2013/4/19 Andrea Aime <andrea.aime@anonymised.com>
On Fri, Apr 19, 2013 at 5:56 AM, Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com> wrote:
Edward.

the IBM J9 VM is not a supported VM; looks like it is missing some
implementation classes including sun.awt.X11GraphicsEnvironment. Please
try using Oracle Java 6 (JRE or JDK should work), which is the reference
platform for GeoServer. Unit, integration, and release testing is
performed against Oracle Java 6:
http://docs.geoserver.org/stable/en/user/installation/war.html#java
http://docs.geoserver.org/stable/en/user/production/java.html#production-java

All true, although I believe Christian (a GS developer) is a heavy user of the IBM VM.
Given the particular error though, it might be solved if you pass to the JVM
the following parameter:

-Djava.awt.headless=true

Cheers
Andrea

GeoServer training in Milan, 6th & 7th June 2013! Visit http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it



DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Hello all:

Somebody pointed me out that the prj file served by WFS request on geoserver does not have the units well defined.

The problem can be seen in arcgis, versions 9.x and 10.x.

The scale is not enabled and does not show up the denominator of the scale.

Scale tool disabled due to wrong prj definition file.

PRJ from Geoserver:

PROJCS[“NAD83 / Puerto Rico & Virgin Is.”,

GEOGCS[“NAD83”,

DATUM[“North American Datum 1983”,

SPHEROID[“GRS 1980”, 6378137.0, 298.257222101, AUTHORITY[“EPSG”,“7019”]],

TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],

AUTHORITY[“EPSG”,“6269”]],

PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],

UNIT[“degree”, 0.017453292519943295],

AXIS[“Geodetic latitude”, NORTH],

AXIS[“Geodetic longitude”, EAST],

AUTHORITY[“EPSG”,“4269”]],

PROJECTION[“Lambert_Conformal_Conic_2SP”, AUTHORITY[“EPSG”,“9802”]],

PARAMETER[“central_meridian”, -66.43333333333334],

PARAMETER[“latitude_of_origin”, 17.833333333333332],

PARAMETER[“standard_parallel_1”, 18.433333333333334],

PARAMETER[“false_easting”, 200000.0],

PARAMETER[“false_northing”, 200000.0],

PARAMETER[“scale_factor”, 1.0],

PARAMETER[“standard_parallel_2”, 18.033333333333335],

UNIT[“m”, 1.0],

AXIS[“Easting”, EAST],

AXIS[“Northing”, NORTH],

AUTHORITY[“EPSG”,“32161”]]

PRJ File from arcgis:

PROJCS[“NAD83_Puerto_Rico_Virgin_Is”,GEOGCS[“GCS_North_American_1983”,DATUM[“D_North_American_1983”,SPHEROID[“GRS_1980”,6378137,298.257222101]],PRIMEM[“Greenwich”,0],UNIT[“Degree”,0.017453292519943295]],PROJECTION[“Lambert_Conformal_Conic”],PARAMETER[“standard_parallel_1”,18.43333333333333],PARAMETER[“standard_parallel_2”,18.03333333333334],PARAMETER[“latitude_of_origin”,17.83333333333333],PARAMETER[“central_meridian”,-66.43333333333334],PARAMETER[“false_easting”,200000],PARAMETER[“false_northing”,200000],UNIT[“Meter”,1]]

Is there a way to redefine this?

Where should I look it for?

Thanks in advance.

image001.gif

···

From: Edward Judge [mailto:ejudge@anonymised.com]
Sent: Friday, April 19, 2013 8:42 AM
To: Christian Mueller
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Server Status → Oops, something went wrong…

Thanks Ben, Andrea and Christian. “Server status” now works fine.

Edward Judge

Software Engineer
IBM Software Group, Information Management
INZA SW Development


Phone:

508-382-4166

IBM Marlborough

E-Mail:

ejudge@anonymised.com

Marlborough, MA 01752

USA


From: Christian Mueller christian.mueller@anonymised.com
To: Andrea Aime andrea.aime@anonymised.com,
Cc: Ben Caradoc-Davies Ben.Caradoc-Davies@anonymised.com, Edward Judge/Marlborough/IBM@anonymised.com, “geoserver-users@lists.sourceforge.netgeoserver-users@lists.sourceforge.net
Date: 04/19/2013 05:20 AM
Subject: Re: [Geoserver-users] Server Status → Oops, something went wrong…


Yep indeed, I am using IBM SDK on Linux Intel, Linux on power , AIX and Linux for zSeries. I did some quick tests on the master branch with jetty and tomcat 6 using

java version “1.6.0”
Java™ SE Runtime Environment (build pxa6460sr9fp2-20110625_01(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526
JIT - r9_20101028_17488ifx17
GC - 20101027_AA)
JCL - 20110530_01

No stacktrace, cannot reproduce the problem. Tomcat runs without -Djava.awt.headless=true.

Can you start your tomcat with -Djava.awt.headless=true as proposed by Andrea ?

Cheers
Christian

2013/4/19 Andrea Aime <andrea.aime@anonymised.com>
On Fri, Apr 19, 2013 at 5:56 AM, Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com> wrote:
Edward.

the IBM J9 VM is not a supported VM; looks like it is missing some
implementation classes including sun.awt.X11GraphicsEnvironment. Please
try using Oracle Java 6 (JRE or JDK should work), which is the reference
platform for GeoServer. Unit, integration, and release testing is
performed against Oracle Java 6:
http://docs.geoserver.org/stable/en/user/installation/war.html#java
http://docs.geoserver.org/stable/en/user/production/java.html#production-java

All true, although I believe Christian (a GS developer) is a heavy user of the IBM VM.
Given the particular error though, it might be solved if you pass to the JVM
the following parameter:

-Djava.awt.headless=true

Cheers
Andrea

GeoServer training in Milan, 6th & 7th June 2013! Visit http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it



DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Fri, Apr 19, 2013 at 3:42 PM, Ivan Santiago <isantiago@anonymised.com> wrote:

Hello all:****

** **

Somebody pointed me out that the prj file served by WFS request on
geoserver does not have the units well defined.****

The problem can be seen in arcgis, versions 9.x and 10.x. ****

The scale is not enabled and does not show up the denominator of the scale.

The units are fine, they follow international standards and the official
EPSG database.
It's ESRI software that's broken in this respect and should get their
software fixed but...
I doubt it's ever going to happen.

Gabriel (cc'ed) some time ago worked on a optional feature that allows the
admin to setup
custom replacement prj file to work with ESRI software, not sure if it's
documented though

Cheers
Andrea

--

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------