[jetty-dev] [jira] (JETTY-1492) Specifying -D option in start.ini puts slashes in file path on windows when starting
"Jamie Maher (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <1581697701.44478.1330460044767.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
Jamie Maher created JETTY-1492:
----------------------------------
Summary: Specifying -D option in start.ini puts slashes in file path on windows when starting
Key: JETTY-1492
URL: https://jira.codehaus.org/browse/JETTY-1492
Project: Jetty
Issue Type: Bug
Environment: Eclipse Jetty distribution 8.1.1.v20120215, Windows XP SP3
Reporter: Jamie Maher
Priority: Minor
Adding the following options in the start.ini:
--exec
-Djava.security.krb5.conf=C:\Program Files\Apache Software Foundation\Tomcat 5.5\krb5.conf
-Djava.security.auth.login.config=C:\Program Files\Apache Software Foundation\Tomcat 5.5\cas_jaas.conf
Causes the java jre to be spawned with the following command line args:
"-Djava.security.auth.login.config=C:\Program\ Files\Apache\ Software\ Foundation\Tomcat\ 5.5\cas_jaas.conf"
"-Djava.security.krb5.conf=C:\Program\ Files\Apache\ Software\ Foundation\Tomcat\ 5.5\krb5.conf"
(notice the extra escaping slashes which probably work fine under unix, but messes up windows)
JAAS fails to work with the options specified above.
If I move the files to a folder without spaces and change the start.ini then it works fine, eg:
-Djava.security.krb5.conf=C:\jaas\krb5.conf
-Djava.security.auth.login.config=C:\jaas\cas_jaas.conf
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email