You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kevin Mullin <mu...@us.ibm.com> on 2006/11/03 20:39:53 UTC
Error Messages?
I am using Tomcat, and just starting the server, I see these messages that
look like error messages:
SEVERE: Servlet /ibi_html threw load() exception
java.lang.NullPointerException
and
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException:
/appls/WebFocusClient/ibi/WebFOCUS71/logs/wfibihtml.log (EDC5129I No such
file or directory
and
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
and
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException:
/appls/WebFocusClient/ibi/WebFOCUS71/logs/wfibihtml.log (EDC5129I No such
file or directory.)
(which sure looks like the previous one)
and
SEVERE: Servlet /approot threw load() exception
java.lang.NullPointerException
and
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
and
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException:
/appls/WebFocusClient/ibi/WebFOCUS71/logs/wfapproot.log (EDC5129I No such
file or directory.)
I say that these LOOK like errors, but the server does come up and nothing
seems amiss. Are these errors that need to be looked at? The problems
with 'No Such file or directory' are easy, and I can track those down, but
the others?
Kevin Mullin
Sr. Analyst
IBM Corporation
(206) 345-7068
mullink@us.ibm.com
Re: Error Messages?
Posted by Martin Gainty <mg...@hotmail.com>.
Kevin-
every Servlet has an init(ServletCinfig) method
where you want to make sure you initialise all of the servlet variables
Also perform quick sanity checks by initialising as well as printing the variable to make sure it is NOT null
and avoid NullPointerExceptions on load
e.g.
YourServlet extends javax.servlet.http.HttpServlet
{
string foo=null;
init(javax.servlet.ServletConfig config)
{
foo="foo";
out.println("foo variable = "+foo);
}
M-
This e-mail communication and any attachments may contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
contents
----- Original Message -----
From: Kevin Mullin
To: users@tomcat.apache.org
Sent: Friday, November 03, 2006 2:39 PM
Subject: Error Messages?
I am using Tomcat, and just starting the server, I see these messages that look like error messages:
SEVERE: Servlet /ibi_html threw load() exception
java.lang.NullPointerException
and
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /appls/WebFocusClient/ibi/WebFOCUS71/logs/wfibihtml.log (EDC5129I No such file or directory
and
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
and
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /appls/WebFocusClient/ibi/WebFOCUS71/logs/wfibihtml.log (EDC5129I No such file or directory.)
(which sure looks like the previous one)
and
SEVERE: Servlet /approot threw load() exception
java.lang.NullPointerException
and
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
and
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /appls/WebFocusClient/ibi/WebFOCUS71/logs/wfapproot.log (EDC5129I No such file or directory.)
I say that these LOOK like errors, but the server does come up and nothing seems amiss. Are these errors that need to be looked at? The problems with 'No Such file or directory' are easy, and I can track those down, but the others?
Kevin Mullin
Sr. Analyst
IBM Corporation
(206) 345-7068
mullink@us.ibm.com
RE: Error Messages?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Kevin Mullin [mailto:mullink@us.ibm.com]
> Subject: Error Messages?
>
> I say that these LOOK like errors, but the server does come
> up and nothing seems amiss.
They are errors. At least one of your webapps is not running properly.
Individual webapp failures do not normally affect the container, unless
the webapp starts consuming resources excessively.
> Are these errors that need to be looked at?
Certainly, if you want your apps to run properly.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org