activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahmoud Parsian <mpars...@yahoo.com>
Subject Re: Get java exceptions when trying to start ActiveMQ
Date Wed, 14 Sep 2011 17:01:30 GMT
Create a file start.sh (in Linux environment) with the following content:

#!/bin/bash
export JAVA_HOME=/home/jdk6
export ACTIVEMQ_HOME=/home/amq
export ACTIVEMQ_BASE=/home/amq
export PATH=.:$JAVA_HOME/bin:$ACTIVEMQ_HOME/bin:$PATH
export LOG_FILE=$ACTIVEMQ_HOME/logs/activemq.log
export ACTIVEMQ_OPTS_MEMORY="-Xms1024M -Xmx2048M"
$ACTIVEMQ_HOME/bin/activemq-admin start > $LOG_FILE 2>&1 &


Please update JAVA_HOME, ACTIVEMQ_HOME, and ACTIVEMQ_BASE accordingly.

then you may start active-mq as:

chmod a+rx start.sh
./start.sh &

That is all.
best,
Mahmoud


________________________________
From: Mark <nospam.1.friedbadger@spamgourmet.com>
To: users@activemq.apache.org
Sent: Wednesday, September 14, 2011 1:23 AM
Subject: Get java exceptions when trying to start ActiveMQ

Hi,

When trying to start ActiveMQ using the command:
$ ksh bin/activemq console

as recommended in the "ActiveMQ in action" book.

I get several java exceptions including this one:

javax.servlet.UnavailableException:
org.fusesource.web.console.server.AgentServiceImpl
        at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:82)
        at
org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:224)
...

I am using ActiveMQ 5.5.0 on Solaris 10 (Java 1.6.0_14).

What's wrong?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message