ahh.. thanks for sharing it.
I faced this during mavericks upgrade as well.

I have this in my .bashrc
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m
-Djava.net.preferIPv4Stack=true "

~Rajani

On Fri, Nov 14, 2014 at 9:52 PM, Daan Hoogland <daan.hoogl...@gmail.com>
wrote:

> 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 <daan.hoogl...@gmail.com>
> 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.<init>(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
>

Reply via email to