[jira] [Commented] (KARAF-5641) Karaf boot scripts need to deal with JDK10 version patterns

2018-03-13 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397606#comment-16397606
 ] 

Guillaume Nodet commented on KARAF-5641:


I pushed a fix but this is not sufficient to have support for Java 10, as Karaf 
does not start, even after fixing the JRE packages by adding 
{code:java}
jre-10 = ${jre-9}{code}
to the {{etc/jre.properties}} file.

> Karaf boot scripts need to deal with JDK10 version patterns
> ---
>
> Key: KARAF-5641
> URL: https://issues.apache.org/jira/browse/KARAF-5641
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.2.0.M2
>Reporter: Sanne Grinovero
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0
>
>
> The {{checkJvmVersion()}} function in the {{/bin/inc}} script of the 
> distribution is not dealing with the new output of {{java -version}} of JDK10 
> (and later?).
> The {{VERSION}} variable is left undefined, which then has the main 
> bootscript to not set the Jigsaw modules correctly (the various JVM flags 
> which need to be enabled since Java 9).
> This is a blocker to use Karaf on Java 10, which is already in candidate 
> release. I don't think much else is changed compared to Java 9 so it would be 
> great to sort this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5641) Karaf boot scripts need to deal with JDK10 version patterns

2018-03-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397604#comment-16397604
 ] 

ASF subversion and git services commented on KARAF-5641:


Commit 7fa1d274bda958e5ff24d0ab74aa6c19b534a35e in karaf's branch 
refs/heads/master from [~gnt]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=7fa1d27 ]

[KARAF-5641] Karaf boot scripts need to deal with JDK10 version patterns


> Karaf boot scripts need to deal with JDK10 version patterns
> ---
>
> Key: KARAF-5641
> URL: https://issues.apache.org/jira/browse/KARAF-5641
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.2.0.M2
>Reporter: Sanne Grinovero
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0
>
>
> The {{checkJvmVersion()}} function in the {{/bin/inc}} script of the 
> distribution is not dealing with the new output of {{java -version}} of JDK10 
> (and later?).
> The {{VERSION}} variable is left undefined, which then has the main 
> bootscript to not set the Jigsaw modules correctly (the various JVM flags 
> which need to be enabled since Java 9).
> This is a blocker to use Karaf on Java 10, which is already in candidate 
> release. I don't think much else is changed compared to Java 9 so it would be 
> great to sort this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (KARAF-5641) Karaf boot scripts need to deal with JDK10 version patterns

2018-03-13 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet reassigned KARAF-5641:
--

Assignee: Guillaume Nodet  (was: Jean-Baptiste Onofré)

> Karaf boot scripts need to deal with JDK10 version patterns
> ---
>
> Key: KARAF-5641
> URL: https://issues.apache.org/jira/browse/KARAF-5641
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.2.0.M2
>Reporter: Sanne Grinovero
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0
>
>
> The {{checkJvmVersion()}} function in the {{/bin/inc}} script of the 
> distribution is not dealing with the new output of {{java -version}} of JDK10 
> (and later?).
> The {{VERSION}} variable is left undefined, which then has the main 
> bootscript to not set the Jigsaw modules correctly (the various JVM flags 
> which need to be enabled since Java 9).
> This is a blocker to use Karaf on Java 10, which is already in candidate 
> release. I don't think much else is changed compared to Java 9 so it would be 
> great to sort this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5640) Unable to acquire the state change lock for apache.felix.fileinstall

2018-03-13 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet updated KARAF-5640:
---
Description: 
Hi , 

   I tried to install karaf 4.1.4 and i am getting the following error . 

{code}
2018-02-22T14:56:12.912+0100 | ERROR | blisher@6eebc39e | o.a.f.fileinstall | 
ogback.internal.FrameworkHandler 144 | 9 - org.apache.felix.fileinstall - 3.6.4 
| FrameworkEvent ERROR - org.apache.felix.fileinstall
org.osgi.framework.BundleException: Unable to acquire the state change lock for 
the module: osgi.identity; osgi.identity="org.apache.felix.fileinstall"; 
type="osgi.bundle"; version:Version="3.6.4" [id=9] STOPPED [STOPPED]
 at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
 at org.eclipse.osgi.container.Module.stop(Module.java:490)
 at 
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
 at 
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
 at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
 at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
 at org.eclipse.osgi.container.Module.doStop(Module.java:636)
 at org.eclipse.osgi.container.Module.stop(Module.java:498)
 at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
 at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
 at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 
seconds to acquire the lock.
 at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
 ... 10 common frames omitted
{code}

May i know where am i wrong and could you give me a solution on how to resolve 
this.

  was:
Hi , 

   I tried to install karaf 4.1.4 and i am getting the following error . 

2018-02-22T14:56:12.912+0100 | ERROR | blisher@6eebc39e | o.a.f.fileinstall | 
ogback.internal.FrameworkHandler 144 | 9 - org.apache.felix.fileinstall - 3.6.4 
| FrameworkEvent ERROR - org.apache.felix.fileinstall
org.osgi.framework.BundleException: Unable to acquire the state change lock for 
the module: osgi.identity; osgi.identity="org.apache.felix.fileinstall"; 
type="osgi.bundle"; version:Version="3.6.4" [id=9] STOPPED [STOPPED]
 at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
 at org.eclipse.osgi.container.Module.stop(Module.java:490)
 at 
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
 at 
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
 at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
 at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
 at org.eclipse.osgi.container.Module.doStop(Module.java:636)
 at org.eclipse.osgi.container.Module.stop(Module.java:498)
 at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
 at 
org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
 at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 
seconds to acquire the lock.
 at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
 ... 10 common frames omitted

May i know where am i wrong and could you give me a solution on how to resolve 
this.


> Unable to acquire the state change lock for apache.felix.fileinstall
> 
>
> Key: KARAF-5640
> URL: https://issues.apache.org/jira/browse/KARAF-5640
> Project: Karaf
>  Issue Type: Question
>  Components: karaf-osgi
>Affects Versions: 4.1.4
>Reporter: vijay p 
>Priority: Major
>
> Hi , 
>    I tried to install karaf 4.1.4 and i am getting the following error . 
> {code}
> 2018-02-22T14:56:12.912+0100 | ERROR | blisher@6eebc39e | o.a.f.fileinstall | 
> ogback.internal.FrameworkHandler 144 | 9 - org.apache.felix.fileinstall - 
> 3.6.4 | FrameworkEvent ERROR - org.apache.felix.fileinstall
> org.osgi.framework.BundleException: Unable to acquire the state change lock 
> for the module: osgi.identity; osgi.identity="org.apache.felix.fileinstall"; 
> type="osgi.bundle"; version:Version="3.6.4" [id=9] STOPPED [STOPPED]
>  at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
>  at org.eclipse.osgi.container.Module.stop(Module.java:490)
>  at 
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
>  at 
> 

[jira] [Created] (KARAF-5667) Installing the audit-log feature never ends

2018-03-13 Thread Guillaume Nodet (JIRA)
Guillaume Nodet created KARAF-5667:
--

 Summary: Installing the audit-log feature never ends
 Key: KARAF-5667
 URL: https://issues.apache.org/jira/browse/KARAF-5667
 Project: Karaf
  Issue Type: Bug
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 4.2.0






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5645) Karaf crashes when using the character ']' in the console

2018-03-13 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet updated KARAF-5645:
---
Fix Version/s: 4.1.6
   4.2.1

> Karaf crashes when using the character ']' in the console
> -
>
> Key: KARAF-5645
> URL: https://issues.apache.org/jira/browse/KARAF-5645
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: J. Brébec
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.1.6, 4.2.1
>
>
> In Karaf 4.1.5, when using the character "]" in the console, Karaf freezes 
> then crashes with an "OutOfMemoryError: Java heap space".
> If the colorization of the console is activated, Karaf crashes as soon as the 
> character is pressed. If not, then Karaf crashes after pressing the Enter key.
> It is reproducible with Karaf 4.1.5 and 4.1.2 on Windows 7 and Centos, with a 
> local console or a remote ssh shell.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5645) Karaf crashes when using the character ']' in the console

2018-03-13 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397470#comment-16397470
 ] 

Guillaume Nodet commented on KARAF-5645:


This is a loop problem happening in the gogo jline parser.
I've raised FELIX-5805.

> Karaf crashes when using the character ']' in the console
> -
>
> Key: KARAF-5645
> URL: https://issues.apache.org/jira/browse/KARAF-5645
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: J. Brébec
>Assignee: Guillaume Nodet
>Priority: Major
>
> In Karaf 4.1.5, when using the character "]" in the console, Karaf freezes 
> then crashes with an "OutOfMemoryError: Java heap space".
> If the colorization of the console is activated, Karaf crashes as soon as the 
> character is pressed. If not, then Karaf crashes after pressing the Enter key.
> It is reproducible with Karaf 4.1.5 and 4.1.2 on Windows 7 and Centos, with a 
> local console or a remote ssh shell.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (KARAF-5645) Karaf crashes when using the character ']' in the console

2018-03-13 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet reassigned KARAF-5645:
--

Assignee: Guillaume Nodet  (was: Jean-Baptiste Onofré)

> Karaf crashes when using the character ']' in the console
> -
>
> Key: KARAF-5645
> URL: https://issues.apache.org/jira/browse/KARAF-5645
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-shell
>Affects Versions: 4.1.5
>Reporter: J. Brébec
>Assignee: Guillaume Nodet
>Priority: Major
>
> In Karaf 4.1.5, when using the character "]" in the console, Karaf freezes 
> then crashes with an "OutOfMemoryError: Java heap space".
> If the colorization of the console is activated, Karaf crashes as soon as the 
> character is pressed. If not, then Karaf crashes after pressing the Enter key.
> It is reproducible with Karaf 4.1.5 and 4.1.2 on Windows 7 and Centos, with a 
> local console or a remote ssh shell.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KARAF-5666) Shell interprets exclamation mark

2018-03-13 Thread Linus Tentler (JIRA)
Linus Tentler created KARAF-5666:


 Summary: Shell interprets exclamation mark 
 Key: KARAF-5666
 URL: https://issues.apache.org/jira/browse/KARAF-5666
 Project: Karaf
  Issue Type: Bug
  Components: karaf-shell
Affects Versions: 4.2.0.M2
Reporter: Linus Tentler


Shell interprets exclamation mark in passwords when trying to add a user.

Steps to reproduce:

--> open ssh session

--> manage realm

--> user-add test 1212!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (KARAF-5665) Sometimes the command description does not show when listing commands with "TAB"

2018-03-13 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet resolved KARAF-5665.

Resolution: Fixed

> Sometimes the command description does not show when listing commands with 
> "TAB"
> 
>
> Key: KARAF-5665
> URL: https://issues.apache.org/jira/browse/KARAF-5665
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-shell
>Affects Versions: 4.1.5, 4.2.0.M2
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5665) Sometimes the command description does not show when listing commands with "TAB"

2018-03-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16396660#comment-16396660
 ] 

ASF subversion and git services commented on KARAF-5665:


Commit 327b46e5d2b519f123f830df1b50c96e37f98a73 in karaf's branch 
refs/heads/karaf-4.1.x from [~gnt]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=327b46e ]

[KARAF-5665] Sometimes the command description does not show when listing 
commands with "TAB"


> Sometimes the command description does not show when listing commands with 
> "TAB"
> 
>
> Key: KARAF-5665
> URL: https://issues.apache.org/jira/browse/KARAF-5665
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-shell
>Affects Versions: 4.1.5, 4.2.0.M2
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5665) Sometimes the command description does not show when listing commands with "TAB"

2018-03-13 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet updated KARAF-5665:
---
Affects Version/s: 4.1.5

> Sometimes the command description does not show when listing commands with 
> "TAB"
> 
>
> Key: KARAF-5665
> URL: https://issues.apache.org/jira/browse/KARAF-5665
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-shell
>Affects Versions: 4.1.5, 4.2.0.M2
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5665) Sometimes the command description does not show when listing commands with "TAB"

2018-03-13 Thread Guillaume Nodet (JIRA)

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

Guillaume Nodet updated KARAF-5665:
---
Fix Version/s: 4.1.6

> Sometimes the command description does not show when listing commands with 
> "TAB"
> 
>
> Key: KARAF-5665
> URL: https://issues.apache.org/jira/browse/KARAF-5665
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-shell
>Affects Versions: 4.1.5, 4.2.0.M2
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0, 4.1.6
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5665) Sometimes the command description does not show when listing commands with "TAB"

2018-03-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16396628#comment-16396628
 ] 

ASF subversion and git services commented on KARAF-5665:


Commit 801745b1faf758e73480212c3d4ec74d2e1b372e in karaf's branch 
refs/heads/master from [~gnt]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=801745b ]

[KARAF-5665] Sometimes the command description does not show when listing 
commands with "TAB"


> Sometimes the command description does not show when listing commands with 
> "TAB"
> 
>
> Key: KARAF-5665
> URL: https://issues.apache.org/jira/browse/KARAF-5665
> Project: Karaf
>  Issue Type: New Feature
>  Components: karaf-shell
>Affects Versions: 4.2.0.M2
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KARAF-5665) Sometimes the command description does not show when listing commands with "TAB"

2018-03-13 Thread Guillaume Nodet (JIRA)
Guillaume Nodet created KARAF-5665:
--

 Summary: Sometimes the command description does not show when 
listing commands with "TAB"
 Key: KARAF-5665
 URL: https://issues.apache.org/jira/browse/KARAF-5665
 Project: Karaf
  Issue Type: New Feature
  Components: karaf-shell
Affects Versions: 4.2.0.M2
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
 Fix For: 4.2.0






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)