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
  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"
  2. 0

    Re:No TransactionManager located!

    Terracotta | 5 years ago | kelkarp
    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 net.sf.ehcache.transaction.manager.WebsphereTransactionManagerLookup$WebsphereTransactionManager with modifiers "public"
  3. 0

    Hibernate Second Level Cache & JUnit

    Stack Overflow | 3 years ago | Luigi Saggese
    net.sf.ehcache.CacheException: Another CacheManager with same name 'cacheTest' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Configuration issue with JPA ConfigClass

    Stack Overflow | 3 years ago | Harley Jackson
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configureEntityManagerFactory' defined in class org.deloitte.cms.eua.config.JpaConfig: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  6. 0

    When running PRD, I am getting this exception. This exception started happening after upgrade of ehcache-core 2.0.5 to 2.1.5: 2012-12-14 10:27:06,969 [ 26844] INFO - org.pentaho.reporting.libraries.base.util.ObjectUtilities - Specified class org.pentaho.reporting.engine.classic.core.cache.EhCacheDataCache failed to instantiate correctly. net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ] at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:457) at net.sf.ehcache.CacheManager.init(CacheManager.java:354) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:339) at org.pentaho.reporting.engine.classic.core.cache.EhCacheDataCache.<init>(EhCacheDataCache.java:64) at org.pentaho.reporting.engine.classic.core.cache.EhCacheDataCache.<init>(EhCacheDataCache.java:49) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.engine.classic.core.cache.DataCacheFactory.getCache(DataCacheFactory.java:26) at org.pentaho.reporting.designer.core.actions.global.ClearDataCacheAction.<init>(ClearDataCacheAction.java:39) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.designer.core.xul.ActionSwingMenuitem.setAction(ActionSwingMenuitem.java:237) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789) at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684) at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729) at org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:219) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:149) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156) at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:70) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:119) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:244) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:222) at org.pentaho.reporting.designer.core.xul.XulDesignerFrame.<init>(XulDesignerFrame.java:66) at org.pentaho.reporting.designer.core.DefaultReportDesignerContext.<init>(DefaultReportDesignerContext.java:115) at org.pentaho.reporting.designer.core.ReportDesignerFrame.<init>(ReportDesignerFrame.java:1021) at org.pentaho.reporting.designer.core.ReportDesigner$CreateReportDesignerFrame.run(ReportDesigner.java:117) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:663) at java.awt.EventQueue$2.run(EventQueue.java:661) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:672) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)

    Pentaho BI Platform Tracking | 4 years ago | Sulaiman Karmali
    net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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