Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 77921 invoked from network); 15 Sep 2003 13:43:09 -0000 Received: from unknown (HELO acterna.com) (157.234.254.26) by daedalus.apache.org with SMTP; 15 Sep 2003 13:43:09 -0000 Received: from antietam.ger.am.acterna.net (antietam.ger.am.acterna.net [10.254.10.55]) by acterna.com (8.12.9/8.12.7) with ESMTP id h8FDhABw024563; Mon, 15 Sep 2003 09:43:10 -0400 (EDT) Received: from innotes1.acterna.net (pix-10-254-10-50.ger.am.acterna.net [10.254.10.50]) by antietam.ger.am.acterna.net (8.12.9/8.12.7) with ESMTP id h8FDh9ai011931; Mon, 15 Sep 2003 09:43:09 -0400 (EDT) Subject: Re: Tomcat 4.1 -> 5.0 Web-app Porting To: "Struts Users Mailing List" Cc: tomcat-user@jakarta.apache.org Message-ID: From: prashant.budhale@acterna.com Date: Mon, 15 Sep 2003 08:44:20 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm using Tomcat 5.0.11. I still don't understand how this works with Tomcat 4.1 and not 5.0. I thought 5.0 was backwards compatible. Besides, struts' tags are very popular ( etc.). If 5.0 were somehow not compatible with these tags, we would hear more complaints from this forum. I am tilting towards believing that I am, most probably, facing a configuration/settings problem. Any suggestions? Thanks in advance for your response, -Prashant |---------+----------------------------> | | "Craig R. | | | McClanahan" | | | | | | | | | 09/12/03 05:44 PM| | | Please respond to| | | "Struts Users | | | Mailing List" | | | | |---------+----------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: Struts Users Mailing List | | cc: tomcat-user@jakarta.apache.org | | Subject: Re: Tomcat 4.1 -> 5.0 Web-app Porting | >------------------------------------------------------------------------------------------------------------------------------| On Fri, 12 Sep 2003 prashant.budhale@acterna.com wrote: > Date: Fri, 12 Sep 2003 16:01:57 -0500 > From: prashant.budhale@acterna.com > Reply-To: Struts Users Mailing List > To: tomcat-user@jakarta.apache.org > Cc: struts-user@jakarta.apache.org > Subject: Tomcat 4.1 -> 5.0 Web-app Porting > > 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) > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > Which specific version of Tomcat 5.0.x are you trying? I seem to recall that there were a couple of bugs in the tag pooling code that could bite you in a page with lots of tags (typical of Struts apps), but that these bugs were fixed in 5.0.9. If that doesn't fix the problem, you can also turn off tag pooling with a servlet init parameter -- read the docs in "$CATALINA_HOME/conf/web.xml" for which one needs to be set. Craig --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org