[jira] [Created] (KARAF-6171) batch command line mode does not work

2019-02-21 Thread Michal Hlavac (JIRA)
Michal Hlavac created KARAF-6171:


 Summary: batch command line mode does not work
 Key: KARAF-6171
 URL: https://issues.apache.org/jira/browse/KARAF-6171
 Project: Karaf
  Issue Type: Bug
  Components: karaf
Affects Versions: 4.2.3, 4.2.2
Reporter: Michal Hlavac


for example 
{code:java}
echo "config:list" | bin/client -b{code}
does not do anything, no error nor configuration list output



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


[jira] [Created] (KARAF-4517) bin/client ends with "Failed to get the session"

2016-05-03 Thread Michal Hlavac (JIRA)
Michal Hlavac created KARAF-4517:


 Summary: bin/client ends with "Failed to get the session"
 Key: KARAF-4517
 URL: https://issues.apache.org/jira/browse/KARAF-4517
 Project: Karaf
  Issue Type: Bug
  Components: karaf-core
Affects Versions: 4.0.5
 Environment: Linux
Reporter: Michal Hlavac


Steps to reproduce:
1. run bin/karaf
2. run bin/client in terminal

It works when I run bin/client -h localhost
I think it's because sshHost = 0.0.0.0 value in etc/org.apache.karaf.shell.cfg



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4310) Installing kar causes karaf restart

2016-02-16 Thread Michal Hlavac (JIRA)

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

Michal Hlavac commented on KARAF-4310:
--

No, it does not happen with any kar.

> Installing kar causes karaf restart
> ---
>
> Key: KARAF-4310
> URL: https://issues.apache.org/jira/browse/KARAF-4310
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.0.4
> Environment: OpenSUSE Tumbleweed (4.4.0-2-default) oracle jdk 1.8.0_72
>Reporter: Michal Hlavac
> Attachments: karaf-3.0.5.log, karaf-4.0.4.log
>
>
> Prerequisites:
> {code}
> feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.1.4/xml/features
> feature:install pax-cdi war cxf eventadmin
> {code}
> In karaf 3.0.5 kar installation works properly (see attached log), but in 
> karaf 4.0.4 it seems instance is restarting and redeploy kar again which 
> cause some error (see attached log).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KARAF-4310) Installing kar causes karaf restart

2016-02-03 Thread Michal Hlavac (JIRA)

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

Michal Hlavac updated KARAF-4310:
-
Description: 
Prerequisites:

{code}
feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.1.4/xml/features
feature:install pax-cdi war cxf eventadmin
{code}

In karaf 3.0.5 kar installation works properly (see attached log), but in karaf 
4.0.4 it seems instance is restarting and redeploy kar again which cause some 
error (see attached log).

  was:
Prerequisites:

```bash
feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.1.4/xml/features
feature:install pax-cdi war cxf eventadmin
```

In karaf 3.0.5 kar installation works properly (see attached log), but in karaf 
4.0.4 it seems instance is restarting and redeploy kar again which cause some 
error (see attached log).


> Installing kar causes karaf restart
> ---
>
> Key: KARAF-4310
> URL: https://issues.apache.org/jira/browse/KARAF-4310
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.0.4
> Environment: OpenSUSE Tumbleweed (4.4.0-2-default) oracle jdk 1.8.0_72
>Reporter: Michal Hlavac
> Attachments: karaf-3.0.5.log, karaf-4.0.4.log
>
>
> Prerequisites:
> {code}
> feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.1.4/xml/features
> feature:install pax-cdi war cxf eventadmin
> {code}
> In karaf 3.0.5 kar installation works properly (see attached log), but in 
> karaf 4.0.4 it seems instance is restarting and redeploy kar again which 
> cause some error (see attached log).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KARAF-4310) Installing kar causes karaf restart

2016-02-03 Thread Michal Hlavac (JIRA)

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

Michal Hlavac updated KARAF-4310:
-
Attachment: karaf-4.0.4.log
karaf-3.0.5.log

> Installing kar causes karaf restart
> ---
>
> Key: KARAF-4310
> URL: https://issues.apache.org/jira/browse/KARAF-4310
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.0.4
> Environment: OpenSUSE Tumbleweed (4.4.0-2-default) oracle jdk 1.8.0_72
>Reporter: Michal Hlavac
> Attachments: karaf-3.0.5.log, karaf-4.0.4.log
>
>
> Prerequisites:
> ```bash
> feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.1.4/xml/features
> feature:install pax-cdi war cxf eventadmin
> ```
> In karaf 3.0.5 kar installation works properly (see attached log), but in 
> karaf 4.0.4 it seems instance is restarting and redeploy kar again which 
> cause some error (see attached log).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KARAF-4310) Installing kar causes karaf restart

2016-02-03 Thread Michal Hlavac (JIRA)
Michal Hlavac created KARAF-4310:


 Summary: Installing kar causes karaf restart
 Key: KARAF-4310
 URL: https://issues.apache.org/jira/browse/KARAF-4310
 Project: Karaf
  Issue Type: Bug
  Components: karaf-core
Affects Versions: 4.0.4
 Environment: OpenSUSE Tumbleweed (4.4.0-2-default) oracle jdk 1.8.0_72
Reporter: Michal Hlavac


Prerequisites:

```bash
feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.1.4/xml/features
feature:install pax-cdi war cxf eventadmin
```

In karaf 3.0.5 kar installation works properly (see attached log), but in karaf 
4.0.4 it seems instance is restarting and redeploy kar again which cause some 
error (see attached log).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (KARAF-2951) Transitive repositories and bundles are not added to system repo

2014-06-23 Thread Michal Hlavac (JIRA)

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

Michal Hlavac updated KARAF-2951:
-

Comment: was deleted

(was: Created pull request to backport this patch into karaf-3.0.x branch

https://github.com/apache/karaf/pull/42)

> Transitive repositories and bundles are not added to system repo
> 
>
> Key: KARAF-2951
> URL: https://issues.apache.org/jira/browse/KARAF-2951
> Project: Karaf
>  Issue Type: Bug
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: 4.0.0
>
> Attachments: KARAF-2951-2.patch
>
>




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


[jira] [Commented] (KARAF-2951) Transitive repositories and bundles are not added to system repo

2014-06-23 Thread Michal Hlavac (JIRA)

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

Michal Hlavac commented on KARAF-2951:
--

Created pull request to backport this patch into karaf-3.0.x branch

https://github.com/apache/karaf/pull/42

> Transitive repositories and bundles are not added to system repo
> 
>
> Key: KARAF-2951
> URL: https://issues.apache.org/jira/browse/KARAF-2951
> Project: Karaf
>  Issue Type: Bug
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: 4.0.0
>
> Attachments: KARAF-2951-2.patch
>
>




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


[jira] [Commented] (KARAF-2596) install-kars goal of the karaf-maven-plugin ignores bundles listed in the features that have the "dependency" property set to "true"

2014-06-20 Thread Michal Hlavac (JIRA)

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

Michal Hlavac commented on KARAF-2596:
--

Is there any workaround for this when priority is set to minor? thanks

> install-kars goal of the karaf-maven-plugin ignores bundles listed in the 
> features that have the "dependency" property set to "true"
> 
>
> Key: KARAF-2596
> URL: https://issues.apache.org/jira/browse/KARAF-2596
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-tooling
>Affects Versions: 3.0.0.RC1
>Reporter: Gary Gilchrist
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>  Labels: karaf-maven-plugin
> Fix For: 4.0.0, 3.0.2
>
>
> Use case:
> 1. ) Using the 'karaf-assembly' goal of the karaf-maven-plugin to create a 
> "standalone" karaf distribution with all required dependencies stored in the 
> system repo.
> 2. ) Building the assembly with a number of   that refer to the 
> maven artifacts of karaf features in maven feature repositories. For example 
> as described at 
> http://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html.
> Any features that are included in the assembly with bundles marked 
> "dependency=true" will be excluded from the assembly by the InstallKarsMojo.
> For example consider the "spring" feature found within 
> http://repo1.maven.org/maven2/org/apache/karaf/features/spring/3.0.0.RC1/spring-3.0.0.RC1-features.xml
>  - a bundle like the one below will not be included in the assembly:
> version="3.1.4.RELEASE" name="spring">
>Spring Support
>
>   
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_6
> 
> This is very easily fixed in the maven plugin by following the same pattern 
> used to fix KARAF-2357. An "ignoreDependenciesFlag" configuration parameter 
> can be added to the InstallKarsMojo and interpreted in the code for example, 
> as follows:
> // install bundles listed in install features not in system
> for (Feature feature : localRepoFeatures) {
> for (Bundle bundle : feature.getBundle()) {
> if (ignoreDependencyFlag || !bundle.isDependency()) {



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