[ 
https://issues.apache.org/jira/browse/CXF-7890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809823#comment-16809823
 ] 

Don Steinberg commented on CXF-7890:
------------------------------------

We are also seeing this issue randomly appear, with a similar stack trace, on 
various installations since January 2018.  At present we have encountered the 
problem on at least 6 different installations, both in-house and in production. 
 The installations where we have encountered the problem were all running fine 
for long periods of time before the problem was encountered.   No space issues 
were found.  We are running with CXF 3.1.10.  The application runs in JBoss EAP 
7.      

Example stack trace:

thrown exception, unwinding now: net.sf.ehcache.CacheException: 
java.io.FileNotFoundException: 
/tmp/cxf710474778/ws-security%002esaml%002ecache%002einstance-1932588703.data 
(No such file or directory)

        at 
net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:146)
 [ehcache-2.9.0.jar:2.9.0]

        at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:154) 
[ehcache-2.9.0.jar:2.9.0]

        at 
net.sf.ehcache.store.disk.DiskStore.createCacheStore(DiskStore.java:182) 
[ehcache-2.9.0.jar:2.9.0]

        at net.sf.ehcache.Cache.initialise(Cache.java:1199) 
[ehcache-2.9.0.jar:2.9.0]

        at 
net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1370) 
[ehcache-2.9.0.jar:2.9.0]

        at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1436) 
[ehcache-2.9.0.jar:2.9.0]

        at net.sf.ehcache.CacheManager.addCacheIfAbsent(CacheManager.java:1936) 
[ehcache-2.9.0.jar:2.9.0]

        at 
org.apache.wss4j.common.cache.EHCacheReplayCache.<init>(EHCacheReplayCache.java:54)
 [wss4j-ws-security-common-2.1.1.jar:2.1.1]

 

 

We have been working around the issue by disabling the ehcache by adding 
'-Dnet.sf.ehcache.disabled=true' to JAVA_OPTS when starting JBoss.  While this 
works, we would like to see this issue fixed if possible.

> net.sf.ehcache.CacheException: java.io.FileNotFoundException: 
> /tmp/cxf389712442/ws-security%002enonce%002ecache%002einstance-843441833.data 
> (No such file or directory)
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-7890
>                 URL: https://issues.apache.org/jira/browse/CXF-7890
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.1.14
>            Reporter: Fazith Mohamed
>            Priority: Major
>         Attachments: cxf-ehcache-issue_stack_trace.txt
>
>
> Hi,
> We are getting an exception in our production environment as 
> ws-security-enonce-ecache-einstance file is not found. This is happening only 
> in production and not in any other lower environments. Not able to figure out 
> the exact RC since it is happening only in Production.
> We have a ehcache.xml configuration for another service and its not mapped 
> with CXF. CXF is using its default cxf-ehache.xml only I believe.
>  
> I have attached the stack trace.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to