[jboss-jira] [JBoss JIRA] Moved: (JBASM-8) maven-jboss-as-control-plugin start goal doesn't work with space in class path

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu Jul 31 11:32:26 EDT 2008


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

Andrew Lee Rubinger moved JBBUILD-480 to JBASM-8:
-------------------------------------------------

        Project: JBoss AS Server Manager  (was: JBoss Build System)
            Key: JBASM-8  (was: JBBUILD-480)
    Component/s:     (was: JBossBuild)


> maven-jboss-as-control-plugin start goal doesn't work with space in class path
> ------------------------------------------------------------------------------
>
>                 Key: JBASM-8
>                 URL: https://jira.jboss.org/jira/browse/JBASM-8
>             Project: JBoss AS Server Manager
>          Issue Type: Patch
>         Environment: Windows
>            Reporter: Antony Stubbs
>         Attachments: JBBUILD-480.patch
>
>
> I could not get the start goal to work, untill i setup a debug environemt and saw that the folling string was being used to execute
> C:\Program Files\Java\jdk1.6.0_10\bin\java -cp C:\jboss-5.0.0.CR1\bin\run.jar;C:\Program Files\Java\jdk1.6.0_10\lib\tools.jar  org.jboss.Main -c true -b localhost 
> The problem being that there is a space in the class path argument, and in the path to the java executable. This was preventing the command from even running - the error was i was getting was 'unable to start as - check the logs' and of course the logs were empty.
> The fix was to add qoutes around the class path.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list