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.

  • Problem with classloader on JBoss 5.1.0.GA
    via by Unknown author,
  • 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,
  • Problem with classloader on JBoss 5.1.0.GA
    via by dlukow,
  • Terracotta client under Equinox
    via by rocketraman,
    • java.lang.IllegalStateException: Classloader name not set, instances defined from this loader not supported in Terracotta (loader: weblogic. utils.classloaders.GenericClassLoader) at java.lang.ClassLoader.__tc_getClassLoaderName(ClassLoader.java) at com.tc.object.loaders.StandardClassProvider.getName(StandardClassProvider.java:77) at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:89) at com.tc.object.loaders.StandardClassProvider.getLoaderDescriptionFor(StandardClassProvider.java:84) at com.tc.object.TCClassFactoryImpl.getOrCreate(TCClassFactoryImpl.java:59) at com.tc.object.ClientObjectManagerImpl.getPortableObjects(ClientObjectManagerImpl.java:222) at com.tc.object.Traverser.addReferencedObjects(Traverser.java:37) at com.tc.object.Traverser.traverse(Traverser.java:81) at com.tc.object.ClientObjectManagerImpl.addToManagedFromRoot(ClientObjectManagerImpl.java:915) at com.tc.object.ClientObjectManagerImpl.create(ClientObjectManagerImpl.java:272) at com.tc.object.ClientObjectManagerImpl.lookupOrCreateIfNecesary(ClientObjectManagerImpl.java:332) at com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:305) at com.tc.object.tx.ClientTransactionManagerImpl.logicalInvoke(ClientTransactionManagerImpl.java:798) at com.tc.object.TCObjectLogical.logicalInvoke(TCObjectLogical.java:18) at com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:251) at com.tc.object.bytecode.ManagerUtil.logicalInvoke(ManagerUtil.java:248) at java.util.ArrayList.add(ArrayList.java) at java.util.Collections$SynchronizedCollection.add(Collections.java:1557) at net.sf.ehcache.CacheManager.configure(CacheManager.java:282) at net.sf.ehcache.CacheManager.__tc_wrapped_init(CacheManager.java:218) at net.sf.ehcache.CacheManager.init(CacheManager.java) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:205) at com.symantec.eb.security.token.EbeTokenCache.<init>(EbeTokenCache.java:10) at com.symantec.eb.security.token.TokenUtil.<init>(TokenUtil.java:47) at com.symantec.eb.service.bus.AccountSessionBean.loginAccount(AccountSessionBean.java:333) at com.symantec.eb.service.bus.AccountSessionBean_32ho1e_ELOImpl.loginAccount(AccountSessionBean_32ho1e_ELOImpl.java:646) at com.symantec.eb.service.ws.WebRegServiceBean.loginAccount(WebRegServiceBean.java:1336) at com.symantec.eb.service.ws.WebRegServiceBean_1y9vog_EOImpl.loginAccount(WebRegServiceBean_1y9vog_EOImpl.java:773) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.webservice.component.slsb.SLSBInvocationHandler.invoke(SLSBInvocationHandler.java:88) at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:104) at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143) at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:535) at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204) at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176) at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96) at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:100) at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:297) at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485) at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.symantec.eb.renewal.HttpHeaderFilter.doFilter(HttpHeaderFilter.java:53) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    No Bugmate found.