tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prashant.budh...@acterna.com
Subject Tomcat 4.1 -> 5.0 Web-app Porting
Date Fri, 12 Sep 2003 21:01:57 GMT
Hi,
I am trying to port a web-application originally written with Tomcat 4.1 to
Tomcat 5.0. The application uses struts and throws the following exception
when launched:

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


exception
java.lang.NullPointerException

org.apache.jasper.runtime.TagHandlerPool.reuse(TagHandlerPool.java:176)
             com.acterna.cable.rda.index_jsp.
_jspx_meth_bean_message_0(index_jsp.java:119)
             com.acterna.cable.rda.index_jsp._jspService(index_jsp.java:67)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
             javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>



Relevant Index.jsp and index_jsp code is as follows:


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
index.jsp
----------
<%@page contentType="text/html"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<html:html> <!-- this is where it crashes -->


index_jsp.java (line 67)
---------------
      org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0
= (org.apache.struts.taglib.html.HtmlTag)
_jspx_tagPool_html_html.get(org.apache.struts.taglib.html.HtmlTag.class);

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


I am not using any actions at this time. I copied new strut libraries
shipped with Tomcat 5.0 to the application's WEB-IN/lib folder and my
struts-config.xml looks like this:


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
struts-config.xml
-----------------
<struts-config>

    <!-- ========== Form Bean Definitions
=================================== -->
    <form-beans>
    </form-beans>
    <!-- ========== Global Forward Definitions
============================== -->
    <global-forwards>
        <forward name="success" path="/HomePage.jsp"/>
        <forward name="noLicense" path="/ErrorPage.jsp?code=noLicense"/>
    </global-forwards>
    <!-- ========== Action Mapping Definitions
============================== -->
    <action-mappings>

    </action-mappings>
</struts-config>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


Am I missing anything? Any help would be greatly appreciated.

Thanks,
-Prashant



Mime
View raw message