Bug#652271: RFP: librabbitmq-client-java -- java interface to connect to AMQP servers
Package: wnpp Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 * Package name: librabbitmq-client-java Version : 2.7.0 Upstream Author : VMware, Inc * URL : http://www.rabbitmq.com/java-client.html * License : MPL 1.1 / GPL v2 Programming Lang: java Description : java interface to connect to AMQP servers The RabbitMQ Java client library allows Java code to interface to AMQP servers. The library is platform neutral; the binary distributions listed below differ only in the version of Java they are intended for use with. Please see the specification page for more information on AMQP interoperation and standards-conformance. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJO6lkoAAoJEPBM7/YBbP/QaaUP/jvFYkcCRLxtIIDAS+a4iKK1 vQedS0OwxFFZ8Y25Anmhwwdh6/k4jnk6ndxjlGzYNw0cYa4VRabxspHdqHbW7Q2q z3zneM5OGdICEeIn0r0oNp+8U72LvmNCWgsKKmAYRUkS62aCt0lxXudzN+2mXWgO Ge+RVwy7+OknPYC6WL8eHc6xUeElJlcHOtPGEFIr9QQ8QHpawiZOjykor6PF4U2I 5R4Wlzm86CPIsLIjd/AdsDBsRbHK1t9xez8skyDq09z+QBZo7QQlI0XgSkwjwTV4 D66lPL+04Z4rUXZt7WkHvuUU9Nl1BKj0SUsFKk7poJzaJS+Uim6ogvt8iucsXbnC Iit7XNaTdCIv2o7qLddXdVg6rPWi+LkRLJ4ByNqYYofVlxEWfpYnazRU4n5RS2Es fMcBaGavB3i5Hnr/THRcqVKfLVIaMY0tLfBJp/Tvetj5MsBpW35Jbv2uTTGp15pZ Ks5eE6A588asA0YFZvSUIjM4gLYQNa+h2y0sc2JhIdJAs5aulHEEGesWrGmo+bFc wJiWrP0GVoZFq2j3nsEinzzQF/0ZuML+gsZ1ZKoMoaQc8HQqfOw8/20Ay1Yk1rMg YvlVWoGDGPJTkKOpXeyAUTtQE+PijWJDzzoSO2FPxRRnzdClXQbsNqyQlzjFo1xZ AZqVszeRg2bMe0wkLQF6 =Kljm -END PGP SIGNATURE- __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#652272: RFP: libmongodb-java -- java driver for mongodb
Package: wnpp Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 * Package name: libmongodb-java Version : 2.7.2 Upstream Author : Antoine Girbal anto...@10gen.com * URL : https://github.com/mongodb/mongo-java-driver/ * License : Apache License 2 Programming Lang: Java Description : java driver for mongodb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJO6lomAAoJEPBM7/YBbP/QItIP/3Vv0XarzpQAPKOw+9rLrdZC uUPjSMJM1KHFw69R51kkyE0NL+PaCq9VE9qLVcFoCy38wLcGcbVxzCJ7rWHC77WW 3jsgFf6KgODuiCNKrfQwvNolvmz5iCDOf65E0vGRbbOwOXQF3uiJ5Ma5wQlbiu2U Hh2JwVtRaqoD0QOrfMq945HzDGwRjqIRKjf/AzDF1hPmXjtzwFf4ht9/qzOF/09C VAGi2aPhUPD8hlgwJQ4yz/UO2PUp9PG7Cykw/LxrymqHclWwEh/83Mqb8gM+stQ9 CSNVjo5aHHJpmyVnEkAhat/J06wNf9LKqzeakZXMooZh+kg4ozD+M7y1Q7SDdfCZ 88tUirHG8c1gg4o44EGypYS5RyyRz/NINH9x63NiXzty/wQgzVMSzCViakpet2oO J2slm6ChTWMxWYFDQCrHPqrAvgF7EXzx5EuehkWcDsu10YMbXTynGQS4MTDFMM5u oJ5ZJ2xhP79t/BXvVSIVSjqQVmru+7cAZWlg4OHj/OFh1iZI5MWAM6L/E9bwF/Kf eEs929J2G/5/GgLmkSy6SBW9bHpZpad6u+H256dz2oBrIiDTmSyEiWv4qs8HmYpB RqL8onAxs7pDaypM5fu8I1+LAoVKTKiWBW/8/la5HRJqhQV5SdiLadO+dQPrHH6O P8tkbH93XYI8snJs6lS1 =X31k -END PGP SIGNATURE- __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#652273: RFP: graylog2-server -- syslog implementation that stores your logs in MongoDB
Package: wnpp Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 * Package name: graylog2-server Version : 0.9.5p1 Upstream Author : Lennart Koopmann lenn...@scopeport.org * URL : http://graylog2.org/ * License : GPL v3 Programming Lang: Java Description : syslog implementation that stores your logs in MongoDB Graylog2 is an open source syslog implementation that stores your logs in MongoDB. It consists of a server written in Java that accepts your syslog messages via TCP or UDP and stores it in the database. .. The second part is a Ruby on Rails web interface that allows you to view the log messages. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJO6lreAAoJEPBM7/YBbP/QVYcQAJZKxMmVJRGeHPd3mxMmrShz u8ZsBtC01XTgnW291Sc+4tvpDekh08bQUr9vzQa3yFZR4uVEI4Z11DLjK4tjOY6y d67qHk6Df6WLNcaWdxR0sQnLPD4NxQzrY24eGHZ/xL12GahUxSZwgI4FO89YL6pw k2VW5Z6tLIqAbbzxrF3QGrH9X9zJjQ9Vy6K2THH7yP01w2ykjopga2ehtTvtFeS4 yeWgTtk7eQty3PrIraShJUBR8sf4XUlN85PR9bcZbAS55eelte2cR5S6WKcji98P YyvO3FFKEtDL8Tl6LC5ZqyWcD7GvRt8GTd0FJ7bu1j7blteTWZRuiPcAjFD4cU1A thQiML+b/JhgkW44KoZSRKOvTk8OUufkzySw6ijZKJH1M6KDKvPHwEniNG0DDDaa Ivypm6qZbRIaGt0jrkgLyp+hjSG/wLBZzbBCcolMOZy5uIGAg6FdJR6uEBi/gB1o 1k9Hmw5GOrVjluQGHPBH7B2QiX4bzxz4ys4jXKF2USLJw3UR/EVfe1aoJ2yYi9Bp KBkbDB2jymEJCJ6QIfhtc6ZEAWgrZUz1JBYPc+1NsE/5HrHYL8rsav+a/vfUYEF9 ApB6IyPfwu+Riswt13/m252hkB9ZZwlhoWQwj80SdKjNm2JAGkHChjglwlzDpNkg NxijigJi/mm6xSK7Ydzq =jUED -END PGP SIGNATURE- __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#645241: activemq: Init-Script with console startup - useful for debugging purposes
Package: activemq Version: 5.5.0+dfsg-3 Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, I have added an console startup feature to the init script of ActiveMQ. This patch allows you to start any ActiveMQ instance in foreground - if the instance is running with init script will stop it before. It's very useful for debugging an instance. Feel free to include it. Thanks, Jonas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJOlzJ4AAoJEPBM7/YBbP/Qj4YP/094FKMe3Nd3kdDQIdwiADWR 9INokLT8I+J3+zYkxQfaR2AO0AGktA66G2EwBDwXUrK/nzOXF5Xdmc0muXrljNKQ /3m22GAuUtF/K0kU+0jcDt3V+YDEhEXhA3uoi+OFHE74ebXPZ66IGKbI7cRVch7M qTDoDpc+8weR3udcElGAfqeyZj7psj7UrEjVaFXUDraXQXqrEqs5/qFPVcsXOMHu 5JJLn3v6I9m2ZOzv6txkANpB61ZKB5cB5//RAm1YVXLc0DiSFbZHhW2TqyFyd2RP 3qAyHqyYNHYGJjC115cp3FKSwRDY8EcpWhvkdkzEWIcx6j5X7s6KJ4CFQox7jeqQ 4vdStVhv1Arqokl9YfGesjOjpjxcog5dTdfKxl0sJY3Uwt7WkPHsjZFy2gcUO9wT Tj2Em7K4cpoPBGQrT3uo/ARobPLpubRSV4UHl7CDl4Fr4AZ3TjcQsBC2XnnPOfVa xB+WevjbtvRIPfeFQdMOxELwA0HY373DP8Pf69s+dUUoCeb946JRjU8rJ16Yrvec SnV89NcT0tnlkkUMf+t6xFrfhTp2E3mzzniazGMVcmrFF25Zaip2xOihpry0ryza PaES2X8PCa2IOLqvlfWQgUb+fll9dYJ9mbeb1lNYoTgn0sqH9NZaz10tgoJnvauj kYqiF2fTfbAZUmrir99D =S2kw -END PGP SIGNATURE- diff --git a/debian/activemq.README.Debian b/debian/activemq.README.Debian index c71d82a..9307a78 100644 --- a/debian/activemq.README.Debian +++ b/debian/activemq.README.Debian @@ -31,6 +31,17 @@ Enable it: Start it : invoke-rc.d activemq start + +Debug an ActiveMQ instance +-- + +You can start any ActiveMQ instance in foreground for debugging. + +Start instance `foo` in forground: + + # /etc/init.d/activemq console foo + + Setup a new ActiveMQ instance - diff --git a/debian/activemq.init b/debian/activemq.init index 3d4a45b..cc57c68 100644 --- a/debian/activemq.init +++ b/debian/activemq.init @@ -141,23 +141,32 @@ start_servers() { done } + +# Stops an running Instance +stop_server() { + INSTANCE=$1 + ACTIVEMQ_PIDFILE=/var/run/activemq/$INSTANCE.pid + + start-stop-daemon --stop --quiet --pidfile $ACTIVEMQ_PIDFILE \ + --user $ACTIVEMQ_USER \ + --name java --startas $DAEMON -- stop + if running; then + force_stop + fi + if running; then + log_progress_msg (failed) + else + log_progress_msg (stopped) + fi +} + # Stop the process using the wrapper stop_servers() { for INSTANCE in `ls /var/run/activemq/`; do INSTANCE=$(echo $INSTANCE | sed 's@.pid@@') - ACTIVEMQ_PIDFILE=/var/run/activemq/$INSTANCE.pid log_progress_msg $INSTANCE - start-stop-daemon --stop --quiet --pidfile $ACTIVEMQ_PIDFILE \ - --user $ACTIVEMQ_USER \ - --name java --startas $DAEMON -- stop - if running; then - force_stop - fi - if running; then - log_progress_msg (failed) - else - log_progress_msg (stopped) - fi + + stop_server $INSTANCE done } @@ -182,6 +191,46 @@ force_stop() { case $1 in + console) + INSTANCE=$2 + if [ ! -z $INSTANCE ]; then + log_daemon_msg Starting with Console $DESC $INSTANCE + if [ -r ${ACTIVEMQ_INSTANCES_ENABLED}/${INSTANCE}/activemq.xml ]; then + ACTIVEMQ_PIDFILE=/var/run/activemq/$INSTANCE.pid + ACTIVEMQ_CONFIG_DIR=$ACTIVEMQ_INSTANCES_ENABLED/$INSTANCE + + if [ -f $ACTIVEMQ_PIDFILE ]; then +stop_server $INSTANCE + fi + + export INSTANCE + export ACTIVEMQ_USER + export ACTIVEMQ_PIDFILE + export ACTIVEMQ_HOME=/usr/share/activemq + export ACTIVEMQ_CONFIG_DIR + + # Import global configuration + . /usr/share/activemq/activemq-options + # Import per instance configuration + [ -r ${ACTIVEMQ_CONFIG_DIR}/options ] . ${ACTIVEMQ_CONFIG_DIR}/options + + ACTIVEMQ_ARGS=$(echo $ACTIVEMQ_ARGS | sed 's/start/console/') + + start-stop-daemon --start --pidfile $ACTIVEMQ_PIDFILE \ +--chuid $ACTIVEMQ_USER \ +--name java --startas $DAEMON -- $ACTIVEMQ_ARGS + else + echo File ${ACTIVEMQ_INSTANCES_ENABLED}/${BROKER}/activemq.xml not found. + exit 1 + fi + else + echo Usage: $0 console foo + echo This will start instance foo in foreground useful for debugging purposes. + exit 1 + fi + +log_end_msg 0 + ;; start) log_daemon_msg Starting $DESC $NAME start_servers @@ -220,7 +269,7 @@ case $1 in log_warning_msg cannot re-read the config file (use restart). ;; *) -echo Usage: $SCRIPTNAME {start|stop|restart|force-reload|status} 2 +echo Usage: $SCRIPTNAME {start|stop|restart|force-reload|status|console} 2 exit 1 ;; esac __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#634868: libactivemq-java: unable to find org.apache.activemq.console.command.ShellCommand dependency
/debian/activemq.init index 0841bcc..3d4a45b 100644 --- a/debian/activemq.init +++ b/debian/activemq.init @@ -10,25 +10,16 @@ ### END INIT INFO # Author: Damien Raude-Morvan draz...@debian.org - -# Check init script name to detect instance name -INSTANCE=main -if ( basename $0 | grep activemq- /dev/null);then - INSTANCE=$(basename $0 | sed 's/^activemq-//;s/\.sh$//') -fi -export INSTANCE +# Author: Jonas Genannt jonas.gena...@capi2name.de PATH=/sbin:/usr/sbin:/bin:/usr/bin -DESC=ActiveMQ $INSTANCE instance +DESC=ActiveMQ instance NAME=activemq DAEMON=/usr/bin/$NAME SCRIPTNAME=/etc/init.d/`basename $0` DEFAULT=/etc/default/$NAME ACTIVEMQ_JAR=/usr/share/activemq/bin/run.jar -if [ $INSTANCE != main ]; then -DEFAULT=/etc/default/$NAME-$INSTANCE -NAME=activemq-$INSTANCE -fi +ACTIVEMQ_INSTANCES_ENABLED=/etc/activemq/instances-enabled # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh @@ -38,50 +29,16 @@ fi # and status_of_proc is working. . /lib/lsb/init-functions -# Default options, these can be overriden by the information -# at /etc/default/activemq-$INSTANCE - # Whether to start ActiveMQ (as a daemon or not) NO_START=0 -# Time to wait for the server to die, in seconds -DIETIME=3 - -# Time to wait for the server to start, in seconds -STARTTIME=5 - -# Global (readonly) shared activemq installation -ACTIVEMQ_HOME=/usr/share/activemq - -# !!! Use a specific data directory for each instance -ACTIVEMQ_BASE=/var/lib/activemq/$INSTANCE - -# Default directory to find XML configuration files -ACTIVEMQ_CONFIG_DIR=/etc/activemq/$INSTANCE +ACTIVEMQ_USER=activemq -# !!! Use a specific PID file for each instance -ACTIVEMQ_PIDFILE=/var/run/activemq/$INSTANCE.pid - -# Use openjdk-6 as default Java runtime -JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ - -# Use Debian create user to run ActiveMQ process -ACTIVEMQ_USER=activemq - -# Set some JVM memory options -ACTIVEMQ_OPTS=-Xms512M -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true - -# Arguments to launch /usr/bin/activemq -ACTIVEMQ_ARGS=start xbean:activemq.xml - -# End of variables that can be overwritten +DIETIME=2 # Read configuration variable file if it is present [ -r $DEFAULT ] . $DEFAULT -# No need to exports variables, as /usr/bin/activemq will source -# /etc/default/activemq-$INSTANCE - # Exit now if daemon binary is not installed test -x $DAEMON || exit 0 @@ -104,6 +61,15 @@ if [ $NO_START != 0 -a $1 != stop ]; then exit 0 fi +# Check if any instances exists in instances-enabled directory +check_instances_enabled() { + if [ -d $ACTIVEMQ_INSTANCES_ENABLED ] [ `/bin/ls $ACTIVEMQ_INSTANCES_ENABLED | wc -l` -gt 0 ]; then + return 1 + else + return 0 + fi +} + # Check if a given process pid's cmdline matches a given name running_pid() { pid=$1 @@ -127,23 +93,72 @@ running() { } # Start the process using the wrapper -start_server() { +start_servers() { mkdir -p /var/run/activemq/ chown $ACTIVEMQ_USER /var/run/activemq/ -start-stop-daemon --start --quiet --pidfile $ACTIVEMQ_PIDFILE \ ---chuid $ACTIVEMQ_USER --background \ ---name java --startas $DAEMON -- $ACTIVEMQ_ARGS -errcode=$? -return $errcode + + if check_instances_enabled; then + echo No instances found at ${ACTIVEMQ_INSTANCES_ENABLED}. + exit 0 + fi + + for INSTANCE in `ls $ACTIVEMQ_INSTANCES_ENABLED`; do + if [ -d ${ACTIVEMQ_INSTANCES_ENABLED}/${INSTANCE} ]; then + ACTIVEMQ_PIDFILE=/var/run/activemq/$INSTANCE.pid + ACTIVEMQ_CONFIG_DIR=$ACTIVEMQ_INSTANCES_ENABLED/$INSTANCE + + export INSTANCE + export ACTIVEMQ_USER + export ACTIVEMQ_PIDFILE + export ACTIVEMQ_HOME=/usr/share/activemq + export ACTIVEMQ_CONFIG_DIR + + # Import global configuration + . /usr/share/activemq/activemq-options + # Import per instance configuration + [ -r ${ACTIVEMQ_CONFIG_DIR}/options ] . ${ACTIVEMQ_CONFIG_DIR}/options + + log_progress_msg $INSTANCE + + start-stop-daemon --start --quiet --pidfile $ACTIVEMQ_PIDFILE \ +--chuid $ACTIVEMQ_USER --background \ +--name java --startas $DAEMON -- $ACTIVEMQ_ARGS + + errcode=$? + if [ ! $errcode ]; then +log_progress_msg (failed) + else +[ -n $STARTTIME ] sleep $STARTTIME # Wait some time +if running; then + log_progress_msg (running) +else + log_progress_msg (failed?) +fi + fi + else + echo -n ${INSTANCE} (not an directory) + fi + done } # Stop the process using the wrapper -stop_server() { -start-stop-daemon --stop --quiet --pidfile $ACTIVEMQ_PIDFILE \ ---user $ACTIVEMQ_USER \ ---name java --startas $DAEMON -- stop -errcode=$? -return $errcode +stop_servers() { + for INSTANCE in `ls /var/run/activemq/`; do + INSTANCE=$(echo $INSTANCE | sed 's@.pid@@') + ACTIVEMQ_PIDFILE=/var/run/activemq/$INSTANCE.pid + log_progress_msg $INSTANCE + start-stop-daemon --stop --quiet --pidfile
Bug#634868: libactivemq-java: unable to find org.apache.activemq.console.command.ShellCommand dependency
Hello Damien, Ok, thanks for this great patch! I've merged this into current git master branch [1]. If you are interrested in activemq, you can add yourself to d/control Uploaders (after requesting access to pkg-java here [2]) thanks for including it. I'm not interested into maintaining activemq. I want only that this bug is closed, so I can upload mcollective soon :) Thanks, Jonas __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#634868: libactivemq-java: unable to find org.apache.activemq.console.command.ShellCommand dependency
Hello Damien, I would prefer if mcollective.xml is fixed to use a full path to data directory. For example, you could use something like : ${activemq.base}/data (where activemq.base property will automatically be set to /var/lib/activemq/[instance]/) you are right - my configuration is wrong. I have fixed that - so my patch is not needed. But I found an other problem, when I try to start the ActiveMQ Instance onboot: root@sid:~# update-rc.d activemq-mcollective defaults update-rc.d activemq-mcollective defaults update-rc.d: using dependency based boot sequencing insserv: script activemq-mcollective: service activemq already provided! insserv: exiting now! update-rc.d: error: insserv rejected the script header Hum, nice spot. I don't think my first approach will work nicely : we can't split each instance in its own init.d script. I'll work on something similar that postgresql (one main script to start everything) yep your are right. Thanks again for your great work on ActiveMQ! Greets, Jonas __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#634868: libactivemq-java: unable to find org.apache.activemq.console.command.ShellCommand dependency
Hello Damien, Could you please compare exact command line of working vs not-working ActiveMQ configuration ? I have done more testing in this, here is my result. I have done all stuff with an clean Debian 64bit sid on virtualbox. cp /etc/default/activemq /etc/default/activemq-mcollective cp -R /etc/activemq/main /etc/activemq/mcollective rm -rf /etc/activemq/mcollective/activemq.xml wget https://raw.github.com/gist/1115895/b208b21ac8b76f78210a07c453b9b16d3786f228/gistfile1.txt -O /etc/activemq/mcollective/activemq.xml ln -s /etc/init.d/activemq /etc/init.d/activemq-mcollective invoke-rc.d activemq-mcollective start I found that in the log file: 2011-07-30 21:35:04,587 | INFO | Database activemq-data/localhost/KahaDB/lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.IOException: Failed to create directory 'activemq-data/localhost/KahaDB' | org.apache.activemq.store.kahadb.MessageDatabase | main So the activeMQ tries to write to /var/lib/activemq/activemq-data/localhost/KahaDB/ but does this with an relative path. If I patch the init-script to chdir first to /var/lib/activemq, it works: diff -u /etc/init.d/activemq.orig /etc/init.d/activemq --- /etc/init.d/activemq.orig 2011-07-30 21:43:32.710743516 +0200 +++ /etc/init.d/activemq2011-07-30 21:43:19.606744213 +0200 @@ -132,6 +132,7 @@ chown $ACTIVEMQ_USER /var/run/activemq/ start-stop-daemon --start --quiet --pidfile $ACTIVEMQ_PIDFILE \ --chuid $ACTIVEMQ_USER --background \ +-d /var/lib/activemq \ --name java --startas $DAEMON -- $ACTIVEMQ_ARGS errcode=$? return $errcode After that patch activeMQ starts and opens the TCP port. But I found an other problem, when I try to start the ActiveMQ Instance onboot: root@sid:~# update-rc.d activemq-mcollective defaults update-rc.d activemq-mcollective defaults update-rc.d: using dependency based boot sequencing insserv: script activemq-mcollective: service activemq already provided! insserv: exiting now! update-rc.d: error: insserv rejected the script header Thanks for your work, Jonas signature.asc Description: PGP signature __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#634868: libactivemq-java: unable to find org.apache.activemq.console.command.ShellCommand dependency
Hello Damien, I've made some changes to Debian ActiveMQ package to handle a /real/ activemq instance (ie. my initial need was only to get some libraries, for embedded usage). I've put my current packages here : http://people.debian.org/~drazzib/activemq/ (please read installed README.Debian of each package for usage and limitations) thanks for your _great_ work. The new activemq package fits my needs. I had only to disabled the openwire transport - but mcollective works without that. But I noticed one problem. If I start the Message Queue Server via /etc/init.d/activemq-mcollective start ActiveMQ does not open the TCP port but is running! I started it with the following command and ActiveMQ opens the TCP port: /usr/lib/jvm/java-6-openjdk//bin/java -Xms512M -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dcom.sun.management.jmxremote -Dactivemq.classpath=/var/lib/activemq/mcollective/conf;/etc/activemq/mcollective; -Dactivemq.home=/usr/share/activemq -Dactivemq.base=/var/lib/activemq/mcollective -jar /usr/share/activemq/bin/run.jar start xbean:/etc/activemq/mcollective/activemq.xml This command was found in the process list after starting it via init-script. It's an little bit crazy :-/ Thanks, Jonas __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#634868: libactivemq-java: unable to find org.apache.activemq.console.command.ShellCommand dependency
Package: libactivemq-java Version: 5.5.0+dfsg-1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I want to start an ActiveMQ Message Server for Mcollective (#563951). I have used the default configuration from Mcollective: https://raw.github.com/ripienaar/marionette-collective/master/ext/activemq/examples/single-broker/activemq.xml I start activeMQ with: /usr/bin/java -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Dactivemq.classpath=/usr/share/java -Dactivemq.home=/usr/share/java -Dactivemq.base=/usr/share/java -jar /usr/share/java/activemq-run.jar start xbean:activemq.xml Output: Java Runtime: Sun Microsystems Inc. 1.6.0_18 /usr/lib/jvm/java-6-openjdk/jre Heap sizes: current=7808k free=6596k max=506816k JVM args: -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Dactivemq.classpath=/usr/share/java -Dactivemq.home=/usr/share/java -Dactivemq.base=/usr/share/java ACTIVEMQ_HOME: /usr/share/java ACTIVEMQ_BASE: /usr/share/java Could not load class: org.apache.activemq.console.command.ShellCommand Class loader setup: sun.misc.Launcher$ExtClassLoader { file:/usr/lib/jvm/java-6-openjdk/jre/lib/ext/pulse-java.jar file:/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunjce_provider.jar file:/usr/lib/jvm/java-6-openjdk/jre/lib/ext/localedata.jar file:/usr/lib/jvm/java-6-openjdk/jre/lib/ext/dnsns.jar file:/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunpkcs11.jar } sun.misc.Launcher$AppClassLoader { file:/usr/share/maven-repo/org/apache/activemq/activemq-run/5.5.0/activemq-run-5.5.0.jar } java.net.URLClassLoader { file:/usr/share/java/conf file:/usr/share/java/ } Could you please have a look at your package? Thanks, Jonas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk4nDxQACgkQyDWRqLYW//ruzACeKJGuDyElXGyZR0UTBkYbVbng Y/4AniV5Yochbbq688rKmTKnu093XaLp =zR+I -END PGP SIGNATURE- __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.