geoserver-1.7.6-ng installer fails if no JAVA_HOME set
------------------------------------------------------

                 Key: GEOS-3325
                 URL: http://jira.codehaus.org/browse/GEOS-3325
             Project: GeoServer
          Issue Type: Bug
          Components: Windows Installer
         Environment: win32 vista without access control 
            Reporter: Jody Garnett
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 1.7.6


Having a bit of fun with the installer ...
- Did not pick up my java by default (no JAVA_HOME env variable set) although 
it did ask me to supply the path on one of the pages
- on start up it produces the following error 

{noformat}
C:\Program Files\GeoServer 1.7.6\logs>more wrapper.log
STATUS | wrapper  | 2009/08/06 12:08:41 | GeoServer 1.7.6 installed.
STATUS | wrapper  | 2009/08/06 12:08:48 | Starting the GeoServer 1.7.6 
service...
STATUS | wrapper  | 2009/08/06 12:08:48 | --> Wrapper Started as Service
STATUS | wrapper  | 2009/08/06 12:08:48 | Java Service Wrapper Community 
Edition 3.3.3
STATUS | wrapper  | 2009/08/06 12:08:48 |   Copyright (C) 1999-2009 Tanuki 
Software, Ltd.  All Rights Reserved.
STATUS | wrapper  | 2009/08/06 12:08:48 |     http://wrapper.tanukisoftware.org
STATUS | wrapper  | 2009/08/06 12:08:48 |
STATUS | wrapper  | 2009/08/06 12:08:49 | Launching a JVM...
FATAL  | wrapper  | 2009/08/06 12:08:49 | Unable to execute Java command.  The 
system cannot find the file specified. (0
x2)
FATAL  | wrapper  | 2009/08/06 12:08:49 |     "%JAVA_HOME%\bin\java" 
-Djetty.home=. -DGEOSERVER_DATA_DIR="C:\Program Fil
es\GeoServer 1.7.6\data_dir" -Xms16m -Xmx128m 
-Djava.library.path="bin/wrapper/lib" -classpath "bin/wrapper/lib/wrapper.
jar;start.jar;lib/ant-1.6.4.jar;lib/ant-optional-1.5.1.jar;lib/commons-el-1.0.jar;lib/commons-logging-1.0.jar;lib/jasper
-compiler-5.5.15.jar;lib/jasper-compiler-jdt-5.5.15.jar;lib/jasper-runtime-5.5.15.jar;lib/jetty-6.1.8.jar;lib/jetty-util
-6.1.8.jar;lib/jsp-api-2.0.jar;lib/log4j-1.2.14.jar;lib/servlet-api-2.5-6.1.8.jar;lib/slf4j-simple-1.0.1.jar;lib/xercesI
mpl-2.6.2.jar;lib/xmlParserAPIs-2.6.2.jar" -Dwrapper.key="BHjorE9q7eAXOB6p" 
-Dwrapper.port=32000 -Dwrapper.jvm.port.min=
31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=4724 -Dwrapper.version="3.3.3" 
-Dwrapper.native_library="wrapper" -Dwra
pper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 
org.tanukisoftware.wrapper.WrapperSimpleApp org.mortbay
.start.Main etc/jetty.xml
FATAL  | wrapper  | 2009/08/06 12:08:49 | Critical error: wait for JVM process 
failed
ERROR  | wrapper  | 2009/08/06 12:08:50 | The GeoServer 1.7.6 service was 
launched, but failed to start.
{noformat}

Trivial workaround - set JAVA_HOME

I also tripped up over a previous GeoServer 2.0 beta install; it kept supplying 
the path to a GeoServer 2.0 data directory which no longer existed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to