[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-14 Thread Luca Burgazzoli (JIRA)

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

Luca Burgazzoli commented on KARAF-4157:


Implemented via 
[5ee6a6964267f129a9bd1cfbde1e67f650121218|https://github.com/lburgazzoli/apache-karaf/commit/5ee6a6964267f129a9bd1cfbde1e67f650121218]

{code}
$ tar tvf ./assemblies/apache-karaf/target/apache-karaf-4.0.4-SNAPSHOT.tar.gz | 
grep contrib
drwxr-xr-x 0/0   0 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/
-rwxr-xr-x 0/0 542 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-template.systemd
-rwxr-xr-x 0/02587 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-template.solaris-smf
-rwxr-xr-x 0/01541 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-win.xml
-rwxr-xr-x 0/02969 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-template.init
-rwxr-xr-x 0/03394 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-template.init-redhat
-rwxr-xr-x 0/0 360 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-template.conf
-rwxr-xr-x 0/05515 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-template.init-debian
-rwxr-xr-x 0/0   59392 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service-win.exe
-rwxr-xr-x 0/05599 2016-01-14 11:41 
apache-karaf-4.0.4-SNAPSHOT/bin/contrib/karaf-service.sh
{code}

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-14 Thread Luca Burgazzoli (JIRA)

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

Luca Burgazzoli commented on KARAF-4157:


Now squashed in a single commit

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-14 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-4157:


Commit 4f600555c986d18990f884512e8d1fdaa2ca8c35 in karaf's branch 
refs/heads/karaf-4.0.x from [~lb]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=4f60055 ]

KARAF-4157: Provide system script templates to start karaf without service 
wrapper

(cherry picked from commit f8d510f59e3453cd648b378c079c2231e9fd4bea)


> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-14 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-4157:


Commit 3cb0a002fffcf2d90e8732922813dd4ebc15fb84 in karaf's branch 
refs/heads/master from [~ffang]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=3cb0a00 ]

[KARAF-4157]adding license header

(cherry picked from commit 13dfc233ffdc0991bf8c6ce8ce0ffb5d5e6bebe0)


> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on KARAF-4157:
---

Github user asfgit closed the pull request at:

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


> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-14 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KARAF-4157:


Commit 13dfc233ffdc0991bf8c6ce8ce0ffb5d5e6bebe0 in karaf's branch 
refs/heads/karaf-4.0.x from [~ffang]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=13dfc23 ]

[KARAF-4157]adding license header


> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-13 Thread Luca Burgazzoli (JIRA)

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

Luca Burgazzoli commented on KARAF-4157:


[~jbonofre] [~ffang]

1. what should I do to include them in distribution ?
2. I've removed the hard-coded path which I've replaced with some pseudo 
variables a user still need to manually expand 
3. fixed
4. fixed
5. fixed for redhat/debian init scripts (does not make sense to set it for 
systemd or smf)

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-13 Thread JIRA

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

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

Thanks Luca. For 1., let me think where to add this (contrib, or bin/contrib, 
or bin/scripts, ...).

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-13 Thread Freeman Fang (JIRA)

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

Freeman Fang commented on KARAF-4157:
-

[~jbonofre] I like it in bin/contrib

Hi Luca,

You can just put all the scripts/template you added into 
karaf/assemblies/features/base/src/main/resources/resources/bin/contrib/ folder 
and then you build the karaf kit you can see it would be picked up by kit.

Cheers
Freeman

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-12 Thread Luca Burgazzoli (JIRA)

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

Luca Burgazzoli commented on KARAF-4157:


[~jbonofre] should I fix Freeman's finding ?  

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-12 Thread Freeman Fang (JIRA)

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

Freeman Fang commented on KARAF-4157:
-

Hi Luca,

Thanks for the contribution, I like it.

The scripts looks good to me, just some little things
1. we need ship these scripts in Karaf distribution kit so that we can use 
these scripts easily to create the service launch script from kit
2. the karaf-service-win.xml has fixed 4.0.3 kit path, we need fix this, 
something like filter the path when we include these scripts in kit
3. in the karaf-service.sh, you have a function named 
genrate_service_descriptor, I think it should be generate_service_descriptor
4. in the help message of karaf-service.sh, it has 
{code}
USAGE: ./karaf-service.sh [-f KARAF_SERVICE_PATH] [-d KARAF_SERVICE_DATA] [-p 
KARAF_SERVICE_PIDFILE] [-n KARAF_SERVICE_NAME] [-e KARAF_ENV, ...]
-k KARAF_SERVICE_PATH # Karaf installation path
{code}
the  "-f KARAF_SERVICE_PATH" should be "-k KARAF_SERVICE_PATH " to keep the 
consistence.
5.  if we can add the executable flag for the auto-generated service script, 
that would be great.

Could you please add another commit for your PR to address the above I 
mentioned?

Thanks
Freeman

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-12 Thread JIRA

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

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

I started to review it and found couple of improvements to do. I also planned 
to squashed the commits in a single one. I will rework on it today.

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Freeman Fang
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2016-01-03 Thread Freeman Fang (JIRA)

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

Freeman Fang commented on KARAF-4157:
-

Hi JB,

How is going on with this issue?
Please let me know if you wanna me to take over this issue if you're too busy 
in other things.

Thanks
Freeman

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2015-12-21 Thread JIRA

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

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

Thanks, I gonna review it.

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Assignee: Jean-Baptiste Onofré
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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


[jira] [Commented] (KARAF-4157) Provide system script to start Karaf without service wrapper

2015-12-21 Thread Luca Burgazzoli (JIRA)

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

Luca Burgazzoli commented on KARAF-4157:


PR https://github.com/apache/karaf/pull/113

> Provide system script to start Karaf without service wrapper
> 
>
> Key: KARAF-4157
> URL: https://issues.apache.org/jira/browse/KARAF-4157
> Project: Karaf
>  Issue Type: New Feature
>Reporter: Luca Burgazzoli
>Priority: Minor
>
> For some user/scenario it may be needed to start karaf as a service without 
> the service wrapper i.e. on architectures not supported by JSW



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