Uploaded image for project: 'JBoss AS Server Manager'
  1. JBoss AS Server Manager
  2. JBASM-8

maven-jboss-as-control-plugin start goal doesn't work with space in class path

    Details

    • Type: Patch
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Windows

    • Estimated Difficulty:
      Low

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alrubinger Andrew Rubinger
                  Reporter:
                  astubbs Antony Stubbs
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: