Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E78CCF2C8 for ; Fri, 14 Nov 2014 16:23:43 +0000 (UTC) Received: (qmail 8917 invoked by uid 500); 14 Nov 2014 16:23:43 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 8869 invoked by uid 500); 14 Nov 2014 16:23:43 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 8857 invoked by uid 99); 14 Nov 2014 16:23:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2014 16:23:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daan.hoogland@gmail.com designates 209.85.223.176 as permitted sender) Received: from [209.85.223.176] (HELO mail-ie0-f176.google.com) (209.85.223.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2014 16:23:38 +0000 Received: by mail-ie0-f176.google.com with SMTP id rd18so18365970iec.35 for ; Fri, 14 Nov 2014 08:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=XpcSBPz6amJnnxdbFebIYiWEcwfRf+SJXGm2+ynz4JY=; b=I4tGzABcTOqvWEIleKKiCFZ8v9eZNlcWqniID+9PdggR33qnoPP1qBbSjlVDzpgnwU AVX7T5Yzu/STpu5BFbuQKLlV6mAepkQTZbeFq+UZ3yOOQ3KcWynvDRM5lcn5LeV3M1wA uncKh3d6/BtuBCguK1UZieXO+ZJx8NgreW0vLH9IawWH5RBgqSH6ijVkKItAYGnfgMe+ 0vilYJphCgFCOnHTYZOfm5lWqLRnezbeUaniIKJ7XW4D7gg+fWWiHnpgn/S7sRyomSqc nB2kB66jAO4HTDVlMdCwu6lSonJr6FI1Ce9fYQCFf2E5QwmX/4eCKp5rGLnFyS/VzbX+ ge6Q== X-Received: by 10.107.162.130 with SMTP id l124mr3523142ioe.54.1415982152915; Fri, 14 Nov 2014 08:22:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.8.94 with HTTP; Fri, 14 Nov 2014 08:22:12 -0800 (PST) In-Reply-To: References: From: Daan Hoogland Date: Fri, 14 Nov 2014 17:22:12 +0100 Message-ID: Subject: Re: [QUESTION]open ports or other sockets To: dev Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org fy, probably hundreds of you know this already but I thought I'd give the feedback anyhow. In the end I found [1] that showed me how to solve. The problem I had started due to upgrading to mocosx yosimite:( [1] http://stackoverflow.com/questions/18747134/getting-cant-assign-requested-address-java-net-socketexception-using-ehcache On Thu, Nov 13, 2014 at 7:51 PM, Daan Hoogland wrote: > H, > > I am debugging/trying to test 4.4 and found this > > INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Configuring > CloudStack Components > ERROR [n.s.e.d.MulticastRMICacheManagerPeerProvider] (main:null) Error > starting heartbeat. Error was: Can't assign requested address > java.net.SocketException: Can't assign requested address > at java.net.PlainDatagramSocketImpl.join(Native Method) > at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) > at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319) > at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:88) > at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:95) > at net.sf.ehcache.CacheManager.doInit(CacheManager.java:447) > at net.sf.ehcache.CacheManager.init(CacheManager.java:377) > at net.sf.ehcache.CacheManager.(CacheManager.java:259) > at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037) > at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:818) > at net.sf.ehcache.CacheManager.create(CacheManager.java:799) > at com.cloud.utils.db.GenericDaoBase.createCache(GenericDaoBase.java:1805) > at com.cloud.utils.db.GenericDaoBase.configure(GenericDaoBase.java:1825) > at com.cloud.storage.dao.VMTemplateDaoImpl.configure(VMTemplateDaoImpl.java:282) > > it mentions in a long stacktrace: Failed to start bean 'cloudStackLifeCycle'; > > and > > [ERROR] Nested in > org.springframework.context.ApplicationContextException: Failed to > start bean 'cloudStackLifeCycle'; nested exception is > net.sf.ehcache.CacheException: Can't assign requested address: > net.sf.ehcache.CacheException: Can't assign requested address > > It is not clear to me what address can't be assigned. > > I am running jetty and it is running and listenng on localhost 8080. > > Any clues? it seems to me that eh cache is loaded twice (from two > different beans?) but that is not a serious clue. Anything better? > > regards, > -- > Daan -- Daan