Problem deploying implementation.widget as WebApp
-------------------------------------------------
Key: TUSCANY-2482
URL: https://issues.apache.org/jira/browse/TUSCANY-2482
Project: Tuscany
Issue Type: Bug
Components: Java SCA Misc Implementation Extensions
Affects Versions: Java-SCA-1.2
Environment: Windows XP
Reporter: Martin Wieser
Deploying implementation.widget to a Tomcat server instead of using the
embedded server, the received id in
org.apache.tuscany.sca.implementation.widget.provider.WidgetImplementationInvoker.invoke()
is not formatted correctly, and and so cannot be recognized correctly.
So the xxx.js URL is not detected, instead an unknown file is searched and the
implemention.widget cannot work properly.
I tried to solve this problem at the source by changing
org.apache.tuscany.sca.binding.http.provider.HTTPGetListenerServlet.doGet():
protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
// Get the request path
// String path =
URLDecoder.decode(request.getRequestURI().substring(request.getServletPath().length()),
"UTF-8");
//!!!!! Changed by Martin Wieser, FhG-IITB
String path = request.getPathInfo();
With this patch it works correctly, but i'm not shure if it is the correct
position to avoid this bug.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.