[jira] [Updated] (KARAF-2772) Separate command api and support classes from shell

2014-02-21 Thread Christian Schneider (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider updated KARAF-2772:
---

Description: 
Like discussed on irc we would like to make karaf commands more reusable 
outside karaf.

The goal is to run karaf commands without the karaf shell.

So we need to split the shell project in two parts:
- command-api (proposed name)
  contains command API + supporting classes like AbstractCommand which are 
necessary to run Action classes
- shell.console impls

The command-api bundle should only depend on the OSGi APIs and gogo to make it 
lightweight. So projects implementing commands can do this while having minimal 
compile time dependencies to karaf.

I already took a peek into the shell to see how difficult this is. I found very 
few problematic classes.

One is ConsoleFactory which depends on jline and several exceptions which use 
jansi. 
- I propose we move this to a new package console.factory. This package then 
needs to remain in shell.console

The other is NamespaceHandler
- The blueprint NamespaceHandler can not go to the API bundle as it depends on 
aries. So for now we could move it to console.commands.blueprint.impl or 
similar and leave it in shell.console



  was:
Like discussed on irc we would like to make karaf commands more reusable 
outside karaf.

The goal is to run karaf commands without the karaf shell.

So we need to split the shell project in two parts:
- command-api (proposed name)
  contains command API + supporting classes like AbstractCommand which are 
necessary to run Action classes
- shell 

The command-api bundle should only depend on the OSGi APIs to make it 
lightweight.

I already took a peek into the shell to see how difficult this is. I found very 
few problematic classes.

One is ConsoleFactory which depends on jline and several exceptions which use 
jansi. 

ConsoleFactory can be easily moved
For the exceptions I propose to only store the parts and do the formatting in 
the shell bundle.



 Separate command api and support classes from shell
 ---

 Key: KARAF-2772
 URL: https://issues.apache.org/jira/browse/KARAF-2772
 Project: Karaf
  Issue Type: Improvement
  Components: karaf-shell
Affects Versions: 3.0.0
Reporter: Christian Schneider
Assignee: Christian Schneider
 Fix For: 3.1.0


 Like discussed on irc we would like to make karaf commands more reusable 
 outside karaf.
 The goal is to run karaf commands without the karaf shell.
 So we need to split the shell project in two parts:
 - command-api (proposed name)
   contains command API + supporting classes like AbstractCommand which are 
 necessary to run Action classes
 - shell.console impls
 The command-api bundle should only depend on the OSGi APIs and gogo to make 
 it lightweight. So projects implementing commands can do this while having 
 minimal compile time dependencies to karaf.
 I already took a peek into the shell to see how difficult this is. I found 
 very few problematic classes.
 One is ConsoleFactory which depends on jline and several exceptions which use 
 jansi. 
 - I propose we move this to a new package console.factory. This package then 
 needs to remain in shell.console
 The other is NamespaceHandler
 - The blueprint NamespaceHandler can not go to the API bundle as it depends 
 on aries. So for now we could move it to console.commands.blueprint.impl or 
 similar and leave it in shell.console



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


[jira] [Created] (KARAF-2774) Watched bundles are restarted twice

2014-02-21 Thread Guillaume Nodet (JIRA)
Guillaume Nodet created KARAF-2774:
--

 Summary: Watched bundles are restarted twice
 Key: KARAF-2774
 URL: https://issues.apache.org/jira/browse/KARAF-2774
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1






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


[jira] [Resolved] (KARAF-2774) Watched bundles are restarted twice

2014-02-21 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved KARAF-2774.


Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=d9b2a27cb5b942a0ea9be01e07a8b007bf6f9003

 Watched bundles are restarted twice
 ---

 Key: KARAF-2774
 URL: https://issues.apache.org/jira/browse/KARAF-2774
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1






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


[jira] [Resolved] (KARAF-2773) Refreshing the console bundle closes karaf

2014-02-21 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved KARAF-2773.


   Resolution: Fixed
Fix Version/s: 3.0.1

https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=2154f29d6f3a4e3bdea19e4f14debac3aa8c0d41

 Refreshing the console bundle closes karaf
 --

 Key: KARAF-2773
 URL: https://issues.apache.org/jira/browse/KARAF-2773
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1






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


[jira] [Resolved] (KARAF-2763) Define simple injection annotations

2014-02-21 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved KARAF-2763.


Resolution: Fixed

 Define simple injection annotations
 ---

 Key: KARAF-2763
 URL: https://issues.apache.org/jira/browse/KARAF-2763
 Project: Karaf
  Issue Type: New Feature
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.1.0


 Most of the commands use a very simple injection mechanism.
 A new set of annotations will be defined and used by commands to wire pojos.
 Those annotations can be used directly, or be translated into blueprint 
 metadata.



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


[jira] [Updated] (KARAF-2763) Define simple injection annotations for commands and completers

2014-02-21 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated KARAF-2763:
---

Summary: Define simple injection annotations for commands and completers  
(was: Define simple injection annotations)

 Define simple injection annotations for commands and completers
 ---

 Key: KARAF-2763
 URL: https://issues.apache.org/jira/browse/KARAF-2763
 Project: Karaf
  Issue Type: New Feature
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.1.0


 Most of the commands use a very simple injection mechanism.
 A new set of annotations will be defined and used by commands to wire pojos.
 Those annotations can be used directly, or be translated into blueprint 
 metadata.



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


[jira] [Commented] (KARAF-1618) Exception when restarting Karaf with shutdown -r . Can not delete jansi.dll

2014-02-21 Thread Frederic Gendebien (JIRA)

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

Frederic Gendebien commented on KARAF-1618:
---

Given a given Karaf instance A
When execute command system:shutdown -r
Then the instance stops and does not restart

Given a given Karaf instance A
When execute command system:shutdown -h
Then the instance stops and does restart

 Exception when restarting Karaf with shutdown -r . Can not delete jansi.dll
 ---

 Key: KARAF-1618
 URL: https://issues.apache.org/jira/browse/KARAF-1618
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider
 Fix For: 3.0.1


 karaf@root() shutdown -r
 Confirm: reboot instance root (yes/no):
 karaf@root() Could not launch framework: java.io.IOException: Unable to 
 delete file: 
 C:\java\apache-karaf-3.0.0-SNAPSHOT\data\cache\bundle37\version0.0\bundle.jar-lib\0\META-INF\native\windows32\jansi.dll
 java.io.IOException: Unable to delete file: 
 C:\java\apache-karaf-3.0.0-SNAPSHOT\data\cache\bundle37\version0.0\bundle.jar-lib\0\META-INF\native\windows32\jansi.dll
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:204)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at 
 org.apache.karaf.main.ConfigProperties.init(ConfigProperties.java:143)
 at org.apache.karaf.main.Main.launch(Main.java:212)
 at org.apache.karaf.main.Main.main(Main.java:169)



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


[jira] [Issue Comment Deleted] (KARAF-1618) Exception when restarting Karaf with shutdown -r . Can not delete jansi.dll

2014-02-21 Thread Frederic Gendebien (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frederic Gendebien updated KARAF-1618:
--

Comment: was deleted

(was: Given a given Karaf instance A
When execute command system:shutdown -r
Then the instance stops and does not restart

Given a given Karaf instance A
When execute command system:shutdown -h
Then the instance stops and does restart)

 Exception when restarting Karaf with shutdown -r . Can not delete jansi.dll
 ---

 Key: KARAF-1618
 URL: https://issues.apache.org/jira/browse/KARAF-1618
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider
 Fix For: 3.0.1


 karaf@root() shutdown -r
 Confirm: reboot instance root (yes/no):
 karaf@root() Could not launch framework: java.io.IOException: Unable to 
 delete file: 
 C:\java\apache-karaf-3.0.0-SNAPSHOT\data\cache\bundle37\version0.0\bundle.jar-lib\0\META-INF\native\windows32\jansi.dll
 java.io.IOException: Unable to delete file: 
 C:\java\apache-karaf-3.0.0-SNAPSHOT\data\cache\bundle37\version0.0\bundle.jar-lib\0\META-INF\native\windows32\jansi.dll
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:204)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at org.apache.karaf.main.util.Utils.forceDelete(Utils.java:196)
 at org.apache.karaf.main.util.Utils.cleanDirectory(Utils.java:168)
 at org.apache.karaf.main.util.Utils.deleteDirectory(Utils.java:135)
 at 
 org.apache.karaf.main.ConfigProperties.init(ConfigProperties.java:143)
 at org.apache.karaf.main.Main.launch(Main.java:212)
 at org.apache.karaf.main.Main.main(Main.java:169)



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


[jira] [Commented] (KARAF-1073) Add -r (reboot) and -h (halt) options to the system:shutdown command

2014-02-21 Thread Frederic Gendebien (JIRA)

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

Frederic Gendebien commented on KARAF-1073:
---

Given a given Karaf instance A
When execute command system:shutdown -r
Then the instance stops and does not restart
Expect the instance to be restarted

Given a given Karaf instance A
When execute command system:shutdown -h
Then the instance stops and does restart
Expect the instance not to be restarted


 Add -r (reboot) and -h (halt) options to the system:shutdown command
 

 Key: KARAF-1073
 URL: https://issues.apache.org/jira/browse/KARAF-1073
 Project: Karaf
  Issue Type: Improvement
  Components: karaf-shell
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.0






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


[jira] [Created] (KARAF-2775) webconsole gogo plugin does not work: Exception in thread Karaf Console Web user karaf java.lang.SecurityException: Current user has no associated roles.

2014-02-21 Thread Christian Schneider (JIRA)
Christian Schneider created KARAF-2775:
--

 Summary: webconsole gogo plugin does not work:  Exception in 
thread Karaf Console Web user karaf java.lang.SecurityException: Current user 
has no associated roles.
 Key: KARAF-2775
 URL: https://issues.apache.org/jira/browse/KARAF-2775
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider


When opening the gogo shell in the web console the console stays empty.

On the karaf shell console there is this exception:
 Exception in thread Karaf Console Web user karaf 
java.lang.SecurityException: Current user has no associated roles.

The reason is that we use a subject without roles to log into the shell



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


[jira] [Assigned] (KARAF-2775) webconsole gogo plugin does not work: Exception in thread Karaf Console Web user karaf java.lang.SecurityException: Current user has no associated roles.

2014-02-21 Thread Christian Schneider (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider reassigned KARAF-2775:
--

Assignee: Christian Schneider

 webconsole gogo plugin does not work:  Exception in thread Karaf Console Web 
 user karaf java.lang.SecurityException: Current user has no associated roles.
 

 Key: KARAF-2775
 URL: https://issues.apache.org/jira/browse/KARAF-2775
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider
Assignee: Christian Schneider
 Fix For: 3.1.0


 When opening the gogo shell in the web console the console stays empty.
 On the karaf shell console there is this exception:
  Exception in thread Karaf Console Web user karaf 
 java.lang.SecurityException: Current user has no associated roles.
 The reason is that we use a subject without roles to log into the shell



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


[jira] [Updated] (KARAF-2775) webconsole gogo plugin does not work: Exception in thread Karaf Console Web user karaf java.lang.SecurityException: Current user has no associated roles.

2014-02-21 Thread Christian Schneider (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider updated KARAF-2775:
---

Fix Version/s: 3.1.0

 webconsole gogo plugin does not work:  Exception in thread Karaf Console Web 
 user karaf java.lang.SecurityException: Current user has no associated roles.
 

 Key: KARAF-2775
 URL: https://issues.apache.org/jira/browse/KARAF-2775
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider
Assignee: Christian Schneider
 Fix For: 3.1.0


 When opening the gogo shell in the web console the console stays empty.
 On the karaf shell console there is this exception:
  Exception in thread Karaf Console Web user karaf 
 java.lang.SecurityException: Current user has no associated roles.
 The reason is that we use a subject without roles to log into the shell



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


[jira] [Updated] (KARAF-2776) Startup bundles are installed our of order

2014-02-21 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated KARAF-2776:
---

Issue Type: Bug  (was: Improvement)

 Startup bundles are installed our of order
 --

 Key: KARAF-2776
 URL: https://issues.apache.org/jira/browse/KARAF-2776
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: 3.0.1


 While this cause no harm, it's quite ugly...



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


[jira] [Created] (KARAF-2776) Startup bundles are installed our of order

2014-02-21 Thread Guillaume Nodet (JIRA)
Guillaume Nodet created KARAF-2776:
--

 Summary: Startup bundles are installed our of order
 Key: KARAF-2776
 URL: https://issues.apache.org/jira/browse/KARAF-2776
 Project: Karaf
  Issue Type: Improvement
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: 3.0.1


While this cause no harm, it's quite ugly...



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


[jira] [Created] (KARAF-2777) Substitution is scattered in various place and the code has bugs

2014-02-21 Thread Guillaume Nodet (JIRA)
Guillaume Nodet created KARAF-2777:
--

 Summary: Substitution is scattered in various place and the code 
has bugs
 Key: KARAF-2777
 URL: https://issues.apache.org/jira/browse/KARAF-2777
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1


I'll use the latest felix utils code until it is released and remove duplicate 
code.



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


[jira] [Commented] (KARAF-2776) Startup bundles are installed our of order

2014-02-21 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet commented on KARAF-2776:


We need the latest felix code which isn't released yet.

 Startup bundles are installed our of order
 --

 Key: KARAF-2776
 URL: https://issues.apache.org/jira/browse/KARAF-2776
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: 3.0.1


 While this cause no harm, it's quite ugly...



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


[jira] [Created] (KARAF-2778) The bin/shell script is broken

2014-02-21 Thread Guillaume Nodet (JIRA)
Guillaume Nodet created KARAF-2778:
--

 Summary: The bin/shell script is broken
 Key: KARAF-2778
 URL: https://issues.apache.org/jira/browse/KARAF-2778
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
 Fix For: 3.0.1






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


[jira] [Reopened] (KARAF-2759) Error in Client parameter parsing

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reopened KARAF-2759:
-


Reopen to merge on karaf-3.0.x branch.

 Error in Client parameter parsing
 -

 Key: KARAF-2759
 URL: https://issues.apache.org/jira/browse/KARAF-2759
 Project: Karaf
  Issue Type: Bug
  Components: karaf-core
Affects Versions: 3.0.0
Reporter: Jonas Fügedi
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

   Original Estimate: 1h
  Remaining Estimate: 1h

 The command line parsing has introduced a bug on line 71
 else if (args[i].equals(-f ))
 there is an extra whitespace after -f which makes it necessary to wrap the 
 argument in quotes to use the file switch, e.g.
 ./client -f  script.txt
 Code in 
 https://github.com/apache/karaf/blob/master/client/src/main/java/org/apache/karaf/client/ClientConfig.java



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


[jira] [Updated] (KARAF-2759) Error in Client parameter parsing

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2759:


Fix Version/s: 3.1.0

 Error in Client parameter parsing
 -

 Key: KARAF-2759
 URL: https://issues.apache.org/jira/browse/KARAF-2759
 Project: Karaf
  Issue Type: Bug
  Components: karaf-core
Affects Versions: 3.0.0
Reporter: Jonas Fügedi
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

   Original Estimate: 1h
  Remaining Estimate: 1h

 The command line parsing has introduced a bug on line 71
 else if (args[i].equals(-f ))
 there is an extra whitespace after -f which makes it necessary to wrap the 
 argument in quotes to use the file switch, e.g.
 ./client -f  script.txt
 Code in 
 https://github.com/apache/karaf/blob/master/client/src/main/java/org/apache/karaf/client/ClientConfig.java



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


[jira] [Updated] (KARAF-1075) pid is set as the factorypid when creating a factory configuration instance from the feature file

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-1075:


Fix Version/s: 3.1.0

 pid is set as the factorypid when creating a factory configuration instance 
 from the feature file
 -

 Key: KARAF-1075
 URL: https://issues.apache.org/jira/browse/KARAF-1075
 Project: Karaf
  Issue Type: Bug
  Components: karaf-feature
Affects Versions: 2.2.2
Reporter: Ton Swieb
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5

 Attachments: patch.txt


 When creating a factory configuration instance from the feature file. The pid 
 is supplied to the FactoryConfiguration instead of the factorypid.



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


[jira] [Reopened] (KARAF-1075) pid is set as the factorypid when creating a factory configuration instance from the feature file

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reopened KARAF-1075:
-


Reopen to merge on karaf-3.0.x branch

 pid is set as the factorypid when creating a factory configuration instance 
 from the feature file
 -

 Key: KARAF-1075
 URL: https://issues.apache.org/jira/browse/KARAF-1075
 Project: Karaf
  Issue Type: Bug
  Components: karaf-feature
Affects Versions: 2.2.2
Reporter: Ton Swieb
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5

 Attachments: patch.txt


 When creating a factory configuration instance from the feature file. The pid 
 is supplied to the FactoryConfiguration instead of the factorypid.



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


[jira] [Updated] (KARAF-1532) packing with karaf-assembly error

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-1532:


Fix Version/s: 3.1.0

 packing with karaf-assembly error
 -

 Key: KARAF-1532
 URL: https://issues.apache.org/jira/browse/KARAF-1532
 Project: Karaf
  Issue Type: Bug
  Components: karaf-tooling
Affects Versions: 3.0.0
 Environment: Karaf 3.0.0-SNAPSHOT 
Reporter: Ford Guo
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

 Attachments: InstallKarsMojo.java.diff


 In my features,I have the wrap:mvn:.,now when I use karaf-assembly to 
 custom distribute ,the mvn give me not found wrap:mvn:jar ... error.



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


[jira] [Reopened] (KARAF-1532) packing with karaf-assembly error

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reopened KARAF-1532:
-


Reopen to merge on karaf-3.0.x branch.

 packing with karaf-assembly error
 -

 Key: KARAF-1532
 URL: https://issues.apache.org/jira/browse/KARAF-1532
 Project: Karaf
  Issue Type: Bug
  Components: karaf-tooling
Affects Versions: 3.0.0
 Environment: Karaf 3.0.0-SNAPSHOT 
Reporter: Ford Guo
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

 Attachments: InstallKarsMojo.java.diff


 In my features,I have the wrap:mvn:.,now when I use karaf-assembly to 
 custom distribute ,the mvn give me not found wrap:mvn:jar ... error.



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


[jira] [Assigned] (KARAF-2778) The bin/shell script is broken

2014-02-21 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet reassigned KARAF-2778:
--

Assignee: Guillaume Nodet

 The bin/shell script is broken
 --

 Key: KARAF-2778
 URL: https://issues.apache.org/jira/browse/KARAF-2778
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1






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


[jira] [Updated] (KARAF-2767) Update to commons-fileupload 1.3.1

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2767:


Fix Version/s: 3.1.0

 Update to commons-fileupload 1.3.1
 --

 Key: KARAF-2767
 URL: https://issues.apache.org/jira/browse/KARAF-2767
 Project: Karaf
  Issue Type: Task
Reporter: Jonathan Anstey
Assignee: Jonathan Anstey
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 Fix for CVE-2014-0050. See 
 http://svn.apache.org/viewvc?view=revisionrevision=1565143



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


[jira] [Reopened] (KARAF-2767) Update to commons-fileupload 1.3.1

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reopened KARAF-2767:
-

  Assignee: Jean-Baptiste Onofré  (was: Jonathan Anstey)

Reopen for the merge on karaf-3.0.x branch

 Update to commons-fileupload 1.3.1
 --

 Key: KARAF-2767
 URL: https://issues.apache.org/jira/browse/KARAF-2767
 Project: Karaf
  Issue Type: Task
Reporter: Jonathan Anstey
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 Fix for CVE-2014-0050. See 
 http://svn.apache.org/viewvc?view=revisionrevision=1565143



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


[jira] [Commented] (KARAF-2775) webconsole gogo plugin does not work: Exception in thread Karaf Console Web user karaf java.lang.SecurityException: Current user has no associated roles.

2014-02-21 Thread JIRA

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

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

I merged on karaf-3.0.x branch.

 webconsole gogo plugin does not work:  Exception in thread Karaf Console Web 
 user karaf java.lang.SecurityException: Current user has no associated roles.
 

 Key: KARAF-2775
 URL: https://issues.apache.org/jira/browse/KARAF-2775
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider
Assignee: Christian Schneider
 Fix For: 3.0.1, 3.1.0


 When opening the gogo shell in the web console the console stays empty.
 On the karaf shell console there is this exception:
  Exception in thread Karaf Console Web user karaf 
 java.lang.SecurityException: Current user has no associated roles.
 The reason is that we use a subject without roles to log into the shell



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


[jira] [Updated] (KARAF-2775) webconsole gogo plugin does not work: Exception in thread Karaf Console Web user karaf java.lang.SecurityException: Current user has no associated roles.

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2775:


Fix Version/s: 3.0.1

 webconsole gogo plugin does not work:  Exception in thread Karaf Console Web 
 user karaf java.lang.SecurityException: Current user has no associated roles.
 

 Key: KARAF-2775
 URL: https://issues.apache.org/jira/browse/KARAF-2775
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider
Assignee: Christian Schneider
 Fix For: 3.0.1, 3.1.0


 When opening the gogo shell in the web console the console stays empty.
 On the karaf shell console there is this exception:
  Exception in thread Karaf Console Web user karaf 
 java.lang.SecurityException: Current user has no associated roles.
 The reason is that we use a subject without roles to log into the shell



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


[jira] [Commented] (KARAF-2775) webconsole gogo plugin does not work: Exception in thread Karaf Console Web user karaf java.lang.SecurityException: Current user has no associated roles.

2014-02-21 Thread JIRA

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

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

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

 webconsole gogo plugin does not work:  Exception in thread Karaf Console Web 
 user karaf java.lang.SecurityException: Current user has no associated roles.
 

 Key: KARAF-2775
 URL: https://issues.apache.org/jira/browse/KARAF-2775
 Project: Karaf
  Issue Type: Bug
Reporter: Christian Schneider
Assignee: Christian Schneider
 Fix For: 3.0.1, 3.1.0


 When opening the gogo shell in the web console the console stays empty.
 On the karaf shell console there is this exception:
  Exception in thread Karaf Console Web user karaf 
 java.lang.SecurityException: Current user has no associated roles.
 The reason is that we use a subject without roles to log into the shell



--
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-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] [Resolved] (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:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-2760.
-

Resolution: Fixed

 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-1532) packing with karaf-assembly error

2014-02-21 Thread JIRA

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

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

Fixed on karaf-3.0.x: 
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=31cbea9c168eba78ed560816bc0c0efbd697b04e

 packing with karaf-assembly error
 -

 Key: KARAF-1532
 URL: https://issues.apache.org/jira/browse/KARAF-1532
 Project: Karaf
  Issue Type: Bug
  Components: karaf-tooling
Affects Versions: 3.0.0
 Environment: Karaf 3.0.0-SNAPSHOT 
Reporter: Ford Guo
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

 Attachments: InstallKarsMojo.java.diff


 In my features,I have the wrap:mvn:.,now when I use karaf-assembly to 
 custom distribute ,the mvn give me not found wrap:mvn:jar ... error.



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


[jira] [Resolved] (KARAF-2767) Update to commons-fileupload 1.3.1

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-2767.
-

Resolution: Fixed

 Update to commons-fileupload 1.3.1
 --

 Key: KARAF-2767
 URL: https://issues.apache.org/jira/browse/KARAF-2767
 Project: Karaf
  Issue Type: Task
Reporter: Jonathan Anstey
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 Fix for CVE-2014-0050. See 
 http://svn.apache.org/viewvc?view=revisionrevision=1565143



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


[jira] [Commented] (KARAF-2767) Update to commons-fileupload 1.3.1

2014-02-21 Thread JIRA

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

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

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

 Update to commons-fileupload 1.3.1
 --

 Key: KARAF-2767
 URL: https://issues.apache.org/jira/browse/KARAF-2767
 Project: Karaf
  Issue Type: Task
Reporter: Jonathan Anstey
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5


 Fix for CVE-2014-0050. See 
 http://svn.apache.org/viewvc?view=revisionrevision=1565143



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


[jira] [Resolved] (KARAF-1532) packing with karaf-assembly error

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-1532.
-

Resolution: Fixed

 packing with karaf-assembly error
 -

 Key: KARAF-1532
 URL: https://issues.apache.org/jira/browse/KARAF-1532
 Project: Karaf
  Issue Type: Bug
  Components: karaf-tooling
Affects Versions: 3.0.0
 Environment: Karaf 3.0.0-SNAPSHOT 
Reporter: Ford Guo
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

 Attachments: InstallKarsMojo.java.diff


 In my features,I have the wrap:mvn:.,now when I use karaf-assembly to 
 custom distribute ,the mvn give me not found wrap:mvn:jar ... error.



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


[jira] [Commented] (KARAF-1075) pid is set as the factorypid when creating a factory configuration instance from the feature file

2014-02-21 Thread JIRA

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

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

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

 pid is set as the factorypid when creating a factory configuration instance 
 from the feature file
 -

 Key: KARAF-1075
 URL: https://issues.apache.org/jira/browse/KARAF-1075
 Project: Karaf
  Issue Type: Bug
  Components: karaf-feature
Affects Versions: 2.2.2
Reporter: Ton Swieb
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5

 Attachments: patch.txt


 When creating a factory configuration instance from the feature file. The pid 
 is supplied to the FactoryConfiguration instead of the factorypid.



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


[jira] [Commented] (KARAF-2759) Error in Client parameter parsing

2014-02-21 Thread JIRA

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

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

Fixed on karaf-3.0.x: 
https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=2f4c77ab48de3d25d01cc65cc80dfcd0d160098f

 Error in Client parameter parsing
 -

 Key: KARAF-2759
 URL: https://issues.apache.org/jira/browse/KARAF-2759
 Project: Karaf
  Issue Type: Bug
  Components: karaf-core
Affects Versions: 3.0.0
Reporter: Jonas Fügedi
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

   Original Estimate: 1h
  Remaining Estimate: 1h

 The command line parsing has introduced a bug on line 71
 else if (args[i].equals(-f ))
 there is an extra whitespace after -f which makes it necessary to wrap the 
 argument in quotes to use the file switch, e.g.
 ./client -f  script.txt
 Code in 
 https://github.com/apache/karaf/blob/master/client/src/main/java/org/apache/karaf/client/ClientConfig.java



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


[jira] [Resolved] (KARAF-1075) pid is set as the factorypid when creating a factory configuration instance from the feature file

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-1075.
-

Resolution: Fixed

 pid is set as the factorypid when creating a factory configuration instance 
 from the feature file
 -

 Key: KARAF-1075
 URL: https://issues.apache.org/jira/browse/KARAF-1075
 Project: Karaf
  Issue Type: Bug
  Components: karaf-feature
Affects Versions: 2.2.2
Reporter: Ton Swieb
Assignee: Jean-Baptiste Onofré
 Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5

 Attachments: patch.txt


 When creating a factory configuration instance from the feature file. The pid 
 is supplied to the FactoryConfiguration instead of the factorypid.



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


[jira] [Resolved] (KARAF-2759) Error in Client parameter parsing

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-2759.
-

Resolution: Fixed

 Error in Client parameter parsing
 -

 Key: KARAF-2759
 URL: https://issues.apache.org/jira/browse/KARAF-2759
 Project: Karaf
  Issue Type: Bug
  Components: karaf-core
Affects Versions: 3.0.0
Reporter: Jonas Fügedi
Assignee: Jean-Baptiste Onofré
 Fix For: 3.0.1, 3.1.0

   Original Estimate: 1h
  Remaining Estimate: 1h

 The command line parsing has introduced a bug on line 71
 else if (args[i].equals(-f ))
 there is an extra whitespace after -f which makes it necessary to wrap the 
 argument in quotes to use the file switch, e.g.
 ./client -f  script.txt
 Code in 
 https://github.com/apache/karaf/blob/master/client/src/main/java/org/apache/karaf/client/ClientConfig.java



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


[jira] [Updated] (KARAF-2776) Startup bundles are installed our of order

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2776:


Fix Version/s: (was: 3.0.1)

 Startup bundles are installed our of order
 --

 Key: KARAF-2776
 URL: https://issues.apache.org/jira/browse/KARAF-2776
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: 3.1.0


 While this cause no harm, it's quite ugly...



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


[jira] [Updated] (KARAF-2776) Startup bundles are installed our of order

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2776:


Fix Version/s: 3.1.0

 Startup bundles are installed our of order
 --

 Key: KARAF-2776
 URL: https://issues.apache.org/jira/browse/KARAF-2776
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: 3.1.0


 While this cause no harm, it's quite ugly...



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


[jira] [Updated] (KARAF-2777) Substitution is scattered in various place and the code has bugs

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2777:


Fix Version/s: (was: 3.0.1)
   3.1.0

 Substitution is scattered in various place and the code has bugs
 

 Key: KARAF-2777
 URL: https://issues.apache.org/jira/browse/KARAF-2777
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.1.0


 I'll use the latest felix utils code until it is released and remove 
 duplicate code.



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


[jira] [Commented] (KARAF-2776) Startup bundles are installed our of order

2014-02-21 Thread JIRA

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

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

I guess that we plan to include this for 3.0.1.

So, it means that we have to change the fixVersion (to include 3.0.1) and merge 
on the karaf-3.0.x branch.

 Startup bundles are installed our of order
 --

 Key: KARAF-2776
 URL: https://issues.apache.org/jira/browse/KARAF-2776
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Priority: Minor
 Fix For: 3.1.0


 While this cause no harm, it's quite ugly...



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


[jira] [Commented] (KARAF-2777) Substitution is scattered in various place and the code has bugs

2014-02-21 Thread JIRA

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

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

I guess that we plan to include it for 3.0.1.

If so, I will change the fixVersion (to include 3.0.1) and merge on the 
karaf-3.0.x branch.

 Substitution is scattered in various place and the code has bugs
 

 Key: KARAF-2777
 URL: https://issues.apache.org/jira/browse/KARAF-2777
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.1.0


 I'll use the latest felix utils code until it is released and remove 
 duplicate code.



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


[jira] [Updated] (KARAF-2773) Refreshing the console bundle closes karaf

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2773:


Fix Version/s: 3.0.1

 Refreshing the console bundle closes karaf
 --

 Key: KARAF-2773
 URL: https://issues.apache.org/jira/browse/KARAF-2773
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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


[jira] [Reopened] (KARAF-2773) Refreshing the console bundle closes karaf

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reopened KARAF-2773:
-


 Refreshing the console bundle closes karaf
 --

 Key: KARAF-2773
 URL: https://issues.apache.org/jira/browse/KARAF-2773
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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


[jira] [Updated] (KARAF-2773) Refreshing the console bundle closes karaf

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2773:


Fix Version/s: (was: 3.0.1)
   3.1.0

 Refreshing the console bundle closes karaf
 --

 Key: KARAF-2773
 URL: https://issues.apache.org/jira/browse/KARAF-2773
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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


[jira] [Commented] (KARAF-2773) Refreshing the console bundle closes karaf

2014-02-21 Thread JIRA

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

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

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

 Refreshing the console bundle closes karaf
 --

 Key: KARAF-2773
 URL: https://issues.apache.org/jira/browse/KARAF-2773
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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


[jira] [Resolved] (KARAF-2773) Refreshing the console bundle closes karaf

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-2773.
-

Resolution: Fixed

 Refreshing the console bundle closes karaf
 --

 Key: KARAF-2773
 URL: https://issues.apache.org/jira/browse/KARAF-2773
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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


[jira] [Commented] (KARAF-2774) Watched bundles are restarted twice

2014-02-21 Thread JIRA

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

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

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

 Watched bundles are restarted twice
 ---

 Key: KARAF-2774
 URL: https://issues.apache.org/jira/browse/KARAF-2774
 Project: Karaf
  Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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


[jira] [Updated] (KARAF-688) Ability to retrieve a available list of a specific maven artifact's versions via ( with given groupId and artifactId )

2014-02-21 Thread Dan Tran (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran updated KARAF-688:
---

Attachment: KARAF-688-2.diff

added another patch same content but using relative path for ease of patching 
the source tree. It works with url-1.3.6 url-1.3.7

 Ability to retrieve a available list of a specific maven artifact's versions 
 via ( with given groupId and artifactId ) 
 ---

 Key: KARAF-688
 URL: https://issues.apache.org/jira/browse/KARAF-688
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-osgi
Affects Versions: 2.2.1
 Environment: windows/linix,java 6
Reporter: Dan Tran
Assignee: Andreas Pieber
 Fix For: 3.1.0

 Attachments: KARAF-688-2.diff, KARAF-688.diff


 Details discussion is here
 http://karaf.922171.n3.nabble.com/Ability-to-retrieve-a-available-list-of-a-specific-maven-artifact-s-versions-via-with-given-groupId--td2989285.html
 Basically I have  a karaf base agent which I'd like to get the agent to 
 periodically polling maven repos to check for available upgrade version. This 
 requested feature is crucial for my work



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


[jira] [Commented] (KARAF-688) Ability to retrieve a available list of a specific maven artifact's versions via ( with given groupId and artifactId )

2014-02-21 Thread Dan Tran (JIRA)

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

Dan Tran commented on KARAF-688:


I created an issue at https://ops4j1.jira.com/browse/PAXURL-247 to get more 
attention

 Ability to retrieve a available list of a specific maven artifact's versions 
 via ( with given groupId and artifactId ) 
 ---

 Key: KARAF-688
 URL: https://issues.apache.org/jira/browse/KARAF-688
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-osgi
Affects Versions: 2.2.1
 Environment: windows/linix,java 6
Reporter: Dan Tran
Assignee: Andreas Pieber
 Fix For: 3.1.0

 Attachments: KARAF-688-2.diff, KARAF-688.diff


 Details discussion is here
 http://karaf.922171.n3.nabble.com/Ability-to-retrieve-a-available-list-of-a-specific-maven-artifact-s-versions-via-with-given-groupId--td2989285.html
 Basically I have  a karaf base agent which I'd like to get the agent to 
 periodically polling maven repos to check for available upgrade version. This 
 requested feature is crucial for my work



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


[jira] [Comment Edited] (KARAF-688) Ability to retrieve a available list of a specific maven artifact's versions via ( with given groupId and artifactId )

2014-02-21 Thread Dan Tran (JIRA)

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

Dan Tran edited comment on KARAF-688 at 2/22/14 3:03 AM:
-

In order to determine available versions under groupId/artifactId

I would like to propose to enhancement to the current mvn URL format:
 
   - original format: mvn-uri := 'mvn:' [ repository-url '!' ] group-id '/' 
artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]
 
  - new format: mvn-uri := 'mvn:' [ repository-url '!' ] group-id '/' 
artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] '/' [fileName] ] ] 
] ]
 
original api for this is  
http://ops4j1.jira.com/wiki/display/paxurl/Mvn+Protocol
 
So 
 
for mvn:groupId/artifactId///metadata.xml indiates we want metadata.xml file 
under groupId/artifactId
 
Thoughts?





was (Author: danttran):
In order to determine available versions under groupId/artifactId

I would like to propose to enhance the current mvn URL format as follow

 
   - original format: mvn-uri := 'mvn:' [ repository-url '!' ] group-id '/' 
artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]
 
  - new format: mvn-uri := 'mvn:' [ repository-url '!' ] group-id '/' 
artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] '/' [fileName] ] ] 
] ]
 
original api for this is  
http://ops4j1.jira.com/wiki/display/paxurl/Mvn+Protocol
 
So 
 
for mvn:groupId/artifactId///metadata.xml indiates we want metadata.xml file 
under groupId/artifactId
 
Thoughts?




 Ability to retrieve a available list of a specific maven artifact's versions 
 via ( with given groupId and artifactId ) 
 ---

 Key: KARAF-688
 URL: https://issues.apache.org/jira/browse/KARAF-688
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-osgi
Affects Versions: 2.2.1
 Environment: windows/linix,java 6
Reporter: Dan Tran
Assignee: Andreas Pieber
 Fix For: 3.1.0

 Attachments: KARAF-688-2.diff, KARAF-688.diff


 Details discussion is here
 http://karaf.922171.n3.nabble.com/Ability-to-retrieve-a-available-list-of-a-specific-maven-artifact-s-versions-via-with-given-groupId--td2989285.html
 Basically I have  a karaf base agent which I'd like to get the agent to 
 periodically polling maven repos to check for available upgrade version. This 
 requested feature is crucial for my work



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


[jira] [Updated] (KARAF-2775) webconsole gogo plugin does not work: Exception in thread Karaf Console Web user karaf java.lang.SecurityException: Current user has no associated roles.

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2775:


Component/s: karaf-webconsole

 webconsole gogo plugin does not work:  Exception in thread Karaf Console Web 
 user karaf java.lang.SecurityException: Current user has no associated roles.
 

 Key: KARAF-2775
 URL: https://issues.apache.org/jira/browse/KARAF-2775
 Project: Karaf
  Issue Type: Bug
  Components: karaf-webconsole
Reporter: Christian Schneider
Assignee: Christian Schneider
 Fix For: 3.0.1, 3.1.0


 When opening the gogo shell in the web console the console stays empty.
 On the karaf shell console there is this exception:
  Exception in thread Karaf Console Web user karaf 
 java.lang.SecurityException: Current user has no associated roles.
 The reason is that we use a subject without roles to log into the shell



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


[jira] [Updated] (KARAF-2778) The bin/shell script is broken

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2778:


Component/s: karaf-shell

 The bin/shell script is broken
 --

 Key: KARAF-2778
 URL: https://issues.apache.org/jira/browse/KARAF-2778
 Project: Karaf
  Issue Type: Bug
  Components: karaf-shell
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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


[jira] [Updated] (KARAF-2778) The bin/shell script is broken

2014-02-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-2778:


Fix Version/s: 3.1.0

 The bin/shell script is broken
 --

 Key: KARAF-2778
 URL: https://issues.apache.org/jira/browse/KARAF-2778
 Project: Karaf
  Issue Type: Bug
  Components: karaf-shell
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 3.0.1, 3.1.0






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