geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Kashyap" <goyathlay.geron...@gmail.com>
Subject Re: New classloader causing problems on Tomcat ? - Exception processing TLD
Date Fri, 05 May 2006 14:22:17 GMT
OK, here's the deal.

I was able to recreate this problem on an XP box,  following the steps
John mentioned.

However, it works fine when you include the options in the geronimo.bat file.

%_EXECJAVA% %JAVA_OPTS% %GERONIMO_OPTS%
-DXorg.apache.geronimo.NewClassLoader=true
-Dorg.apache.geronimo.base.dir="%GERONIMO_BASE%"
-Djava.io.tmpdir="%GERONIMO_TMPDIR%" -jar %_JARFILE% %_LONG_OPT%
%CMD_LINE_ARGS%

Cheers
Prasad.

On 5/4/06, John Sisson <jrsisson@gmail.com> 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
> Using GERONIMO_BASE:   C:\Temp\geronimo-1.1-SNAPSHOT
> Using GERONIMO_HOME:   C:\Temp\geronimo-1.1-SNAPSHOT
> Using GERONIMO_TMPDIR: C:\Temp\geronimo-1.1-SNAPSHOT\var\temp
> Using JRE_HOME:        C:\j2sdk1.4.2_10
> Booting Geronimo Kernel (in Java 1.4.2_10)...
> Configuration geronimo/rmi-naming/1.1-SNAPSHOT/car started in  1/20   0s
> Configuration geronimo/j2ee-server/1.1-SNAPSHOT/car started in  2/20   1s
> Configuration geronimo/j2ee-security/1.1-SNAPSHOT/car started in  3/20   1s
> Configuration geronimo/axis/1.1-SNAPSHOT/car started in  4/20   0s
> Configuration geronimo/openejb/1.1-SNAPSHOT/car started in  5/20   0s
> Configuration geronimo/system-database/1.1-SNAPSHOT/car started in  6/20
>   3s
> Configuration geronimo/activemq-broker/1.1-SNAPSHOT/car started in  7/20
>   1s
> Configuration geronimo/activemq/1.1-SNAPSHOT/car started in  8/20   0s
> Configuration geronimo/tomcat/1.1-SNAPSHOT/car started in  9/20   2s
> Configuration geronimo/geronimo-gbean-deployer/1.1-SNAPSHOT/car started
> in 10/20   1s
> Configuration geronimo/j2ee-deployer/1.1-SNAPSHOT/car started in 11/20   0s
> Configuration geronimo/openejb-deployer/1.1-SNAPSHOT/car started in
> 12/20   0s
> Configuration geronimo/client-deployer/1.1-SNAPSHOT/car started in 13/20
>   0s
> Configuration geronimo/axis-deployer/1.1-SNAPSHOT/car started in 14/20   0s
> Configuration geronimo/sharedlib/1.1-SNAPSHOT/car started in 15/20   0s
> Configuration geronimo/tomcat-deployer/1.1-SNAPSHOT/car started in 16/20
>   0s
> Configuration geronimo/welcome-tomcat/1.1-SNAPSHOT/car started in 17/20
>   0s
> Configuration geronimo/webconsole-tomcat/1.1-SNAPSHOT/car10:32:03,159
> ERROR [StandardContext] Error reading tld listeners javax.serv
> let.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$$b8616351.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$$9eac10ca.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)
> 10:32:03,737 ERROR [StandardContext] Error reading tld listeners
> javax.servlet.ServletException: Exception processing TLD at resourc
> e 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$$b8616351.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$$9eac10ca.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)
>  started in 18/20   3s
> Configuration geronimo/remote-deploy-tomcat/1.1-SNAPSHOT/car started in
> 19/20   0s
> Configuration geronimo/hot-deployer/1.1-SNAPSHOT/car started in 20/20   0s
> Startup completed in 18 seconds
>   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://syisissonj:8080/
>     http://syisissonj:8080/console
>     http://syisissonj:8080/console-standard
>     http://syisissonj:8080/remote-deploy
>
> Geronimo Application Server started
>
>
> C:\dev\geronimo\br\1.1>svn info
> Path: .
> URL: https://svn.apache.org/repos/asf/geronimo/branches/1.1
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 399873
> Node Kind: directory
> Schedule: normal
> Last Changed Author: dain
> Last Changed Rev: 399867
> Last Changed Date: 2006-05-05 07:48:58 +1000 (Fri, 05 May 2006)
> Properties Last Updated: 2006-04-04 06:38:33 +1000 (Tue, 04 Apr 2006)
>
>
> This e-mail message and any attachments may contain confidential,
> proprietary or non-public information.  This information is intended
> solely for the designated recipient(s).  If an addressing or
> transmission error has misdirected this e-mail, please notify the sender
> immediately and destroy this e-mail.  Any review, dissemination, use or
> reliance upon this information by unintended recipients is prohibited.
>  Any opinions expressed in this e-mail are those of the author personally.
>

Mime
View raw message