Getting java.net.SocketException: No such device error when deploying a camel-cache route

Solution In Progress - Updated -

Issue

When we tried to deploy a camel-cache route we were getting following error:

15:04:49,019 | WARN  | xtenderThread-48 | CacheManager                     | 186 - org.apache.servicemix.bundles.ehcache - 2.5.1.1 | Creating a new instance of CacheManager using 
the diskStorePath "/tmp" which is already used by an existing CacheManager. The source of the configuration was InputStreamConfigurationSource 
[stream=org.apache.felix.framework.util.WeakZipFileFactory$WeakZipFile$WeakZipInputStream@51b490b4]. The diskStore path for this CacheManager will be set to 
/tmp/ehcache_auto_created_1391958289019. To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a 
separate ehcache configuration (ehcache.xml) for each CacheManager instance.
15:04:49,025 | ERROR | xtenderThread-48 | icastRMICacheManagerPeerProvider | 186 - org.apache.servicemix.bundles.ehcache - 2.5.1.1 | Error starting heartbeat. Error was: No such device
java.net.SocketException: No such device
        at java.net.PlainDatagramSocketImpl.join(Native Method)[:1.7.0_25]
        at java.net.AbstractPlainDatagramSocketImpl.join(Unknown Source)[:1.7.0_25]
        at java.net.MulticastSocket.joinGroup(Unknown Source)[:1.7.0_25]
        at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:88)[186:org.apache.servicemix.bundles.ehcache:2.5.1.1]
        at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:95)[186:org.apache.servicemix.bundles.ehcache:2.5.1.1]
        at net.sf.ehcache.CacheManager.doInit(CacheManager.java:411)[186:org.apache.servicemix.bundles.ehcache:2.5.1.1]
        at net.sf.ehcache.CacheManager.init(CacheManager.java:357)[186:org.apache.servicemix.bundles.ehcache:2.5.1.1]
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:242)[186:org.apache.servicemix.bundles.ehcache:2.5.1.1]
        at net.sf.ehcache.CacheManager.create(CacheManager.java:853)[186:org.apache.servicemix.bundles.ehcache:2.5.1.1]
        at net.sf.ehcache.CacheManager.create(CacheManager.java:817)[186:org.apache.servicemix.bundles.ehcache:2.5.1.1]
        at org.apache.camel.component.cache.DefaultCacheManagerFactory.createCacheManagerInstance(DefaultCacheManagerFactory.java:25)[286:org.apache.camel.camel-cache:210.0.redhat-60024]

We did not configure EHCache ourselves so everything was default.

Environment

  • Red Hat JBoss Fuse 6.0
  • RHEL 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.