tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40820] - Default JSP factory not initialized early enough
Date Tue, 02 Jan 2007 16:21:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40820>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40820





------- Additional Comments From scottjoh@us.ibm.com  2007-01-02 08:21 -------
Tim, this does still appear to be a problem with the latest TC 6 code.  Let's
make sure we're on the same page:
(1) Tomcat has to be stopped
(2) Drop ELResolverTest.war into the webapps directory
(3) Start Tomcat
(4) In the localhost log you will see:
Jan 2, 2007 11:13:15 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class eltest.ChipsListener
java.lang.NullPointerException
	at eltest.ChipsListener.contextInitialized(ChipsListener.java:18)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:451)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	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:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jan 2, 2007 11:13:17 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jan 2, 2007 11:13:17 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()


(5) in the command window you'll see:
E:\eclipseWorkspace\TC6\tomcat6\output\build\bin>catalina run
Using CATALINA_BASE:   E:\eclipseWorkspace\TC6\tomcat6\output\build
Using CATALINA_HOME:   E:\eclipseWorkspace\TC6\tomcat6\output\build
Using CATALINA_TMPDIR: E:\eclipseWorkspace\TC6\tomcat6\output\build\temp
Using JRE_HOME:        C:\jdk1.5.0_06\jre
Jan 2, 2007 11:13:08 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path:
C:\jdk1.5.0_06\jre\bin;.;C:\WINNT\system32;C:\WINNT;C:\jdk1.5.0_06\bin;E:\temp\apache-ant-1.6.5\bin
Jan 2, 2007 11:13:11 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 2, 2007 11:13:11 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5625 ms
Jan 2, 2007 11:13:11 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 2, 2007 11:13:11 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.0-dev
Jan 2, 2007 11:13:11 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 2, 2007 11:13:11 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive ELResolverTest.war
ChipsListener.contextInitialized  evt=
javax.servlet.ServletContextEvent[source=org.apache.catalina.core.ApplicationContextFacade@872380]
ChipsListener.contextInitialized  context=
org.apache.catalina.core.ApplicationContextFacade@872380
ChipsListener.contextInitialized  JspFactory.getDefaultFactory()= null
Jan 2, 2007 11:13:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 2, 2007 11:13:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ELResolverTest] startup failed due to previous errors
Jan 2, 2007 11:13:19 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 2, 2007 11:13:19 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 2, 2007 11:13:19 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/328  config=null
Jan 2, 2007 11:13:19 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8485 ms


(6) The cause is what I described earlier.











-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message