Re: Integrating OpenJSEE into Karaf on JDK8

2020-06-14 Thread Johan Edstrom
tivator runs and everything _appears_ to be active with no > exceptions. > > Of course – the next step is getting something to call/respond to an HTTPS > endpoint – but progress. > > > From: Johan Edstrom mailto:seij...@gmail.com>> > Reply to: "user

Re: Integrating OpenJSEE into Karaf on JDK8

2020-06-14 Thread Johan Edstrom
Are some of those possibly something you could make optional? Dealing with old jars compile chains can be really enlightening in osgi :) > On Jun 14, 2020, at 9:37 PM, Mark Derricutt wrote: > > Hey all, > > I was wondering if anyone here had tried integrating/running OpenJSEE ( >

Re: Encrypting property values in .cfg files

2018-11-05 Thread Johan Edstrom
o be clear, I’m correct in thinking that it should work? > > From: Johan Edstrom [mailto:seij...@gmail.com] > Sent: Monday, November 05, 2018 4:47 PM > To: user@karaf.apache.org > Subject: Re: Encrypting property values in .cfg files > > I think I have that in a Jira somep

Re: Encrypting property values in .cfg files

2018-11-05 Thread Johan Edstrom
I think I have that in a Jira someplace, otherwise I have basic code for it against an older karaf Sent from my pressure cooker. > On Nov 5, 2018, at 15:25, Leschke, Scott wrote: > > I’m looking to encrypt passwords the are currently in plaintext in a few of > my .cfg files. I’ve looked at

Re: How to 'automate' dynamic import

2018-08-13 Thread Johan Edstrom
http://cxf.547215.n5.nabble.com/DOSGI-CXF-com-sun-xml-bind-v2-ContextFactory-not-found-by-org-apache-cxf-cxf-rt-transports-http-170-td5776976.html

Re: Bundle in a Waiting state

2017-09-21 Thread Johan Edstrom
Try restarting that bundle and you should get some more info in the logs. > On Sep 21, 2017, at 3:18 PM, Oleg Cohen wrote: > > Greetings, > > I have a question. One of the 3rd party bundles I am deploying into Karaf > (Apache Oak Core) is showing in a Waiting

Re: Error Unresolved requirements osgi.wiring.package=bsh

2016-12-06 Thread Johan Edstrom
This part is wrong: !bsh,resolution:=optional ! == Don’t import at all. resolution:=optional is used with a semi-colon, bsh;resolution:=optional, * > On Dec 6, 2016, at 10:40 AM, Singh wrote: > > !bsh,resolution:=optional

Re: Spring vs Blueprint

2014-09-29 Thread Johan Edstrom
Bigtime spring does a global classloader vs blueprint building a recipe and actually starting bundles with their own classloaders, I did a talk on that at camel one 2011 Johan Edstrom - via HopOn September 29, 2014 at 21:49 GMT, Tim Jones t...@mccarthy.co.nz wrote:Johan, is there any advantage

Re: Spring vs Blueprint

2014-09-29 Thread Johan Edstrom
Yep, essentially an EE class loader is applied to a matrix classloading system, that is why you can get really strange contextRefresh spins and things like class path: works across bundles although they really shouldn't. Johan Edstrom - via HopOn September 29, 2014 at 23:56 GMT, Tim Jones t

Re: Ping Can Anyone See My Posts

2014-04-15 Thread Johan Edstrom
I can't see this one either Sent from my pressure cooker. On Apr 15, 2014, at 19:20, Scott Carr kscar...@gmail.com wrote: ? Everytime I post it seems like it doesn't make it to the list. Thanks Scott Carr

Re: karaf camel activemq

2014-01-30 Thread Johan Edstrom
Right now you are doing both, configuring camel via code as well as in Blueprint. You want to pick one, you could let Blueprint instantiate a bean for you via the init-method and there setup Camel or you could declare the components and the CamelContext in Blueprint and just add a RouteBuilder.

Re: Camel startup error

2014-01-28 Thread Johan Edstrom
You are better off using a feature and putting things in the system repo. Look at a smx build or similar, you can change the logging destination. Sent from my pressure cooker. On Jan 28, 2014, at 23:39, Muhzin rmuh...@gmail.com wrote: Hi all, Looking into the cache corruption little bit I

Re: Third-Party Licensing Policy (was: karaf 3.0 : hibernate 4 feature)

2014-01-09 Thread Johan Edstrom
It applies to anything licensed under ASF Licenses. Hibernate is probably a good example, the Apache Camel Hibernate components are housed outside ASF, in a 3rd party repo. Since that component is compiled against GPL code it isn't ASF compatible anymore. On Jan 9, 2014, at 4:14 PM, John D.

Re: ConfigAdmin and OSGi Blueprint

2013-10-30 Thread Johan Edstrom
You'd need to listen for config changes or ensure that you have update hooks or perhaps use a ManagedServiceFactory Sent from my pressure cooker. On Oct 29, 2013, at 10:37, Christian Schneider ch...@die-schneider.net wrote: I would keep the update strategy reload. As far as I know it is the

Re: blueprint / spring question

2013-09-05 Thread Johan Edstrom
Aries blueprint isn't spring. It isn't a 1-1 relationship between beans and namespace handlers. Not used Gemini enough to comment on that. If you are not looking to actually converting things you are better off using spring-dm. Sent from my pressure cooker. On Sep 5, 2013, at 19:34, Marcos

Re: Why this library hell? Hibernate + Spring = Mess

2013-01-29 Thread Johan Edstrom
There are several blogs out there on how to get Hibernate running. That said, it isn't really an OSGi problem that Hibernate and Spring are written in a way that prevents sane class-loading, that is pretty much all it is. You don't need a FAB nor an uberbundle to get it working, all you need are

Re: JPA Usage: Strategy for using Hibernate + Postgresql

2012-10-26 Thread Johan Edstrom
I'll third that. Very easy to setup, quite a bit faster thanks to much less reflection. On Oct 26, 2012, at 5:17 AM, Achim Nierbeck bcanh...@googlemail.com wrote: I just can second that, I have no hassle in using JPA with Aries blueprint, jpa and OpenJPA in my projects ... regards, Achim

Re: switch to github

2012-08-17 Thread Johan Edstrom
git-svn works really well On Aug 17, 2012, at 4:51 PM, Jean-Baptiste Onofré j...@nanthrax.net wrote: Yes, OPS4J Pax projects are NOT Apache projects, it's the main difference ;) More over, OPS4J directly use github, not Apache projects. Really, even using git, just do a git diff and

Re: switch to github

2012-08-17 Thread Johan Edstrom
It is really clear. http://www.apache.org/dev/git.html On Aug 17, 2012, at 5:42 PM, Brian Topping topp...@codehaus.org wrote: On Aug 18, 2012, at 2:11 AM, Jean-Baptiste Onofré j...@nanthrax.net wrote: When you are not committer on a project, and you contribute a patch, you have to

Re: explicitly make one bundle aware of other ?

2012-06-22 Thread Johan Edstrom
If you actually want to shade cassandra the following works. You just need to add the maven bundle plugin to this, you'll have a complete cassandra bundle that contains all the necessary bits and pieces. ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Install refresh issue

2012-06-11 Thread Johan Edstrom
It actually isn't how osgi package resolvers work, it is how the Spring-Osgi extender works. Move this to Aries Blueprint. On Jun 11, 2012, at 7:10 PM, Freeman Fang wrote: Hi, Yeah, it's nto a bug, it's just how OSGi package resolve works. Anyway, if you put spring feature also in your

Re: Costum distribution

2011-11-22 Thread Johan Edstrom
To add the dependency for org/apache/felix/org.apache.felix.framework/3.0.9/org.apache.felix.framework-3.0.9.jar On Nov 22, 2011, at 10:46 AM, Filippo Balicchia wrote: Hello I am trying to build my costum distribution but at the moment to launch karaf get the following error Could not

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Johan Edstrom
I think you are reading this wrong. Table 5.1. XML Configuration Differences On Nov 1, 2011, at 8:15 AM, Raman Gupta wrote: In this example, how would the three contexts work together? In my work, I've seen coding like this where Spring is desired, and where Aries blueprint doesn't

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Johan Edstrom
If you use osgi services you can accomplish this. On Nov 1, 2011, at 8:06 AM, mikevan wrote: Guillaume, Consider the following use-case: 1) A bundle is activated by Aries Blueprint, and Blueprint consumes a osgi service that provides a jms connection. (configured in an

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Johan Edstrom
:27 AM, Johan Edstrom wrote: I think you are reading this wrong. Table 5.1. XML Configuration Differences No. Scroll down to the end of that section. As mentioned before, in Spring DM one can mix and match the namespaces: [...snip...] The example above, uses the Spring beans, util, p

Re: Upgrade to 2.2.4

2011-10-31 Thread Johan Edstrom
As in etc? You'd want to svn checkin those configs or use diff? /je On Oct 31, 2011, at 10:58 PM, MehrCurry wrote: Hi, i think this topic must be a FAQ. But i did not found an answer anyway. I have a running karaf instance (Version 2.2.1) and would like to upgrade to Version 2.2.4 -

Re: Error Karaf 2.0 - No feature named 'spring' with version '[3,4)' available

2011-10-26 Thread Johan Edstrom
You'll want a newer karat for that. On Oct 26, 2011, at 18:13, Matt Madhavan mattmadha...@gmail.com wrote: Hello, I'm trying to install Camel in Karaf 2.0. I'm getting the error when I do *features:install camel* /Error executing command: No feature named 'spring' with version '[3,4)'

Re: Aries and Spring Co-Existance in Karaf

2011-10-20 Thread Johan Edstrom
It creates a bp context. no. Depends. - SpringProxy issues comes to mind as well as glib usage. On Oct 20, 2011, at 9:31 AM, mikevan wrote: I have some questions about how Spring and Aries co-exist in Karaf. 1) If you have an application that uses aries blueprint, does aries blueprint

Re: Aries and Spring Co-Existance in Karaf

2011-10-20 Thread Johan Edstrom
to manage wiring, but don't they both leverage the wiring capability of the underlying framework? If so, wouldn't the extenders share wiring information based on the underlying framework's wiring mechanism? Johan Edstrom-2 wrote: It creates a bp context. no. Depends. - SpringProxy

Re: Running Karaf without PAX Logging

2011-10-15 Thread Johan Edstrom
The osgi standards are properties based, just like all old log4j config files. Having it as config admin allows JMX bundles, etc etc to participate in the logging setup. An XML config file would in the current environment require something like an MBean, a parser, possibly a config injector etc

Re: Hi Johan - Regarding signing the Apache contributor paperwork

2011-09-30 Thread Johan Edstrom
Excellent! The first step is to file the icla, that gives you wiki karma, then I'd look at documentation, examples as well as low-hanging fruit in the Jiras. -- This would go for all open source projects I think. Cheers! On Fri, Sep 30, 2011 at 12:08 PM, Matt Madhavan

Re: EBA and Karaf - Can I install an EBA to KARAF

2011-09-28 Thread Johan Edstrom
Matt, Since you are a person that we've noticed. You are active, post really good questions and provide really good feedback - would you mind helping us in signing the Apache contributor paperwork and possibly helping us fix up the Jira? Thank you! On Sep 28, 2011, at 6:07 PM, Matt Madhavan

Re: ActiveMq Listening on tcp6

2011-09-14 Thread Johan Edstrom
You probably have your hosts file kinda fuubared. You can try supplying : -Djava.net.preferIPv4Stack=true Or completely disabling ipv6, or listening to 0.0.0.0 On Sep 14, 2011, at 2:40 PM, Geoffry Roberts wrote: Gareth, Tried telnet and got the following: telnet: could not resolve

Re: Karaf Forum Query

2011-08-11 Thread Johan Edstrom
Oh, that is a common request. Did you make sure you deleted your old email address? Then more importantly, did you make sure you deleted all the address book entries you have so none of these can send to you? After that I'd make sure I just bin any emails coming from the mailing list

Re: Hibernate in Karaf

2011-05-11 Thread Johan Edstrom
, yo. :-) Mike Van - Original Message - From: Johan Edstrom-2 [via Karaf] ml-node+2927872-15445059-228...@n3.nabble.com To: mikevan mvangeert...@comcast.net Sent: Wednesday, May 11, 2011 11:54:03 AM Subject: Re: Hibernate in Karaf You can load fragements after the host

Re: Hibernate in Karaf

2011-05-11 Thread Johan Edstrom
installing bundles (with an empty data folder). If I restart Karaf after all the bundles are installed then there is no problem. I guess that it's because all bundles are installed in the bundle cache and are therefore available at resolve time. /Bengt 2011/5/11 Johan Edstrom seij

Re: Hibernate in Karaf

2011-05-10 Thread Johan Edstrom
The webinars are not out, but I can assure you that using openjpa and aries TX/JPA in the long run will have you much happier with its behavior in an osgi environment. /je On May 10, 2011, at 7:38 AM, Charles Moulliard wrote: For those interested, I have created a tutorial 2 years ago --

Re: JSR-330 Dependency Injection with KARAF ?

2011-04-22 Thread Johan Edstrom
There are extensions to guice (peaberry) that deal with services registration and such. It is quite simple to use. If you do not need services exchanges, guice works great in an osgi environment. And combining Blueprint with guice also works quite well. On Apr 22, 2011, at 1:42 PM, Cristiano

Re: how to integrate Spring-dm with Hibernate

2011-03-18 Thread Johan Edstrom
I'd strongly suggest you use Aries and Openjpa On Mar 18, 2011, at 9:25, Ioannis Canellos ioca...@gmail.com wrote: Hi stream, I have spent some time on this problem and here are my tips: If you are going to use jpa 2 which translates to hibernate version over 3.5, then you will have

Re: Race between Features and Spring/Blueprint XML

2011-03-09 Thread Johan Edstrom
'm just now moving a project to blueprint, here is an example camel setup that works really well (Thanks jgenender) This is using aries JNDI/transaction and persistence. ?xml version=1.0 encoding=UTF-8? blueprint default-activation=lazy