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));
> 
> 
> [EMAIL PROTECTED] 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.startConfigurationGBeans(ConfigurationUtil.java:374)
> 
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:411)
> 
>        at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
> 
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
> 
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
> 
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$2861d9b4.startConfiguration(<generated>)
> 
>        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:287)
>        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
>        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:367)
> [******************>   ] 84%  26s Starting
> geronimo/webconsole-tomc...10:37:39,857 ERROR [StandardContext] Error
> reading tld listeners javax.servlet.ServletException: Exception
> processing TLD at resource path /WEB-INF/tld/portlet.tld in context
> /console-standard
> javax.servlet.ServletException: Exception processing TLD at resource
> path /WEB-INF/tld/portlet.tld in context /console-standard
>        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.startConfigurationGBeans(ConfigurationUtil.java:374)
> 
>        at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:411)
> 
>        at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:174)
> 
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)
> 
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)
> 
>        at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$2861d9b4.startConfiguration(<generated>)
> 
>        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:287)
>        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
>        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:367)
> [**********************] 100%  31s Startup complete
>  Listening on Ports:
>    1099 0.0.0.0   RMI Naming
>    1527 0.0.0.0   Derby Connector
>    4201 0.0.0.0   ActiveIO Connector EJB
>    4242 127.0.0.1 Remote Login Listener
>    8009 0.0.0.0   Tomcat Connector AJP
>    8080 0.0.0.0   Tomcat Connector HTTP
>    8443 0.0.0.0   Tomcat Connector HTTPS
>    9999 0.0.0.0   JMX Remoting Connector
>   61616 0.0.0.0   ActiveMQ Message Broker Connector
> 
>  Started Application Modules:
>    EAR: geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
>    RAR: geronimo/activemq/1.1-SNAPSHOT/car
>    RAR: geronimo/system-database/1.1-SNAPSHOT/car
>    WAR: geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car
>    WAR: geronimo/welcome-tomcat/1.1-SNAPSHOT/car
> 
>  Web Applications:
>    http://frylock.raleigh.ibm.com:8080/
>    http://frylock.raleigh.ibm.com:8080/console
>    http://frylock.raleigh.ibm.com:8080/console-standard
>    http://frylock.raleigh.ibm.com:8080/remote-deploy
> 
> Geronimo Application Server started
> 
> 
> On 5/4/06, John Sisson <[EMAIL PROTECTED]> wrote:
>> Haven't had a chance to debug this..  Can others reproduce?
>>
>> This problem only seems to occur when using the NewClassLoader.
>>
>> John
>>
>> C:\Temp>set GERONIMO_OPTS=-DXorg.apache.geronimo.NewClassLoader=true
>>
>> C:\Temp>geronimo-1.1-SNAPSHOT\bin\geronimo.bat run --long
> [...]

Reply via email to