[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-324) installconf.bat fails when logged in user name is more than two words

Sven Plath (JIRA) jira-events at lists.jboss.org
Tue Sep 4 08:08:33 EDT 2012


     [ https://issues.jboss.org/browse/MODCLUSTER-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Plath updated MODCLUSTER-324:
----------------------------------

    Description: 
When the username of the logged in user on the host is longer than two words, for example "Sven Plath", the installconf.bat fails to complete.

The reason is, that all parameters passed to the installconf.awk are shifted as soon as the username is longer than one word.

Solution: Use "..." to encapsulate the paramters:
{code}
nawk.exe -f installconf.awk -v WINDOWS=1 "%HTTPD_DOMAINNAME%" "%HTTPD_SERVERNAME%" "%HTTPD_ADMIN%" "%HTTPD_PORT%" "%HTTPD_SSLPORT%" "%HTTPD_ROOT%" "%MCMPADVIP%" "%MCMPADPORT%" "%MCMPSUBIP%" "%MCMPIP%" "%MCMPPORT%"
{code}

    
> installconf.bat fails when logged in user name is more than two words
> ---------------------------------------------------------------------
>
>                 Key: MODCLUSTER-324
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-324
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: 1.2.0.Final
>            Reporter: Sven Plath
>            Assignee: Jean-Frederic Clere
>            Priority: Optional
>
> When the username of the logged in user on the host is longer than two words, for example "Sven Plath", the installconf.bat fails to complete.
> The reason is, that all parameters passed to the installconf.awk are shifted as soon as the username is longer than one word.
> Solution: Use "..." to encapsulate the paramters:
> {code}
> nawk.exe -f installconf.awk -v WINDOWS=1 "%HTTPD_DOMAINNAME%" "%HTTPD_SERVERNAME%" "%HTTPD_ADMIN%" "%HTTPD_PORT%" "%HTTPD_SSLPORT%" "%HTTPD_ROOT%" "%MCMPADVIP%" "%MCMPADPORT%" "%MCMPSUBIP%" "%MCMPIP%" "%MCMPPORT%"
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the mod_cluster-issues mailing list