java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader)

Terracotta | rivendel | 9 years ago
  1. 0

    DSO Eclipse Application (Classloader name not set)

    Terracotta | 9 years ago | rivendel
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader)
  2. 0

    Shibboleth IdP 2.1 and Terracotta on Websphere

    Terracotta | 8 years ago | eitan
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader)
  3. 0

    We should create a much clearer error message when someone is getting hit by the named class loader problem. Would also be nice to create a clear error message when someone is clearly missing a container tim. 09:49:22.336 - ERROR [edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:85] - Error processing profile request java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.apache.catalina.loader.WebappClassLoader) at java.lang.ClassLoader.__tc_getClassLoaderName(ClassLoader.java) [na:1.6.0_07] at com.tc.object.loaders.StandardClassProvider.getName(StandardClassProvider.java:160) [na:na] at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:153) [na:na] at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:147) [na:na] at com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:60) [na:na] at com.tc.object.ClientObjectManagerImpl.getPortableObjects(ClientObjectManagerImpl.java:239) [na:na] at com.tc.object.Traverser.addReferencedObjects(Traverser.java:37) [na:na] at com.tc.object.Traverser.traverse(Traverser.java:81) [na:na] at com.tc.object.ClientObjectManagerImpl.addToManagedFromRoot(ClientObjectManagerImpl.java:944) [na:na] at com.tc.object.ClientObjectManagerImpl.create(ClientObjectManagerImpl.java:290) [na:na] at com.tc.object.ClientObjectManagerImpl.lookupOrCreateIfNecesary(ClientObjectManagerImpl.java:350) [na:na] at com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:323) [na:na] at com.tc.object.tx.ClientTransactionManagerImpl.logicalInvoke(ClientTransactionManagerImpl.java:807) [na:na] at com.tc.object.TCObjectLogical.logicalInvoke(TCObjectLogical.java:18) [na:na] at com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:253) [na:na] at com.tc.object.bytecode.ManagerUtil.logicalInvoke(ManagerUtil.java:251) [na:na] at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:439) [na:1.6.0_07] at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) [na:1.6.0_07] at edu.internet2.middleware.shibboleth.common.util.EventingMapBasedStorageService.put(EventingMapBasedStorageService.java:104) [shibboleth-common-1.1.2.jar:na] [...] I'm using a standard Apache Tomcat 5.5.27 (tar ball from tomcat.apache.org) with Java 1.6.0_07 on Debian/etch and the tim-module 2.3.1 installed as described on https://spaces.internet2.edu/display/SHIB2/IdPCluster . The client connection to the Terracotta server was successful. Any idea? Is anyone using TC 3.0.0 successfully with IdP 2.1? Where could I get a 2.7 version of TC? Patrik

    Terracotta Project Issue Tracker | 8 years ago | Steve Harris
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.apache.catalina.loader.WebappClassLoader)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We should create a much clearer error message when someone is getting hit by the named class loader problem. Would also be nice to create a clear error message when someone is clearly missing a container tim. 09:49:22.336 - ERROR [edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:85] - Error processing profile request java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.apache.catalina.loader.WebappClassLoader) at java.lang.ClassLoader.__tc_getClassLoaderName(ClassLoader.java) [na:1.6.0_07] at com.tc.object.loaders.StandardClassProvider.getName(StandardClassProvider.java:160) [na:na] at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:153) [na:na] at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:147) [na:na] at com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:60) [na:na] at com.tc.object.ClientObjectManagerImpl.getPortableObjects(ClientObjectManagerImpl.java:239) [na:na] at com.tc.object.Traverser.addReferencedObjects(Traverser.java:37) [na:na] at com.tc.object.Traverser.traverse(Traverser.java:81) [na:na] at com.tc.object.ClientObjectManagerImpl.addToManagedFromRoot(ClientObjectManagerImpl.java:944) [na:na] at com.tc.object.ClientObjectManagerImpl.create(ClientObjectManagerImpl.java:290) [na:na] at com.tc.object.ClientObjectManagerImpl.lookupOrCreateIfNecesary(ClientObjectManagerImpl.java:350) [na:na] at com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:323) [na:na] at com.tc.object.tx.ClientTransactionManagerImpl.logicalInvoke(ClientTransactionManagerImpl.java:807) [na:na] at com.tc.object.TCObjectLogical.logicalInvoke(TCObjectLogical.java:18) [na:na] at com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:253) [na:na] at com.tc.object.bytecode.ManagerUtil.logicalInvoke(ManagerUtil.java:251) [na:na] at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:439) [na:1.6.0_07] at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) [na:1.6.0_07] at edu.internet2.middleware.shibboleth.common.util.EventingMapBasedStorageService.put(EventingMapBasedStorageService.java:104) [shibboleth-common-1.1.2.jar:na] [...] I'm using a standard Apache Tomcat 5.5.27 (tar ball from tomcat.apache.org) with Java 1.6.0_07 on Debian/etch and the tim-module 2.3.1 installed as described on https://spaces.internet2.edu/display/SHIB2/IdPCluster . The client connection to the Terracotta server was successful. Any idea? Is anyone using TC 3.0.0 successfully with IdP 2.1? Where could I get a 2.7 version of TC? Patrik

    Terracotta Project Issue Tracker | 8 years ago | Steve Harris
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.apache.catalina.loader.WebappClassLoader)
  6. 0

    Terracotta client under Equinox

    Terracotta | 8 years ago | rocketraman
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader)

    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. java.lang.IllegalStateException

      Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader)

      at java.lang.ClassLoader.__tc_getClassLoaderName()
    2. Java RT
      ClassLoader.__tc_getClassLoaderName
      1. java.lang.ClassLoader.__tc_getClassLoaderName(Unknown Source)
      1 frame
    3. com.tc.object
      ManagerUtil.logicalInvoke
      1. com.tc.object.loaders.StandardClassProvider.getName(StandardClassProvider.java:67)
      2. com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:79)
      3. com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:74)
      4. com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:58)
      5. com.tc.object.ClientObjectManagerImpl.getPortableObjects(ClientObjectManagerImpl.java:238)
      6. com.tc.object.Traverser.addReferencedObjects(Traverser.java:37)
      7. com.tc.object.Traverser.traverse(Traverser.java:81)
      8. com.tc.object.ClientObjectManagerImpl.addToManagedFromRoot(ClientObjectManagerImpl.java:976)
      9. com.tc.object.ClientObjectManagerImpl.create(ClientObjectManagerImpl.java:335)
      10. com.tc.object.ClientObjectManagerImpl.lookupOrCreateIfNecesary(ClientObjectManagerImpl.java:399)
      11. com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:372)
      12. com.tc.object.tx.ClientTransactionManagerImpl.logicalInvoke(ClientTransactionManagerImpl.java:743)
      13. com.tc.object.TCObjectLogical.logicalInvoke(TCObjectLogical.java:20)
      14. com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:235)
      15. com.tc.object.bytecode.ManagerUtil.logicalInvoke(ManagerUtil.java:274)
      15 frames
    4. Java RT
      ConcurrentHashMap.put
      1. java.util.concurrent.ConcurrentHashMap$Segment.put(Unknown Source)
      2. java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
      2 frames
    5. tc_test1
      View$ViewContentProvider.getElements
      1. tc_test1.View$ViewContentProvider.getElements(View.java:42)
      1 frame
    6. JFace
      StructuredViewer.setInput
      1. org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:937)
      2. org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:693)
      3. org.eclipse.jface.viewers.AbstractTableViewer.getRawChildren(AbstractTableViewer.java:1071)
      4. org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:871)
      5. org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:994)
      6. org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:685)
      7. org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:633)
      8. org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:620)
      9. org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:576)
      10. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1368)
      11. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
      12. org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:574)
      13. org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:251)
      14. org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1606)
      14 frames
    7. tc_test1
      View.createPartControl
      1. tc_test1.View.createPartControl(View.java:73)
      1 frame
    8. Eclipse UI
      ViewPane.setVisible
      1. org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:370)
      2. org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227)
      3. org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
      4. org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
      5. org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
      5 frames
    9. Workbench
      TabbedStackPresentation.selectPart
      1. org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
      2. org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
      3. org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
      4. org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
      4 frames
    10. Eclipse UI
      WorkbenchWindow$23.run
      1. org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
      2. org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
      3. org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
      4. org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
      5. org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
      6. org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:564)
      7. org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:270)
      8. org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:931)
      9. org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2515)
      10. org.eclipse.ui.internal.WorkbenchWindow$23.run(WorkbenchWindow.java:2837)
      10 frames
    11. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      1 frame
    12. Eclipse UI
      StartupThreading$StartupRunnable.run
      1. org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2818)
      2. org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:735)
      3. org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1023)
      4. org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
      4 frames
    13. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
      4 frames
    14. Workbench
      WorkbenchAdvisor.openWindows
      1. org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
      1 frame
    15. Eclipse UI
      StartupThreading$StartupRunnable.run
      1. org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
      2. org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
      2 frames
    16. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
      1 frame
    17. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118)
      1 frame
    18. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
      1 frame
    19. Eclipse UI
      Workbench$4.run
      1. org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
      2. org.eclipse.ui.internal.Workbench.init(Workbench.java:1337)
      3. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2319)
      4. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
      5. org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
      5 frames
    20. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
      1 frame
    21. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
      1 frame
    22. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    23. tc_test1
      Application.start
      1. tc_test1.Application.start(Application.java:20)
      1 frame
    24. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
      1 frame
    25. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
      4 frames
    26. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    27. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1173)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1148)
      4 frames