• Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • 2.9
    • 2.5
    • None

      In EAC, the JIRADEV space icon has gone missing.
      It has the url - http://extranet.atlassian.com/download/userResources/JIRADEV/logo.
      When this is entered manually you get the following error and stack trace:

      javax.servlet.ServletException: An exception was encountered while getting a stream
       at com.atlassian.plugin.servlet.BaseFileServerServlet.doGet(BaseFileServerServlet.java:87)
      caused by: java.io.IOException: An exception was encountered while getting a stream
       at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload$StreamResult.getStream(ServeAfterTransactionDownload.java:96)
      caused by: java.io.FileNotFoundException: /opt/j2ee/domains/atlassian.com/extranet/webapps/atlassian-confluence/data/resources/JIRADEV/JIRA_AnimatedIcon.gif (No such file or directory)
       at java.io.FileInputStream.open(Native Method)
      
      javax.servlet.ServletException: An exception was encountered while getting a stream
      	at com.atlassian.plugin.servlet.BaseFileServerServlet.doGet(BaseFileServerServlet.java:87)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122)
      	at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
      	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
      	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
      	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
      	at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
      	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      	at java.lang.Thread.run(Thread.java:595)
      caused by:
      java.io.IOException: An exception was encountered while getting a stream
      	at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload$StreamResult.getStream(ServeAfterTransactionDownload.java:96)
      	at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.getStreamInTransaction(ServeAfterTransactionDownload.java:41)
      	at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:46)
      	at com.atlassian.plugin.servlet.BaseFileServerServlet.doGet(BaseFileServerServlet.java:77)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122)
      	at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
      	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
      	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
      	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
      	at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
      	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: java.io.FileNotFoundException: /opt/j2ee/domains/atlassian.com/extranet/webapps/atlassian-confluence/data/resources/JIRADEV/JIRA_AnimatedIcon.gif (No such file or directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.(FileInputStream.java:106)
      	at com.atlassian.confluence.servlet.download.ResourceDownload.getStreamForDownload(ResourceDownload.java:51)
      	at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload$StreamResultCallback.doInTransaction(ServeAfterTransactionDownload.java:128)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114)
      	at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.getStreamInTransaction(ServeAfterTransactionDownload.java:40)
      	... 58 more
      

            [CONFSERVER-8908] Space/global icon doesn't work in a cluster

            Anatoli added a comment -

            Closing this issue because the underlying problem was fixed in CONF-11494.

            Anatoli added a comment - Closing this issue because the underlying problem was fixed in CONF-11494 .

            Nick, it is true that Confluence 2.8 does have a regression for Global logos being displayed in spaces, CONF-11833. Fixing that bug will not make them work in a cluster though.

            Don Willis added a comment - Nick, it is true that Confluence 2.8 does have a regression for Global logos being displayed in spaces, CONF-11833 . Fixing that bug will not make them work in a cluster though.

            From a Customer via sales@atlassian.com :

            The issue exists regardless how you access the Spaces (through each of the individual node or through cluster URL). The problem exists not only in cluster environment but also in a standalone server. This only happens in 2.8. I don't see the same issue in 2.7.

            After some troubleshooting, I found a workaround that you can solve the problem temporarily by creating a directory in each node with the same name as the Space Key (including the Demo Space coming with the installation) under the "Resource" directory and copy the logo image file there.

            Nicholas Muldoon [Atlassian] added a comment - From a Customer via sales@atlassian.com : The issue exists regardless how you access the Spaces (through each of the individual node or through cluster URL). The problem exists not only in cluster environment but also in a standalone server. This only happens in 2.8. I don't see the same issue in 2.7. After some troubleshooting, I found a workaround that you can solve the problem temporarily by creating a directory in each node with the same name as the Space Key (including the Demo Space coming with the installation) under the "Resource" directory and copy the logo image file there.

            Don Willis added a comment - - edited

            For those requesting an update: While this bug is still unscheduled, it is now linked with CONF-11494, which I strongly suspect will make it into 2.9. It would be an inappropriate fix to make in stable.

            Don Willis added a comment - - edited For those requesting an update: While this bug is still unscheduled, it is now linked with CONF-11494 , which I strongly suspect will make it into 2.9. It would be an inappropriate fix to make in stable.

            We have a customer experiencing the same issue (conf 2.8.0), is there any update on the estimated time for a fix on this?

            We have managed to work around this issue by copying the file to the remaining nodes, however, it require manual intervention by a Contegix engineer each time the customer wants to update their logo.

            Contegix Support added a comment - We have a customer experiencing the same issue (conf 2.8.0), is there any update on the estimated time for a fix on this? We have managed to work around this issue by copying the file to the remaining nodes, however, it require manual intervention by a Contegix engineer each time the customer wants to update their logo.

            Our users rely on the logos to support their brands – imagine going to Nike.com and not seeing the "swoosh" logo. Not a good user experience, please fix.

            Lou Ordorica added a comment - Our users rely on the logos to support their brands – imagine going to Nike.com and not seeing the "swoosh" logo. Not a good user experience, please fix.

            Igor Minar added a comment -

            We've just stumbled upon this problem too. Any ETA for a fix? I think that perfectly working clustering is a must-have for a product that claims to be "enterprise".

            Igor Minar added a comment - We've just stumbled upon this problem too. Any ETA for a fix? I think that perfectly working clustering is a must-have for a product that claims to be "enterprise".

            The logos are stored and retrieved by the resourceManager, which is not cluster-safe. It stores the data within the Confluence home directory.

            Samuel Le Berrigaud added a comment - The logos are stored and retrieved by the resourceManager, which is not cluster-safe. It stores the data within the Confluence home directory.

            Samuel Le Berrigaud added a comment - Error only occurs on node2 ! http://node2.extranet.atlassian.com/download/userResources/JIRADEV/logo gives the above error. http://node1.extranet.atlassian.com/download/userResources/JIRADEV/logo doesn't.

              Unassigned Unassigned
              nick.menere Nick Menere [Atlassian] (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: