java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: java.net.URLClassLoader)

Terracotta | hbfoot | 9 years ago
  1. 0

    Classloader name not set for URLClassLoader

    Terracotta | 9 years ago | hbfoot
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: java.net.URLClassLoader)
  2. 0

    NullPointerException when deploy

    terracotta.org | 1 year ago
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: org.apache.catalina.loader.WebappClassLoader)
  3. 0

    Using WebLogic 8.1 --->java.lang.IllegalStateException: Classloader name not set

    terracotta.org | 1 year ago
    java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: weblogic. utils.classloaders.GenericClassLoader)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with classloader on JBoss 5.1.0.GA

    terracotta.org | 11 months ago
    java.lang.IllegalStateException: This classloader instance has not been registered (loader class:org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader). The correct Terracotta Integration Module (TIM) may be missing from this installation of Terracotta, or an unsupported platform is being used. See the current list of supported platforms at TIMs are required to integrate Terracotta with web containers, frameworks, and other technologies. For example, to integrate Apache Tomcat 5.5 with Terracotta on UNIX/Linux, install the correct TIM by entering the following command from the Terracotta installation root directory: [PROMPT] bin/tim-get.sh install tim-tomcat-5.5 On Microsoft Windows, enter: [PROMPT] bin/tim-get.bat install tim-tomcat-5.5 You must also add the TIM to the Terracotta configuration file (tc-config.xml by default) by adding its name and version number using a <module> element: <modules> <module name="tim-tomcat-5.5" version="1.0.0-SNAPSHOT" /> <module name="tim-another-one" version="1.2.3" /> ... </modules> For more information, see
  6. 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)

    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: java.net.URLClassLoader)

      at java.lang.ClassLoader.__tc_getClassLoaderName()
    2. Java RT
      ClassLoader.__tc_getClassLoaderName
      1. java.lang.ClassLoader.__tc_getClassLoaderName(ClassLoader.java)
      1 frame
    3. com.tc.object
      ManagerUtil.lookupOrCreateRoot
      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:56)
      5. com.tc.object.ClientObjectManagerImpl.getPortableObjects(ClientObjectManagerImpl.java:216)
      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:895)
      9. com.tc.object.ClientObjectManagerImpl.create(ClientObjectManagerImpl.java:278)
      10. com.tc.object.ClientObjectManagerImpl.lookupOrCreateIfNecesary(ClientObjectManagerImpl.java:342)
      11. com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:320)
      12. com.tc.object.ClientObjectManagerImpl.lookupRootOptionallyCreateOrReplace(ClientObjectManagerImpl.java:822)
      13. com.tc.object.ClientObjectManagerImpl.lookupOrCreateRoot(ClientObjectManagerImpl.java:615)
      14. com.tc.object.ClientObjectManagerImpl.lookupOrCreateRoot(ClientObjectManagerImpl.java:598)
      15. com.tc.object.bytecode.ManagerImpl.lookupOrCreateRoot(ManagerImpl.java:287)
      16. com.tc.object.bytecode.ManagerImpl.lookupOrCreateRoot(ManagerImpl.java:266)
      17. com.tc.object.bytecode.ManagerUtil.lookupOrCreateRoot(ManagerUtil.java:130)
      17 frames
    4. com.pav.pdas
      PDASAccessorFactory.__tc_setpdasAccessor
      1. com.pav.pdas.service.PDASAccessorFactory.__tc_setpdasAccessor(PDASAccessorFactory.java)
      1 frame