activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lololo <>
Subject Launching ActiveMQ (4)
Date Wed, 03 May 2006 21:25:35 GMT


First thanks to James for having answered my last questions.

My conf has changed now (as suggested by James) from activemq-4.0-M4 to
incubator-activemq-4.0-RC3 (on XP, Tomcat 5.0.28, Axis 1.1 and so far all
these work fine). 

The current situation about launching is that it works but with a warning on
jmx connector and the broker name not set (do not know yet the effect except
perhaps on the shutdown - see below). The activemq.xml is kept untouched!!
See here the output:

>"C:\Program Files My\j2sdk1.4.0_01\bin\java.exe"   -Xmx512M
-Dactivemq.home="C:\Program Files My\Apache Software
Foundation\incubator-activemq-4.0-RC3" -jar "C:\Program Files My\Apache
Software Foundation\incubator-activemq-4.0-RC3/bin/run.jar" "start"
ACTIVEMQ_HOME: C:\Program Files My\Apache Software
Loading message broker from: xbean:activemq.xml
Created MBeanServer with ID: 3e58d4:10afc08efac:-8000:Alicia:1
INFO  BrokerService                  - ActiveMQ 4.0-RC3 JMS Message Broker
(localhost) is starting
INFO  BrokerService                  - For help or more information please
WARN  ManagementContext              - Failed to start jmx connector:
javax.naming.CommunicationException [Root exception is
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is: java.rmi.UnmarshalException: error unmarshalling arguments;
nested exception is: no protocol: Files]
INFO  JDBCPersistenceAdapter         - Database driver recognized:
INFO  JournalPersistenceAdapter      - Journal Recovery Started from: Active
Journal: using 5 x 20.0 Megs at: C:\Program Files My\Apache Software
INFO  JournalPersistenceAdapter      - Journal Recovered: 0 message(s) in
transactions recovered.
INFO  TransportServerThreadSupport   - Listening for connections at:
WARN  MulticastDiscoveryAgent        - brokerName not set
INFO  TransportConnector             - Connector default Started
INFO  TransportServerThreadSupport   - Listening for connections at:
INFO  TransportConnector             - Connector stomp Started
INFO  NetworkConnector               - Network Connector default Started
INFO  BrokerService                  - ActiveMQ JMS Message Broker
(localhost, ID:Alicia-1448-1146689744281-1:0) started

Note the following:
- - - - - - - - - -
1) It is launched in bin or from bin\..
2) I had to add double quotes here : -jar "%ACTIVEMQ_HOME%/bin/run.jar" in
3) I had to drop the -classpath "%LOCALCLASSPATH%" from shutdown.bat (my
classpath is set in another .bat)
4) The shutdown command has no effect perhaps because of the jmx connector
that failed (see below the trace). Note also that according to the trace
below it seems that the ACTIVEMQ_HOME is not defined (see below) but that's
not the case.

>"C:\Program Files My\j2sdk1.4.0_01\bin\java.exe"  -Xmx512M
-Djava.ext.dirs="C:\Program Files My\j2sdk1.4.0_01\lib\ext;C:\Program Files
My\Apache Software Foundation\incubator-activemq-4.0-RC3;C:\Program Files
My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib;C:\Program
Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\optional"
-jar "C:\Program Files My\Apache Software
Foundation\incubator-activemq-4.0-RC3/bin/run.jar" "stop"
ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason: javax.naming.NameNotFoundException: jmxrmi
ERROR: java.lang.Exception:
javax.naming.NameNotFoundException: jmxrmi

5) For info here is my CLASPPATH (formatted for a (I hope) better display) -
note that I did not put the optional jars:
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software
"C:\Program Files My\Apache Software

6) My last minute attenpts to launch the examples failed. I don't
understand, it worked well 2 days ago with activemq-4.0-M4. Here is the
message back: "Files was unexpected at this time.". I provide the path to
ensure ant is in it:
Files My\j2sdk1.4.0_01\bin;C:\Program Files My\pache Software
Files My\OpnSSH\bin;C:\Program

Any feedback ?

Thanks in advance
View this message in context:
Sent from the ActiveMQ - User forum at

View raw message