You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <tu...@ws.apache.org> on 2007/08/25 05:01:33 UTC

[jira] Resolved: (TUSCANY-1606) Calculator-webapp build with ant won't run in tomcat

     [ https://issues.apache.org/jira/browse/TUSCANY-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende resolved TUSCANY-1606.
--------------------------------------

    Resolution: Fixed

Resolved after the changes from TUSCANY-1611

> Calculator-webapp build with ant won't run in tomcat
> ----------------------------------------------------
>
>                 Key: TUSCANY-1606
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1606
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-0.99
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-0.99
>
>
> Here is what i see :
> message
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception
> org.apache.jasper.JasperException: Exception in JSP: /calc.jsp:26
> 23: <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> 24: <%
> 25:    SCADomain scaDomain = (SCADomain) application.getAttribute("org.apache.tuscany.sca.SCADomain");
> 26:    CalculatorService calculatorService = scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent");
> 27: %>
> 28: <html>
> 29: <head><title>Calculator sample</title></head>
> Stacktrace:
> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause
> java.lang.NullPointerException
> 	org.apache.jsp.calc_jsp._jspService(calc_jsp.java:52)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org