You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2007/08/28 14:17:32 UTC

[jira] Created: (TUSCANY-1627) alert aggregator demo feeds don't work (may be a wider problem with the way feed url's are managed in host-webapp environment)

alert aggregator demo feeds don't work (may be a wider problem with the way feed url's are managed in host-webapp environment)
------------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1627
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1627
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-0.99
            Reporter: Simon Laws
             Fix For: Java-SCA-1.0


Using the URL 

http://localhost:8080/demo-alert-aggregator/services/AlertsFeedServiceRSS

With the alert-aggregator demo results in a 404. 

This is what Tomcat prints out

28-Aug-2007 12:07:24 org.apache.tuscany.sca.binding.feed.provider.FeedBindingLis
tenerServlet doGet
INFO: >>> FeedEndPointServlet (rss_2.0) /demo-alert-aggregator/services/AlertsFe
edServiceRSS
28-Aug-2007 12:07:24 org.apache.tuscany.sca.binding.feed.provider.FeedBindingLis
tenerServlet doGet

I added a little extra debug and find that the path info is 

INFO: >>> FeedEndPointServlet path = /AlertsFeedServiceRSS 

Having this path info means that the feed binding will ignore the request. There is code in FeedBindingListenerServlet that, for rss feeds, only does something if

 if (path == null || path.length() == 0 || path.equals("/")) {


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


[jira] Resolved: (TUSCANY-1627) alert aggregator demo feeds don't work (may be a wider problem with the way feed url's are managed in host-webapp environment)

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino resolved TUSCANY-1627.
---------------------------------------------

    Resolution: Fixed

Can you try again with the latest trunk? it should be fixed now.

See http://www.mail-archive.com/tuscany-user@ws.apache.org/msg01668.html for a description of the issues with the Webapp integration and what I did to fix them.

Please reopen if there are still any problems. Thanks.

> alert aggregator demo feeds don't work (may be a wider problem with the way feed url's are managed in host-webapp environment)
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1627
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1627
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-0.99
>            Reporter: Simon Laws
>             Fix For: Java-SCA-1.0
>
>
> Using the URL 
> http://localhost:8080/demo-alert-aggregator/services/AlertsFeedServiceRSS
> With the alert-aggregator demo results in a 404. 
> This is what Tomcat prints out
> 28-Aug-2007 12:07:24 org.apache.tuscany.sca.binding.feed.provider.FeedBindingLis
> tenerServlet doGet
> INFO: >>> FeedEndPointServlet (rss_2.0) /demo-alert-aggregator/services/AlertsFe
> edServiceRSS
> 28-Aug-2007 12:07:24 org.apache.tuscany.sca.binding.feed.provider.FeedBindingLis
> tenerServlet doGet
> I added a little extra debug and find that the path info is 
> INFO: >>> FeedEndPointServlet path = /AlertsFeedServiceRSS 
> Having this path info means that the feed binding will ignore the request. There is code in FeedBindingListenerServlet that, for rss feeds, only does something if
>  if (path == null || path.length() == 0 || path.equals("/")) {

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