Bram de Kruijff created FELIX-3515:
--------------------------------------
Summary: DeploymentAdmin triggers IOException on install
Key: FELIX-3515
URL: https://issues.apache.org/jira/browse/FELIX-3515
Project: Felix
Issue Type: Bug
Components: Deployment Admin
Environment: r1339925
Reporter: Bram de Kruijff
Priority: Critical
The commit in r1339925 introduced an IOException that will happen always, but
may or may not have an effect (concurrency).
Issue it the ExplodingOutputtingInputStream#run() will always try to read an
InputStream it has already closed itself. As the IOException is now also pushed
to the calling thread this cause the deployment to fail.
{code}
java.io.IOException: Exception while processing the stream in the background:
Pipe closed
at
org.apache.felix.deploymentadmin.ExplodingOutputtingInputStream.close(ExplodingOutputtingInputStream.java:73)
at
org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:217)
at
org.amdatu.itest.base.impl.TestContextImpl.installDeploymentPackage(TestContextImpl.java:94)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira