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"

Terracotta | fabiomat | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re:No TransactionManager located!

    Terracotta | 5 years ago | fabiomat
    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"

    Root Cause Analysis

    1. 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()
    2. Ehcache
      TransactionalRMICachePeer.getKeys
      1. net.sf.ehcache.util.CacheTransactionHelper.isTransactionStarted(CacheTransactionHelper.java:124)
      2. net.sf.ehcache.distribution.TransactionalRMICachePeer.getKeys(TransactionalRMICachePeer.java:57)
      2 frames
    3. Java RT
      UnicastServerRef.dispatch
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
      5 frames
    4. sun.rmi
      transport.Transportrun
      1. sun.rmi.transport.Transportrun(Transport.java:171)
      1 frame
    5. Java RT
      UnicastRef.invoke
      1. java.security.AccessController.doPrivileged(AccessController.java:284)
      2. sun.rmi.transport.Transport.serviceCall(Transport.java:167)
      3. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
      4. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
      5. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      8. java.lang.Thread.run(Thread.java:736)
      9. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:267)
      10. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:245)
      11. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:154)
      11 frames
    6. Ehcache
      RMIBootstrapCacheLoader$BootstrapThread.run
      1. net.sf.ehcache.distribution.RMIBootstrapCacheLoader.doLoad(RMIBootstrapCacheLoader.java:146)
      2. net.sf.ehcache.distribution.RMIBootstrapCacheLoader$BootstrapThread.run(RMIBootstrapCacheLoader.java:107)
      2 frames