[ 
https://issues.apache.org/jira/browse/AMQ-6138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher L. Shannon resolved AMQ-6138.
-----------------------------------------
    Resolution: Fixed

I have added a new variable called ACTIVEMQ_USER_CLASSPATH that can be set in 
order to extend the classpath.  Having a separate variable keeps it a little 
cleaner so a user knows what the variable is for.

The path separator parsing has been fixed in Main.java so that it will use the 
correct path separator depending on if its running in Unix or Windows.  A 
semicolon should still only be used in Windows and a colon in Unix.

> ACTIVEMQ_CLASSPATH not extendable
> ---------------------------------
>
>                 Key: AMQ-6138
>                 URL: https://issues.apache.org/jira/browse/AMQ-6138
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.13.0
>         Environment: linux x86-64
>            Reporter: Thomas Günter
>            Assignee: Christopher L. Shannon
>            Priority: Minor
>             Fix For: 5.13.1, 5.14.0
>
>         Attachments: activemq
>
>
> The current start script 'activemq' prevents the environment variable 
> ACTIVEMQ_CLASSPATH from being extended from the outside. 
> line #112:
> IS: {{ACTIVEMQ_CLASSPATH="$ACTIVEMQ_BASE/../lib/"}}
> SHOULD: {{ACTIVEMQ_CLASSPATH="$ACTIVEMQ_BASE/../lib/;$ACTIVEMQ_CLASSPATH"}}
> line #278:
> Delimiter should be semicolon, since this is used in 
> org/apache/activemq/console/Main.java#274. Refer also to (AMQ-5913).
> IS: {{ACTIVEMQ_CLASSPATH="$\{ACTIVEMQ_CONF\}:$\{ACTIVEMQ_CLASSPATH\}"}}
> SHOULD: {{ACTIVEMQ_CLASSPATH="$\{ACTIVEMQ_CONF\};$\{ACTIVEMQ_CLASSPATH\}"}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to