Its compatible, gitorious doesn't really care what you use as long as
its stomp.


On Jul 23, 5:43 am, Deepak Kamath <dk87...@gmail.com> wrote:
> thanx  shine will try it out!!! got reply finally..I am using 5.2.0
> version..can i change it to 5.3.0 is it compatible with gitorious
>
> On Thu, Jul 22, 2010 at 8:30 PM, shin938 <sha...@tikalk.com> wrote:
> > This is how I installed activemq a few days ago and it works great for
> > me, its a snippet from a guide I wrote,
> > There nothing to configure in broker.rb
>
> > - if using a different activemq version check its docs.
> > - disable multicasting if its enables.
>
> > cd /usr/src
> > wget
> >http://apache.spd.co.il/activemq/apache-activemq/5.3.2/apache-activem...
> > tar xzvf apache-activemq-5.3.2-bin.tar.gz -C /usr/local/
> > ln -s /usr/local/apache-activemq-5.3.2 /usr/local/apache-activemq
> > sh -c 'echo "export ACTIVEMQ_HOME=/usr/local/apache-activemq" >> /etc/
> > activemq.conf'
> > sh -c 'echo "export JAVA_HOME=/usr/" >> /etc/activemq.conf'
> > adduser activemq
> > chown -R activemq /usr/local/apache-activemq/data
>
> > - do this fix:
> > -http://activemq.apache.org/web-console.html
>
> > - there is probably a bug with jmx:
> > -https://issues.apache.org/activemq/browse/AMQ-2122
> > - in a vm or local network add the hostname from /etc/sysconfig/netwok
> > to /etc/hosts, it will fix the jmx problem.
>
> > - edit /usr/local/apache-activemq/conf/activemq.xml
> > - make transportConnectors look like this:
> > <transportConnectors>
> >            <transportConnector name="openwire" uri="tcp://localhost:
> > 61616?useLocalHost=true"/>
> >            <transportConnector name="stomp" uri="stomp://localhost:
> > 61613"/>
> > </transportConnectors>
>
> > - we will run activemq with the java service wrapper
> > - see FILES at the bottom of this doc for activemq startup script,
> > copy it to /etc/init.d/activemq.
> > - notice this script is for 64 bit machine, replace linux-x86-64 with
> > linux-x86-32 if your on a 32 bit machine.
> > - see the actoivemq launchers.
> > - make is executable.
>
> > mkdir -p /var/run/activemq
> > /sbin/chkconfig --add activemq
> > /sbin/chkconfig activemq on
>
> > - start it
> > /etc/init.d/activemq start
>
> > - check that activemq is running
> > netstat -an|grep "61616"
> > netstat -an|grep "61613"
>
> > ####### activemq service script
> > ##########################################################
> > #!/bin/bash
> > #
> > # activemq       Manages ActiveMQ.
> > #
> > # chkconfig: - 98 45
> > # description:  ActiveMQ is a JMS Messaging Queue Server.
> > # processname: activemq
> > # config: /etc/activemq.conf
> > # pidfile: /usr/local/apache-activemq/bin/linux-x86-64/ActiveMQ.pid
>
> > # Source function library.
> > . /etc/init.d/functions
>
> > # Source networking configuration.
> > . /etc/sysconfig/network
>
> > if [ "$NETWORKING" = "no" ]
> > then
> >        exit 0
> > fi
>
> > # /etc/activemq.conf is a file that gets source'd by the current
> > activemq startup script
> > # Purpose is to set $ACTIVEMQ_HOME & $JAVA_HOME
> > test -f /etc/activemq.conf && . /etc/activemq.conf
>
> > if [ `id -u` -ne 0 ]; then
> >        echo "You need root privileges to run this script"
> >        exit 1
> > fi
>
> > umask 077
>
> > MQUSER=activemq
> > RETVAL=0
> > prog="activemq"
>
> > start() {
> >        echo -n $"Starting $prog: "
> >        $ACTIVEMQ_HOME/bin/linux-x86-64/activemq start
> >        RETVAL=$?
> > }
>
> > stop() {
>
> >        echo -n $"Stopping $prog: "
> >        $ACTIVEMQ_HOME/bin/linux-x86-64/activemq stop
> >        RETVAL=$?
> > }
>
> > status() {
>
> >        $ACTIVEMQ_HOME/bin/linux-x86-64/activemq status
> > }
>
> > restart() {
> >       stop
> >       start
> > }
>
> > case "$1" in
> >  start)
> >       start
> >       ;;
> >  stop)
> >       stop
> >       ;;
> >  restart|reload)
> >       restart
> >       ;;
> >  status)
> >       status
> >       ;;
>
> >  *)
> >       echo $"Usage: $0 {start|stop|restart|status}"
> >       exit 1
> > esac
>
> > exit $RETVAL
>
> > #########################################################
> > ####### END ACTIVEMQ SERVICE SCRIPT
>
> > On Jul 22, 8:37 am, Deepak Kamath <dk87...@gmail.com> wrote:
> > > Hello Rob
>
> > > Even I am getting the same error.Even I have posted this.But dint get any
> > > reply.If u find any  solution plz revert back
>
> > > On Thu, Jul 22, 2010 at 12:37 AM, Rob <robparr...@gmail.com> wrote:
> > > > To respond to my own question, I added the transports:
>
> > > >    <transportConnector name="stomp" uri="stomp://0.0.0.0:61612?
> > > > transport.closeAsync=false"/>
> > > >    <transportConnector name="stomp+nio" uri="stomp+nio://
> > > > 0.0.0.0:61613?transport.closeAsync=false<http://0.0.0.0:61613/?transport.closeAsync=false>
> > "/>
>
> > > > to the activemq.xml and now get connectivity.
>
> > > > I'm now seeing a new error in the poller script:
>
> > > >   connect failed: private method `chomp' called for nil:NilClass will
> > > > retry in 5
>
> > > > Is this something to be concerned about?
>
> > > > Thanks,
> > > > rob
>
> > > > --
> > > > To post to this group, send email to gitorious@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > gitorious+unsubscr...@googlegroups.com<gitorious%2bunsubscr...@googlegroups.com>
> > <gitorious%2bunsubscr...@googlegroups .com>
>
> > --
> >  To post to this group, send email to gitorious@googlegroups.com
> > To unsubscribe from this group, send email to
> > gitorious+unsubscr...@googlegroups.com<gitorious%2bunsubscr...@googlegroups.com>

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to