[
https://issues.apache.org/jira/browse/WINK-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reto Bachmann-Gmür updated WINK-375:
------------------------------------
Attachment: (was: WINK-375.patch)
> wink-osgi reregistering previously unregistered service
> -------------------------------------------------------
>
> Key: WINK-375
> URL: https://issues.apache.org/jira/browse/WINK-375
> Project: Wink
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
>
> reregistering a service that was unregistered before may cause the following
> warning and fail:
> 2012-12-07 10:26:00,062 [FelixStartLevel] WARN [FelixStartLevel]
> (ApplicationValidator.java\:85) - The class XX was already added to the
> JAX-RS runtime. The runtime is ignoring this value. Check that this class
> was not returned in the javax.ws.rs.core.Application subclass getSingletons()
> and getClasses() methods.
> The reason for this is that on unregistetration a new RequestProcessor is not
> created right away but only scheduled for the next request. Adding a new
> resource should trigger creation of a new RequestProcessor if the request
> processor is outdated
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira