Alex, I was asking for the plain-text jsp's line 85, not the compiled jsp's line 85.
Regards, David -----Original Message----- From: Alex Kravets [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 2:39 PM To: Struts Users Mailing List Subject: Re: Stuts forwarding does not work In addition, part of the application is forwarding of initial request from index.jsp to action forward in struts-config.xml (welcome.jsp/welcome.do). So if this works then the whole mechanism of ActionServlet works? Alex Kravets wrote: > But here is the scenario. I take standard application from a book. Try > it on my local PC (Windows/Linux) everything works fine then take the > same application to the server at work and it doesn't work. Clearly > there is problem with the server setup and not the application, no? > > > Dakota Jack wrote: > >> I would try removing one by one the base, errors and form tags and see >> what happens. One of those seems to have a problem. >> >> Jack >> >> >> On Tue, 18 Jan 2005 14:19:27 -0500, Alex Kravets >> <[EMAIL PROTECTED]> wrote: >> >> >>> the code snippet is part of source code when my JSP page was compiled. >>> It's container generated not mine so I presume it's a standard code, >>> but >>> here it is anyways: >>> >>> try { >>> _jspxFactory = JspFactory.getDefaultFactory(); >>> response.setContentType("text/html;charset=ISO-8859-1"); >>> pageContext = _jspxFactory.getPageContext(this, request, response, >>> null, true, 8192, true); >>> application = pageContext.getServletContext(); >>> config = pageContext.getServletConfig(); >>> session = pageContext.getSession(); >>> out = pageContext.getOut(); >>> _jspx_out = out; >>> >>> out.write("\n"); >>> out.write("\n"); >>> out.write("\n"); >>> out.write("<HTML>\n"); >>> out.write("<HEAD>\n"); >>> out.write("<TITLE>Welcome!"); >>> out.write("</TITLE>\n"); >>> if (_jspx_meth_html_base_0(pageContext)) >>> return; >>> out.write("\n"); >>> out.write("</HEAD>\n"); >>> out.write("<BODY>\n"); >>> if (_jspx_meth_html_errors_0(pageContext)) >>> return; >>> out.write("\n"); >>> if (_jspx_meth_html_form_0(pageContext)) >>> return; >>> out.write("\n"); >>> out.write("</BODY>\n"); >>> out.write("</HTML>\n\n"); >>> out.write("\n"); >>> } catch (Throwable t) { >>> out = _jspx_out; >>> if (out != null && out.getBufferSize() != 0) >>> out.clearBuffer(); >>> if (pageContext != null) pageContext.handlePageException(t); >>> } finally { >>> if (_jspxFactory != null) >>> _jspxFactory.releasePageContext(pageContext); >>> } >>> } >>> >>> Dakota Jack wrote: >>> >>> >>> >>>> Line 85 is the catch clause, Alex. Give us the try clause. The >>>> problem is there. Include the catch in your post, please, with >>>> reference to line 85 again. This is a good learning experience for >>>> you on debugging using log files. >>>> >>>> Jack >>>> >>>> >>>> On Tue, 18 Jan 2005 10:07:29 -0500, Alex Kravets >>>> <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>> >>>> >>>>> if (_jspx_meth_html_form_0(pageContext)) >>>>> return; >>>>> out.write("\n"); >>>>> out.write("</BODY>\n"); >>>>> out.write("</HTML>\n\n"); >>>>> out.write("\n"); >>>>> } catch (Throwable t) { >>>>> out = _jspx_out; >>>>> if (out != null && out.getBufferSize() != 0) >>>>> out.clearBuffer(); >>>>> if (pageContext != null) pageContext.handlePageException(t); >>>>> <--- line 85 >>>>> } finally { >>>>> if (_jspxFactory != null) >>>>> _jspxFactory.releasePageContext(pageContext); >>>>> } >>>>> } >>>>> >>>>> I am thinking more and more that the errors I am getting in Struts >>>>> is due to (a) old version of tomcat running in JBoss? or (b) >>>>> permissions are really screwed up on our server. The reason for >>>>> (b) is that I am having very hard time installing Apache Tomcat >>>>> alone on the server where as at home on my Linux box it takes no >>>>> time at all. When trying to run applications off Tomcat I am >>>>> getting similar exception to those I am having in JBoss, and >>>>> looking at Catalina.out see some classes not being loaded. >>>>> >>>>> >>>>> David G. Friedman wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Alex, >>>>>> >>>>>> I'd like to see the line 85 of the JSP as was listed in the stack >>>>>> dump. Can >>>>>> you post that to the list? >>>>>> >>>>>> Regards, >>>>>> David >>>>>> >>>>>> -----Original Message----- >>>>>> From: Alex Kravets [mailto:[EMAIL PROTECTED] >>>>>> Sent: Monday, January 17, 2005 9:27 AM >>>>>> To: Struts Users Mailing List >>>>>> Subject: Re: Stuts forwarding does not work >>>>>> >>>>>> >>>>>> I know where the error is, I viewed java class compiled by the >>>>>> servelet >>>>>> container of the JSP page and the error is at the line that servlet >>>>>> container generated, but I don't know what it means. >>>>>> The error in compiled JSP page: >>>>>> if (_jspx_meth_html_form_0(pageContext)) >>>>>> return; >>>>>> out.write("\n"); >>>>>> out.write("</BODY>\n"); >>>>>> out.write("</HTML>\n\n"); >>>>>> out.write("\n"); >>>>>> } catch (Throwable t) { >>>>>> out = _jspx_out; >>>>>> if (out != null && out.getBufferSize() != 0) >>>>>> out.clearBuffer(); >>>>>> if (pageContext != null) pageContext.handlePageException(t); >>>>>> <--- >>>>>> ERROR >>>>>> } finally { >>>>>> if (_jspxFactory != null) >>>>>> _jspxFactory.releasePageContext(pageContext); >>>>>> } >>>>>> } >>>>>> >>>>>> I have not idea why there is an error here. >>>>>> In addition when checked server.log in exception I had a line >>>>>> that says >>>>>> "2005-01-17 09:18:39,307 ERROR [org.jboss.web.localhost.Engine]" >>>>>> so may >>>>>> be problem is with JBoss setup. Also, tomcat log says: >>>>>> 192.9.200.230 - - [17/Jan/2005:09:22:53 -0500] "POST >>>>>> /log/QuerySubmit.do >>>>>> HTTP/1.1" 500 10707 <-- without input >>>>>> 192.9.200.230 - - [17/Jan/2005:09:23:12 -0500] "POST >>>>>> /log/QuerySubmit.do >>>>>> HTTP/1.1" 200 - <-- with input >>>>>> >>>>>> My appologies for dumping the whole exception on you wthout further >>>>>> investigation, hope these details help. >>>>>> >>>>>> thanks, >>>>>> Alex >>>>>> >>>>>> David G. Friedman wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Alex, >>>>>>> >>>>>>> The below Stack Trace "snippet" suggests you had some sort of >>>>>>> exception in >>>>>>> your Logon jsp, line 85, while trying to use something in the >>>>>>> page context. >>>>>>> This was clearly noted in the Stack trace. They are very useful >>>>>>> (Stack >>>>>>> traces). If this happens alot to you then I would recommend >>>>>>> you learn how >>>>>>> to read Stack traces. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Root Cause ----- >>>>>>>> javax.servlet.ServletException at >>>>>>>> org.apache.jasper.runtime.PageContextImpl.handlePageException >>>>>>>> (PageContextImpl.java:533) at >>>>>>>> org.apache.jsp.Logon_jsp._jspService(Logon_jsp.java:85) at >>>>>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >>>>>>>> >>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >>>>>>>> at It seems like something is wrong in your login jsp. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> Regards, >>>>>>> David >>>>>>> >>>>>>> >>>>>>> >>>>>>> -------------------------------------------------------------------- - >>>>>>> >>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >>> >> >> >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]