Ehcache Error " No such device java.net.SocketException: No such device" when Starting UIM servers on Cluster. (Doc ID 2054323.1)

Last updated on NOVEMBER 08, 2016

Applies to:

Oracle Communications Unified Inventory Management - Version 7.2.3 and later
Information in this document applies to any platform.

Goal

Getting the below error message when starting the UIM Managed Servers after completion of UIM Installation in HA mode,

Errror:

<Sep 4, 2015 5:28:42 AM NZST> <Error> <net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider> <BEA-000000> <Error starting heartbeat. Error was: No such device

java.net.SocketException: No such device

                at java.net.PlainDatagramSocketImpl.join(Native Method)

                at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:181)

                at java.net.MulticastSocket.joinGroup(MulticastSocket.java:277)

                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:412)

                at net.sf.ehcache.CacheManager.init(CacheManager.java:358)

                at net.sf.ehcache.CacheManager.<init>(CacheManager.java:243)

                at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:985)

                at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:884)

                at oracle.communications.inventory.api.framework.cache.impl.InventoryCacheImpl.<init>(InventoryCacheImpl.java:49)

                at oracle.communications.inventory.api.framework.cache.impl.CacheManagerImpl.createCache(CacheManagerImpl.java:62)

                at oracle.communications.inventory.api.framework.cache.impl.CacheManagerImpl.<clinit>(CacheManagerImpl.java:39)

                at oracle.communications.inventory.api.framework.listener.ContextListener.contextInitialized(ContextListener.java:105)

                at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)

                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)


And below ADF FAces error message when you login to UIM UI and try to access any link:

<ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: OracleJSP error:
javax.el.ELException: java.lang.NullPointerException
at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:181)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:777)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.jsp.runtime.tree.OracleJspIncludeNode.execute(OracleJspIncludeNode.java:47)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
…..
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: javax.el.ELException: java.lang.NullPointerException
at javax.el.BeanELResolver.getValue(BeanELResolver.java:298)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
at org.apache.myfaces.trinidadinternal.taglib.ForEachTag.doStartTag(ForEachTag.java:117)
at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:43)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
………..
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3738)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3704)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NullPointerException
at oracle.communications.inventory.api.framework.cache.impl.InventoryCacheImpl.add(InventoryCacheImpl.java:76)
at oracle.communications.inventory.api.framework.cache.impl.CacheManagerImpl.add(CacheManagerImpl.java:94)
at oracle.communications.inventory.ui.framework.bean.InventoryHelperBean.addContentsToCache(InventoryHelperBean.java:349)
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms