[
https://issues.apache.org/jira/browse/FELIX-6308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17161972#comment-17161972
]
Carsten Ziegeler commented on FELIX-6308:
-----------------------------------------
There are potentially different reasons for such an exception, multithreaded
access might be one of it. Are you concurrently calling update()?
The whole Configuration class is thread safe, so update() and any other method
can be called concurrently
> Bad File Descriptor while persisting service configuration
> ----------------------------------------------------------
>
> Key: FELIX-6308
> URL: https://issues.apache.org/jira/browse/FELIX-6308
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin
> Affects Versions: configadmin-1.9.16
> Reporter: Veselin
> Priority: Major
> Attachments: stacktrace.txt
>
>
> I got un unusual exception while flushing some configuration by calling
> ConfigurationAdapter.update() : java.io.IOException: Bad file descriptor. As
> I understood the exception this can happen in multithreading environment if
> the ouput stream is closed.
>
> Is update() threadsafe?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)