geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Re: New classloader causing problems on Tomcat ? - Exception processing TLD
Date Fri, 05 May 2006 18:58:39 GMT
Hmm...
   It works for me (rev 400058) without any change. I also tried with
>geronimo run
>geronimo run --long
  works every time!
   This is from getenv ....
Variable GERONIMO_OPTs has the value :
----DXorg.apache.geronimo.NewClassLoader=true-------------------------------


Thanks
Anita
--- Dain Sundstrom <dain@iq80.com> wrote:

> Fixed it.
> 
> It had nothing to do with the class loader layout.  The findResource 
> 
> method was returning an invalid jar URL.  The the url was missing the
>  
> "file:" protocol on the nested jar.  It was difficult to find, since 
> 
> the error occurred in xerces as it attempted to load a schema.  It  
> seems to do some sort of URL string manipulation.  Anyway, it is  
> fixed now.
> 
> -dain
> 
> On May 5, 2006, at 11:00 AM, Paul McMahan wrote:
> 
> > Thanks Aaron.  I added
> >        ClassLoaderDumper.dump(this.getContainer());
> > at GeronimoBeforeAfterValve line 31 (which is right before the
> error
> > occurs in catalina).  The output is attached.  I'm not sure how
> useful
> > this is so let me know if you need some other type of info.
> >
> > Paul
> >
> > On 5/5/06, Aaron Mulder <ammulder@alumni.princeton.edu> wrote:
> >> There's a ClassLoaderDumper in the current tree that might be
> useful
> >> for this.  Though it does kind of result in information overload. 
> :)
> >>
> >> Thanks,
> >>     Aaron
> >>
> >> On 5/5/06, Jeff Genender <jgenender@apache.org> wrote:
> >> > Paul,
> >> >
> >> > Can you dump the URLClassLoader paths?  This may help find th  
> >> answer...
> >> >
> >> > Jeff
> >> >
> >> > Paul McMahan wrote:
> >> > > John,  I got hte same error using tomcat (see below) but jetty
>  
> >> seemed
> >> > > to work OK.  The error indicates that tomcat can't load the  
> >> portlet
> >> > > taglib descriptor file. The code in tomcat that tries to load 
> 
> >> it looks
> >> > > like:
> >> > >            inputSource =
> >> > >                new InputSource(
> >> > >
> >> > >
> context.getServletContext().getResourceAsStream(resourcePath));
> >> > >
> >> > >
> >> > > [pmcmahan@frylock bin]$ java
> >> > > -DXorg.apache.geronimo.NewClassLoader=true -jar server.jar
> >> > > Booting Geronimo Kernel (in Java 1.4.2_10)...
> >> > > Starting Geronimo Application Server v1.1-SNAPSHOT
> >> > > [******************>   ] 84%  25s  Loading
> >> > > geronimo/webconsole-tomc...10:37:39,091 ERROR  
> >> [StandardContext] Error
> >> > > reading tld listeners javax.servlet.ServletException:
> Exception
> >> > > processing TLD at resource path /WEB-INF/tld/portlet.tld in  
> >> context
> >> > > /console
> >> > > javax.servlet.ServletException: Exception processing TLD at  
> >> resource
> >> > > path /WEB-INF/tld/portlet.tld in context /console
> >> > >        at
> >> > > org.apache.catalina.startup.TldConfig.tldScanTld 
> >> (TldConfig.java:547)
> >> > >        at org.apache.catalina.startup.TldConfig.execute 
> >> (TldConfig.java:300)
> >> > >        at
> >> > > org.apache.catalina.core.StandardContext.processTlds 
> >> (StandardContext.java:4193)
> >> > >
> >> > >        at
> >> > > org.apache.catalina.core.StandardContext.start 
> >> (StandardContext.java:4049)
> >> > >        at
> >> > > org.apache.geronimo.tomcat.GeronimoStandardContext.access$201 
> >> (GeronimoStandardContext.java:67)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.tomcat.GeronimoStandardContext 
> >> $SystemMethodValve.invoke(GeronimoStandardContext.java:331)
> >> > >
> >> > >        at
> >> > >  
> >> org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke 
> >> (GeronimoBeforeAfterValve.java:31)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.tomcat.GeronimoStandardContext.start 
> >> (GeronimoStandardContext.java:186)
> >> > >
> >> > >        at
> >> > > org.apache.catalina.core.ContainerBase.addChildInternal 
> >> (ContainerBase.java:759)
> >> > >
> >> > >        at
> >> > > org.apache.catalina.core.ContainerBase.addChild 
> >> (ContainerBase.java:739)
> >> > >        at
> >> > > org.apache.catalina.core.StandardHost.addChild 
> >> (StandardHost.java:524)
> >> > >        at
> >> > > org.apache.geronimo.tomcat.TomcatContainer.addContext 
> >> (TomcatContainer.java:313)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$ 
> >> $9370b073.invoke(<generated>)
> >> > >
> >> > >        at net.sf.cglib.reflect.FastMethod.invoke 
> >> (FastMethod.java:53)
> >> > >        at
> >> > > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> >> (FastMethodInvoker.java:38)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> >> (GBeanOperation.java:122)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> >> (GBeanInstance.java:817)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> >> (RawInvoker.java:57)
> >> > >        at
> >> > > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> >> (RawOperationInvoker.java:35)
> >> > >
> >> > >        at
> >> > >  
> >> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> >> (ProxyMethodInterceptor.java:96)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$ 
> >> $42172c3b.addContext(<generated>)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.tomcat.TomcatWebAppContext.doStart 
> >> (TomcatWebAppContext.java:448)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
> 
> >> (GBeanInstance.java:981)
> >> > >
> >> > >        at
> >> > >  
> >>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> 
> >> (GBeanInstanceState.java:267)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start 
> >> (GBeanInstanceState.java:102)
> >> > >
> >> > >        at
> >> > >  
> >>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive 
> >> (GBeanInstanceState.java:124)
> >> > >
> >> > >        at
> >> > > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive
> 
> >> (GBeanInstance.java:540)
> >> > >
> >> > >        at
> >> > >  
> >> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean 
> >> (BasicKernel.java:379)
> >> > >
> >> > >        at
> >> > >  
> >>
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> 
> >> nGBeans(ConfigurationUtil.java:374)
> >> > >
> >> > >        at
> >> > >  
> >>
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> 
> >> nGBeans(ConfigurationUtil.java:411)
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message