Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FDFB11EF7 for ; Mon, 12 May 2014 18:40:14 +0000 (UTC) Received: (qmail 62766 invoked by uid 500); 12 May 2014 17:38:13 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 62725 invoked by uid 500); 12 May 2014 17:38:13 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 62717 invoked by uid 99); 12 May 2014 17:38:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 17:38:13 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.213.45] (HELO mail-yh0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 17:38:08 +0000 Received: by mail-yh0-f45.google.com with SMTP id b6so6624391yha.18 for ; Mon, 12 May 2014 10:37:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=BjQ08oOfzKBgxDYiXefDKbSRXxhJ1e+gTfFzw9y9TX8=; b=XaUT6U2/CpSBQZXG8mg5uYHL/y+4hEvLciATbPG3TYLSPHM0cj4jqG5DO0lA63TEe/ HGQAVq4OMBJHoltxcntWTFzejexehFkZflQZGbiWAFNAYsr17WuEhoWMdXdAiQPIG760 HLkHvyu0/VshqNvf2z5Tob+l3h7BIZZsY+R49reJp7xZbehNH1raMHHBheixUDTdsHLY NbzwZQ1fWSzh70hxuQoxgffxRFjYWghcP2Q7oH6H5+EP7//5klVbfdYDKgBbyeasuQOo 3DzZqbsCJtJRggpvDSPGdxHrmrWY+qZb3c4/1yxjnW7NVtu7tyeW76S50gghcnuJrpRs vQ3A== X-Gm-Message-State: ALoCoQkxGfho/QmNe4r7391WAfnU1YOg63c/0F2fSScyCKXZ2RFE6DZhLX0kGAh/nS4UaIv8J6ea MIME-Version: 1.0 X-Received: by 10.236.126.43 with SMTP id a31mr44079786yhi.154.1399916266566; Mon, 12 May 2014 10:37:46 -0700 (PDT) Received: by 10.170.116.197 with HTTP; Mon, 12 May 2014 10:37:46 -0700 (PDT) X-Originating-IP: [82.9.64.221] In-Reply-To: References: <1399889016260-5751019.post@n5.nabble.com> Date: Mon, 12 May 2014 18:37:46 +0100 Message-ID: Subject: Re: activemq exception From: Jeremy Gooch To: users@camel.apache.org Content-Type: multipart/alternative; boundary=20cf3005de66c93ecf04f93767fe X-Virus-Checked: Checked by ClamAV on apache.org --20cf3005de66c93ecf04f93767fe Content-Type: text/plain; charset=UTF-8 I saw something similar - as per my post on Stack Overflow: http://stackoverflow.com/questions/19365009/activemq-remote-connections-refused-despite-0-0-0-0-in-broker-url We had the *activemq-web-console* feature enabled, and it was launching its own ActiveMQ broker, meaning the one we wanted to use was then failing to start, possibly as per your "Address already in use" message. J. On Mon, May 12, 2014 at 3:43 PM, Reji Mathews wrote: > Make sure no other ActiveMQ instance is running. > > Once I had this strange error too. I got this error when I started my > FuseIDE first and then tried to start jboss fuse. Am still wondering why it > happened so. > > Can u reboot ur system and start jboss fuse first. After that u try opening > other development tools. > > Reji > On 12/05/2014 6:05 pm, "komal bhola" wrote: > > > Hi I am getting following exception while starting activemq. > > > > 15:27:06,185 | INFO | veMQ Broker: amq | KahaDBStore > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Stopping > > async queue tasks^M > > 15:27:06,185 | INFO | veMQ Broker: amq | KahaDBStore > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Stopping > > async topic tasks^M > > 15:27:06,185 | DEBUG | veMQ Broker: amq | ThreadPoolUtils > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Forcing > > shutdown of ExecutorService: > > org.apache.activemq.store.kahadb.KahaDBStore$StoreTaskExecutor@16a71e9^M > > 15:27:06,185 | DEBUG | veMQ Broker: amq | ThreadPoolUtils > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Forcing > > shutdown of ExecutorService: > > org.apache.activemq.store.kahadb.KahaDBStore$StoreTaskExecutor@15c977f^M > > 15:27:06,185 | INFO | veMQ Broker: amq | KahaDBStore > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Stopped > > KahaDB^M > > 15:27:06,185 | DEBUG | veMQ Broker: amq | MessageDatabase > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Checkpoint > > started.^M > > 15:27:06,350 | DEBUG | veMQ Broker: amq | MessageDatabase > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Checkpoint > > done.^M > > 15:27:06,664 | DEBUG | veMQ Broker: amq | ManagementContext > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | > > Unregistering > > MBean > > > > > org.apache.activemq:type=Broker,brokerName=amq,Service=PersistenceAdapter,InstanceName=KahaDBPersistenceAdapter[D_\jboss-fuse-6.0.0.redhat-024\jboss-fuse-6.0.0.redhat-024\data\amq\kahadb]^M > > 15:27:06,667 | DEBUG | veMQ Broker: amq | ManagementContext > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | > > Unregistering > > MBean org.apache.activemq:type=Broker,brokerName=amq,service=Health^M > > 15:27:06,667 | DEBUG | veMQ Broker: amq | ManagementContext > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | > > Unregistering > > MBean org.apache.activemq:type=Broker,brokerName=amq^M > > 15:27:06,668 | DEBUG | veMQ Broker: amq | ThreadPoolUtils > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Forcing > > shutdown of ExecutorService: > > java.util.concurrent.ThreadPoolExecutor@b5b633^M > > 15:27:06,668 | INFO | veMQ Broker: amq | BrokerService > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Apache > > ActiveMQ 5.8.0.redhat-60024 (amq, ID:LTB0080116-64159-1399888241191-0:51) > > uptime 1.102 seconds^M > > 15:27:06,669 | INFO | veMQ Broker: amq | BrokerService > > | > > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Apache > > ActiveMQ 5.8.0.redhat-60024 (amq, ID:LTB0080116-64159-1399888241191-0:51) > > is > > shutdown^M > > 15:27:06,669 | INFO | veMQ Broker: amq | ActiveMQServiceFactory > > | > > 128 - org.jboss.amq.mq-fabric - 6.0.0.redhat-024 | Broker amq failed to > > start. Will try again in 10 seconds^M > > 15:27:06,670 | INFO | veMQ Broker: amq | ActiveMQServiceFactory > > | > > 128 - org.jboss.amq.mq-fabric - 6.0.0.redhat-024 | Exception on start: > > java.io.IOException: Transport Connector could not be registered in JMX: > > Failed to bind to server socket: tcp:// > > 0.0.0.0:61616?maximumConnections=1000 > > due to: java.net.BindException: Address already in use: JVM_Bind^M > > java.io.IOException: Transport Connector could not be registered in JMX: > > Failed to bind to server socket: tcp:// > > 0.0.0.0:61616?maximumConnections=1000 > > due to: java.net.BindException: Address already in use: JVM_Bind^M > > at > > > > > org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1972)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2434)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2351)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:655)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:618)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.BrokerService.start(BrokerService.java:554)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:307)[128:org.jboss.amq.mq-fabric:6.0.0.redhat-024]^M > > Caused by: java.io.IOException: Failed to bind to server socket: > > tcp://0.0.0.0:61616?maximumConnections=1000 due to: > > java.net.BindException: > > Address already in use: JVM_Bind^M > > at > > > > > org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:307)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:139)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:106)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > at > > > > > org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1967)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > ... 6 more^M > > Caused by: java.net.BindException: Address already in use: JVM_Bind^M > > at java.net.PlainSocketImpl.socketBind(Native > Method)[:1.6.0_43]^M > > at > > java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)[:1.6.0_43]^M > > at java.net.ServerSocket.bind(ServerSocket.java:328)[:1.6.0_43]^M > > at > java.net.ServerSocket.(ServerSocket.java:194)[:1.6.0_43]^M > > at > > > > > javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)[:1.6]^M > > at > > > > > org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:132)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M > > ... 12 more^M > > 15:27:08,346 | DEBUG | veMQ Broker: amq | StandardEnvironment > > | > > 109 - org.springframework.core - 3.1.3.RELEASE | Initializing new > > StandardEnvironment^M > > 15:27:08,347 | DEBUG | veMQ Broker: amq | StandardEnvironment > > | > > 109 - org.springframework.core - 3.1.3.RELEASE | Adding > [systemProperties] > > PropertySource with lowest search precedence^M > > 15:27:08,348 | DEBUG | veMQ Broker: amq | StandardEnvironment > > | > > 109 - org.springframework.core - 3.1.3.RELEASE | Adding > [systemEnvironment] > > PropertySource with lowest search precedence^M > > > > > > > > please help!! > > > > > > > > -- > > View this message in context: > > http://camel.465427.n5.nabble.com/activemq-exception-tp5751019.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > --20cf3005de66c93ecf04f93767fe--