Re: Java1.5 to 1.6

2008-06-17 Thread Kimberly Begley
Great - thanks for that Chris - I found the problem and its all working now.


On Wed, Jun 18, 2008 at 11:31 AM, Christopher Schultz <
[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Kimberly,
>
> Kimberly Begley wrote:
> | I understand that the java executables should work properly but by the
> looks
> | of the error the problem might be with the servlet engines - would a
> | recompile of the entire app be in order? any suggestions?
>
> [snip]
>
> | java.lang.NullPointerException
> |   org.apache.jsp.web.proceed_jsp._jspService(proceed_jsp.java:139)
>
> This is an error occurring in your "proceed.jsp" file. You should look
> at the file proceed_jsp.java in TC's work directory and see what is on
> line 139 of that file -- you should be able to figure out where that
> maps to in your original JSP and see what might be null.
>
> Perhaps previous versions of TC had an object available in the
> application/JNDI/session/request/page that is no longer there. More
> likely is that certain configurations changed between versions and that
> an object you expected to be properly loaded is not being loaded.
>
> An inspection of your JSP and the generated java source will help a lot.
>
> - -chris
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkhYZYsACgkQ9CaO5/Lv0PDMFACcCztcgGOtt2MzVDupDi9CAq+z
> jq4AoJqVWNFga0RLArO7XM/jLUr4ja2p
> =f55b
> -END PGP SIGNATURE-
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Kimberly Begley


Re: Java1.5 to 1.6

2008-06-17 Thread Christopher Schultz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kimberly,

Kimberly Begley wrote:
| I understand that the java executables should work properly but by the
looks
| of the error the problem might be with the servlet engines - would a
| recompile of the entire app be in order? any suggestions?

[snip]

| java.lang.NullPointerException
|   org.apache.jsp.web.proceed_jsp._jspService(proceed_jsp.java:139)

This is an error occurring in your "proceed.jsp" file. You should look
at the file proceed_jsp.java in TC's work directory and see what is on
line 139 of that file -- you should be able to figure out where that
maps to in your original JSP and see what might be null.

Perhaps previous versions of TC had an object available in the
application/JNDI/session/request/page that is no longer there. More
likely is that certain configurations changed between versions and that
an object you expected to be properly loaded is not being loaded.

An inspection of your JSP and the generated java source will help a lot.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhYZYsACgkQ9CaO5/Lv0PDMFACcCztcgGOtt2MzVDupDi9CAq+z
jq4AoJqVWNFga0RLArO7XM/jLUr4ja2p
=f55b
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Java1.5 to 1.6

2008-06-17 Thread Kimberly Begley
Hi,
I have a web application that was working great with Tomcat 5 and Java 1.5 -
the server has recently been upgraded to Java 6 (still with tomcat 5) and
now some parts are not working and throwing null exceptions as pasted below.
I understand that the java executables should work properly but by the looks
of the error the problem might be with the servlet engines - would a
recompile of the entire app be in order? any suggestions?
Thanks
Kim

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

org.apache.jasper.JasperException

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

*root cause*

java.lang.NullPointerException
org.apache.jsp.web.proceed_jsp._jspService(proceed_jsp.java:139)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)



-- 
Kimberly Begley