compile your sources with debug turned on. This will give you line numbers

This is a problem in your MnvuPage class. Some object is null and you don't
check for null before using it.

Charlie

> -----Original Message-----
> From: Joel Sather [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat 4.0.1 to 4.0.3 upgrade problem
> 
> 
> 
> This is some more info about this problem.  The error I get from the
> servlet is this:
> 
> java.lang.NullPointerException
>       at mnvu.MnvuPage.(Unknown Source)
>       at mnvu.MnvuServlet.doGet(Unknown Source)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:247)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:193)
>                 ...
> 
> Since it does work when I call it directly via Tomcat, is there some
> sort of a context problem?  I believe the problem stems from a servlet
> initialization failure when called via Apache, but I'm having some
> problems finding exactly where to look.  Note that this does work fine
> under Tomcat 4.0.1, but not 4.0.2 or 4.0.3.  I'm almost tempted to
> believe that the servlet isn't getting the request/response values in
> the doGet() method--any idea what causes Unknown Source at that level?
> 
> Thanks,
> Joel
> 
> 
> Joel Sather
> email: [EMAIL PROTECTED]
> phone: 651-917-4719
> 
> >>> [EMAIL PROTECTED] 03/19/02 05:29PM >>>
> 
> Hi, I'm having a problem getting one webapp to work when I upgrade to
> 4.0.3.  Although the webapp responds normally under the Tomcat port,
> when I try to access it via Apache (AJP1.3 connector), it somehow gets
> a
> null pointer error.  The strange thing is that there are two other
> apps
> that have identical frameworks that work just fine via Apache.  The
> problem app also has some JSP files and they work just fine--it is
> just
> the servlets that fail.  Does Apache somehow trash the request header
> in
> 4.0.3 or something?  Any help would be great, I've been messing with
> this all day.  Also, it failed in the same way under 4.0.2.
> 
> Working system: Apache 1.3.20 w/ AJP1.3 and Tomcat 4.0.1 (self built)
> Failing systems: Apache 1.3.20 w/ AJP1.3 and Tomcat 4.0.2 or 3 binary
> builds
> Configurations: Same WAR deployments and server.xml, web.xml configs
> all around.  Apache is tweaked to point to the modified
> workers.properties file.
> System: Sun Solaris (SunOS 5.7--forget what that is in Solaris
> numbers).
> 
> Let me know what other info I can provide about the system.  The
> reason
> I need to upgrade is due to some problems with Tomcat 4.0.1 hanging
> under heavy load.
> 
> Thanks,
> Joel
> 
> 
> Joel Sather
> email: [EMAIL PROTECTED] 
> phone: 651-917-4719
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to