We're updating the issue view to help you get more done. 

Streams handlers is throwing exceptions when trying to access feeds based on custom Application Links

Description

I wanted to raise this to your attention, we are running into some issues when testing with JIRA 5.0 with the connectors, the functionality of the connectors seems to be working as expected, however, one of the streams handlers is throwing exceptions when trying to access feeds based on our custom Application Links, please see the except from our logs as below:

2011-11-30 16:29:48,934 StreamsCompletionService::thread-310 WARN admin com.atlassian.streams.internal.ActivityProviderConnectionMonitorImpl:activityProviderMonitor [atlassian.streams.internal.AppLinksActivityProvider] Error fetching from /plugins/servlet/streams?local=true&use-accept-lang=true&maxResults=5
com.atlassian.sal.api.net.ResponseException: Error 404: 'Not Found' received when retrieving activity from 'https://www.salesforce.com/plugins/servlet/streams?local=true&use-accept-lang=true&maxResults=5'
at com.atlassian.streams.internal.AppLinksActivityProvider$FeedResponseHandler.handle(AppLinksActivityProvider.java:524)
at com.atlassian.streams.internal.AppLinksActivityProvider$FeedResponseHandler.handle(AppLinksActivityProvider.java:508)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:163)
at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:158)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85)
at com.atlassian.streams.internal.AppLinksActivityProvider.fetch(AppLinksActivityProvider.java:416)
at com.atlassian.streams.internal.AppLinksActivityProvider.access$200(AppLinksActivityProvider.java:96)
at com.atlassian.streams.internal.AppLinksActivityProvider$1.call(AppLinksActivityProvider.java:178)
at com.atlassian.streams.internal.AppLinksActivityProvider$1.call(AppLinksActivityProvider.java:170)
at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:115)
at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:110)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:96)
at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2011-11-30 16:35:44,950 StreamsCompletionService::thread-313 WARN anonymous com.atlassian.streams.internal.ActivityProviderConnectionMonitorImpl:activityProviderMonitor [atlassian.streams.internal.AppLinksActivityProvider] Unable to retrieve filter options from /rest/activity-stream/1.0/config?local=true

From the looks of it, it is trying to retrieve streams from our custom application links, however the systems we are connecting to do not implement feeds, as such, the feed retriever does not work correctly, is there a way to flag our Application Links as "does not support streams" so that the streams plugin does not do a fetch on the streams for our Application Links (I had a look in the source of the streams plugin with little luck)? This does not have any visible issues in the UI, however, floods the logs with the error message quite frequently, we actually had one person that raised this issue on our forum:
http://community.customware.net/customware/topics/_error_404_not_found_received_when_retrieving_activity_in_catalina_out

Environment

None

Testing Notes

None

Status

Assignee

Unassigned

Reporter

Bryan Rollins

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Components

Priority

Major