Hi Claus, there’s a new script in bin folder called “bin/env” where you should configure environment variables. We moved all that from the activemq script to make it all in one place and easier to manage. It should be documented better.
Regards -- Dejan Bosanac ---------------------- Red Hat, Inc. [email protected] Twitter: @dejanb Blog: http://sensatic.net ActiveMQ in Action: http://www.manning.com/snyder/ On Thu, Jan 29, 2015 at 10:01 AM, Claus Ibsen <[email protected]> wrote: > Hi > > I gave 5.11.0 a test spin with latest code from Apache Camel and all > JMS / Stomp / MQTT modules worked fine and all test passed. > > I installed latest hawtio web console following Dejans guide and the > console works. > http://sensatic.net/activemq/activemq-and-hawtio.html > > But I do seem to have an issue with the modified scripts. I can't set > ACTIVEMQ_OPTS in my environment and have those used by the > bin/activemq script. > > I have tried setting it as pre existing env variable and also setting > it in the top of the bin/activemq script. > > Only by hacking the script and hardcoded works for me. > > This was the hack I had to do in the invoke_console() function, as I > start ActiveMQ with bin/activemq console > > ACTIVEMQ_OPTS="-Dhawtio.realm=activemq -Dhawtio.role=admins > -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal > $ACTIVEMQ_OPTS $ACTIVEMQ_SUNJMX_START $ACTIVEMQ_SSL_OPTS > -Djava.awt.headless=true -Djava.io.tmpdir=\"${ACTIVEMQ_TMP}\"" > echo "Options are $ACTIVEMQ_OPTS" > > > I wonder if anyone else can reproduce the script issue as that would > cause pain for users who think their options are in use, but are not. > But maybe I did something wrong, so would be good to have others test > as well. > > > > > > > On Mon, Jan 26, 2015 at 10:02 PM, Gary Tully <[email protected]> wrote: > > Hi folks, > > > > I've just cut a second release candidate for the long-awaited 5.11.0 > release. > > This release has more than 120 bug fixes and improvements. > > > > Could you review the artifacts and vote? Especially, it would be great if > > you could test the unix shell script and make sure there's no any > regressions > > on the platform you're using. > > > > The list of resolved issues is here: > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12324951 > > > > You can get binary distributions here: > > > https://repository.apache.org/content/repositories/orgapacheactivemq-1014/org/apache/activemq/apache-activemq/5.11.0/ > > > > Source archives are here: > > > https://repository.apache.org/content/repositories/orgapacheactivemq-1014/org/apache/activemq/activemq-parent/5.11.0/ > > > > Maven2 repository is at: > > > https://repository.apache.org/content/repositories/orgapacheactivemq-1014/ > > > > Source tag: > > > https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=tag;h=f6eb86ee31640427d0f953847f38fcf81a71f9e1 > > > > The vote will remain open for 72 hours. > > > > [ ] +1 Release the binary as Apache ActiveMQ 5.11.0 > > [ ] -1 Veto the release (provide specific comments) > > > > Here's my +1 > > > > Regards > > > > Gary > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [email protected] > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ >
