activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Di Tolla (JIRA)" <>
Subject [jira] [Commented] (APLO-332) Apollo not starting with cygwin under windows7
Date Thu, 06 Feb 2014 09:34:10 GMT


Francesco Di Tolla commented on APLO-332:

thanks for the information.
In the past I did some work to try to fix it myself (even to some scala
code), but later I found that there were some structural differences
between 1.6 and the trunk.
The site was suggesting to start from 1.6 to make a modification, but to me
it appeared you were were working on the trunk.
Add to that that I had problems importing the whole project in eclipse and
compiling from inside and did not know how to make a patch from insideor
outside (never used that feature). So I was unable to contribute myself in
a resonable time.
I will look into the modification you made and I will send you some
feedback in the next days.


> Apollo not starting with cygwin under windows7
> ----------------------------------------------
>                 Key: APLO-332
>                 URL:
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-cli
>    Affects Versions: 1.6
>         Environment: windows 7 32bit + cygwin + Java 1.7
>            Reporter: Francesco Di Tolla
>            Assignee: Hiram Chirino
>            Priority: Blocker
>             Fix For: 1.7
> the commands: "apollo" or "apollo create broker" fail with the error
> Exception in thread "main" java.lang.ClassNotFoundException: org.apache.activemq.apollo.cli.Apollo
> the problem seems to be related to the fact the $BOOTDIRS argument is passed as unix
> To fix this I modified by hand, in my istallation, the bin/apollo script adding
>       BOOTDIRS=`cygpath --path --windows "$BOOTDIRS"`
> in the if block for cygwin and it seems to work correctly.
> The "apollo create broker" command creates a script APOLLO_BASE/bin/apollo-broker.cmd,
and no unix-like apollo-broker script, which I created by hand.
> When $APOLLO_HOME/bin/apollo is called from the apollo-broker script,it fails again since
the APOLLO_BASE is set.
> This happens cause of the setting:
> which is not converted properly by cygpath.
> To fix it I changed again the definition of BOOTDIRS in the same place as above, i.e.
in the block for cygwin, as follows:
>      BOOTDIRS=`cygpath --path --windows "${APOLLO_BASE}/lib\:${APOLLO_HOME}/lib"`
> .

This message was sent by Atlassian JIRA

View raw message