Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 27998 invoked from network); 29 Dec 2006 12:05:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2006 12:05:20 -0000 Received: (qmail 24970 invoked by uid 500); 29 Dec 2006 12:05:27 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 24755 invoked by uid 500); 29 Dec 2006 12:05:27 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 24746 invoked by uid 99); 29 Dec 2006 12:05:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 04:05:26 -0800 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 (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 04:05:16 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H0GTn-0008D4-SX for activemq-users@geronimo.apache.org; Fri, 29 Dec 2006 04:04:55 -0800 Message-ID: <8086540.post@talk.nabble.com> Date: Fri, 29 Dec 2006 04:04:55 -0800 (PST) From: mladzo To: activemq-users@geronimo.apache.org Subject: Address already in use exception MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mladen.bolic@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org While starting my Spring application i'm getting exception (i also changed port number to 61617 (also tried with 61618), but but i still get same exception): Allocate exception for servlet action org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverTransport' defined in class path resource [activemq.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.activemq.transport.TransportServerChannel org.activemq.transport.TransportServerChannelProvider.newInstance(org.activemq.io.WireFormat,java.lang.String) throws javax.jms.JMSException,java.net.URISyntaxException] threw exception; nested exception is javax.jms.JMSException: Bind to tcp://localhost:61616 failed: Address already in use: JVM_Bind org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.activemq.transport.TransportServerChannel org.activemq.transport.TransportServerChannelProvider.newInstance(org.activemq.io.WireFormat,java.lang.String) throws javax.jms.JMSException,java.net.URISyntaxException] threw exception; nested exception is javax.jms.JMSException: Bind to tcp://localhost:8081 failed: Address already in use: JVM_Bind javax.jms.JMSException: Bind to tcp://localhost:8081 failed: Address already in use: JVM_Bind at org.activemq.util.JMSExceptionHelper.newJMSException(JMSExceptionHelper.java:49) at org.activemq.transport.tcp.TcpTransportServerChannel.(TcpTransportServerChannel.java:79) at org.activemq.transport.tcp.TcpTransportServerChannelFactory.create(TcpTransportServerChannelFactory.java:43) at org.activemq.transport.TransportServerChannelProvider.create(TransportServerChannelProvider.java:45) at org.activemq.transport.TransportServerChannelProvider.newInstance(TransportServerChannelProvider.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) Anyone knows where there is the problem? -- View this message in context: http://www.nabble.com/Address-already-in-use-exception-tf2894353.html#a8086540 Sent from the ActiveMQ - User mailing list archive at Nabble.com.