On 8/17/07, Naveen MC <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to execute a Sample web application (calculator-webapp) from > the > tuscany-sca-0.91-incubating Release. I am using "Tomcat V 6.0" as a > application server. The original sample which is there in the release will > get executed fine and i can able to see the results. > But In the same sample, i modified few things and added one more > service > and built the WAR file. If i try to run this, i get the following error. > > I could able to test the new service by building the sample using MVN ( > using JUnit assertEquals, that is comparing the expected result with the > result returned by the service), it works fine. But when i try to run the > same using Eclipse with Tomcat v6.0. > > *type* Exception report > > *message* > > *description* *The server encountered an internal error () that prevented > it > from fulfilling this request.* > > *exception* > > org.apache.jasper.JasperException: java.lang.NullPointerException > org.apache.jasper.servlet.JspServletWrapper.handleJspException( > JspServletWrapper.java:541) > org.apache.jasper.servlet.JspServletWrapper.service( > JspServletWrapper.java:435) > org.apache.jasper.servlet.JspServlet.serviceJspFile( > JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > *root cause* > > java.lang.NullPointerException > org.apache.jsp.calc_jsp._jspService(calc_jsp.java:63) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.jasper.servlet.JspServletWrapper.service( > JspServletWrapper.java:393) > org.apache.jasper.servlet.JspServlet.serviceJspFile( > JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > > Please let me know if anyone had faced the similar problem. > Thanks > > Regards, > Naveen. MC >
Hard to tell just from that exception, could you paste into an email the new .composite file contents? ...ant
