This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198452 - Tomcat log shows old messages on start
Summary: Tomcat log shows old messages on start
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 11:40 UTC by pekarna
Modified: 2011-06-17 13:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2011-05-09 11:40:15 UTC
STR:

1) Put something to Tomcat's log (i've put below what I had there)
2) Start Tomcat in NetBeans
3) Two log windows will appear - file and console I guess
4) The console log will show
...
9.5.2011 13:38:48 org.apache.catalina.startup.Catalina start
INFO: Server startup in 623 ms

5) The file log will show the old content of the log file. Notice the times.

9.5.2011 11:08:04 org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class org.jboss.weld.environment.servlet.Listener
java.lang.RuntimeException: Cannot get StandardContext from ServletContext
	at org.jboss.weld.environment.tomcat.WeldForwardingAnnotationProcessor.getStandardContext(WeldForwardingAnnotationProcessor.java:97)
	at org.jboss.weld.environment.tomcat.WeldForwardingAnnotationProcessor.restoreAnnotationProcessor(WeldForwardingAnnotationProcessor.java:111)
	at org.jboss.weld.environment.servlet.Listener.contextDestroyed(Listener.java:91)
Comment 1 Petr Hejl 2011-06-17 13:12:42 UTC
I think this is expectable. The log file is shown and there are some older messages in the log file.