Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 96726 invoked from network); 8 Jan 2010 11:08:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 11:08:44 -0000 Received: (qmail 21182 invoked by uid 500); 8 Jan 2010 11:08:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 21159 invoked by uid 500); 8 Jan 2010 11:08:44 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 21149 invoked by uid 99); 8 Jan 2010 11:08:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 11:08:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 11:08:33 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NTChQ-0001zU-6E for users@activemq.apache.org; Fri, 08 Jan 2010 03:08:12 -0800 Message-ID: <27074390.post@talk.nabble.com> Date: Fri, 8 Jan 2010 03:08:12 -0800 (PST) From: cmoulliard To: users@activemq.apache.org Subject: java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.ne t.BindException: Address already in use: JVM_Bind MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cmoulliard@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org I have deployed ActiveMQ 5.3 top of ServiceMix 4.1.0-SNAPSHOT and installed a activemq-broker.xml configuration file Here is my osgi bundle list [ 43] [Active ] [ ] [ ] [ 60] activemq-core (5.3.0) [ 44] [Active ] [ ] [ ] [ 60] activemq-ra (5.3.0) [ 45] [Active ] [ ] [ ] [ 60] activemq-console (5.3.0) [ 46] [Active ] [ ] [ ] [ 60] activemq-pool (5.3.0) [ 47] [Active ] [Created ] [ ] [ 60] Apache ServiceMix Features :: ActiveMQ Commands (4.1.0.SNAPSHOT) [ 59] [Active ] [ ] [ ] [ 60] activemq-broker.xml (0.0.0) To admin activemq, I have also deployed the activemq web console [ 84] [Active ] [ ] [ ] [ 60] mvn_org.apache.activemq_activemq-web-console_5.3.0_war (0) Unfortunately, the following error is reported in the log {code} karaf@root> 2010-01-08 11:24:47,062 [Thread-5 ] INFO ResourceXmlApplicationContext - Refreshing org.apache.xbean.spring.context.ResourceXmlApp licationContext@ff87dc: display name [org.apache.xbean.spring.context.ResourceXmlApplicationContext@ff87dc]; startup date [Fri Jan 08 11:24:47 CET 201 0]; parent: org.springframework.web.context.support.XmlWebApplicationContext@1930ebb 2010-01-08 11:24:47,093 [Thread-5 ] INFO XBeanXmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/a ctivemq.xml] 2010-01-08 11:24:49,718 [Thread-5 ] INFO ResourceXmlApplicationContext - Bean factory for application context [org.apache.xbean.spring.context .ResourceXmlApplicationContext@ff87dc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1a6ac39 2010-01-08 11:24:50,593 [Thread-5 ] INFO BrokerService - Using Persistence Adapter: AMQPersistenceAdapter(activemq-data\localh ost) 2010-01-08 11:24:50,593 [Thread-5 ] INFO AMQPersistenceAdapter - AMQStore starting using directory: activemq-data\localhost 2010-01-08 11:24:50,687 [Thread-5 ] INFO KahaStore - Kaha Store using data directory activemq-data\localhost\kr-store\stat e 2010-01-08 11:24:50,843 [Thread-5 ] INFO AMQPersistenceAdapter - Active data files: [] 2010-01-08 11:24:51,046 [Thread-5 ] INFO BrokerService - ActiveMQ null JMS Message Broker (localhost) is starting 2010-01-08 11:24:51,046 [Thread-5 ] INFO BrokerService - For help or more information please see: http://activemq.apache.org/ 2010-01-08 11:24:51,328 [Thread-5 ] INFO KahaStore - Kaha Store using data directory activemq-data\localhost\kr-store\data 2010-01-08 11:24:51,906 [JMX connector ] INFO ManagementContext - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:1 099/jmxrmi 2010-01-08 11:24:51,984 [Thread-5 ] INFO TransportServerThreadSupport - Listening for connections at: tcp://localhost:61616 2010-01-08 11:24:52,000 [Thread-5 ] INFO TransportConnector - Connector openwire Started 2010-01-08 11:24:52,031 [Thread-5 ] INFO TransportServerThreadSupport - Listening for connections at: stomp://localhost:61613 2010-01-08 11:24:52,031 [Thread-5 ] INFO TransportConnector - Connector stomp Started 2010-01-08 11:24:52,109 [Thread-5 ] INFO TransportServerThreadSupport - Listening for connections at: xmpp://localhost:61222 2010-01-08 11:24:52,109 [Thread-5 ] INFO TransportConnector - Connector xmpp Started 2010-01-08 11:24:52,109 [Thread-5 ] INFO NetworkConnector - Network Connector defaultNetwork Started 2010-01-08 11:24:52,109 [Thread-5 ] INFO BrokerService - ActiveMQ JMS Message Broker (localhost, ID:dell-charles-3782-12629462 91109-0:0) started 2010-01-08 11:24:52,171 [Thread-5 ] INFO TransportConnector - Connector vm://localhost Started 2010-01-08 11:24:52,750 [Thread-5 ] INFO WebConsoleStarter - ActiveMQ WebConsole initialized. Exception in thread "SpringOsgiExtenderThread-2" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.ac tivemq.xbean.XBeanBrokerService#0' defined in URL [bundle://59.0:0/META-INF/spring/activemq-broker.xml]: Invocation of init method failed; nested exce ption is java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.ne t.BindException: Address already in use: JVM_Bind QUESTION : The war file of activemq-console contains in the folder WEB-INF, an activemq.xml file. Is it this file which is in conflict with the activemq-broker.xml files and responsible of this error ? If I remove this file from the WAR, can the activemq web console work ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer ***************************** blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm ----- Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/java.io.IOException%3A-Transport-Connector-could-not-be-registered-in-JMX%3A-Failed-to-bind-to-server-socket%3A-tcp%3A--0.0.0.0%3A61616-due-to%3A-java.ne-t.BindException%3A-Address-already-in-use%3A-JVM_Bind-tp27074390p27074390.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.