[ https://issues.apache.org/jira/browse/CXF-7576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16275012#comment-16275012 ]
Soumya Panda commented on CXF-7576: ----------------------------------- Also checked the other issue https://issues.apache.org/jira/browse/CXF-5766 and it does not seem to be related in my case as I was able to manually create file with same name under /tmp directory [websphe@alpv0426]/tmp> cd /tmp/ [websphe@alpv0426]/tmp> mkdir cxf745201861 [websphe@alpv0426]/tmp> cd cxf745201861 [websphe@alpv0426]/tmp/cxf745201861> touch ws-security%002enonce%002ecache%002einstance-1663277296.data > ws-security enonce ecache einstance data not found > -------------------------------------------------- > > Key: CXF-7576 > URL: https://issues.apache.org/jira/browse/CXF-7576 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 3.1.6 > Reporter: Soumya Panda > > _Hi Team, > We are seeing a weird issue. It was working fine and nothing change but now > it started failing with below error : > _ > _{color:red}net.sf.ehcache.CacheException: java.io.FileNotFoundException: > /tmp/cxf745201861/ws-security%002enonce%002ecache%002einstance- > {color}_1663277296.data (No such file or directory) > at > net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:146) > at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:154) > at > net.sf.ehcache.store.disk.DiskStore.createCacheStore(DiskStore.java:182) > at net.sf.ehcache.Cache.initialise(Cache.java:1199) > at > net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1370) > at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1436) > at > net.sf.ehcache.CacheManager.addCacheIfAbsent(CacheManager.java:1936) > at > org.apache.wss4j.common.cache.EHCacheReplayCache.<init>(EHCacheReplayCache.java:54) > at > org.apache.cxf.ws.security.cache.CXFEHCacheReplayCache.<init>(CXFEHCacheReplayCache.java:37) > at > org.apache.cxf.ws.security.wss4j.WSS4JUtils.getReplayCache(WSS4JUtils.java:124) > at > org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.getReplayCache(WSS4JInInterceptor.java:776) > at > org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.configureReplayCaches(WSS4JInInterceptor.java:413) > at > org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessageInternal(WSS4JInInterceptor.java:249) > at > org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:184) > at > com.sbc.cc.clarify.api.util.cxf.interceptors.security.WebInInterceptor.handleMessage(WebInInterceptor.java:60) > at > com.sbc.cc.clarify.api.util.cxf.interceptors.security.WebInInterceptor.handleMessage(WebInInterceptor.java:19) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251) > at > org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:234) > at > org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1129) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1065) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > at org.eclipse.jetty.server.Server.handle(Server.java:499) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) > at > org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) > at java.lang.Thread.run(Thread.java:798) > _{color:red}Caused by: > java.io.FileNotFoundException: > /tmp/cxf745201861/ws-security%002enonce%002ecache%002einstance-1663277296.data > (No such file or directory){color}_ > at java.io.RandomAccessFile.open(Native Method) > at java.io.RandomAccessFile.<init>(RandomAccessFile.java:253) > at > net.sf.ehcache.store.disk.DiskStorageFactory.allocateRandomAccessFiles(DiskStorageFactory.java:207) > at > net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:144) > ... 32 more -- This message was sent by Atlassian JIRA (v6.4.14#64029)