Hi Taylor, I think you should be able to solve this with an on-load script for the groovy.lang.GroovyClassLoader$InnerLoader class. You should be able to call the method '__tc_setClassLoaderName' giving it a single String argument with a unique name for the classloader. Afterwards this will then be available for the __tc_getClassLoaderName method.
Hope this helps, Geert On 18 Jul 2007, at 09:35, Taylor Gautier wrote: > I was playing with making a "groovy" class, and when I tried to > share it > I got this: > > Exception thrown: java.lang.IllegalStateException: Classloader name > not > set, instances defined from this loader not supported in Terracotta > (loader: groovy.lang.GroovyClassLoader$InnerLoader) > > java.lang.IllegalStateException: Classloader name not set, instances > defined from this loader not supported in Terracotta (loader: > groovy.lang.GroovyClassLoader$InnerLoader) > at java.lang.ClassLoader.__tc_getClassLoaderName(ClassLoader.java) > at > com > .tc > .object > .loaders.StandardClassProvider.getName(StandardClassProvider.java:65) > > Is there an easy workaround for this, or do we need product support > for > this to work? > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
