Re: Pax-Exam failure to start Karaf container

2021-05-24 Thread Alex Soto
wonder if it is missing something like: --add-opens java.base/org.apache.karaf.specs.locator=ALL-UNNAMED ??? Best regards, Alex soto > On May 24, 2021, at 8:34 AM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > That’s weird as it’s what we are using in Karaf itests as well

Pax-Exam failure to start Karaf container

2021-05-24 Thread Alex Soto
) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] My test is based on org.apache.karaf.itests.KarafTestSupport, where the proper JVM options should be set to deal with this module issues. Any idea about what may be going on? Best regards, Alex soto

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-18 Thread Alex Soto
on system directory:\ $ ls -l system/org/apache/karaf/features/org.apache.karaf.features.extension total 0 drwxr-xr-x. 2 vagrant vagrant 59 May 18 19:43 4.3.1 drwxr-xr-x. 2 vagrant vagrant 59 May 18 19:43 4.3.2 Best regards, Alex soto > On May 18, 2021, at 1:36 PM, JB Onofré wrote: >

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-18 Thread Alex Soto
s.xml. > > Regards > JB > >> Le 18 mai 2021 à 20:18, Alex Soto a écrit : >> >>  >> Hi JB, >> >> I wonder how to tie the versions, apparently something changed in the >> resolver, where it is now picking up the latest released version of

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-18 Thread Alex Soto
mework/${karaf.version}/xml/features In my features.xml. An example will be helpful. Thanks! Best regards, Alex soto > On May 18, 2021, at 12:28 PM, JB Onofré wrote: > > Hi Alex > > The resolver always take the latest release candidates. It was always like > this. If yo

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-18 Thread Alex Soto
xml> And it clearly references version 4.3.1: mvn:org.apache.karaf.features/org.apache.karaf.features.extension/4.3.1 So I don’t know why version 4.3.2 is being pulled but (presumably) by the karaf-maven-plugin. Best regards, Alex soto > On May 6, 2021, at 11:56 PM, Jean-Baptiste Onofre wrote

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-18 Thread Alex Soto
n is still pulling the newest. So, the question is, how to control the versions I want, and not be surprised by a future Karaf release? Best regards, Alex soto > On May 6, 2021, at 11:56 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Yes, the version is not correct. I

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-06 Thread Alex Soto
I see… Karaf is looking for wrap version 2.6.7, but the version the framework feature brings is version is 2.6.2, so it does not find it. However, I don’t know who is pulling version 2.6.7. Will search for that... Best regards, Alex soto > On May 6, 2021, at 10:15 AM, Alex Soto wr

Re: Karaf is not finding org.osgi.util.function and fails to start

2021-05-06 Thread Alex Soto
: /system/org/osgi/org.osgi.util.function/1.0.0/org.osgi.util.function-1.0.0.jar So, what do I need to do? Best regards, Alex soto > On May 6, 2021, at 9:59 AM, Jean-Baptiste Onofre wrote: > > Hi, > > osgi.function is part of the framework feature: > > https://github.

Karaf is not finding org.osgi.util.function and fails to start

2021-05-06 Thread Alex Soto
-20 LTS OS: Linux version 3.10.0-1127.el7.x86_64 (mockbu...@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Tue Mar 31 23:36:51 UTC 2020 I have verified the required jar is present: $ ls -l system/org/osgi/org.osgi.util.function/1.1.0/ total 16 -rw-r--r--. 1 vagrant vagrant 14053 May 6 14:49 org.osgi.util.function-1.1.0.jar Any help will be appreciated. Best regards, Alex soto

Re: Unable to install CXF feature

2020-12-08 Thread Alex Soto
Thank you JB, I will take a look. I was following your blog entry http://blog.nanthrax.net/?p=101 Where a full install of CXF is suggested, perhaps something changed overtime. Best regards, Alex soto > On Dec 8, 2020, at 10:11 AM, Jean-Baptiste Onofre wrote: > > Ye

Unable to install CXF feature

2020-12-07 Thread Alex Soto
etty/3.4.1] osgi.identity; osgi.identity=jetty; type=karaf.feature; version="[9.0.0,11.0.0)"]]] Any idea why? Best regards, Alex soto

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-04 Thread Alex Soto
I've created a minimal project here: https://github.com/lexsoto/multipart <https://github.com/lexsoto/multipart> On a fresh Karaf 4.3.0 it is not working for me. Best regards, Alex soto > On Dec 4, 2020, at 10:49 AM, Jean-Baptiste Onofre wrote: > > Hi Tim, > &

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-04 Thread Alex Soto
%d%n", part.getName(), part.getContentType(), part.getSize()); } } This is also failing, so it may be something else with the Karaf stack. Best regards, Alex soto > On Dec 4, 2020, at 6:56 AM, Tim Ward wrote: > > Hi

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-03 Thread Alex Soto
answer lies somewhere in Aries, and is a > regression since the bug was written. If it does work then this points the > finger either at something more complex in the application code, or at > PAX-Web. > > All the best, > > Tim > >> On 3 Dec 2020, at 17:12, Alex Soto

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-03 Thread Alex Soto
Specification, or in the Aries web site. Is file upload such an obscure use case to not merit coverage in the examples and documentation? Best regards, Alex soto > On Dec 3, 2020, at 11:23 AM, Tim Ward wrote: > > Hello, > > Having seen the class included in this email

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-03 Thread Alex Soto
Yes, of course, I will write you to your email. Best regards, Alex soto > On Dec 3, 2020, at 7:45 AM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Not yet started, I will take investigate tonight. > > By the way, any chance we can do direct chat together (to m

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-03 Thread Alex Soto
Hi JB, Did you have a chance to look into this? It is starting become a blocker in our project, so if there is workaround or any hints, I will appreciate it. Best regards, Alex soto > On Dec 1, 2020, at 9:03 AM, Jean-Baptiste Onofre wrote: > > Don’t worry, I will update the k

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-01 Thread Alex Soto
I’ll try but these days I'm very busy…. Best regards, Alex soto > On Dec 1, 2020, at 8:52 AM, Francois Papon > wrote: > > Hi Alex, > > Any chances to have a sample project to share on github? > > regards, > > François > fpa...@apache.org <mailto:fpa

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-01 Thread Alex Soto
No problem, thanks. I think it will help others to have a working example of a File Upload using pure OSGi JAX-RS Whiteboard Specification, all the samples I have found do not go there. Best regards, Alex soto > On Dec 1, 2020, at 8:43 AM, Jean-Baptiste Onofre wrote: > &g

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-12-01 Thread Alex Soto
Thank you for taking a look at this. Best regards, Alex soto > On Dec 1, 2020, at 1:23 AM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > In order for me to reproduce, are you using: > > - Aries JAXRS 1.0.10 still (or did you update) ? > - Pax Web or Felix as

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-11-30 Thread Alex Soto
Hello, Anybody has any insight about this? Best regards, Alex soto > On Nov 13, 2020, at 8:54 AM, Alex Soto wrote: > > Thank you, João, for your response. > > Unfortunately, it is not working for me. I tested adding the annotation, and > my service look almost

Re: Enabling multipart support on Aries JAX-RS 1.0.10

2020-11-13 Thread Alex Soto
:3.1.0] Best regards, Alex soto > On Nov 13, 2020, at 4:30 AM, João Assunção > wrote: > > Hello Alex, > > I used Multipart with Aries JAX-RS and I'm almost sure I didn't need to mess > with the configuration. > I annotated the class with @MultipartCo

Enabling multipart support on Aries JAX-RS 1.0.10

2020-11-12 Thread Alex Soto
: java.lang.IllegalStateException: No multipart config for servlet When getting parts from HttpServletRequest. Any help will be appreciated. Best regards, Alex soto

Re: JAX-RS Whiteboard with Karaf 4.2.9

2020-08-25 Thread Alex Soto
oduces the warnings in the logs. No custom code involved. Best regards, Alex soto > On Aug 25, 2020, at 9:21 AM, Alex Soto wrote: > > No, not Windows, I am on Mac OSX. > > This warning occurs severals times when installing my feature (which > reference the Aries JAX-

Re: JAX-RS Whiteboard with Karaf 4.2.9

2020-08-25 Thread Alex Soto
No, not Windows, I am on Mac OSX. This warning occurs severals times when installing my feature (which reference the Aries JAX-RS), and no, I don’t see anything else in the logs, before or after, out of the ordinary. Best regards, Alex soto > On Aug 25, 2020, at 1:17 AM, Jean-Bapti

Re: JAX-RS Whiteboard with Karaf 4.2.9

2020-08-24 Thread Alex Soto
. Best regards, Alex soto > On Aug 24, 2020, at 4:04 PM, Alex Soto wrote: > > Hello, > > I am experimenting with JAX-RS Whiteboard with Karaf 4.2.9. In my > features.xml I added: > > > mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.

JAX-RS Whiteboard with Karaf 4.2.9

2020-08-24 Thread Alex Soto
igure out how to make it work. Thanks in advance. Best regards, Alex soto

Re: Karaf Camel OSGi

2020-08-14 Thread Alex Soto
It is perfectly possible, Paul, I have used it in several projects, with Blueprint XML. Best regards, Alex soto > On Aug 10, 2020, at 1:13 AM, Paul Fraser wrote: > > Hi, > > Blindly ventured into Karaf Camel code and used DefaultCamelContext for a > single project

Re: Question about @Reference Karaf Command annotation

2020-07-16 Thread Alex Soto
I also believe there is a bug here; I had pasted in a previous post the part of the code I suspect is at fault. Best regards, Alex soto > On Jul 16, 2020, at 6:26 AM, João Assunção > wrote: > > Paul, > you are right. I think there is a bug in the implementation of > Si

Fwd: org.apache.karaf.specs.locator not found

2020-07-13 Thread Alex Soto
I am sorry I posted this to the wrong mailing list. Best regards, Alex soto > Begin forwarded message: > > From: Alex Soto > Subject: Re: org.apache.karaf.specs.locator not found > Date: July 13, 2020 at 1:38:18 PM EDT > To: MailList > > Answering my own question

Re: org.apache.karaf.specs.locator not found

2020-07-13 Thread Alex Soto
I am sorry I posted this to the wrong mailing list. Best regards, Alex soto > On Jul 13, 2020, at 12:22 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > I don’t see this error on Jenkins, so I guess this error is in your itest. > > Can you share a simple

Re: Karaf 4.2.9 Pax-Exam integration tests stopped working

2020-06-15 Thread Alex Soto
ces: [org.enquery.encryptedquery.encryption.ModPowAbstraction] Scope: singleton Config PID(s): [org.enquery.encryptedquery.encryption.impl.ModPowAbstractionJavaImpl], Policy: require Base Props:(1 entry) library = java Best regards, Alex soto > On Jun 15, 2020, at 9:11 AM, Alex Soto wrote: >

Re: Karaf 4.2.9 Pax-Exam integration tests stopped working

2020-06-15 Thread Alex Soto
o I don’t know why ModPowAbstractionGMPImpl component does not satisfy the requirement of PrimeGenerator. Again, this only occurs while running with Pax-Exam. Thanks for your help. Best regards, Alex soto > On Jun 13, 2020, at 1:29 AM, Jean-Baptiste Onofre wrote: > > Hi ag

Karaf 4.2.9 Pax-Exam integration tests stopped working

2020-06-12 Thread Alex Soto
, it is only when running with Pax-Exam that this happens. Any idea? Running with Pax-Exam version 4.13.2 Best regards, Alex soto

Re: Why is a feature added?

2020-06-11 Thread Alex Soto
at the moment, due to other issues. Any advise will be appreciated. Thanks! Best regards, Alex soto > On Jun 11, 2020, at 2:54 PM, Jean-Baptiste Onofre wrote: > > Hi, > > OK, that’s the problem with Jetty and pax-http-jetty feature. > > Most of third party projects (especial

Re: Why is a feature added?

2020-06-11 Thread Alex Soto
easily spot who’s is bringing the dependency. Best regards, Alex soto > On Jun 11, 2020, at 12:34 PM, Jean-Baptiste Onofre wrote: > > Hi, > > You maybe have a range in another feature using ? > > If you talk about Camel 3.3.0 and Karaf feature, I already saw the issue

Why is a feature added?

2020-06-11 Thread Alex Soto
to figure out why a particular feature is added to the distribution? Some tree output of the dependency hierarchy would be nice. Thanks! Best regards, Alex soto

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Alex Soto
local namespace. Karaf should be able to handle a mixed features file like that, where some features are in the old version, and some in the new version, each declaring local namespaces. Thanks! Best regards, Alex soto > On Jun 5, 2020, at 9:27 AM, Jean-Baptiste Onofre wrote: > &

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Alex Soto
features in the new features XML file, it removes the XML Schema definition from the Keycloak features and puts the new one (v1.6.0), but the content is invalid with regards to the new schema. Best regards, Alex soto > On Jun 5, 2020, at 9:08 AM, Jean-Baptiste Onofre wrote: > &

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-05 Thread Alex Soto
Yes, in this case the latest version of Keycloak (10.0.2) see previous email. Looks like a bug to me. Best regards, Alex soto > On Jun 5, 2020, at 12:18 AM, Jean-Baptiste Onofré wrote: > > By the way Alex, don?t you have ? old ? features xml in your set (for > instance old c

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
ld think the plugin should handle this scenario, as it is merging different features with different versions. How can I work around this problem? Best regards, Alex soto > On Jun 4, 2020, at 12:49 PM, Alex Soto wrote: > > I removed my src/main/feature/feature.xml file, so the

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
I removed my src/main/feature/feature.xml file, so the file is being generated entirely by the plugin. http://karaf.apache.org/xmlns/features/v1.6.0; name=“my-kar">

Re: KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
There is this ticket that appears to be fixed https://issues.apache.org/jira/browse/KARAF-4842 <https://issues.apache.org/jira/browse/KARAF-4842>, yet it is still happening with version 4.2.8 Best regards, Alex soto > On Jun 4, 2020, at 10:34 AM, Alex Soto wrote: > > H

KAR: Attribute 'resolver' is not allowed to appear in element 'feature'.

2020-06-04 Thread Alex Soto
true true Also, I thought all dependencies would be added the the KAR archive under the ‘repository’ folder, but this is not the case. Best regards, Alex soto

Re: Using jetty instead of undertow with keycloak possible

2020-06-01 Thread Alex Soto
Thanks, JB, Unfortunately, my app depends heavily on Camel. I would be interested in a way to make Keycloak work with default Jetty, this will probably be easier than replacing Jetty with Undertow at this point. Any help will be appreciated. Best regards, Alex soto > On Jun 1, 2

Re: Using jetty instead of undertow with keycloak possible

2020-06-01 Thread Alex Soto
Blacklist? How? Best regards, Alex soto > On Jun 1, 2020, at 3:11 PM, Jean-Baptiste Onofre wrote: > > Just installing the pax web undertow feature will add the HTTP undertow > provider capability. You just have to blacklist jetty feature and it should > be fine. > >

Re: Using jetty instead of undertow with keycloak possible

2020-06-01 Thread Alex Soto
If I have to use Undertow, I’d be willing to try it, but there is little or no info on how to switch Pax-Web to use Undertow. I don’t have any particular need to use Jetty, just trying to be isolated from this by Pax-Web. Best regards, Alex soto > On Jun 1, 2020, at 12:45 PM, Jean-Bapti

Re: Using jetty instead of undertow with keycloak possible

2020-06-01 Thread Alex Soto
Hi JB, Can you share your workaround? Thanks! Best regards, Alex soto > On Jun 1, 2020, at 12:45 PM, Jean-Baptiste Onofre wrote: > > Hi, > > Yes, I have something (not with the latest keycloak) but I had to "fix" the > keycloak feature. > > Regards

Re: Using jetty instead of undertow with keycloak possible

2020-06-01 Thread Alex Soto
Hello, Anybody has a working example of Pax-Web with Jetty, and Keycloak? The Jetty features are commented out in the Keycloak keycloak-osgi-features-10.0.1 /features.xml file: Best regards, Alex soto > On May 29, 2020, at 4:19 PM, Alex Soto wrote: > > I am looking for

Re: Using jetty instead of undertow with keycloak possible

2020-05-29 Thread Alex Soto
I am looking for the same, did you find any solution? Best regards, Alex soto > On Apr 7, 2020, at 5:06 PM, Christian Lutz wrote: > > Hello, > > I just wanted to ask if someone has a running karaf 4.2.8 instance with REST > services protected by keycloak. > B

Re: Using Docker Secrets in Karaf Configuration

2020-05-27 Thread Alex Soto
Thanks, JB, here it is: https://issues.apache.org/jira/browse/KARAF-6733 <https://issues.apache.org/jira/browse/KARAF-6733> Best regards, Alex soto > On May 27, 2020, at 12:16 AM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > That’s a good idea about file. >

Re: Using Docker Secrets in Karaf Configuration

2020-05-26 Thread Alex Soto
way you can sopport both. Environment and secrets. > > A nice sample is > https://github.com/docker-library/wordpress/blob/master/docker-entrypoint.sh > <https://github.com/docker-library/wordpress/blob/master/docker-entrypoint.sh> > > Regards, > > Mike >

Re: Using Docker Secrets in Karaf Configuration

2020-05-19 Thread Alex Soto
Thanks Mike, Yes, that would work, but wasn’t the secret mechanism added precisely to avoid the unsafe environment variables? Best regards, Alex soto > On May 18, 2020, at 2:57 PM, Mike Hummel wrote: > > Hi, > > store your secrets as bash script with > > key=v

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-14 Thread Alex Soto
CC forum > On May 14, 2020, at 12:42 PM, Alex Soto wrote: > > Looks good to me: '/camel/api/say/hello' should be correct. > > The only difference I see is that in my case I am not using the > ‘httpRegistry'; try removing that part. > > > Best regards, > A

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-14 Thread Alex Soto
= * security.constraint.1.roles = admin Best regards, Alex soto > On May 13, 2020, at 7:02 PM, Gerald Kallas wrote: > >

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-13 Thread Alex Soto
level, which means it can be adapted to use a different mechanism without changing the code of the Camel routes. Leverages Karaf’s built in JAAS features. Best regards, Alex soto > On May 13, 2020, at 12:56 PM, Gerald Kallas wrote: > > As I have only Blueprint DSL routes it would

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-13 Thread Alex Soto
This looks promising: https://ops4j1.jira.com/wiki/spaces/paxweb/pages/354025473/HTTP+Context+processing <https://ops4j1.jira.com/wiki/spaces/paxweb/pages/354025473/HTTP+Context+processing> Best regards, Alex soto > On May 13, 2020, at 10:26 AM, Alex Soto wrote: > > Re-s

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-13 Thread Alex Soto
Re-sending to group > On May 13, 2020, at 9:38 AM, Alex Soto wrote: > > Thank you Gerald, I appreciate the link. > > I was starting going that route, but it is not optimal, because I have more > than one bundle that expose HTTP endpoints, and it is wasteful for each one

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-12 Thread Alex Soto
ecurity bits (by implementing > org.osgi.service.http.HttpContext interface). Are there any examples of this? Best regards, Alex soto > On May 12, 2020, at 11:42 AM, Alex Soto wrote: > > Thanks, JB. > > I found the problem was, a typo in the `realm-name` in the web.xml f

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-12 Thread Alex Soto
the browser prompts me for the user name and password. What I need is protect everything starting with '/admin’ Any ideas? Best regards, Alex soto > On May 12, 2020, at 11:24 AM, Jean-Baptiste Onofre wrote: > > Hi, > > It sounds like a class loader issue, so possible. > &g

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-12 Thread Alex Soto
] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] Best regards, Alex soto > On May 11, 2020, at 12:50 PM, Alex Soto wrote: > > A little more info. The class appears in many bundles: > > > karaf@root()> bundle:find-class > org.eclipse.jetty.security.authentic

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-11 Thread Alex Soto
ity/authentication/BasicAuthenticator.class Best regards, Alex soto > On May 11, 2020, at 12:44 PM, Alex Soto wrote: > > org.eclipse.jetty.security.authentication.BasicAuthenticator

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-11 Thread Alex Soto
classes be deployed as part of Pax-Web? Best regards, Alex soto > On May 11, 2020, at 12:16 PM, Achim Nierbeck wrote: > > Hi Alex, > > a wab is nothing else then a war which is already contains the required > Web-ApplicationContext parameter. > That's the only diffe

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-11 Thread Alex Soto
(ThreadPoolExecutor.java:1149) [?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] Best regards, Alex soto > On May 11, 2020, at 8:36 AM, Alex Soto wrote: >

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-11 Thread Alex Soto
Ok I saw it now, it was hidden: Test Realm Best regards, Alex soto > On May 11, 2020, at 8:31 AM, Alex Soto wrote: > > Thanks Achin and JB, > > I looked at that example, but that is is WAR, and I am looking for WAB > example. Still, in the ‘web.xml’ file there is no

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-11 Thread Alex Soto
having to guess all this basic stuff, and also a productivity drain, I am sorry to say. Best regards, Alex soto > On May 11, 2020, at 3:12 AM, Jean-Baptiste Onofre wrote: > > No rush, I think it’s easier for our users to find "how to" ;) > > Thanks ! > Regards >

Basic authentication of WAB using Jaas in Karaf

2020-05-08 Thread Alex Soto
Hello, Is there a good tutorial or documentation on how to protect a WAB (Web Application Bundle) with JAAS authentication? My Karaf version is 4.2.8. Documentation here https://karaf.apache.org/manual/latest/webcontainer is scarce, only

Using Docker Secrets in Karaf Configuration

2020-05-05 Thread Alex Soto
=$(cat /run/secrets/keystorepass) Is there anything similar or planned? (Same would be useful to configure the JAAS users in users.properties, etc.) Best regards, Alex soto

Re: Stopping Karaf

2020-04-16 Thread Alex Soto
It is working now with level 3, I had the jar in the wrong place in the “system” directory, so it have been finding an older version of this jar. Thanks! > On Apr 16, 2020, at 9:53 AM, Alex Soto wrote: > > I tried different ones: 3, 5... > > > > >> On Apr

Re: Stopping Karaf

2020-04-16 Thread Alex Soto
I tried different ones: 3, 5... > On Apr 16, 2020, at 9:51 AM, Jean-Baptiste Onofre wrote: > > What’s the start level ? > >> Le 16 avr. 2020 à 15:37, Alex Soto > <mailto:alex.s...@envieta.com>> a écrit : >> >> Thank you JB. >> >&

Re: Stopping Karaf

2020-04-16 Thread Alex Soto
/java -version java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode) Best regards, Alex soto > On Apr 15, 2020, at 3:03 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Actually,

Re: Stopping Karaf

2020-04-15 Thread Alex Soto
Thanks JB, would it work with file:// protocol, or only mvn? Also, what start level do you recommend? Best regards, Alex soto > On Apr 15, 2020, at 1:55 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Yes, SystemService is exactly provided for that (it’s used by the

Stopping Karaf

2020-04-15 Thread Alex Soto
this component as a boot feature? Any other advise? Best regards, Alex soto

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Alex Soto
Agree, and perhaps the "data/cache”, and/or whatever else is needed to run without connecting the internet > On Apr 14, 2020, at 11:22 AM, Steinar Bang wrote: > >> Jean-Baptiste Onofre : > >> What do you think about a small example/tooling addition to simplify this ? > > I think that

Re: Creating docker image from docker hub karaf image

2020-04-14 Thread Alex Soto
/org.ops4j.pax.url.mvn.cfg`. Is there anything else I need to make the image self contained? JB, can you elaborate about your reference to the system folder? Best regards, Alex soto > On Apr 14, 2020, at 2:13 AM, Jean-Baptiste Onofre wrote: > > Hi, > > For the startup, you can already popu

Re: Command ACL multiple scopes

2020-03-12 Thread Alex Soto
Ok, :) well, how do I write the ACL inside the file? database:truncate = admin ? Best regards, Alex soto > On Mar 12, 2020, at 3:51 PM, Jean-Baptiste Onofre wrote: > > Hi, > > That’s not fully correct: the scope is admin and the command is > database:truncate ;) &g

Command ACL multiple scopes

2020-03-12 Thread Alex Soto
Is it possible to specify ACL for Karaf commands that have more than one scope? For example, the command admin:database:truncate Scope here is two levels (admin:database) but it is not clear how the ACL file needs to be named. Best regards, Alex soto

Re: Question about @Reference Karaf Command annotation

2020-03-12 Thread Alex Soto
Just to clarify, when I say it does not work, I mean that the injected service is not the correct one matching the filter expression. Best regards, Alex soto > On Mar 12, 2020, at 9:24 AM, Jean-Baptiste Onofre wrote: > > Hi, > > Let me check, but AFAIR, I ha

Re: Question about @Reference Karaf Command annotation

2020-03-12 Thread Alex Soto
soto > On Mar 12, 2020, at 9:07 AM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > You can find the change I did about that here: > > https://github.com/apache/karaf/pull/992 > <https://github.com/apache/karaf/pull/992> > > Regards > JB &

Re: Question about @Reference Karaf Command annotation

2020-03-12 Thread Alex Soto
ice matching " + field.getType().getName()); } field.setAccessible(true); field.set(instance, value); } Maybe this is not the relevant piece of code, but I do not see that the filter attribute is being used to look up the service. Best regards, Alex soto

Question about @Reference Karaf Command annotation

2020-03-11 Thread Alex Soto
Is the filter attribute in annotation org.apache.karaf.shell.api.action.lifecycle.Reference used to filter the injected service on Service attributes? Best regards, Alex soto

Re: Hawtio, Karaf, Pax-Web, separate port

2020-03-10 Thread Alex Soto
) at java.net.URL.openStream(URL.java:1045) at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:78) ... 8 more Best regards, Alex soto > On Mar 10, 2020, at 1:16 PM, Jean-Baptiste Onofre wrote: > >

Re: Hawtio, Karaf, Pax-Web, separate port

2020-03-10 Thread Alex Soto
Interesting that the karaf-maven-plugin is commented out in the example POM... > On Mar 10, 2020, at 1:04 PM, Alex Soto wrote: > > Using webbundle causes: > > Failed to execute goal > org.apache.karaf.tooling:karaf-maven-plugin:4.3.0.RC1:veri

Re: Hawtio, Karaf, Pax-Web, separate port

2020-03-10 Thread Alex Soto
) at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60) ... 7 more And I have added: war Best regards, Alex soto > On Mar 10, 2020, at 12:44 PM, Jean-Baptiste Onofre wrote: > > Hi, > > The U

Re: Hawtio, Karaf, Pax-Web, separate port

2020-03-10 Thread Alex Soto
) so it doesn’t seem to be doing anything. I tried using war protocol, (as explained here https://ops4j1.jira.com/wiki/spaces/paxurl/pages/5046879/War+Protocol <https://ops4j1.jira.com/wiki/spaces/paxurl/pages/5046879/War+Protocol>) but Karaf does not recognize it. Best regards, Ale

Re: Http Whiteboard - Pax-Web multiple instances

2020-03-10 Thread Alex Soto
least one host@connector syntax entry that will match a host for an specific connector What does this warning means? Why is Jetty responding with a 404? Best regards, Alex soto > On Mar 9, 2020, at 4:52 PM, Alex Soto wrote: > > Well, this is not working for me. Fo

Re: Http Whiteboard - Pax-Web multiple instances

2020-03-09 Thread Alex Soto
│ Deployed│ /jolokia │ [/jolokia/*] However, a GET request always returns error 404 in all ports. If I remove the configuration and the Activator, then Jolokia is bound to all interfaces, but the it is not prompting for authentication. Any ideas about what I may be doing

Re: Hawtio, Karaf, Pax-Web, separate port

2020-03-09 Thread Alex Soto
ote: > > For the record: https://issues.apache.org/jira/browse/KARAF-6632 > <https://issues.apache.org/jira/browse/KARAF-6632> > > Regards > JB > >> Le 6 mars 2020 à 18:17, Alex Soto > <mailto:alex.s...@envieta.com>> a écrit : >> >> Hell

Hawtio, Karaf, Pax-Web, separate port

2020-03-06 Thread Alex Soto
, to prevent access from outside. For this purpose, I have configured an additional Jetty connector in etc/jetty.xml but I don’t know how to tell Hawtio to use it. Any help with this is appreciated. Best regards, Alex soto

Re: paste broken on client console

2020-03-03 Thread Alex Soto
I know, trying to capitalize the moment :) On a different thread, I was seeking help trying to read a single character to implement pagination in one of my commands. It is s simple change since the impl class already has the method, it would help me. Best regards, Alex soto > On Mar 3, 2

Re: paste broken on client console

2020-03-03 Thread Alex Soto
JB, Maybe you can expose method readCharacter() in org.jline.reader.LineReader interface? Best regards, Alex soto > On Mar 2, 2020, at 9:55 AM, Jean-Baptiste Onofre wrote: > > By the way, about the InvocationTargetException, I will have to cut a new > Felix Gogo relea

Re: Features Conditional on JDK version

2020-02-27 Thread Alex Soto
runtime by the resolver. Thanks to > that, if later you install a condition feature, then the inner resources will > be installed. > > Regards > JB > >> Le 27 févr. 2020 à 16:34, Alex Soto > <mailto:alex.s...@envieta.com>> a écrit : >> >> Than

Re: Features Conditional on JDK version

2020-02-27 Thread Alex Soto
the Index out of bound errors from BND the first time it runs, but not the uses constraints violation errors. Best regards, Alex soto > On Feb 27, 2020, at 9:46 AM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Can you try this condition: > > req:osgi.ee;filt

Re: Features Conditional on JDK version

2020-02-27 Thread Alex Soto
causes a lot of errors. Please help. Best regards, Alex soto > On Feb 26, 2020, at 4:21 PM, Jean-Baptiste Onofré wrote: > > Thanks Guillaume, it?s what I was looking for. > > Regards > JB > > Le mer. 26 f?vr. 2020 ? 21:31, Guillaume Nodet a ?crit : > This should be

Re: Features Conditional on JDK version

2020-02-26 Thread Alex Soto
l.fastinfoset/FastInfoset/1.2.16 wrap:mvn:org.glassfish.jaxb/jaxb-runtime/${jaxb.version} Not sure yet if it is working correctly. Testing... Best regards, Alex soto > On Feb 26, 2020, at 3:31 PM, Guillaume Nodet wrote: > > This should be doabl

Re: Features Conditional on JDK version

2020-02-26 Thread Alex Soto
xplain what you are looking for ? > > You can to install a feature matching a condition, where the condition is a > bundle or a capability (provided by another bundle or feature) ? > > Regards > JB > >> Le 26 févr. 2020 à 20:27, Alex Soto > <mailto:alex.s...@envieta.com>

Re: Features Conditional on JDK version

2020-02-26 Thread Alex Soto
Thanks JB, Can you point me to capability documentation? Best regards, Alex soto > On Feb 26, 2020, at 2:25 PM, Jean-Baptiste Onofre wrote: > > Hi, > > No, a condition is actually another feature. > > So, the content of the feature will be installed only if the

Features Conditional on JDK version

2020-02-26 Thread Alex Soto
est/provisioning> but there is no mention of this. Best regards, Alex soto

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Alex Soto
Thank you very much, JB. Best regards, Alex soto > On Feb 24, 2020, at 3:24 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Actually, the —add-module that I was thinking is already there. > > The problem is about the Felix framework (also equinox). > > Kara

  1   2   3   4   >