net.sf.ehcache.distribution.RemoteCacheException

Error bootstrapping from remote peer. Message was: error checking if transaction started: java.lang.IllegalAccessException: Class net.sf.ehcache.util.CacheTransactionHelper can not access a member of class com.x.cache.provider.ehcache.WebsphereTransactionManagerLookup$WebsphereTransactionManager with modifiers "public"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Terracotta by fabiomat, 11 months ago
    Error bootstrapping from remote peer. Message was: error checking if transaction started: java.lang.IllegalAccessException: Class net.sf.ehcache.util.CacheTransactionHelper can not access a member of class com.x.cache.provider.ehcache.WebsphereTransactionManagerLookup$WebsphereTransactionManager with modifiers "public"
  • via Terracotta Project Issue Tracker by Andrey Adamovich, 1 year ago
    Error bootstrapping from remote peer. Message was: null
  • via Terracotta Project Issue Tracker by Andrey Adamovich, 1 year ago
    Error bootstrapping from remote peer. Message was: null
  • Stack trace

    • net.sf.ehcache.distribution.RemoteCacheException: Error bootstrapping from remote peer. Message was: error checking if transaction started: java.lang.IllegalAccessException: Class net.sf.ehcache.util.CacheTransactionHelper can not access a member of class com.x.cache.provider.ehcache.WebsphereTransactionManagerLookup$WebsphereTransactionManager with modifiers "public" at net.sf.ehcache.distribution.RMIBootstrapCacheLoader.doLoad(RMIBootstrapCacheLoader.java:176) at net.sf.ehcache.distribution.RMIBootstrapCacheLoader$BootstrapThread.run(RMIBootstrapCacheLoader.java:107) Caused by: net.sf.ehcache.CacheException: error checking if transaction started: java.lang.IllegalAccessException: Class net.sf.ehcache.util.CacheTransactionHelper can not access a member of class com.x.cache.provider.ehcache.WebsphereTransactionManagerLookup$WebsphereTransactionManager with modifiers "public" at net.sf.ehcache.util.CacheTransactionHelper.isTransactionStarted(CacheTransactionHelper.java:124) at net.sf.ehcache.distribution.TransactionalRMICachePeer.getKeys(TransactionalRMICachePeer.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transportrun(Transport.java:171) at java.security.AccessController.doPrivileged(AccessController.java:284) at sun.rmi.transport.Transport.serviceCall(Transport.java:167) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:267) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:245) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:154) at net.sf.ehcache.distribution.RMIBootstrapCacheLoader.doLoad(RMIBootstrapCacheLoader.java:146) ... 1 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.