java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Steve Harris,
  • 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
    via by Steve Harris,
  • Terracotta client under Equinox
    via by rocketraman,
  • Problem with classloader on JBoss 5.1.0.GA
    via by Unknown author,
  • Problem with classloader on JBoss 5.1.0.GA
    via by dlukow,
    • 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(ClassLoader.java) at com.tc.object.loaders.StandardClassProvider.getName(StandardClassProvider.java:67) at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:79) at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:74) at com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:59) at com.tc.object.ClientObjectManagerImpl.getPortableObjects(ClientObjectManagerImpl.java:219) at com.tc.object.Traverser.addReferencedObjects(Traverser.java:37) at com.tc.object.Traverser.traverse(Traverser.java:89) at com.tc.object.ClientObjectManagerImpl.addToManagedFromRoot(ClientObjectManagerImpl.java:910) at com.tc.object.ClientObjectManagerImpl.create(ClientObjectManagerImpl.java:267) at com.tc.object.ClientObjectManagerImpl.lookupOrCreateIfNecesary(ClientObjectManagerImpl.java:331) at com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:304) at com.tc.object.tx.ClientTransactionManagerImpl.logicalInvoke(ClientTransactionManagerImpl.java:746) at com.tc.object.TCObjectLogical.logicalInvoke(TCObjectLogical.java:20) at com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:229) at com.tc.object.bytecode.ManagerUtil.logicalInvoke(ManagerUtil.java:247) at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:445) at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) at edu.internet2.middleware.shibboleth.common.util.EventingMapBasedStorageService.put(EventingMapBasedStorageService.java:104)
    No Bugmate found.