u have basically two options: 1. You
> create a "real" OSGi bundle for the dependencies (or you ask ServiceMix to do
> so) 2. You embed the dependency as private package in your bundle Regards JB
> On Tue, Jul 4, 2023 at 6:20 PM jose.garnica.lomeli wrote: > > Hi everyone,
ge in your bundle
Regards
JB
On Tue, Jul 4, 2023 at 6:20 PM jose.garnica.lomeli
wrote:
>
> Hi everyone,
>
> The karaf console in my application is displaying many libraries as wrap
> I know it is a way to make compatible karaf to non-osgi java libraries
>
> is there any way to r
everyone,
>
> The karaf console in my application is displaying many libraries as
> *wrap *
> I know it is a way to make compatible karaf to non-osgi java libraries
>
> is there any way to remove those wrap of the console?
> [image: image.png]
>
>
> Sent with Proton Mail <https://proton.me/> secure email.
>
Hi everyone,
The karaf console in my application is displaying many libraries as wrap
I know it is a way to make compatible karaf to non-osgi java libraries
is there any way to remove those wrap of the console?
[image.png]
Sent with [Proton Mail](https://proton.me/) secure email.
Hi!
I have pulled part of the karaf console into Felix. One thing that is not
functioning right is the ansi colors in the branding and command output.
I read somewhere that you might have to put something in the windows registry.
If someone could point me at some java code or whatever is needed
I say that I don’t understand what you want to do ? ;)
> Karaf is running Felix Framework, so, why not just using Karaf directly ?
> Regards
> JB
>
>
>
> From: Jackson, Douglas (DI SW LCS CF CLP DEX)
> Sent: Tuesday, May 25, 2021 8:09 AM
> To: 'user@karaf.apache.
: Karaf console commands in Felix
Hi!
I am trying to drop the karaf console into Apache Felix.
I have some of the commands working, but not the "bundles:*" and "diag"
commands.
What karaf bundles do I need to add in order to use those commands?
Thanks!
-Doug
gt;
> Hi!
> I am trying to drop the karaf console into Apache Felix.
> I have some of the commands working, but not the “bundles:*” and “diag”
> commands.
> What karaf bundles do I need to add in order to use those commands?
> Thanks!
> -Doug
Hi!
I am trying to drop the karaf console into Apache Felix.
I have some of the commands working, but not the "bundles:*" and "diag"
commands.
What karaf bundles do I need to add in order to use those commands?
Thanks!
-Doug
gt;> More context:
>> I already have an additional sshd service in my container handling the more
>> interactive exchange of binaries (think of something similar to rsync over
>> ssh).
>> My initial impulse was to add more ssh commands to this service, but quickly
>>
an additional sshd service in my container handling the more
interactive exchange of binaries (think of something similar to rsync over ssh).
My initial impulse was to add more ssh commands to this service, but quickly realized
that the "regular" Karaf console would be a better starting poin
More context:
I already have an additional sshd service in my container handling the more
interactive exchange of binaries (think of something similar to rsync over ssh).
My initial impulse was to add more ssh commands to this service, but quickly realized
that the "regular" Kar
I want to expose a specific set of Karaf console commands (via ssh) to
a particular group of users. They should not see (or be able to run)
any other Karaf console command. These Karaf commands already exist on
the "regular" Karaf console (on port 8101).
Can I
(a) restrict the
FYI,
I created https://issues.apache.org/jira/browse/KARAF-6321
about that.
Regards
JB
On 07/06/2019 07:46, Jean-Baptiste Onofré wrote:
> Hi Max,
>
> Understood, I see the points, I will add some options to allows you to
> deal with CTRL-D and logout (probably via
Hi Max,
Understood, I see the points, I will add some options to allows you to
deal with CTRL-D and logout (probably via etc/org.apache.karaf.shell.cfg
configuration).
Regards
JB
On 06/06/2019 21:16, Max Spring wrote:
> To give more context: In my Karaf I have potentially very long running
>
To give more context: In my Karaf I have potentially very long running "background
jobs".
I want to avoid that the user (which is a developer) terminates a foreground
Karaf and indirectly aborts these jobs by accident.
If I had the option of programmatically intercepting ctrl-d, I could ask the
Yes, an option for disabling Ctrl-D would be great.
Perhaps when running Karaf in the foreground this could be the default (as a
'logout' is equal to 'shutdown').
On 03.06.2019 11:57, Jean-Baptiste Onofr?? wrote:
Hi,
You want to fully disable CTRL-D ? (and force "logout" usage instead)
I
Hi,
You want to fully disable CTRL-D ? (and force "logout" usage instead)
I can add an option to ssh for that.
Regards
JB
On 03/06/2019 11:46, lichtin wrote:
> I'm also interested to know how one can disable the Ctrl-D logout behaviour?
>
>
>
> --
> Sent from:
I'm also interested to know how one can disable the Ctrl-D logout behaviour?
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Let me simplify my question: Is there a way to disable a command like
"shell:logout"?
-Max
On 5/13/19 5:17 PM, Max Spring wrote:
For running Karaf in the foreground, is there a way I
can "overwrite" the shell:logout Karaf command so I can insert
additional logic guarding the actual logout?
For running Karaf in the foreground, is there a way I
can "overwrite" the shell:logout Karaf command so I can insert
additional logic guarding the actual logout?
Can I disable shell:logout completely?
(I already have my own quit command which could do all I want.)
How could I do the same for
tures.cfg with file path to the xml file,
> and on featuresBoot.
> On karaf boot this does not get installed.
> I have to manually use feature:repo-add to install the feature.
> At this stage it is still uninstalled only.
> When start karaf, the bundle activator makes karaf console and we
feature:repo-add to install the feature.
At this stage it is still uninstalled only.
When start karaf, the bundle activator makes karaf console and web console
unresponsive.
When I restart karaf I find spring-3.0.4 as started.
Thanks
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749
ean.class, true);
> context.registerService( JMXKarafFeature.class,
> new
> JMXKarafFeatureImpl(), null );
>
> featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");//
> here karaf console goes unresponsive
> }
>
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
rafFeature.class,
new
JMXKarafFeatureImpl(), null );
featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");//
here karaf console goes unresponsive
}
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Can you quickly explain how to reproduce ?
Are you using a MBeanProxy in your code to use the features service ?
Regards
JB
On 26/03/2019 15:58, saravanaprasad wrote:
> Karaf version: 4.2.3
>
> Java version: OpenJDK11
>
> Thanks
>
>
>
> --
> Sent from:
Karaf version: 4.2.3
Java version: OpenJDK11
Thanks
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Hi,
Which Karaf version do you use ?
Regards
JB
On 26/03/2019 15:17, saravanaprasad wrote:
> Hi,Following line causes karaf console
> unresponsive./featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");/Above
> line of code also causes web console not a
Hi,Following line causes karaf console
unresponsive./featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");/Above
line of code also causes web console not available.What could be the
fix?ThanksSaravana Prasad
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Us
tClassName().contains(".ssh.")) return true;
}
return false;
}
-Max
On 2/8/19 3:36 PM, Max Spring wrote:
In a Karaf console command is it possible to determine whether the console
session is
(a) in Karaf in the foreground (where a Ctrl-D shuts down Karaf), or
(b) an
In a Karaf console command is it possible to determine whether the console
session is
(a) in Karaf in the foreground (where a Ctrl-D shuts down Karaf), or
(b) an ssh session attached to a Karaf process (where a Ctrl-D merely exits the
ssh session)?
Context: I'm having my own quit command
le to track down which bundle is triggering the
> >> refresh. Also, what version of Karaf are you using?
> >>
> >> Seth Leger
> >> The OpenNMS Group
> >>
> >>
> >> On 1/21/18 12:23 PM, Ryan Moquin wrote:
> &g
d Mongo running
> > inside Karaf, which I've gotten to work successfully with one caveat
> > that is driving me crazy trying to troubleshoot (I think I understand
> > what's happening, but not exactly what makes it happen). If I have a
> > feature which inst
> This might be better to ask of the Embed Mongo team, but I am not
> > > entirely sure. I've been experimenting with an Embedded Mongo
> running
> > > inside Karaf, which I've gotten to work successfully with one
> caveat
> > > that is driving me cr
Embed Mongo team, but I am not
> > entirely sure. I've been experimenting with an Embedded Mongo running
> > inside Karaf, which I've gotten to work successfully with one caveat
> > that is driving me crazy trying to troubleshoot (I think I understand
> > wha
t not exactly what makes it happen). If I have a
> > feature which installs a bundle that created and starts a Flapdoodle
> > Embed Mongo instance, then the Karaf console will "hang" since I think
> > the Embed Mongo code, kind of "hijacking" the Karaf JLine inp
been experimenting with an Embedded Mongo running
> > inside Karaf, which I've gotten to work successfully with one caveat
> > that is driving me crazy trying to troubleshoot (I think I understand
> > what's happening, but not exactly what makes it happen). If I have a
> >
not exactly
> what makes it happen). If I have a feature which installs a bundle that
> created
> and starts a Flapdoodle Embed Mongo instance, then the Karaf console will
> "hang"
> since I think the Embed Mongo code, kind of "hijacking" the Karaf JLine input
> st
lly with one caveat
> that is driving me crazy trying to troubleshoot (I think I understand
> what's happening, but not exactly what makes it happen). If I have a
> feature which installs a bundle that created and starts a Flapdoodle
> Embed Mongo instance, then the Karaf console will "hang&q
, but
not exactly what makes it happen). If I have a feature which installs a
bundle that created and starts a Flapdoodle Embed Mongo instance, then the
Karaf console will "hang" since I think the Embed Mongo code, kind of
"hijacking" the Karaf JLine input stream (it attache
31 August 2017 at 13:04 Jean-Baptiste Onofré <j...@nanthrax.net> wrote:
I agree: as we did for vi/edit command, we should limit cat to admin role.
Can you create a Jira about that ?
Thanks !
Regards
JB
On 08/31/2017 01:01 PM, t...@quarendon.net wrote:
Any user that can log on to t
t; I agree: as we did for vi/edit command, we should limit cat to admin role.
>
> Can you create a Jira about that ?
>
> Thanks !
> Regards
> JB
>
> On 08/31/2017 01:01 PM, t...@quarendon.net wrote:
> > Any user that can log on to the karaf console appears to
I agree: as we did for vi/edit command, we should limit cat to admin role.
Can you create a Jira about that ?
Thanks !
Regards
JB
On 08/31/2017 01:01 PM, t...@quarendon.net wrote:
Any user that can log on to the karaf console appears to be able to run the
"shell:cat" command (am
Any user that can log on to the karaf console appears to be able to run the
"shell:cat" command (among others), and hence view any file that the operating
system user that's running the karaf process can see. Whilst there is access
control on a few of the shell scope commands
.922171.n3.nabble.com/Karaf-console-becoming-unresponsve-tp4047064p4047066.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
gt; What's your Karaf version ?
4.0.4
> Do you use auth by key ?
>
yes
KR
Karel.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-console-becoming-unresponsve-tp4047064p4047066.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Hi,
Don't you have a refresh triggered by a feature you install ?
What's your Karaf version ?
Do you use auth by key ?
Regards
JB
On 07/02/2016 09:41 AM, kgoderis wrote:
Hi,
I use Karaf as part of the openHAB project. Very often the Karaf console
becomes very unresponsive, or halts
Hi,
I use Karaf as part of the openHAB project. Very often the Karaf console
becomes very unresponsive, or halts completely. This happens often already
after the initial start-up of the runtime on the console session that is
starting the runtime, but then I can still log into karaf by means
Hi All,
Is it possible to configure karaf in such a way that only a particular OS
user (or OS group) can access its shell remotely?
Best Regards,
Mohammad Shamsi
in context:
http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023.html
Sent from the Karaf - User mailing list archive at Nabble.com.
environment? Do I have to create a
Karaf-specific console artifact that makes the shell command available to
Karaf or is there another approach?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023.html
Sent from the Karaf - User mailing
Yes... Directly in Equinox or Apache Felix.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039031.html
Sent from the Karaf - User mailing list archive at Nabble.com.
or Apache Felix.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039031.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http
in context:
http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039035.html
Sent from the Karaf - User mailing list archive at Nabble.com.
and
not gogo for custom extensions, right?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039035.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbono...@apache.org
http
!
--
View this message in context:
http://karaf.922171.n3.nabble.com/karaf-console-command-using-wildcard-in-bundle-name-tp4036746.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Hi all,
The following scenario works in 3.0.1 but not 3.0.2:
(On MacOs, Java 1.7.0_51)
- I extract a fresh Karaf.
- cd apache-karaf-3.0.2/bin
- ./start
- wait for a bit
- ./client
In 3.0.1 I'm now in the console:
934 [pool-2-thread-2] WARN
Hi Frank,
I just recently stumbled over this kind of issue too.
You'll need to add the user to the command.
client -u karaf
this way it's working as expected.
regards, Achim
2014-10-29 7:56 GMT+01:00 Frank Lyaruu fr...@dexels.com:
Hi all,
The following scenario works in 3.0.1 but not
From: Frank Lyaruu fr...@dexels.com
Date:29/10/2014 07:56 (GMT+01:00)
To: user@karaf.apache.org
Cc:
Subject: Problem logging into the karaf console using 'client' in Karaf 3.0.2
Hi all,
The following scenario works in 3.0.1 but not 3.0.2:
(On MacOs, Java 1.7.0_51)
- I extract
@karaf.apache.org
Cc:
Subject: Problem logging into the karaf console using 'client' in Karaf 3.0.2
Hi all,
The following scenario works in 3.0.1 but not 3.0.2:
(On MacOs, Java 1.7.0_51)
- I extract a fresh Karaf.
- cd apache-karaf-3.0.2/bin
- ./start
- wait for a bit
- ./client
In 3.0.1 I'm now
Hi all,
The following scenario works in 3.0.1 but not 3.0.2:
(On MacOs, Java 1.7.0_51)
- I extract a fresh Karaf.
- cd apache-karaf-3.0.2/bin
- ./start
- wait for a bit
- ./client
In 3.0.1 I'm now in the console:
934 [pool-2-thread-2] WARN
.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Cheers,
Jon
---
Red Hat, Inc.
Email: jans...@redhat.com
Web: http://redhat.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Jon,
thanks for looking at this. It will make our scripting very easy.
Rich
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032840.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Jamie,
thanks for add the feature request. The export doesn't really work for what
I need, but the new feature proposed will be just great.
Thanks
Rich
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032841.html
in context:
http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Cheers,
Jon
---
Red Hat, Inc.
Email: jans...@redhat.com
Web: http://redhat.com
Twitter: jon_anstey
Blog: http
Rich
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Cheers,
Jon
---
Red Hat, Inc.
Email: jans...@redhat.com
Web: http
parameter (as in the osgi:bundle-level command)
if you do 1. you dont absolutely need this, but it would be
convenient
These two features would make scripting upgrades easier
thanks
Rich
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-console-command
absolutely need this, but it would be
convenient
These two features would make scripting upgrades easier
thanks
Rich
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html
Sent from the Karaf - User mailing list archive
Thanks for the response, I will try that
Rich
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032782.html
Sent from the Karaf - User mailing list archive at Nabble.com.
, Patryk Kucharz wrote:
Hello,
I am trying to add some new commands to karaf console. I have
read that
tutorial:
http://karaf.apache.org/__manual/latest-2.2.x/__
developers-guide/extending-__console.html
http://karaf.apache.org/manual/latest
/shell.init.script that
perform these actions ?
You script can be called with shell:source command too.
Regards
JB
On 12/02/2013 12:50 PM, Patryk Kucharz wrote:
Hello,
I am trying to add some new commands to karaf console. I have
read that
tutorial
.
Regards
JB
On 12/02/2013 12:50 PM, Patryk Kucharz wrote:
Hello,
I am trying to add some new commands to karaf console. I have
read that
tutorial:
http://karaf.apache.org/__manual/latest-2.2.x/__
developers-guide/extending
Hello,
I am trying to add some new commands to karaf console. I have read that
tutorial:
http://karaf.apache.org/manual/latest-2.2.x/developers-guide/extending-console.html
I am wondering if there is any possibility to call from my new command the
one of those already implemented commands
Hi Patryk,
Why not directly creating an alias in etc/shell.init.script that perform
these actions ?
You script can be called with shell:source command too.
Regards
JB
On 12/02/2013 12:50 PM, Patryk Kucharz wrote:
Hello,
I am trying to add some new commands to karaf console. I have read
?
You script can be called with shell:source command too.
Regards
JB
On 12/02/2013 12:50 PM, Patryk Kucharz wrote:
Hello,
I am trying to add some new commands to karaf console. I have read that
tutorial:
http://karaf.apache.org/manual/latest-2.2.x/developers-guide/extending
creating an alias in etc/shell.init.script that
perform these actions ?
You script can be called with shell:source command too.
Regards
JB
On 12/02/2013 12:50 PM, Patryk Kucharz wrote:
Hello,
I am trying to add some new commands to karaf console. I have
creating an alias in etc/shell.init.script that perform
these actions ?
You script can be called with shell:source command too.
Regards
JB
On 12/02/2013 12:50 PM, Patryk Kucharz wrote:
Hello,
I am trying to add some new commands to karaf console. I have read that
tutorial:
http
Hello guys,
I just started to creating own extension to Karaf console, to handle some
things to a project I'm running under Karaf.
I went through few tutorial and documentation, how to make a extension,
then I started with own examples, but first of all I had a problem with
bundle packacking
for improvement on this :-)
regards, Achim
[1] - http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
2013/3/13 Martin Stiborský martin.stibor...@gmail.com
Hello guys,
I just started to creating own extension to Karaf console, to handle some
things to a project I'm running under
Hi Oliver,
You may be able to find a hint in the SCR code that is part of the
3.0.0-SNAPSHOT in trunk. This component is written sans blueprint. It is
a bit different than the 2.2.x branch though. For that you can look here:
https://github.com/sully6768/karaf-sandbox.
Best Regards,
Scott ES
) and do the following:
features:install webconsole
features:addurl
mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features
features:install cellar
I see all the cellar commands appear in the karaf console (e.g.
cluster:config-list, cluster:config-proplist etc).
If I do the same
) and do the following:
features:install webconsole
features:addurl
mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features
features:install cellar
I see all the cellar commands appear in the karaf console (e.g.
cluster:config-list, cluster:config-proplist etc).
If I do the same
2.2.3 fresh (felix) and do the following:
features:install webconsole
features:addurl
mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features
features:install cellar
I see all the cellar commands appear in the karaf console (e.g.
cluster:config-list, cluster:config-proplist etc).
If I do
a small problem running cellar with equinox.
If I start karaf 2.2.3 fresh (felix) and do the following:
features:install webconsole
features:addurl
mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features
features:install cellar
I see all the cellar commands appear in the karaf console
84 matches
Mail list logo