[jboss-jira] [JBoss JIRA] (AS7-3871) $JBOSS_CONFIG_DIR not switched to Windows format when running standalone.sh on Cygwin
Rune Flobakk (JIRA)
jira-events at lists.jboss.org
Wed Feb 22 09:42:36 EST 2012
Rune Flobakk created AS7-3871:
---------------------------------
Summary: $JBOSS_CONFIG_DIR not switched to Windows format when running standalone.sh on Cygwin
Key: AS7-3871
URL: https://issues.jboss.org/browse/AS7-3871
Project: Application Server 7
Issue Type: Bug
Components: CLI
Affects Versions: 7.1.0.Final
Environment: Windows 7, Cygwin
Reporter: Rune Flobakk
Assignee: Alexey Loubyansky
Paths which are fed to the JVM as parameters are switched to Windows format using cygpath, but $JAVA_CONFIG_DIR seems to have been forgotten. This results in an error during bootup:
{quote}
Unable to read the logging configuration from 'file:/cygdrive/c/apps/jboss-7.1.0.Final/standalone/configuration/logging.properties'
(java.io.FileNotFoundException: \cygdrive\c\apps\jboss-7.1.0.Final\standalone\configuration\logging.properties (The system cannot find the path specified))
{quote}
Fix:
This line needs to be inserted after line 157 in standalone.sh (inside the {{if $cygwin}} block)
{quote}
JBOSS_CONFIG_DIR=`cygpath --path --windows "$JBOSS_CONFIG_DIR"`
{quote}
The same bug seems to be the case for domain.sh.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list