Hi! 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 -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true -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 Foundation\incubator-activemq-4.0-RC3 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 see: http://incubator.apache.org/activemq/ 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: java.net.MalformedURLException: no protocol: Files] INFO JDBCPersistenceAdapter - Database driver recognized: [apache_derby_embedded_jdbc_driver] INFO JournalPersistenceAdapter - Journal Recovery Started from: Active Journal: using 5 x 20.0 Megs at: C:\Program Files My\Apache Software Foundation\activemq-data\journal INFO JournalPersistenceAdapter - Journal Recovered: 0 message(s) in transactions recovered. INFO TransportServerThreadSupport - Listening for connections at: tcp://Alicia:61616 WARN MulticastDiscoveryAgent - brokerName not set INFO TransportConnector - Connector default Started INFO TransportServerThreadSupport - Listening for connections at: tcp://Alicia:61613?wireFormat=stomp 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 activemq.bat 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 -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true -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" ACTIVEMQ_HOME: . ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IOException: javax.naming.NameNotFoundException: jmxrmi ERROR: java.lang.Exception: java.io.IOException: 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: CLASSPATH= "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\conf"; "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\activeio-core-3.0-beta2.jar"; "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\activemq-console-4.0-RC3.jar"; "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\activemq-core-4.0-RC3.jar"; "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\backport-util-concurrent-2.1.jar"; "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\commons-logging-1.0.3.jar"; "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\geronimo-j2ee-management_1.0_spec-1.0.jar"; "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\geronimo-jms_1.1_spec-1.0.jar"; "C:\Program Files My\Apache Software Foundation\incubator-activemq-4.0-RC3\lib\mx4j-2.1.1.jar" 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: Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files My\j2sdk1.4.0_01\bin;C:\Program Files My\pache Software Foundation\apache-ant-1.6.5\bin;C:\DevSuiteHome\jdk\jre\bin\classic;C:\DevSuiteHome\jdk\jre\bin;C:\DevSuteHome\jdk\jre\bin\client;C:\DevSuiteHome\jlib;C:\DevSuiteHome\bin;C:\DevSuiteHome\jre\1.1.8\bin;C:\Program Files My\OpnSSH\bin;C:\Program Files\QuickTime\QTSystem\;PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH Any feedback ? Thanks in advance -- View this message in context: http://www.nabble.com/Launching-ActiveMQ-t1534845.html#a4218862 Sent from the ActiveMQ - User forum at Nabble.com.
