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 [EMAIL PROTECTED]