Pax-Exam Test: Class not found problem

2018-06-14 Thread Alex Soto
rectory created by PAX-EXAM, I can see all the bundles are deployed, and I can find the class in question: karaf@root()> bundle:find-class org.apache.derby.iapi.services.property.PropertyUtil Apache Derby 10.13 (197) org/apache/derby/iapi/services/property/PropertyUtil.class I’ve checked everything I can think of. What am I missing? What could be causing this? Best regards, Alex soto

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Alex Soto
I understand “extend” will append the value to the existing property, not what I am looking for, but I tried, and still didn’t work, i.e., same result. Best regards, Alex soto > On Jun 8, 2018, at 12:46 PM, Francois Papon > wrote: > > Mmm weird, because I used "extend

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Alex Soto
Hi François, JB mentioned “append” but I do not see any “append” in your example. As I indicated in my original post, I am using put but all other properties in the file are being removed. Best regards, Alex soto > On Jun 8, 2018, at 11:43 AM, Francois Papon > wrote: >

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Alex Soto
Append? No, I've never seen this documented anywhere, can you point me to a documentation resource where this is mentioned/illustrated? Best regards, Alex soto > On Jun 8, 2018, at 8:52 AM, Jean-Baptiste Onofré wrote: > > Did you set append on the edit ? > > Regards >

Karaf assembly plugin property edits erasing properties

2018-06-07 Thread Alex Soto
}/jetty.xml Is this the expected behavior? How can I preserve the rest of the properties and modify just one? Best regards, Alex soto

Re: REST - Declarative Services

2018-05-29 Thread Alex Weirig
BTW: these should be the features I installed in karaf ... feature:repo-add cxf-dosgi feature:install cxf-dosgi-provider-rs Mat frëndleche Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg Service Enseignement Centre

Re: REST - Declarative Services

2018-05-29 Thread Alex Weirig
Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg Service Enseignement Centre Technolink *Tel* +352 4796 - 6127 *Fax* +352 42 88 81 *Email* alex.wei...@technolink.lu <mailto:alex.wei...@technolink.lu> www.vdl.lu <http://

Re: Aries JPA: The persistence unit has incomplete configuration and cannot be created.

2018-05-25 Thread Alex Soto
would like to request for this feature/enhancement (i.e. support JNDI DataSources) but I am not sure where to make it. Is this something controlled by the OSGi committee or is it an Aries JPA thing? Thank you for the help. Best regards, Alex soto > On May 25, 2018, at 11:06 AM, Tim W

Re: Aries JPA: The persistence unit has incomplete configuration and cannot be created.

2018-05-25 Thread Alex Soto
configuring the Persistence Unit via Configuration Admin, something that is supported when using the persistence.xml file. Best regards, Alex soto > On May 25, 2018, at 9:37 AM, Paul McCulloch <pkmccull...@gmail.com> wrote: > > That's what I do Alex. I didn't think I needed the non

Re: Aries JPA: The persistence unit has incomplete configuration and cannot be created.

2018-05-25 Thread Alex Soto
rors I see are later corrected, so it may be just a timing issue. Best regards, Alex soto > On May 25, 2018, at 8:01 AM, Paul McCulloch <pkmccull...@gmail.com> wrote: > > The dialect can be left out of the pu.xml though. I started down this path, > but in the end have ju

Re: Aries JPA: The persistence unit has incomplete configuration and cannot be created.

2018-05-24 Thread Alex Soto
Thank you François. The issue is that with Hibernate, you need to configure a Dialect, which is different for each database. I want to keep this outside the bundle, so I can configure different databases. Looks like Aries JPA can do this, but I can’t figure out how it works. Best regards, Alex

Re: Aries JPA: The persistence unit has incomplete configuration and cannot be created.

2018-05-24 Thread Alex Soto
and registered as a service: osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=responder) I want the persistence unit to use this DataSource. Best regards, Alex soto > On May 24, 2018, at 3:31 PM, Francois Papon <francois.pa...@openobject.fr> > wrote: > > Hi Alex, > >

Re: Aries JPA: The persistence unit has incomplete configuration and cannot be created.

2018-05-24 Thread Alex Soto
to change, since I am using PreHook facility there to run LiquiBase migrations. Any hints or examples appreciated. Best regards, Alex soto > On May 24, 2018, at 1:41 PM, Alex Soto <alex.s...@envieta.com> wrote: > > Hello, > > I am using Aries JPA 2.7.0, I am trying provid

Aries JPA: The persistence unit has incomplete configuration and cannot be created.

2018-05-24 Thread Alex Soto
configuration properties? Why is it not complete the persistent unit? Best regards, Alex soto

Re: MariaDB/JPA Transaction rollback not working

2018-05-21 Thread Alex Soto
I changed to JTA and it seems better. Any idea when Karaf 4.2.1 will be out? Best regards, Alex soto > On May 21, 2018, at 2:34 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi Tim, > > as said in my previous mail, SCR 2.1.0 is alre

Re: MariaDB/JPA Transaction rollback not working

2018-05-18 Thread Alex Soto
) ~[?:?] at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:347) ~[?:?] ... 33 more Best regards, Alex soto > On May 18, 2018, at 12:46 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > 4.2.1-SNAPSHOT already updated to DS 1.4 (SCR 2.1.0) (rea

Re: MariaDB/JPA Transaction rollback not working

2018-05-18 Thread Alex Soto
Hi JB, Which branch, I’d like to try it. Best regards, Alex soto > On May 18, 2018, at 12:46 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > 4.2.1-SNAPSHOT already updated to DS 1.4 (SCR 2.1.0) (ready on one of my > branch). > > Regards > JB > &g

Re: MariaDB/JPA Transaction rollback not working

2018-05-18 Thread Alex Soto
Great, I solved the Eclipse problem. Thanks. Yes, Karaf provides DS 1.3, but no DS 1.4 out off the box. Maybe this is available from Aries? Best regards, Alex soto > On May 18, 2018, at 11:18 AM, Tim Ward <tim.w...@paremus.com> wrote: > > Hi, > > Answers inline: >

Re: MariaDB/JPA Transaction rollback not working

2018-05-18 Thread Alex Soto
1.4.0)(!(version>=2.0.0",osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))" Karaf is complaining about the second (version>=1.4.) not sure where it is coming from. Best regards, Alex soto > On May 18, 2018, at 10:55 AM, Alex Soto <alex.s...@envieta.com> wrot

Re: MariaDB/JPA Transaction rollback not working

2018-05-18 Thread Alex Soto
t was not built since its build path is incomplete. Cannot find the class file for javax.persistence.EntityManager. Fix the build path then try building this project encryptedquery-responder-data Unknown Java Problem Best regards, Alex soto > On May 18, 2018, at 5:23 A

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
Thanks Tim, I was using branch R7, changed to master, it builds now. Now I have updated my project to OSGi 7 with Transaction Control, how do I deploy to Karaf? i.e., what bundles/features do I need? Best regards, Alex soto > On May 17, 2018, at 2:08 PM, Tim Ward <tim.w...@parem

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/) -> [Help 1]Any idea (time frame) when this will move from SNAPSHOT dependencies? Best regards,Alex soto On May 17, 2018, at 11:08 AM, Tim Ward <tim.w...@paremus.com> wrote:It is highly unlikely that you’ll hit

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/ <https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/>) -> [Help 1] Any idea (time frame) when this will move from SNAPSHOT dependencies? Best regards,

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
as of now. So, the question remains about what is the correct way how to register a transaction aware MariaDB DataSource. Best regards, Alex soto > On May 17, 2018, at 1:46 AM, Tim Ward <tim.w...@paremus.com> wrote: > > The best place to start when looking for OSGi R7 examples

Re: MariaDB/JPA Transaction rollback not working

2018-05-16 Thread Alex Soto
1:10,318 | DEBUG | RMI TCP Connection(3)-127.0.0.1 | TxInterceptorImpl| 53 - org.apache.aries.transaction.blueprint - 2.1.0 | Setting transaction to rollback only because of exception Best regards, Alex soto > On May 16, 2018, at 3:34 PM, Jean-Baptiste Onofré <j...@nanthrax.net> w

Re: MariaDB/JPA Transaction rollback not working

2018-05-16 Thread Alex Soto
Yes, same result. I even tried with Narayana Transaction Manager, and same result. Best regards, Alex soto > On May 16, 2018, at 2:56 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Same behavior with RequiresNew ? > > Regards > JB > > On 16/

MariaDB/JPA Transaction rollback not working

2018-05-16 Thread Alex Soto
l shows up in my database table. Best regards, Alex soto

Re: pax-jdbc-config connection pool configuration

2018-05-15 Thread Alex Soto
Oh, I missed this :) great! Still, it may be too early for me to jump, has it been fully adopted and tested by the latest Karaf? (Trying to avoid more bruises) Best regards, Alex soto > On May 15, 2018, at 9:12 AM, Tim Ward <tim.w...@paremus.com> wrote: > > R7 is fo

Re: pax-jdbc-config connection pool configuration

2018-05-15 Thread Alex Soto
I will read this Tim, thanks for sharing, but I can’t start using OSGi R7 until it is released. Best regards, Alex soto > On May 15, 2018, at 3:00 AM, Tim Ward <tim.w...@paremus.com> wrote: > > Another option for connection pooling would be to use the OSGi Transaction &g

Re: pax-jdbc-config connection pool configuration

2018-05-15 Thread Alex Soto
I am requesting the access to create the issue. Using “pool” does not work either. In the mean time, which Pool should I use?, I looked at Hikari, but I see a comment that says: “XA datasources are not supported.” Best regards, Alex soto > On May 15, 2018, at 2:37 AM, Christ

Re: pax-jdbc-config connection pool configuration

2018-05-14 Thread Alex Soto
Sure, but I can’t find where, can you share a link? Best regards, Alex soto > On May 14, 2018, at 4:07 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi Alex, > > the MariaDbDataSourceFactory uses MySQLDataSource internally. And the > properties is n

pax-jdbc-config connection pool configuration

2018-05-14 Thread Alex Soto
the various parameters of the connection pool? Best regards, Alex soto

Re: OpenJPA with AriesJPA Java.peristence

2018-05-11 Thread Alex Soto
That was it, I just tested without the "jdbc/“ prefix and it came up! Thanks for all the help. Hopefully this thread can help somebody else in the future. Best regards, Alex soto > On May 11, 2018, at 4:30 PM, Tim Ward <tim.w...@paremus.com> wrote: > > Yes, it

Re: OpenJPA with AriesJPA Java.peristence

2018-05-11 Thread Alex Soto
$ClassTransformerImpl But the javax.persistence.EntityManager service is not being registered, and there is no errors. > On May 11, 2018, at 2:19 PM, Alex Soto <alex.s...@envieta.com> wrote: > > Ok, I made some progress (I guess) I am no longer getting the original error: > java.lang.

Re: OpenJPA with AriesJPA Java.peristence

2018-05-11 Thread Alex Soto
lass=javax.persistence.EntityManager)) There are no errors in the log, just this unresolved dependency. Any idea about why my persistent unit is not being registered? Best regards, Alex soto > On May 11, 2018, at 11:09 AM, Tim Ward <tim.w...@paremus.com> wrote: > > > >> On 11 May 2018,

Re: OpenJPA with AriesJPA Java.peristence

2018-05-11 Thread Alex Soto
re, > using whichever API they have deployed. Exactly, this is harder than it should be. When I install a feature, I expect the feature to bring in all that is needed, not having to chase down all these dependencies. Is there an intention to take this approach any time soon? > > Ti

Re: OpenJPA with AriesJPA Java.peristence

2018-05-11 Thread Alex Soto
rg.apache.aries.jpa/org.apache.aries.jpa.support/2.6.1 start-level=30 Best regards, Alex soto > On May 10, 2018, at 5:45 PM, Tim Ward <tim.w...@paremus.com> wrote: > > OpenJPA 2.4.x supports JPA 2.0 (not 2.1) you can get the API you need from > Apache Aries, as well as the JPA contai

Re: OpenJPA with AriesJPA Java.peristence

2018-05-10 Thread Alex Soto
8.1│ │ Uninstalled │ org.ops4j.pax.cdi-1.0.0 │ Apache Deltaspike jpa support jpa │ 2.6.1│ │ Started │ aries-jpa-2.6.1 │ OSGi Persistence Container Is there a repository I need to add? Best regards, Alex s

Re: OpenJPA with AriesJPA Java.peristence

2018-05-10 Thread Alex Soto
in my POM for javax.persistence dependency? Best regards, Alex soto > On May 10, 2018, at 3:16 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi, > > OpenJPA 2.x still uses JPA 1.x. By default, jpa feature will provide 2.x > version. > > You should s

OpenJPA with AriesJPA Java.peristence

2018-05-10 Thread Alex Soto
thing I don’t know if is correct is the javax.persistence dependency in my POM: org.eclipse.persistence javax.persistence 2.0.5 provided Any hints? Best regards, Alex soto

Re: Custom distribution, Camel, Missing org.slf4j

2018-05-09 Thread Alex Soto
ample. Thanks JB for the help. Best regards, Alex soto > On May 9, 2018, at 11:48 AM, Alex Soto <alex.s...@envieta.com> wrote: > > Thanks JB, > > Something is wrong with that link, it came back with a 404 error. > Sorry I can’t find in the Karaf sources where it uses th

Re: Custom distribution, Camel, Missing org.slf4j

2018-05-09 Thread Alex Soto
Thanks JB, Something is wrong with that link, it came back with a 404 error. Sorry I can’t find in the Karaf sources where it uses the plugin, can you point me to where it is? I mean I cloned the repo locally, but I don’t know where to look. Best regards, Alex soto > On May 9, 2018, at

Re: Custom distribution, Camel, Missing org.slf4j

2018-05-09 Thread Alex Soto
Probably better if I look at some working example. Is there a full example of how to create a custom distribution? Is Karaf itself using this to build its own? Best regards, Alex soto > On May 8, 2018, at 11:21 AM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > OK, &

Re: Custom distribution, Camel, Missing org.slf4j

2018-05-08 Thread Alex Soto
Thanks BJ, as you suggested, I moved camel-core to the installedFeatures camel-core But still didn’t help, same error as before. Best regards, Alex soto > On May 8, 2018, at 10:08 AM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi Alex, > > I gue

Custom distribution, Camel, Missing org.slf4j

2018-05-08 Thread Alex Soto
Is there a missing feature or dependency I need to add? Best regards, Alex soto

NPE if "PROTOTYPE" bundle is updated

2018-05-04 Thread Alex Weirig
always see the stacktraces. -- Mat frëndleche Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg Service Enseignement Centre Technolink *Tel* +352 4796 - 6127 <tel:+35247966127> *Fax* +352 42 88 81 *Email* alex.wei.

Re: Blueprint error: "name is already instanciated as null and cannot be removed"

2018-02-23 Thread Alex Soto
You are right, your proposed solution works. See my reply in the Camel forum. Best regards, Alex soto > On Feb 23, 2018, at 11:59 AM, Guillaume Nodet <gno...@apache.org> wrote: > > I wonder if this is related to > > https://github.co

Blueprint error: "name is already instanciated as null and cannot be removed"

2018-02-23 Thread Alex Soto
property place holder: Then it works fine, no errors. So this seems to be related to the property placeholders. Has anybody seen this? I appreciate any insight on how to solve this problem. Best regards, Alex soto

Re: Using jasypt in Karaf 4.1.4 without Blueprint?

2018-02-19 Thread Alex Weirig
OK then it might make sense to add the decrypt support. Schéin Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg - Centre Technolink 2, rue Charles de Tornaco L - 2623 LUXEMBOURG alex.wei...@technolink.lu

Re: Using jasypt in Karaf 4.1.4 without Blueprint?

2018-02-19 Thread Alex Weirig
Before we go ahead and add the decrypt feature, would the maintainers of e.g. PAX JDBC etc be interested in adding support for this in their services? Schéin Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg

Re: Using jasypt in Karaf 4.1.4 without Blueprint?

2018-02-19 Thread Alex Weirig
lable from the system or something else that could be used to compute the instance related master password. So basically the idea is to make the decryption "configuration" a system feature? Schéin Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig R

Re: Using jasypt in Karaf 4.1.4 without Blueprint?

2018-02-19 Thread Alex Weirig
words ... Schéin Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg - Centre Technolink 2, rue Charles de Tornaco L - 2623 LUXEMBOURG alex.wei...@technolink.lu <mailto:alex.wei...@technolink.lu> Tel: +352 4796 - 6127

Re: Using jasypt in Karaf 4.1.4 without Blueprint?

2018-02-18 Thread Alex Weirig
Thank you very much to everybody who responded to my question. I will have a look at your recommended approaches. Schéin Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg - Centre Technolink 2, rue Charles de Tornaco

Re: SCR unsatisfied reference to a registered service

2018-02-13 Thread Alex Soto
om my iPhone > > On Feb 13, 2018, at 11:16 AM, Alex Soto <alex.s...@envieta.com > <mailto:alex.s...@envieta.com>> wrote: > >> Hello, >> >> I am running Karaf 4.0.8, and I have a DS component that is in >> un

SCR unsatisfied reference to a registered service

2018-02-13 Thread Alex Soto
ent component property. Only this one does not work, and I don’t know why. Any hints? Thanks and best regards, Alex soto

Using jasypt in Karaf 4.1.4 without Blueprint?

2018-02-10 Thread Weirig, Alex
encrypted properties with the current Karaf releases? Thank you very much for your support --- Schéin Gréiss, Mit freundlichen Grüßen, Meilleures salutations, Kind regards, Alex Weirig Responsable Technique Ville de Luxembourg - Centre Technolink 2, rue Charles de Tornaco L - 2623

Auditing http traffic and performance monitoring

2018-01-04 Thread Alex O'Ree
Greetings Karaf community. Two questions: 1) I understand that Karaf can be used to host lots of different things, however things that are used to serve up HTTP requests, is there any built in mechanism for audit the message traffic for these HTTP requests (or any other protocol for that

Re: Karaf 4.1.3 with Aries JPA missing requirement JavaJPA

2017-11-22 Thread Alex Soto
wants to quickly start a new project and does not have any preferences about vendors/providers. Best regards, Alex soto > On Nov 22, 2017, at 10:11 AM, Timothy Ward <tim.w...@paremus.com> wrote: > > act (which is typically the one you built against to find the contract

Re: Karaf 4.1.3 with Aries JPA missing requirement JavaJPA

2017-11-22 Thread Alex Soto
: (&(osgi.unit.name=tasklist)(objectClass=javax.persistence.EntityManager)) Best regards, Alex soto > On Nov 22, 2017, at 4:20 AM, João Assunção <joao.assun...@exploitsys.com> > wrote: > > I use Hibernate as the persistence engine and the following features: > > * jdbc

Re: Karaf 4.1.3 with Aries JPA missing requirement JavaJPA

2017-11-22 Thread Alex Soto
ents: [[org.apache.aries.jpa.example.tasklist.model [103](R 103.0)] osgi.contract; (&(osgi.contract=JavaJPA)(version=2.1.0))] Best regards, Alex soto > On Nov 22, 2017, at 5:31 AM, Timothy Ward <tim.w...@paremus.com> wrote: > > The contract requirement is the recommended

Re: karaf feature:install on CI server

2017-11-21 Thread Alex Soto
We have avoided this problem by running the wrapper:install manually in each server we deploy to. We are packaging all the dependencies using the assembly plugin, but the wrapper:install step is still manual. > On Nov 21, 2017, at 10:47 AM, smunro wrote: > >

Re: Karaf 4.1.3 with Aries JPA missing requirement JavaJPA

2017-11-21 Thread Alex Soto
t trying to figure out what works out-of-the-box, so I don’t have a project created, I am just using the Aries JPA example. It does not look good as a viable approach so far. Best regards, Alex soto > On Nov 21, 2017, at 10:44 AM, Francois Papon <francois.pa...@openobject.fr>

Re: karaf feature:install on CI server

2017-11-21 Thread Alex Soto
Ah, I see… the service wrapper is a pain, requiring manual intervention every time, we do not activate for the CI. Do you really need it to run integration tests? Best regards, Alex soto > On Nov 21, 2017, at 10:20 AM, smunro <stephen.ross.mu...@gmail.com> wrote: > > Hel

Re: karaf feature:install on CI server

2017-11-21 Thread Alex Soto
repo cache of the machine before running Karaf. Hope this helps. Best regards, Alex soto > On Nov 21, 2017, at 9:27 AM, smunro <stephen.ross.mu...@gmail.com> wrote: > > I'm still trying to get an offline installation of karaf working, which is > providing to be the s

Re: Karaf 4.1.3 with Aries JPA missing requirement JavaJPA

2017-11-21 Thread Alex Soto
should work out our the box. > On Nov 20, 2017, at 2:54 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Ok, I see hibernate now. Let me check if I see the jpa spec bundle. > > Regards > JB > On Nov 20, 2017, at 20:42, Alex Soto <alex.s...@envieta.com &

Re: Karaf 4.1.3 with Aries JPA missing requirement JavaJPA

2017-11-20 Thread Alex Soto
ervice; (osgi.jndi.service.name=tasklist) [org.apache.aries.jpa.example.tasklist.model [124](R 124.0)] osgi.contract; (&(osgi.contract=JavaJPA)(version=2.1.0)) Declarative Services Or is it something else I need to install? Best regards, Alex soto alex.s...@envieta.com > On Nov 20, 2017, at

Karaf 4.1.3 with Aries JPA missing requirement JavaJPA

2017-11-20 Thread Alex Soto
d Requirements: [org.apache.aries.jpa.example.tasklist.model [124](R 124.0)] osgi.service; (osgi.jndi.service.name=tasklist) [org.apache.aries.jpa.example.tasklist.model [124](R 124.0)] osgi.contract; (&(osgi.contract=JavaJPA)(version=2.1.0)) Any idea how to troubleshoot this problem? Best regards, Alex soto

Re: Aries JPA 2.3.0: mapping file not used

2017-04-07 Thread Alex
I had the same issue too. I have reported it on JIRA Apache Aries: ARIES-1711 I hope this fix will be released as soo as possible. I added in the comments the solution for a fix. -- View this message in context:

Re: DS components not Active

2017-02-15 Thread Alex Soto
FYI: Created ticket for this issue: https://issues.apache.org/jira/browse/FELIX-5549 <https://issues.apache.org/jira/browse/FELIX-5549> Best regards, Alex soto > On Feb 14, 2017, at 3:22 PM, Alex Soto <alex.s...@envieta.com> wrote: > > Hello, > > It took

Re: DS components not Active

2017-02-14 Thread Alex Soto
d bug, or something I am doing wrong. Best regards, Alex soto > On Feb 3, 2017, at 1:00 PM, David Jencks <david.a.jen...@gmail.com> wrote: > > I agree, this should work, and there is a bug. Whether anyone will succeed > in fixing it is another question. > > One thing to inv

Re: DS components not Active

2017-02-03 Thread Alex Soto
, but it is not always possible or practical, because the same configuration setting can be used by many unrelated services, some implemented as DS components, some as Camel routes. Take for example, a host name, user credentials, etc. Best regards, Alex soto > On Feb 3, 2017, at 11:05 AM, Christ

Re: DS components not Active

2017-02-03 Thread Alex Soto
in Camel routes, e.g. {{my.property}} and get the property value from this service. Best regards, Alex soto > On Feb 3, 2017, at 10:28 AM, Christian Schneider <ch...@die-schneider.net> > wrote: > > I fully agree. I never understood why this decision was made for config

Re: DS components not Active

2017-02-03 Thread Alex Soto
in the CM for configuration, and it will cause me painful project delays now. Best regards, Alex soto alex.s...@envieta.com > On Feb 3, 2017, at 10:04 AM, Christian Schneider <ch...@die-schneider.net> > wrote: > > In most cases sharing the same pid means you hav

Re: DS components not Active

2017-02-03 Thread Alex Soto
regards, Alex soto > On Feb 3, 2017, at 3:00 AM, Timothy Ward <tim.w...@paremus.com> wrote: > > One question - how is the configuration managed? If the blueprint context and > DS component are in different bundles and the configuration gets bound to a > single bundle locat

Re: DS components not Active

2017-02-02 Thread Alex Soto
initializing waiting forever for the service exposed by the component. Best regards, Alex soto > On Feb 2, 2017, at 4:23 PM, David Jencks <david.a.jen...@gmail.com> wrote: > > I think the problem is in blueprint somewhere. I’m a bit confused since you > seem to be saying the

Re: DS components not Active

2017-02-02 Thread Alex Soto
of this component. Now, this does not occur during initial startup, but only after the container has been running, and a change in the component configuration causes the component to restart. I believe there may be a bug here. Best regards, Alex soto > On Feb 2, 2017, at 2:50 PM, Christ

DS components not Active

2017-02-02 Thread Alex Soto
, Alex soto

PAX-EXAM @Inject bundle restart reinjection?

2017-01-25 Thread Alex Soto
etStatus().isStarted() == false but I know that the bundle has already been restarted. The question is: Is there a way to get the dependencies re-injected after a bundle restart? Best regards, Alex soto

troubleshooting declarative services

2017-01-13 Thread Alex Soto
In Karaf 4.0.8, how do I troubleshoot Declarative Services that are UNSATISFIED? I tried command scr:info, but it does not show which references are pending/unresolved. Any idea how to figure out which reference is missing? Best regards, Alex soto

HBase Client Feature ClassNotFoundException

2016-09-20 Thread Alex Soto
etting various class not found errors, for example: java.lang.NoClassDefFoundError: org/apache/htrace/Trace Best regards, Alex soto

Re: blueprint dependency on configuration

2016-09-15 Thread Alex Soto
Can anybody give me some clues? Basically, I don’t have good default values, so I need the Blueprint context to not start until the configuration entry is added to the Configuration Manager. Best regards, Alex soto > On Sep 12, 2016, at 10:39 AM, Alex Soto <alex.s...@envieta.com&

blueprint dependency on configuration

2016-09-12 Thread Alex Soto
regards, Alex soto

Re: features.xml and classpath URL handler

2016-09-12 Thread Alex Soto
Added Jira ticket: https://issues.apache.org/jira/browse/KARAF-4707 <https://issues.apache.org/jira/browse/KARAF-4707> Thanks, Alex soto > On Sep 11, 2016, at 1:23 AM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Good idea. > > Can you create a Ji

Re: features.xml and classpath URL handler

2016-09-09 Thread Alex Soto
the default Karaf distribution? Best regards, Alex soto > On Sep 9, 2016, at 10:16 AM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi, > > classpath is not a regular URL: AFAIK, classpath: is a specific Spring URL > (not a blueprint regular URL). > >

features.xml and classpath URL handler

2016-09-09 Thread Alex Soto
not recognize the classpath URL handler. How can make this work? I would like the cfg files to be in the bundle that uses it. Best regards, Alex soto

Re: Blueprint System Properties not resolved

2016-09-02 Thread Alex Soto
, Alex soto > On Sep 2, 2016, at 11:10 AM, Alex Soto <alex.s...@envieta.com> wrote: > > OK, I found what breaks it! > > When I add this Camel route in a separate Blueprint XML in the same directory: > > >xmlns="http://www.osgi.org/xmlns/blueprint/v

Re: Inject system property value via blueprint

2016-09-02 Thread Alex Soto
I put them in the setenv file, something like: -Dhome.dir=$HOME Best regards, Alex soto > On Sep 2, 2016, at 11:00 AM, CLEMENT Jean-Philippe > <jean-philippe.clem...@fr.thalesgroup.com> wrote: > > Ok... is there a way to use env variables other than via system variables?

Re: Blueprint System Properties not resolved

2016-09-02 Thread Alex Soto
The place holders are defined in the beans.xml Blueprint : mailto:j...@nanthrax.net>> wrote: >>>>> >>>>> Hi Alex, >>>>> >>>>> I answered to another user couple of days ag

Re: Blueprint System Properties not resolved

2016-09-02 Thread Alex Soto
v1.0.0/blueprint.xsd;> Thank you, Alex soto alex.s...@envieta.com > On Sep 2, 2016, at 9:28 AM, Jean-Baptiste Onofré <j...@nanthrax.net>

Re: Blueprint System Properties not resolved

2016-09-02 Thread Alex Soto
Same issue if run as standalone, I even tested adding a cfg file with the configuration entry, but the bundle fails to start and the value in the configuration file does not seem to be honored. Best regards, Alex soto > On Sep 2, 2016, at 8:59 AM, Jean-Baptiste Onofré <j...@nanthr

Re: Blueprint System Properties not resolved

2016-09-02 Thread Alex Soto
what that means. Thank you, and best regards, Alex soto > On Sep 2, 2016, at 1:28 AM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi Alex, > > I answered to another user couple of days ago with the same question (system > property in blueprint) and he said it

Re: Blueprint System Properties not resolved

2016-09-01 Thread Alex Soto
org.apache.aries.blueprint.core.compatibility-1.0.0.jar Best regards, Alex soto > On Sep 1, 2016, at 2:53 PM, Christian Lutz <christianl...@kreeloo.de> wrote: > > Hello Alex, > > I did use the same, but in my case I had to update the version of the schemas > to. > > htt

Re: Blueprint System Properties not resolved

2016-09-01 Thread Alex Soto
No, I checked. This is still in integration test mode, with Pax-Exam, so the directory does not yet have any cfg files other than Karaf’s own. Best regards, Alex soto > On Sep 1, 2016, at 2:12 PM, Guillaume Nodet <gno...@apache.org> wrote: > > Are you sure you don't have th

Blueprint System Properties not resolved

2016-09-01 Thread Alex Soto
v1.0.0/blueprint.xsd;> The $[user.home] place holder is never substituted , so I get file not found error on file name "$[user.home]/.other/somefile" I have search everywhere but I can’t figure out what I am doing wrong. Best regards, Alex soto alex.s...@envieta.com

Re: Retrieve SCR factory component properties

2016-08-25 Thread Alex Soto
Looks like the factory property “service.bundleid” contains the id of the bundle declaring the factory component. I am not sure if this is part of the standard, but seems to be working for me. Best regards, Alex soto > On Aug 25, 2016, at 12:24 PM, Alex Soto <alex.s...@envieta.com&

Retrieve SCR factory component properties

2016-08-25 Thread Alex Soto
know this. Is there any way to do this other than iterating all bundles? I have a suspicion that the factory should provide some information. I wonder if the ID of the bundle defining the component is in any of the factory properties. Anybody knows? Best regards, Alex soto

Re: SCR Reference annotation on field

2016-08-24 Thread Alex Soto
scratch, and which Maven artifacts to use, etc., I could not find this information. Best regards, Alex soto > On Aug 24, 2016, at 9:37 AM, Tim Ward <tim.w...@paremus.com> wrote: > > Release 6 was the first release with formal Maven artifacts delivered by the > OSGi allian

Re: SCR Reference annotation on field

2016-08-24 Thread Alex Soto
helps anybody? Best regards, Alex soto > On Aug 24, 2016, at 8:57 AM, Alex Soto <alex.s...@envieta.com> wrote: > > Thank you Tim, I knew the version was probably the issue, but I could not > find version 6 of org.osgi.compendium in any of the public Maven > reposi

Re: SCR Reference annotation on field

2016-08-24 Thread Alex Soto
Thank you Tim, I knew the version was probably the issue, but I could not find version 6 of org.osgi.compendium in any of the public Maven repositories. Do you know of a public Maven repository where I can get the artifact? Best regards, Alex soto > On Aug 23, 2016, at 6:32 PM, Tim W

Re: Destroy SCR component

2016-06-06 Thread Alex Soto
NP, Thanks! Best regards, Alex soto > On Jun 6, 2016, at 3:48 AM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Oh, sorry I missed your e-mail. > > Sorry for the double answer ;) > > Regards > JB > > On 06/03/2016 04:04 PM, Alex Soto

<    1   2   3   4   >