Re: Start/Stop bundles commands on symbolic name

2016-05-17 Thread Cristiano Costantini
Yeah,
ok for the Jira Issue

P.S. If you like to give some suggestions/indications on how to do it, I
can try to make it by myself and propose a pull request.





Il giorno mar 17 mag 2016 alle ore 17:06 Jean-Baptiste Onofré <
j...@nanthrax.net> ha scritto:

> Hi Cristiano,
>
> ok, I see your point on the completer now ;)
>
> So, yes, I can implement a completer similar to the one I did in Cellar.
>
> Do you mind to create a Jira about that ?
>
> Regards
> JB
>
> On 05/17/2016 03:36 PM, Cristiano Costantini wrote:
> > Hi JB,
> >
> > yeah you are right, you can use symbolic name also in bundle:* commands.
> > What is cool in cluster:bundle-* commands is the autocompletion for
> > symbolic name...  this is missing on the bundle:* commands. Isn't it?
> >
> > Regards,
> > Cristiano
> >
> > P.S: sorry I didn't reply before!
> >
> >
> >
> >
> > Il giorno gio 5 mag 2016 alle ore 17:25 Jean-Baptiste Onofré <
> > j...@nanthrax.net> ha scritto:
> >
> >> Hi Cristiano,
> >>
> >> it should be already the case (BundleSelector in Karaf).
> >>
> >> Regards
> >> JB
> >>
> >> On 05/05/2016 05:18 PM, Cristiano Costantini wrote:
> >>> Hello all,
> >>>
> >>> in cellar it is possible to start or stop bundles using their symbolic
> >> name:
> >>>
> >>>  karaf@root> cluster:bundle-stop default my-bundle-symbolic-name
> >>>
> >>> and also provide autocompletion for the symbolic name,
> >>> while in normal karaf start and stop work only on bundle ID.
> >>>
> >>>  karaf@root> list -s | grep my-bundle
> >>>  123 | Active   |  80 | 1.0.0.SNAPSHOT  | my-bundle-symbolic-name
> >>>  karaf@root> bundle:stop 123
> >>>
> >>> is it possible to extend the basic commands to use the symbolic name as
> >> in
> >>> cellar?
> >>> would it be hard?
> >>>
> >>> Bye,
> >>> Cristiano
> >>>
> >>
> >> --
> >> Jean-Baptiste Onofré
> >> jbono...@apache.org
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> >>
> >
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


Re: Start/Stop bundles commands on symbolic name

2016-05-17 Thread Jean-Baptiste Onofré

Hi Cristiano,

ok, I see your point on the completer now ;)

So, yes, I can implement a completer similar to the one I did in Cellar.

Do you mind to create a Jira about that ?

Regards
JB

On 05/17/2016 03:36 PM, Cristiano Costantini wrote:

Hi JB,

yeah you are right, you can use symbolic name also in bundle:* commands.
What is cool in cluster:bundle-* commands is the autocompletion for
symbolic name...  this is missing on the bundle:* commands. Isn't it?

Regards,
Cristiano

P.S: sorry I didn't reply before!




Il giorno gio 5 mag 2016 alle ore 17:25 Jean-Baptiste Onofré <
j...@nanthrax.net> ha scritto:


Hi Cristiano,

it should be already the case (BundleSelector in Karaf).

Regards
JB

On 05/05/2016 05:18 PM, Cristiano Costantini wrote:

Hello all,

in cellar it is possible to start or stop bundles using their symbolic

name:


 karaf@root> cluster:bundle-stop default my-bundle-symbolic-name

and also provide autocompletion for the symbolic name,
while in normal karaf start and stop work only on bundle ID.

 karaf@root> list -s | grep my-bundle
 123 | Active   |  80 | 1.0.0.SNAPSHOT  | my-bundle-symbolic-name
 karaf@root> bundle:stop 123

is it possible to extend the basic commands to use the symbolic name as

in

cellar?
would it be hard?

Bye,
Cristiano



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com





--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: NoClassDefFoundError: javax/servlet/ServletContainerInitializer

2016-05-17 Thread Achim Nierbeck
Hi,

sorry for being late in response,
just gave it another try. Using a vanilla Karaf 4.0.5 installing only the
webconsole feature
works right away, so. You seem to do something wrong there.

Just install the webconsole feature will do what you want:

feature:install webconsole


regards, Achim


2016-05-12 18:25 GMT+02:00 guiramos :

> Ok.
>
> That's what I am saying...
> If I install only the webconsole feature, I got the same error.
>
> If I try to install the cschneider tutorial
> (https://github.com/cschneider/Karaf-Tutorial/tree/master/tasklist-ds) I
> am
> getting the same error.
>
> Why?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/NoClassDefFoundError-javax-servlet-ServletContainerInitializer-tp4046598p4046602.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


[GitHub] karaf-cellar pull request: Update CellarNodeMBeanImpl.java

2016-05-17 Thread rakechan
GitHub user rakechan opened a pull request:

https://github.com/apache/karaf-cellar/pull/25

Update CellarNodeMBeanImpl.java

Tiny but very significant change to help identify the local node from the 
list of nodes.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rakechan/karaf-cellar patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/karaf-cellar/pull/25.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #25


commit febda3e82d47a4eab598ab3c3b1cdc2b276c4cc0
Author: rakechan 
Date:   2016-05-17T14:38:55Z

Update CellarNodeMBeanImpl.java

Tiny but very significant change to help identify the local node from the 
list of nodes.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Start/Stop bundles commands on symbolic name

2016-05-17 Thread Cristiano Costantini
Hi JB,

yeah you are right, you can use symbolic name also in bundle:* commands.
What is cool in cluster:bundle-* commands is the autocompletion for
symbolic name...  this is missing on the bundle:* commands. Isn't it?

Regards,
Cristiano

P.S: sorry I didn't reply before!




Il giorno gio 5 mag 2016 alle ore 17:25 Jean-Baptiste Onofré <
j...@nanthrax.net> ha scritto:

> Hi Cristiano,
>
> it should be already the case (BundleSelector in Karaf).
>
> Regards
> JB
>
> On 05/05/2016 05:18 PM, Cristiano Costantini wrote:
> > Hello all,
> >
> > in cellar it is possible to start or stop bundles using their symbolic
> name:
> >
> > karaf@root> cluster:bundle-stop default my-bundle-symbolic-name
> >
> > and also provide autocompletion for the symbolic name,
> > while in normal karaf start and stop work only on bundle ID.
> >
> > karaf@root> list -s | grep my-bundle
> > 123 | Active   |  80 | 1.0.0.SNAPSHOT  | my-bundle-symbolic-name
> > karaf@root> bundle:stop 123
> >
> > is it possible to extend the basic commands to use the symbolic name as
> in
> > cellar?
> > would it be hard?
> >
> > Bye,
> > Cristiano
> >
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


Re: [HEADS UP] Next releases

2016-05-17 Thread Jean-Baptiste Onofré
By the way, I worked in new Decanter collectors (kafka, jms, rest 
server, ...)  in my flight during the week end. I will push them later 
today. Maybe it makes sense to plan a Decanter 1.1.1 release next week 
including these new collectors.


Regards
JB

On 05/17/2016 02:10 PM, Jamie G. wrote:

Awesome, thank you JB :)

On Tue, May 17, 2016 at 3:18 AM, Jean-Baptiste Onofré  wrote:

Hi all,

FYI, I gonna prepare new releases this week:

- Karaf 3.0.7
- Cellar releases (4 & 3)
- Cave releases (4 & 3)

I will keep you posted about the exact schedule later today.

Regards
JB
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [HEADS UP] Next releases

2016-05-17 Thread Jamie G.
Awesome, thank you JB :)

On Tue, May 17, 2016 at 3:18 AM, Jean-Baptiste Onofré  wrote:
> Hi all,
>
> FYI, I gonna prepare new releases this week:
>
> - Karaf 3.0.7
> - Cellar releases (4 & 3)
> - Cave releases (4 & 3)
>
> I will keep you posted about the exact schedule later today.
>
> Regards
> JB
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com


Re: axis2+servicemix

2016-05-17 Thread Sobkowiak Krzysztof
Hi

Please check the ServiceMix mailing list. I can remember at least one thread 
about Axis. There were no solutions, but probably you can ping the people and 
ask whether they have found the solution.

Regards
Krzysztof

On 17.05.2016 11:17, Jean-Baptiste Onofré wrote:
> You maybe should ask to Axis guys, they know better than us ;)
>
> Regards
> JB
>
> On 05/17/2016 11:08 AM, wuxinlong wrote:
>> Hello!
>>  Thank you for answering my questions!I tried to ues
>> 'org.apache.axis2.osgi.jar' to release axis2. If not, why do it ?
>> http://mvnrepository.com/artifact/org.apache.axis2/org.apache.axis2.osgi
>> http://mvnrepository.com/artifact/org.apache.axis2/axis2-webapp
>>
>>
>>
>> -- 
>> View this message in context: 
>> http://karaf.922171.n3.nabble.com/axis2-servicemix-tp4046648p4046650.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>

-- 
Krzysztof Sobkowiak

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)


Re: axis2+servicemix

2016-05-17 Thread Jean-Baptiste Onofré

You maybe should ask to Axis guys, they know better than us ;)

Regards
JB

On 05/17/2016 11:08 AM, wuxinlong wrote:

Hello!
 Thank you for answering my questions!I tried to ues
'org.apache.axis2.osgi.jar' to release axis2. If not, why do it ?
http://mvnrepository.com/artifact/org.apache.axis2/org.apache.axis2.osgi
http://mvnrepository.com/artifact/org.apache.axis2/axis2-webapp



--
View this message in context: 
http://karaf.922171.n3.nabble.com/axis2-servicemix-tp4046648p4046650.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: axis2+servicemix

2016-05-17 Thread wuxinlong
Hello!
Thank you for answering my questions!I tried to ues
'org.apache.axis2.osgi.jar' to release axis2. If not, why do it ?
http://mvnrepository.com/artifact/org.apache.axis2/org.apache.axis2.osgi
http://mvnrepository.com/artifact/org.apache.axis2/axis2-webapp



--
View this message in context: 
http://karaf.922171.n3.nabble.com/axis2-servicemix-tp4046648p4046650.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: axis2+servicemix

2016-05-17 Thread Jean-Baptiste Onofré

Hi,

Axis2 is not the preferred webservice stack for Karaf & ServiceMix: CXF is.

That's why not a lot of people tried Axis2: CXF just works fine with 
better features support than Axis.


Regards
JB

On 05/17/2016 09:51 AM, wuxinlong wrote:

How can I deploy axis2 into servicemix?I hava tried many times,and I'm very
eager hope someone can help.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/axis2-servicemix-tp4046648.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


axis2+servicemix

2016-05-17 Thread wuxinlong
How can I deploy axis2 into servicemix?I hava tried many times,and I'm very
eager hope someone can help.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/axis2-servicemix-tp4046648.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.