-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
None
-
None
-
None
-
Severity 3 - Minor
-
6
-
Summary
When an Application Link between FishEye and JIRA exists and the "Global Anonymous Access" option is turned off in FishEye, an unnecessary WARN message is written in the JIRA log files.
Steps to Reproduce
- In FishEye, turn off the "Global Anonymous Access" option (FishEye Administration > Authentication page)
- Create an Application Link between JIRA and FishEye (on both sides)
- Restart JIRA
Expected Results
No WARN message is written to the log files.
Actual Results
The following WARN message is written to the JIRA log file (atlassian-jira.log):
2015-05-07 04:42:18.156475500 2015-05-07 04:42:18,137 main WARN [jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl] Error retrieving repositories for 'https://fisheye.dev.internal.atlassian.com/' 2015-05-07 04:42:18.156478500 java.io.IOException: Error in remote call to 'fisheye' (https://fisheye.dev.internal.atlassian.com) [AbstractRestCommand{path='api/rest/repositories', params={}, methodType=POST}] : anon access forbidden 2015-05-07 04:42:18.156480500 2015-05-07 04:42:18.156481500 at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:197) 2015-05-07 04:42:18.156492500 at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:124) 2015-05-07 04:42:18.156493500 at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.getRepositories(FishEyeManagerImpl.java:117) 2015-05-07 04:42:18.156495500 at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.updateInstanceRepositories(FishEyeManagerImpl.java:248) 2015-05-07 04:42:18.156498500 at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.refresh(FishEyeManagerImpl.java:268) 2015-05-07 04:42:18.156499500 at com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl.refreshRefreshables(RefreshManagerImpl.java:162) 2015-05-07 04:42:18.156504500 at com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl.refreshAll(RefreshManagerImpl.java:80) 2015-05-07 04:42:18.156505500 at com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl.onStart(RefreshManagerImpl.java:94) 2015-05-07 04:42:18.156506500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-05-07 04:42:18.156507500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2015-05-07 04:42:18.156509500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015-05-07 04:42:18.156510500 at java.lang.reflect.Method.invoke(Method.java:483) 2015-05-07 04:42:18.156511500 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) 2015-05-07 04:42:18.156512500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) 2015-05-07 04:42:18.156515500 at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) 2015-05-07 04:42:18.156516500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) 2015-05-07 04:42:18.156517500 at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) 2015-05-07 04:42:18.156526500 at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) 2015-05-07 04:42:18.156527500 at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) 2015-05-07 04:42:18.156528500 at com.atlassian.jira.upgrade.PluginUpgradeLauncher.start(PluginUpgradeLauncher.java:35) 2015-05-07 04:42:18.156529500 at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:46) 2015-05-07 04:42:18.156532500 at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:140) 2015-05-07 04:42:18.156533500 at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:345) 2015-05-07 04:42:18.156534500 at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:215) 2015-05-07 04:42:18.156537500 at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:124) 2015-05-07 04:42:18.156538500 at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:33) 2015-05-07 04:42:18.156539500 at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:86) 2015-05-07 04:42:18.156543500 at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34) 2015-05-07 04:42:18.156544500 at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:81) 2015-05-07 04:42:18.156545500 at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:72) 2015-05-07 04:42:18.156546500 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205) 2015-05-07 04:42:18.156548500 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704) 2015-05-07 04:42:18.156549500 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) 2015-05-07 04:42:18.156550500 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) 2015-05-07 04:42:18.156551500 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) 2015-05-07 04:42:18.156553500 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) 2015-05-07 04:42:18.156554500 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) 2015-05-07 04:42:18.156555500 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) 2015-05-07 04:42:18.156556500 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) 2015-05-07 04:42:18.156560500 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) 2015-05-07 04:42:18.156560500 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) 2015-05-07 04:42:18.156562500 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) 2015-05-07 04:42:18.156562500 at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) 2015-05-07 04:42:18.156565500 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) 2015-05-07 04:42:18.156566500 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) 2015-05-07 04:42:18.156566500 at org.apache.catalina.core.StandardService.start(StandardService.java:525) 2015-05-07 04:42:18.156567500 at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) 2015-05-07 04:42:18.156568500 at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 2015-05-07 04:42:18.156570500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-05-07 04:42:18.156571500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2015-05-07 04:42:18.156572500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015-05-07 04:42:18.156573500 at java.lang.reflect.Method.invoke(Method.java:483) 2015-05-07 04:42:18.156574500 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) 2015-05-07 04:42:18.156580500 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2015-05-07 04:42:18.156581500 Caused by: com.atlassian.sal.api.net.ResponseException: anon access forbidden 2015-05-07 04:42:18.156582500 2015-05-07 04:42:18.156582500 at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.extractDocumentFrom(FishEyeRestApiManagerImpl.java:399) 2015-05-07 04:42:18.156584500 at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.handle(FishEyeRestApiManagerImpl.java:377) 2015-05-07 04:42:18.156598500 at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.handle(FishEyeRestApiManagerImpl.java:334) 2015-05-07 04:42:18.156599500 at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) 2015-05-07 04:42:18.156600500 at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:351) 2015-05-07 04:42:18.156603500 at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) 2015-05-07 04:42:18.156605500 at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) 2015-05-07 04:42:18.156606500 at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:175) 2015-05-07 04:42:18.156628500 ... 53 more
- is cloned from
-
JDEV-32939 Loading...