You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <tu...@ws.apache.org> on 2007/09/04 00:54:58 UTC

[jira] Closed: (TUSCANY-1624) calculator-webapp-ws fails when Tomcat port is not 8080

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

ant elder closed TUSCANY-1624.
------------------------------

    Resolution: Fixed

Its not trivial to get the sample working on any port so i've just updated the README to document that its hardcoded to use port 8080. 

> calculator-webapp-ws fails when Tomcat port is not 8080
> -------------------------------------------------------
>
>                 Key: TUSCANY-1624
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1624
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-0.99
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.0
>
>
> If Tomcat is configured to use port 8070 instead of 8080, this causes the calculator-webapp-ws sample to fail with the following error:
> type Exception report
> message 
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception 
> org.apache.jasper.JasperException
> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
> 	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.reflect.UndeclaredThrowableException
> 	$Proxy8.add(Unknown Source)
> 	calculator.CalculatorServiceImpl.add(CalculatorServiceImpl.java:54)
> 	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	java.lang.reflect.Method.invoke(Method.java:585)
> 	org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:91)
> 	org.apache.tuscany.sca.binding.sca.impl.RuntimeSCABindingInvoker.invoke(RuntimeSCABindingInvoker.java:48)
> 	org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:270)
> 	org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:114)
> 	$Proxy6.add(Unknown Source)
> 	org.apache.jsp.calc_jsp._jspService(calc_jsp.java:65)
> 	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:332)
> 	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.17 logs.
> Either the sample should be changed to allow other port numbers to be used, or the README should be corrected to say that the port must be 8080.

-- 
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