and an
auxiliary service interface with a method to force a reload of the config
without restarting.
I guess it depends on how you supply the configuration to the filter.
Regards,
João Assunção
On Fri, Mar 15, 2024 at 4:38 PM Steinar Bang wrote:
> I have this bundle:
> https://github.com/st
Hi Chandan,
I think the JVM will choose the G1 GC by default if the machine has more
than one CPU. Not sure it will be beneficial to use it if the JVM is
limited to 1 CPU.
Have you tried profiling your application using jprofiler or something
similar ? VisualVM can also help.
Try comparing the
Hello Jose.
Have you checked declarative services ?
I suspect your use case is probably more easily achievable using a
declarative service component. The component can be configured to
start/stop (activate/deactivate) based on the presence of a configuration.
Regards,
João Assunção
Email
What I do in these cases is to use a wildcard in the import-package
statement.
For example I have the following in my bnd.bnd in one of the bundles where
I use javax.xml.
> Import-Package: \
> javax.xml.bind*;version="[2.0,3)", \
> javax.xml.soap;version="[1.4,2)", \
were added to
startup.properties.
For this to work I previously changed the scope
of org.apache.karaf.features/enterprise from runtime to compile.
Thank you
Regards
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Tue, Nov 22, 2022
eatures as a startup repository but
this didn't do it.
Any ideas ?
Thank you in advance.
Best regards,
João Assunção
ectName,
> permissionsSet);
> }
> catch (InvalidJwtException ex) {
> logException("InvalidJwtException", ex);
> throw new AuthenticationException(ex.getMessage());
>
> }
> catch (MalformedClaimException ex) {
>
e;
> }
>
> @Override
> public String getAuthenticationScheme() {
>
> return AUTHENTICATION_SCHEME;
> }
>
> }
>
> /**
> * For test purposes
> *
> * @param jwtService
> * @return
&
Why not have the components implement the required operations as a service,
or expose those values in some service operation, and then make the shell
command use that service ?
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
I think the correct versions of pax logging would be 1.11.13.
And the "patching" can be made with two updates:
bundle:update org.ops4j.pax.logging.pax-logging-api
bundle:update org.ops4j.pax.logging.pax-logging-log4j2
Regards,
João
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
.
Regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Thu, Nov 4, 2021 at 9:13 AM Serge Démoulin
wrote:
> Hi
>
> We are developing a platform based on bundles
> Our products are based on this platfor
they don't
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Thu, May 20, 2021 at 4:47 PM João Assunção
wrote:
> Hello JB
>
> Yes I'm using Karaf 4.3.0
>
> I tried with override="true", specify
ther weird behavior is that this doesn't occur in my machine but
occurs in two other machines. All them are Linux machines running openjdk
but mine is a bit slower.
I will try to use the element instead of
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211
e replaced by the actual value
only when the configuration is passed to the service.
What am I doing wrong ?
Thank you in advance.
Best regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
is importing a bunch of packages not required for
the code in question.
Regards
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Tue, Mar 2, 2021 at 3:33 AM brock samson
wrote:
> hi, JB. did you get a chance to run my bun
Hi JB,
No need to apologize! I'm quite grateful for your dedication.
I created KARAF-6924 <https://issues.apache.org/jira/browse/KARAF-6924>. If
I have time during the weekend I will try to fix it.
Best regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
the configuration only uses primitive
types. Is it possible to prevent this behavior ?
Thank you.
Best regards
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
rmwareService {
@POST
@Path("/upload")
@Consumes(MediaType.MULTIPART_FORM_DATA)
public Response uploadFirmware(@Context HttpServletRequest request) {
try {
doUploadFirmware(request);
Hope this helps
João Assunção
Email: joao.assun...@exploitsys.co
You have two types of commands in Karaf shell: Karaf commands and gogo
commands. Karaf commands provide more bells and whistles than gogo
commands, --help being one of them.
I think scr: are gogo commands.
Best regards,
João Assunção
On Fri, 17 Jul 2020, 16:38 Paul Spencer, wrote:
> Ka
public String getColor() {
> StringBuffer colors = new StringBuffer();
> colors.append(redColorService.getColor());
> colors.append(", ");
> colors.append(greenColorService.getColor());
> retu
Hello all,
Have you tried to use an LDAP filter expression? Instead of *color=red*
try *(color=red). *(I haven't tried this myself)
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Mon, Jul 13, 2020 at 6:33 PM Paul
apache.felix/org.apache.felix.fileinstall/3.6.4"
> mode="maven" />
>
>
>
>
Thank you,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Fri, Jul 10, 2020 at 5:30 AM Jean-Baptiste
Hello all,
I use the config element in feature.xml to create configurations for my DS
components. Some of these components are factories.
When I install the feature, the configurations are created, the components
are activated but then they are deactivated automatically.
In the logs, I noticed
I had the same issue.
Adding an exclusion to the framework dependency fixed it for me.
org.apache.karaf.features
framework
kar
org.knopflerfish.kf6
log-API
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351
to exclude it, right ?
Thank you
Best regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
Hello all,
I'm running JAX-RS whiteboard in Karaf and I need to change the server port
for one of the applications that are running. Karaf is running other
applications that should be kept available in the default port. I'm trying
to avoid the use of a reverse proxy for this purpose.
I created a
ary/framework running under the hood, and probably most of the
libraries you are using are also using SLF4J.
Best regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Wed, May 1, 2019 at 1:27 PM Jean-Baptiste
Hi Scott,
Isn't the Converter service a recent introduction to the OSGi framework? I
have the idea the Converter was introduced in OSGi core 7 (release a few
weeks ago) and Karaf 4.2.0 is still using OSGi Core 5.
Maybe someone else can confirm this.
Regards,
João Assunção
Email: joao.assun
Very nice Christian.
Thank you for the effort you put into those examples. I already managed to
learn something new and add some new things to my tool belt.
Keep up with the good work.
Regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web
to an
absolute path. Since I don't have the code for the library and the supplier
is not willing to make changes, I'm looking up for a workaround for this
issue.
Is it possible to change the URI format used in Karaf for the bundles,
or some classloader trickery do the job?
Thanks in advance.
Regards,
João
Hello JB,
I haven't tried with Karaf 4.1.4. I was planning to wait for 4.1.5 due to
KARAF-5384 <https://issues.apache.org/jira/browse/KARAF-5384>.
Yes. By client I meant the SSH client.
Thank you.
Regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone
is the realm
of Karaf I'm not sure where I should open an issue.
Thanks,
Regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
Hello Roberto,
A few months ago I came across the same issue.
I think it is a bug in the EventAdmin implementation (
https://issues.apache.org/jira/browse/FELIX-5738).
Unfortunately, I didn't find an workwaround.
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone
, and after some investigation I noticed it was introduced
recently in the snapshot version of aries JPA.
Try to use the examples from aries.jpa version 2.6.1
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Tue, Nov 21, 2017 at 4
I will open an issue.
I had already implemented the workaround sugested and is working great. My
question was more due to curiosity why a feature not using blueprint would
trigger the installation of that bundle.
Thank you.
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351
les:
mvn:pt.brisa.common/common-service-core/1.3.0
mvn:pt.brisa.paybox/io-api/0.1.0-SNAPSHOT
mvn:pt.brisa.paybox/io-modbus/0.1.0-SNAPSHOT
mvn:pt.brisa.paybox/io-commands/0.1.0-SNAPSHOT
Feature has no conditionals.
In attachment the output of feature:install
Thank you.
João Assunção
Em
of the bundles uses a Contional-Package instruction.
What are possible reasons for this blueprint compatibility bundle to get
installed ?
Thanks.
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
element:
deviceId=reader_LEVEL1
portName=COM1
Can anyone point me out what I'm doing wrong, and if possible a way to
prevent the creation of the cfg file in ${KARAF_HOME}/etc
Thank you.
Best regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351
src/assemble/bin.xml
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Wed, Aug 23, 2017 at 11:56 AM, Mariusz Koprowski <
mariusz.koprow...@hexagonmining.
standard ones.
Best regards,
João Assunção
Email: joao.assun...@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Mon, Aug 21, 2017 at 11:25 AM, Mariusz Koprowski <
mariusz.koprow...@hexagonmining.com> wrote:
> Hi All
>
> I have a such situation.
40 matches
Mail list logo