Application link Jira-Bamboo
Asked by Olivier:

Hello,

We have a weird bug with our application link between Bamboo and Jira.

The 2 servers are separated in 2 different network.

We are using unproxied application link to get the applications communicate together.

We have several application links :

\* Jira-Confluence : OK

\* Bamboo-Bitbucket : OK

\* Bamboo-Confluence : OK

\* but Bamboo-Jira : KO

On the Jira side, the application link is "working" :

![Config-Jira-OK.png](/t5/image/serverpage/image-id/35188i39E0F4B8429D98C1/image-size/large?v=v2&px=999 "Config-Jira-OK.png")

But on the Bamboo server, there is a "config error", with the message "reciprocal application link is missing", which is not correct, see the screenshot above...

![Config-Bamboo-KO.png](/t5/image/serverpage/image-id/35189i61549D6DA946652A/image-size/large?v=v2&px=999 "Config-Bamboo-KO.png")

In the log file, we found these errors, but they didn't helped us to find a solution.

```
12-Oct-2018 11:22:53.111 SEVERE [http-apr-8085-exec-19] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet file-server threw exception
?java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: APR error: -730054
?? ?at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:140)
?? ?at com.atlassian.plugin.cache.filecache.impl.OneStreamCache.stream(OneStreamCache.java:65)
?? ?at com.atlassian.plugin.cache.filecache.impl.FileCacheImpl.cache(FileCacheImpl.java:100)
?? ?at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.cache(Controller.java:317)
?? ?at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.writeTo(Controller.java:272)
[...] sorry, max 20000 character for the message 
?? ?at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)
?? ?at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)
?? ?at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)
?? ?at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
?? ?at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
?? ?at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
?? ?at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: APR error: -730054
?? ?at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:396)
?? ?at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
?? ?at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:339)
?? ?at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:421)
?? ?at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:409)
?? ?at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97)
?? ?at com.github.ziplet.filter.compression.StatsOutputStream.write(StatsOutputStream.java:61)
?? ?at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
?? ?at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
?? ?at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145)
?? ?at com.github.ziplet.filter.compression.StatsOutputStream.write(StatsOutputStream.java:61)
?? ?at com.github.ziplet.filter.compression.ThresholdOutputStream.write(ThresholdOutputStream.java:101)
?? ?at com.github.ziplet.filter.compression.CompressingServletOutputStream.write(CompressingServletOutputStream.java:67)
?? ?at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2315)
?? ?at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)
?? ?at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)
?? ?at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:135)
?? ?... 212 more
Caused by: java.io.IOException: APR error: -730054
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.writeToSocket(InternalAprOutputBuffer.java:291)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.writeToSocket(InternalAprOutputBuffer.java:244)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer(InternalAprOutputBuffer.java:213)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.addToBB(InternalAprOutputBuffer.java:174)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.access$000(InternalAprOutputBuffer.java:40)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer$SocketOutputBuffer.doWrite(InternalAprOutputBuffer.java:349)
?? ?at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:118)
?? ?at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:256)
?? ?at org.apache.coyote.Response.doWrite(Response.java:491)
?? ?at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:391)
?? ?... 228 more

12-Oct-2018 11:22:53.111 SEVERE [http-apr-8085-exec-19] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [default] in context with path [] threw exception
?java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: APR error: -730054
?? ?at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:140)
?? ?at com.atlassian.plugin.cache.filecache.impl.OneStreamCache.stream(OneStreamCache.java:65)
?? ?at com.atlassian.plugin.cache.filecache.impl.FileCacheImpl.cache(FileCacheImpl.java:100)
?? ?at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.cache(Controller.java:317)
?? ?at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.writeTo(Controller.java:272)
?? ?at com.atlassian.plugin.webresource.http.Controller.sendCached(Controller.java:364)
?? ?at com.atlassian.plugin.webresource.http.Controller.serveResources(Controller.java:179)
?? ?at com.atlassian.plugin.webresource.http.Controller.serveBatch(Controller.java:78)
?? ?at com.atlassian.plugin.webresource.http.Router$5.apply(Router.java:97)
?? ?at com.atlassian.plugin.webresource.http.Router$5.apply(Router.java:89)
?? ?at com.atlassian.plugin.webresource.support.http.BaseRouter.callHandler(BaseRouter.java:185)
?? ?at com.atlassian.plugin.webresource.support.http.BaseRouter.dispatch(BaseRouter.java:161)
?? ?at com.atlassian.plugin.webresource.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:67)
?? ?at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:28)
?? ?at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
?? ?at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
?? ?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
?? ?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
?? ?at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
?? ?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
?? ?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
?? ?at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)
?? ?at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)
?? ?at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
[...] sorry, max 20000 characters for the message
 ? ?at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)
?? ?at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
?? ?at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
?? ?at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
?? ?at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: APR error: -730054
?? ?at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:396)
?? ?at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
?? ?at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:339)
?? ?at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:421)
?? ?at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:409)
?? ?at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97)
?? ?at com.github.ziplet.filter.compression.StatsOutputStream.write(StatsOutputStream.java:61)
?? ?at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
?? ?at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
?? ?at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145)
?? ?at com.github.ziplet.filter.compression.StatsOutputStream.write(StatsOutputStream.java:61)
?? ?at com.github.ziplet.filter.compression.ThresholdOutputStream.write(ThresholdOutputStream.java:101)
?? ?at com.github.ziplet.filter.compression.CompressingServletOutputStream.write(CompressingServletOutputStream.java:67)
?? ?at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2315)
?? ?at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)
?? ?at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)
?? ?at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:135)
?? ?... 212 more
Caused by: java.io.IOException: APR error: -730054
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.writeToSocket(InternalAprOutputBuffer.java:291)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.writeToSocket(InternalAprOutputBuffer.java:244)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer(InternalAprOutputBuffer.java:213)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.addToBB(InternalAprOutputBuffer.java:174)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer.access$000(InternalAprOutputBuffer.java:40)
?? ?at org.apache.coyote.http11.InternalAprOutputBuffer$SocketOutputBuffer.doWrite(InternalAprOutputBuffer.java:349)
?? ?at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:118)
?? ?at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:256)
?? ?at org.apache.coyote.Response.doWrite(Response.java:491)
?? ?at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:391)
?? ?... 228 more

```

Do you have any hint on a solution to get this application link working ?


Answers:
author: Olivier
body: Any idea ?


Tags: application-link

jira

jira-server

server