Please ensure that you are running the JVM in headless mode (so that it
won't attempt to connect to a display.)  The simplest way to do this is to
add '-Djava.awt.headless=true' to your java command-line arguments.  For
the standalone installer you can do this by editing the startup script,
otherwise please consult the centos documentation for tomcat.

--
David Winslow
OpenGeo - http://opengeo.org/


On Sun, Dec 23, 2012 at 8:39 PM, Jim White <[email protected]> wrote:

> **
> Hi,
>
> I am trying to install geoserver to Centos 6.3 cloud server. I have tried
> all combinations of tomcat6/war file and the jetty os independant
> installer. All crashing. See example. Please help.
>
> Jim
>
>
> [root@culpepper bin]# ./startup.sh
> GEOSERVER DATA DIR is /usr/local/geoserver-2.1.2/data_dir
> 1 [main] INFO org.mortbay.log - Logging to
> org.slf4j.impl.SimpleLogger@4d80621a via org.mortbay.log.Slf4jLog
> 598 [main] WARN org.mortbay.log - Deprecated configuration used for
> /usr/local/geoserver-2.1.2/webapps
> 701 [main] INFO org.mortbay.log - jetty-6.1.8
>
> (.:4412): Gtk-WARNING **: cannot open display:
>
> --
> James B. White
> Cary, NC
> H: 919-380-9615
> M: 919-698-1765
> White Coding and Maps <http://whitecodingandmaps.com/>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to