You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/07/11 17:44:21 UTC
DO NOT REPLY [Bug 40016] New: - SEVERE: Error filterStart
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=40016>.
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=40016
Summary: SEVERE: Error filterStart
Product: Tomcat 5
Version: 5.5.9
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: cowwoc@bbs.darktech.org
If a servlet filter throws an exception inside its init() method, Tomcat outputs:
SEVERE: Error filterStart
which isn't very useful for tracking down the problem (in fact, it isn't even
clear which class/method had the problem).
I am expecting Tomcat to display a stack-trace of the exception being thrown. As
a workaround, I have to manually surround code in all my filters with try-catch
blocks and manually print out the stack-trace in case of errors.
--
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
DO NOT REPLY [Bug 40016] - SEVERE: Error filterStart
Posted by bu...@apache.org.
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=40016>.
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=40016
a_joseph85@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO
------- Additional Comments From a_joseph85@yahoo.com 2008-02-07 04:18 -------
(In reply to comment #4)
> (In reply to comment #3)
> > To better analyse your problem setup a InstanceListener at your context.
> >
> > <Context>
> > <InstanceListener>org.example.yourInstanceListener</InstanceListener>
> > </Context>
> >
> > A context InstanceListener are notify INIT, BEFORE, AFTER cycle...
> >
> > Setup your InstanceListener class at common/classes.
>
> Its getting worse n worse...now my even my jsp pages have gone to
> sleep...thanks to this tomcat bug...the error that im getting is
> Exception creating bean of class publicity.abc :
> java.lang.ClassNotFoundException:
> in my <html:form> attribute...why has this stopped working....has some jar
file
> got truncated.....
>
>
For some reasons in my java-build path i had duplicate servlet-api.jar and jsp-
api.jar in them. removing those did the trick. If you use eclipse then click on
the project name--->properties---->java build path--->libraries tab....
I hope it helps someone :)....i have no idea on how duplicate copies came in
there in the first place.
--
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
DO NOT REPLY [Bug 40016] - SEVERE: Error filterStart
Posted by bu...@apache.org.
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=40016>.
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=40016
------- Additional Comments From a_joseph85@yahoo.com 2008-02-07 03:01 -------
(In reply to comment #3)
> To better analyse your problem setup a InstanceListener at your context.
>
> <Context>
> <InstanceListener>org.example.yourInstanceListener</InstanceListener>
> </Context>
>
> A context InstanceListener are notify INIT, BEFORE, AFTER cycle...
>
> Setup your InstanceListener class at common/classes.
Its getting worse n worse...now my even my jsp pages have gone to
sleep...thanks to this tomcat bug...the error that im getting is
Exception creating bean of class publicity.abc :
java.lang.ClassNotFoundException:
in my <html:form> attribute...why has this stopped working....has some jar file
got truncated.....
--
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
DO NOT REPLY [Bug 40016] - SEVERE: Error filterStart
Posted by bu...@apache.org.
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=40016>.
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=40016
yoavs@computer.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From yoavs@computer.org 2006-12-26 07:33 -------
This is already done: see the filterStart method in
org.apache.catalina.core.StandardContext. It will log the filter name and
complete stack trace, at ERROR level, for every filter that fails.
You can also enable DEBUG-level logging to see the filters getting started every
time the server starts. If you don't want to have DEBUG-level logging on the
whole server, enable it only for the above StandardContext class.
--
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
DO NOT REPLY [Bug 40016] - SEVERE: Error filterStart
Posted by bu...@apache.org.
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=40016>.
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=40016
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |FIXED
--
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
DO NOT REPLY [Bug 40016] - SEVERE: Error filterStart
Posted by bu...@apache.org.
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=40016>.
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=40016
------- Additional Comments From pr@objektpark.de 2008-02-07 01:30 -------
To better analyse your problem setup a InstanceListener at your context.
<Context>
<InstanceListener>org.example.yourInstanceListener</InstanceListener>
</Context>
A context InstanceListener are notify INIT, BEFORE, AFTER cycle...
Setup your InstanceListener class at common/classes.
--
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
DO NOT REPLY [Bug 40016] - SEVERE: Error filterStart
Posted by bu...@apache.org.
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=40016>.
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=40016
a_joseph85@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From a_joseph85@yahoo.com 2008-02-07 01:19 -------
(In reply to comment #0)
> If a servlet filter throws an exception inside its init() method, Tomcat
outputs:
>
> SEVERE: Error filterStart
>
> which isn't very useful for tracking down the problem (in fact, it isn't even
> clear which class/method had the problem).
>
> I am expecting Tomcat to display a stack-trace of the exception being thrown.
As
> a workaround, I have to manually surround code in all my filters with try-
catch
> blocks and manually print out the stack-trace in case of errors.
I've spent some couple of days behind this problem...but no solution as of
yet...is there any solution to this bug?...But in the first place i dont
understand why did i get this error? what may have went wrong in the
tomcat(5.5.23) im using(with struts1.1)?. Also no stack trace for this error
which is even more frustrating.
--
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