[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-07-15 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14062140#comment-14062140
 ] 

Guillaume Nodet commented on KARAF-2760:


Fwiw, the monitoring via file install does not work because etc/*.properties 
file are not monitored at all, only etc/*.cfg files with the current setup.

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-security
Reporter: Freeman Fang
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 4.0.0, 2.3.5, 2.3.6


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-06-23 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040754#comment-14040754
 ] 

Jean-Baptiste Onofré commented on KARAF-2760:
-

I identified another issue:

{code}
2014-06-23 15:44:35,720 | ERROR | 0.2-SNAPSHOT/etc | fileinstall
  | 11 - org.apache.felix.fileinstall - 3.4.0 | In main loop, we have 
serious trouble
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)[:1.7.0_51]
at java.util.HashMap$KeyIterator.next(HashMap.java:960)[:1.7.0_51]
at 
org.apache.felix.fileinstall.internal.WatcherScanner.scan(WatcherScanner.java:70)[11:org.apache.felix.fileinstall:3.4.0]
at 
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:305)[11:org.apache.felix.fileinstall:3.4.0]
{code}

I propose to revert the change to give time to investigate and work on it.

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-security
Reporter: Freeman Fang
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 4.0.0, 2.3.5, 2.3.6


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-06-14 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14031790#comment-14031790
 ] 

Jean-Baptiste Onofré commented on KARAF-2760:
-

Identified in ServiceMix:

With Karaf 2.3.5 - some changes
there are causing extra services to be registered in the OSGi Service
Registry while doing operations that interact with the JAAS
authentication service (e.g. doing authentication while opening a JMS
connection) - this causes those Blueprint extender threads to become
stuck, waiting for the global bundle lock to be released.

I gonna take a look and it has to fixed for 2.3.6.

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-security
Reporter: Freeman Fang
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 4.0.0, 2.3.5, 2.3.6


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-06-11 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14027545#comment-14027545
 ] 

Jean-Baptiste Onofré commented on KARAF-2760:
-

This issue introduced an issue in ServiceMix. I reopen it to give me some time 
to investigate.

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-security
Reporter: Freeman Fang
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 4.0.0, 2.3.5


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-02-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908613#comment-13908613
 ] 

Jean-Baptiste Onofré commented on KARAF-2760:
-

Merged on karaf-3.0.x: 
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=4d7f393d6421110d69500d287c30bb73a3dce471

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-security
Reporter: Freeman Fang
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-02-20 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13907458#comment-13907458
 ] 

Jean-Baptiste Onofré commented on KARAF-2760:
-

Hi Freeman, as I gonna create karaf-3.0.x branch, on a previous commit, I will 
merge your commit on that branch.

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
Reporter: Freeman Fang
Assignee: Freeman Fang
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-02-20 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13907460#comment-13907460
 ] 

Jean-Baptiste Onofré commented on KARAF-2760:
-

I assign the Jira to me in order to keep the track and merge your commit.

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-security
Reporter: Freeman Fang
Assignee: Freeman Fang
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (KARAF-2760) monitor etc/user.properties change with felix FileInstaller

2014-02-20 Thread Freeman Fang (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13907879#comment-13907879
 ] 

Freeman Fang commented on KARAF-2760:
-

commit fix
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=76fec25e to 
master
http://git-wip-us.apache.org/repos/asf/karaf/commit/a60cec5b tor karaf-2.x 
branch
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=2cf59236 
karaf-2.3.x branch

 monitor etc/user.properties change with felix FileInstaller
 ---

 Key: KARAF-2760
 URL: https://issues.apache.org/jira/browse/KARAF-2760
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-security
Reporter: Freeman Fang
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 when encryption.enabled = true and we change etc/users.properties(for example 
 add a new user), then the new user password will be encrypted only if we 
 login, it would be better that if we could monitor the etc/users.properties 
 also with FileInstaller, so that any change in etc/users.properties could 
 take effect immediately



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)