You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Scott <li...@hotmail.com> on 2011/07/14 17:48:20 UTC

Fail to start activemq broker

Hi,

I can't start activemq broker properly, it always start and stop at half
way. Here is activemq.log 

2011-07-14 23:39:40,965 | INFO  | Refreshing
org.apache.activemq.xbean.XBeanBrokerFactory$1@70453807: startup date [Thu
Jul 14 23:39:40 SGT 2011]; root of context hierarchy |
org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
2011-07-14 23:39:42,009 | WARN  | destroyApplicationContextOnStop parameter
is deprecated, please use shutdown hooks instead |
org.apache.activemq.xbean.XBeanBrokerService | main
2011-07-14 23:39:42,015 | INFO  |
PListStore:C:\Activemq-5.5.0\bin\..\data\localhost\tmp_storage started |
org.apache.activemq.store.kahadb.plist.PListStore | main
2011-07-14 23:39:42,104 | INFO  | Using Persistence Adapter:
JDBCPersistenceAdapter(org.apache.commons.dbcp.BasicDataSource@52639bf1) |
org.apache.activemq.broker.BrokerService | main
2011-07-14 23:39:42,203 | WARN  | Failed to start jmx connector: Cannot bind
to URL [rmi://localhost:1099/jmxrmi]:
javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is
java.rmi.AlreadyBoundException: jmxrmi] |
org.apache.activemq.broker.jmx.ManagementContext | JMX connector
2011-07-14 23:39:42,768 | INFO  | Database adapter driver override
recognized for : [microsoft_sql_server_2005_jdbc_driver] - adapter: class
org.apache.activemq.store.jdbc.adapter.TransactJDBCAdapter |
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | main

what will be the possible issue? Any help will be appreciated.

--
View this message in context: http://activemq.2283324.n4.nabble.com/Fail-to-start-activemq-broker-tp3667963p3667963.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: Fail to start activemq broker

Posted by Dejan Bosanac <de...@nighttale.net>.
Maybe the broker can't create a connection to the database?
Also, as you can see from the logs there's some other app taking JMX 1099
port.


Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Jul 14, 2011 at 5:48 PM, Scott <li...@hotmail.com> wrote:

> Hi,
>
> I can't start activemq broker properly, it always start and stop at half
> way. Here is activemq.log
>
> 2011-07-14 23:39:40,965 | INFO  | Refreshing
> org.apache.activemq.xbean.XBeanBrokerFactory$1@70453807: startup date [Thu
> Jul 14 23:39:40 SGT 2011]; root of context hierarchy |
> org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
> 2011-07-14 23:39:42,009 | WARN  | destroyApplicationContextOnStop parameter
> is deprecated, please use shutdown hooks instead |
> org.apache.activemq.xbean.XBeanBrokerService | main
> 2011-07-14 23:39:42,015 | INFO  |
> PListStore:C:\Activemq-5.5.0\bin\..\data\localhost\tmp_storage started |
> org.apache.activemq.store.kahadb.plist.PListStore | main
> 2011-07-14 23:39:42,104 | INFO  | Using Persistence Adapter:
> JDBCPersistenceAdapter(org.apache.commons.dbcp.BasicDataSource@52639bf1) |
> org.apache.activemq.broker.BrokerService | main
> 2011-07-14 23:39:42,203 | WARN  | Failed to start jmx connector: Cannot
> bind
> to URL [rmi://localhost:1099/jmxrmi]:
> javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is
> java.rmi.AlreadyBoundException: jmxrmi] |
> org.apache.activemq.broker.jmx.ManagementContext | JMX connector
> 2011-07-14 23:39:42,768 | INFO  | Database adapter driver override
> recognized for : [microsoft_sql_server_2005_jdbc_driver] - adapter: class
> org.apache.activemq.store.jdbc.adapter.TransactJDBCAdapter |
> org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | main
>
> what will be the possible issue? Any help will be appreciated.
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Fail-to-start-activemq-broker-tp3667963p3667963.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>