You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Brad Fritz (JIRA)" <ji...@apache.org> on 2006/05/08 16:44:37 UTC

[jira] Created: (AMQ-706) missing quotes in activemq.bat

missing quotes in activemq.bat
------------------------------

         Key: AMQ-706
         URL: https://issues.apache.org/activemq/browse/AMQ-706
     Project: ActiveMQ
        Type: Bug

    Versions: 4.0 RC2    
 Environment: Windows 2000
    Reporter: Brad Fritz
    Priority: Minor
 Attachments: activemq_bat_quotes.patch

The argument following "-jar" in activemq.bat is not quoted.  If %ACTIVEMQ_HOME% contains
spaces, startup will fail with an error like:

  Unable to access jarfile C:\Program

I haven't tested, but the same bug may apply to the other batch files and the unix shell scripts.

Attached is a trival patch to add the quotes to activemq.bat.

--Brad


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


[jira] Resolved: (AMQ-706) missing quotes in activemq.bat

Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-706?page=all ]
     
Adrian Co resolved AMQ-706:
---------------------------

    Fix Version: 4.1
     Resolution: Fixed

done. Thanks Brad!


> missing quotes in activemq.bat
> ------------------------------
>
>          Key: AMQ-706
>          URL: https://issues.apache.org/activemq/browse/AMQ-706
>      Project: ActiveMQ
>         Type: Bug

>     Versions: 4.0 RC2
>  Environment: Windows 2000
>     Reporter: Brad Fritz
>     Assignee: Adrian Co
>     Priority: Minor
>      Fix For: 4.1
>  Attachments: activemq_bat_quotes.patch
>
>
> The argument following "-jar" in activemq.bat is not quoted.  If %ACTIVEMQ_HOME% contains
> spaces, startup will fail with an error like:
>   Unable to access jarfile C:\Program
> I haven't tested, but the same bug may apply to the other batch files and the unix shell scripts.
> Attached is a trival patch to add the quotes to activemq.bat.
> --Brad

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


[jira] Assigned: (AMQ-706) missing quotes in activemq.bat

Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-706?page=all ]

Adrian Co reassigned AMQ-706:
-----------------------------

    Assign To: Adrian Co

> missing quotes in activemq.bat
> ------------------------------
>
>          Key: AMQ-706
>          URL: https://issues.apache.org/activemq/browse/AMQ-706
>      Project: ActiveMQ
>         Type: Bug

>     Versions: 4.0 RC2
>  Environment: Windows 2000
>     Reporter: Brad Fritz
>     Assignee: Adrian Co
>     Priority: Minor
>  Attachments: activemq_bat_quotes.patch
>
>
> The argument following "-jar" in activemq.bat is not quoted.  If %ACTIVEMQ_HOME% contains
> spaces, startup will fail with an error like:
>   Unable to access jarfile C:\Program
> I haven't tested, but the same bug may apply to the other batch files and the unix shell scripts.
> Attached is a trival patch to add the quotes to activemq.bat.
> --Brad

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