[Geoserver-devel] [jira] (GEOS-5500) Slash in GeoServer_data_dir in windows

Jonathan Moules created BugGEOS-5500
Slash in GeoServer_data_dir in windows

Issue Type:

BugBug

Affects Versions:

2.2.2

Assignee:

Justin Deoliveira

Components:

Configuration

Created:

13/Dec/12 8:47 AM

Description:

Per the documentation here (http://docs.geoserver.org/stable/en/user/installation/windows/binary.html), I created
GEOSERVER_DATA_DIR and GEOSERVER_HOME

If GEOSERVER_DATA_DIR points to:
D:\D:\Geoserver_data
It works.

If it points to:
D:\Geoserver_data\ (note the trailing slash)
The start.bat then lists the options for starting java.exe. It doesn’t actually start geoserver. I get something like:

Welcome to GeoServer!

JAVA_HOME: C:\Program Files (x86)\Java\jdk1.6.0_26\

Please wait while loading GeoServer…

Usage: java [-options] class [args…]
(to execute a class)
or java [-options] -jar jarfile [args…]
(to execute a jar file)

where options include:
-client to select the “client” VM
-server to select the “server” VM
-hotspot is a synonym for the “client” VM [deprecated]
The default VM is client.
(and on)

Having a trailing slash shouldn’t cause that to happen.

Environment:

Windows 2008 R2 SP1.

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)