[ 
https://issues.apache.org/jira/browse/FELIX-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118728#comment-17118728
 ] 

Rudi Vankeirsbilck commented on FELIX-6280:
-------------------------------------------

I have just downloaded the latest code (zip format) from 
[https://github.com/apache/felix-dev] and then cd into configadmin and started 
the maven build but it gives me the following error:

[INFO] Checking legal files in: org.apache.felix.configadmin-1.9.17-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:37 min
[INFO] Finished at: 2020-05-28T16:15:09+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) 
on project org.apache.felix.configadmin: Artifact does not contain any legal 
files: org.apache.felix.configadmin-1.9.17-SNAPSHOT.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 
 

> Custom persistence manager no longer working under jdk14
> --------------------------------------------------------
>
>                 Key: FELIX-6280
>                 URL: https://issues.apache.org/jira/browse/FELIX-6280
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>         Environment: jdk14
>            Reporter: Rudi Vankeirsbilck
>            Priority: Major
>         Attachments: ConfigurationPersistenceManager.java
>
>
> The project that I am working on is currently still using jdk8 but we are 
> planning to move to jdk14 and is using a custom 
> org.apache.felix.cm.PersistenceManager that stores the configuration 
> information in a SQL database. I have attached the sources (see 
> ConfigurationPersistenceManager.java)
> First thing I did was to upgrade to felix 6.0.3 (was using 5.6.1 before) and 
> upgraded the sub projects that we use to the most recent version. We are 
> using SCR 1.9.16.
> After the upgrade, the components did not really seem to startup correctly. I 
> could narrow down some of the problems to one component that is not active 
> and requires configuration information from my custom persistence manager. In 
> the component overview it is marked as "no config". When I go edit the 
> configuration, all of the values that are stored in the database are 
> effectively there. Also when I start felix and attach a remote debugger to 
> it, it invokes my custom persistence manager and it returns the configuration 
> for the requested component. When I then save the component, my custom 
> persistence manager is invoked again and does not produce any errors but when 
> I continue to trace in the debugger, I end up in 
> org.apache.felix.cm.impl.UpdateThread#schedule(Runnable) that is adding an 
> object to "updateTasks" LinkedList and subsequently invokes notifyAll() on 
> it. This is happening time and time again, i.e. each time I save the 
> configuration an element is added to updateTasks but the component but the 
> thread that is intended to pickup the event is not responding 
> (org.apache.felix.cm.impl.UpdateThread#run()) is never removing any elements 
> from updateTasks. Also, the component whose configuration I updated is never 
> getting its activate method invoked.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to