FW: Apache Tomcat 4.0 vs 4.1
Has no-one any ideas about my issue below? -Original Message- From: John Eaton Sent: 24 February 2004 09:17 To: [EMAIL PROTECTED] Subject: RE: Apache Tomcat 4.0 vs 4.1 The jsp page in the work directory is as follows package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.apache.jasper.runtime.*; import com.lagan.lagancentre.core.thinclient.common.util.*; import com.lagan.lagancentre.core.util.forms.*; import java.lang.*; import java.util.*; import java.text.*; public class CreateIndividual_jsp extends HttpJspBase { private static java.util.Vector _jspx_includes; public java.util.List getIncludes() { return _jspx_includes; } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; javax.servlet.jsp.PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType(text/html;charset=UTF-8); 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(\r\n\r\n); out.write(\r\n); out.write(\r\n); out.write(\r\n); out.write(\r\n); out.write(\r\n); out.write(\r\n); out.write(\r\n\r\n); out.write(html\r\n); out.write(head\r\n); out.write(titleCreate Individual); out.write(/title\r\n); out.write(link rel=\stylesheet\ href=\style.css\ type=\text/css\\r\n); out.write(/head\r\n); out.write(script language=\javascript\ src=\calendar.js\); out.write(/script\r\n); out.write(body\r\n\r\n); JspRuntimeLibrary.include(request, response, Options.jsp + ? + pageTitle= + Create+Individual, out, true); out.write(\r\n\r\n); out.write(\r\n\r\n); int[] parms = new int[32]; for (int i=0; i32; i++) parms[i] = WSMethod.STRING; parms[10] = WSMethod.CALENDAR; String service = (String) application.getAttribute(AttributeName.WEB_SERVICE); WSMethod meth = new WSMethod(service, createIndividual, parms); String title = null; String forename1 = null; String forename2 = null; String forename3 = null; String surname = null; String addressnumber = null; String address1 = null; String address2 = null; String address3 = null; String postcode = null; String dob = null; String phonenumber1 = null; String phoneusage1 = null; String phonetype1 = null; String phonenumber2 = null; String phoneusage2 = null; String phonetype2 = null; String emailaddress = null; String emailusage = null; String verificationlevel = null; String gender = null; String maritalstatus = null; String ethnicity = null; String nationality = null; String healthnumber = null; String ninumber = null; Calendar birth = null; boolean mandatory = false; boolean invalidDate = false; String dobString = null; if (request.getParameter(create) != null) { title = request.getParameter(title); forename1 = request.getParameter(forename1); forename2 = request.getParameter(forename2); forename3 = request.getParameter(forename3); surname = request.getParameter(surname); addressnumber = request.getParameter(addressnumber); address1 = request.getParameter(address1); address2 = request.getParameter(address2); address3 = request.getParameter(address3); postcode = request.getParameter(postcode); dob = request.getParameter(dob); phonenumber1 = request.getParameter(phonenumber1); phoneusage1 = request.getParameter(phoneusage1); phonetype1 = request.getParameter(phonetype1); phonenumber2 = request.getParameter(phonenumber2); phoneusage2 = request.getParameter(phoneusage2); phonetype2 = request.getParameter(phonetype2); emailaddress = request.getParameter(emailaddress); emailusage = request.getParameter(emailusage); verificationlevel = request.getParameter(verificationlevel); gender = request.getParameter(gender
RE: Apache Tomcat 4.0 vs 4.1
)) { out.write(\r\n\t\t\t\t\t\t\t\t\t\t\t); out.write(option value=\); out.print( comboItems[i].getValue() ); out.write(\ selected); out.print( comboItems[i].getName() ); out.write(/option\r\n\t\t\t\t\t\t\t\t\t\t); } else { out.write(\r\n\t\t\t\t\t\t\t\t\t\t\t); out.write(option value=\); out.print( comboItems[i].getValue() ); out.write(\); out.print( comboItems[i].getName() ); out.write(/option\r\n\t\t\t\t\t\t\t\t\t\t); } } out.write(\r\n\t\t\t\t\t\t\t\t\t); out.write(/select); out.write(/td\r\n\t\t); out.write(/tr\r\n\t); out.write(/table\r\n); out.write(/td\r\n); out.write(/tr\r\n); out.write(/table\r\n\t); out.write(p\r\n\r\n \t); out.write(input class=\button\ type=\submit\ name=\create\ value=\Create\\r\n \t); out.write(input class=\button\ type=\submit\ name=\reset\ value=\Reset\ \r\n\r\n); out.write(/center); out.write(/form\r\n\r\n); out.write(/body\r\n); out.write(/html\r\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); } } } The line that the exception reports at is just the handler line i.e. if (pageContext != null) pageContext.handlePageException(t); John -Original Message- From: John Eaton Sent: 20 February 2004 09:25 To: 'Tomcat Users List' Subject: RE: Apache Tomcat 4.0 vs 4.1 Yes I can see the jsp page in the work directory. The reason I chose this title is that it works in Tomcat 4.0.3 but does not work in 4.1.24 or 4.1.29 Thanks John -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 19 February 2004 16:57 To: Tomcat Users List Subject: RE: Apache Tomcat 4.0 vs 4.1 Howdy, - Root Cause - javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte xtIm pl.java:536) at org.apache.jsp.CreateIndividual_jsp._jspService(CreateIndividual_jsp.ja va:8 60) Can you see the .java page for your JSP in tomcat's work directory? Also, why did you choose this subject? Does it work on 4.0.3 and not on 4.1, or vice versa? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache Tomcat 4.0 vs 4.1
Yes I can see the jsp page in the work directory. The reason I chose this title is that it works in Tomcat 4.0.3 but does not work in 4.1.24 or 4.1.29 Thanks John -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 19 February 2004 16:57 To: Tomcat Users List Subject: RE: Apache Tomcat 4.0 vs 4.1 Howdy, - Root Cause - javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte xtIm pl.java:536) at org.apache.jsp.CreateIndividual_jsp._jspService(CreateIndividual_jsp.ja va:8 60) Can you see the .java page for your JSP in tomcat's work directory? Also, why did you choose this subject? Does it work on 4.0.3 and not on 4.1, or vice versa? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache Tomcat 4.0 vs 4.1
) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) The SOAP message does not arrive at the webservice. The URL that the web application is using to send the SOAP message is http://machinename:8081/webservice/ The web application uses SAAJ jars from sun to create and send the SOAP message to the above endpoint Does anyone have any ideas? Thanks John John Eaton Software Engineer Lagan Email: [EMAIL PROTECTED] Tel: +44 (0) 28 9050 9300 Fax:+44 (0) 28 9050 9339 The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]