[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 | <1394818343.44531.1330467663068.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
[ https://jira.codehaus.org/browse/JETTY-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292956#comment-292956 ]
Jamie Maher commented on JETTY-1492:
------------------------------------
Note: jdk1.6.0_17 was used to launch start.jar
> 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
> Labels: startup, windows
>
> 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