[Geoserver-devel] [JIRA] (GEOS-7509) windows installer startup.bat

Jody Garnett [Administrator] created an issue

GeoServer / BugGEOS-7509

windows installer startup.bat

Issue Type:

BugBug

Assignee:

Unassigned

Components:

release, Windows Installer

Created:

20/Apr/16 2:27 AM

Priority:

MediumMedium

Reporter:

Jody Garnett [Administrator]

As per email discussion - the windows installer startup.bat generated by NSI is no longer functioning.

Windows exe-installer creates a startup.bat file that does not start. For some reason the batch file must be run from GEOSERVER_HOME, not from GEOSERVER_HOME\bin. I am remembering that change to jre8 had this effect with older Geoserver versions as well.

Adding “cd …” manually fixes the issue:

REM does not start without the next line
cd..
REM startup.bat created by the installer follows
call "C:\Program Files (x86)\Java\jre1.8.0_72\bin\java.exe" -DGEOSERVER_DATA_DIR="C:\Program Files (x86)\GeoServer 2.9-beta2\data_dir" -Xmx512m -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -Djetty.port=8080 -Djetty.logs="C:\Program Files (x86)\GeoServer 2.9-beta2\logs" -jar "C:\Program Files (x86)\GeoServer 2.9-beta2\start.jar"

After fixing the launch file Geoserver starts. Login fails still from some pages, for example from About GeoServer with the familiar error
Problem accessing /geoserver/web/wicket/j_spring_security_check. Reason:
Not Found

Once logged in from the main page things seem to work. One small glitch:
Go to workspace settings, check Settings-Enabled
-> Enabled box gets covered by the title Primary Contact and can’t be unchecked. Tested with Firefox 45.0.2.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.2.0-OD-05-030#72002-sha1:7e8526a)

Atlassian logo