Re: Integrating OpenJSEE into Karaf on JDK8

2020-06-14 Thread Johan Edstrom
tor 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 ( > https://gith

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 h

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 state in the Karaf shell: > > 846

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
I don't think so, it doesn't have that much community though afaik. Johan Edstrom - via HopOn September 30, 2014 at 0:35 GMT, Tim Jones wrote:Does Gemini Blueprint suffer from the same issue?

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

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 wrote:Johan, is there any advantage in the way that

Re: Spring vs Blueprint

2014-09-29 Thread Johan Edstrom
What really is the biggest benefit is that Aries is actively developed and solved class path quite differently Johan Edstrom - via HopOn September 29, 2014 at 21:12 GMT, Tim Jones wrote:Steve, can you please expand a bit on what you mean by "without really being"container a

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 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 wrote: > > Hi all, > Looking into the cache corruption little bit I found the dis

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. Amen

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 wrote: > I would keep the update strategy reload. As far as I know it is the only way > to keep up t

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 Me

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 wrote: > I just can second that, I have no hassle in using JPA with Aries > blueprint, jpa and OpenJPA in my projects ... > > regards, Achim > > 2012/10/26 James

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 wrote: > > On Aug 18, 2012, at 2:11 AM, Jean-Baptiste Onofré wrote: > >> When you are not committer on a project, and you contribute a patch, you >> have to explicitly grant your license to ASF

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é 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 attach (with ASF

Re: adding dependency as a system package

2012-06-25 Thread Johan Edstrom
make > sense of the properties. > > I don't understand the shade plugin very well, are you actually changing > package names here or just putting a lot of jars together into one? > If the latter, why do you need the shade plugin rather than just using bnd? > > ho

Re: adding dependency as a system package

2012-06-25 Thread Johan Edstrom
rn :-) > > thanks > david jencks > > On Jun 25, 2012, at 6:49 PM, Johan Edstrom wrote: > >> If I remember correctly, that is a split package. >> I think I posted a shade earlier, here is a complete bundle >> >> >> http://maven.apache.org/POM/4.0.

Re: adding dependency as a system package

2012-06-25 Thread Johan Edstrom
If I remember correctly, that is a split package. I think I posted a shade earlier, here is a complete bundle http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd

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. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst

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 c

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Johan Edstrom
work inside of the same bundle? > > > > - Original Message - > > > From: "Johan Edstrom-2 [via Karaf]" > > To: "mikevan" > Sent: Tuesday, November 1, 2011 10:29:38 AM > Subject: Re: Aries and Spring Co-Existance in Karaf > > If you

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Johan Edstrom
011 10: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: > > [

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 a

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: 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 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)' > available > / > > I

Re: Aries and Spring Co-Existance in Karaf

2011-10-20 Thread Johan Edstrom
can use > spring annotations. In the wild, there are far more shops that use spring > than those that use aries. If moving to aries blueprint will break thier > existing code because their spring annotations won't work, there is not > cost-benefit to the transition. > > > Joh

Re: Aries and Spring Co-Existance in Karaf

2011-10-20 Thread Johan Edstrom
t both Aries and SpringDM have thier own extender bundles > that appear 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'

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 cr

Re: Running Karaf without PAX Logging

2011-10-14 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 e

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 wrote: > Hi Johan, > In

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 resol

Re: Coming to Grips with Blueprint

2011-09-09 Thread Johan Edstrom
Those are namespace handlers, look at the CSS in camel blueprint. For cxf, look in the cxf xsd's For bp itself, the aries project. On Sep 9, 2011, at 18:47, Geoffry Roberts wrote: > All, > > I have read about blueprint. I have reviewed the schema for blueprint, I have > the specification.

Re: Karaf Camel and

2011-09-08 Thread Johan Edstrom
You need to define a connection factory, jms component etc if you are connecting to an external entity. On Sep 8, 2011, at 18:36, Geoffry Roberts wrote: > All, > > I'm just getting started with Karaf and am having a small issue. It seems > blueprint has replaced or is replacing spring. I'm t

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 maintaine

Re: Hibernate in Karaf

2011-05-11 Thread Johan Edstrom
"features:install -r" - why does it help? > From what I understand the "-r" prevents the bundles > from being refreshed. What is the benefit? > > /Bengt > > > 2011/5/11 Johan Edstrom > Well, the first one was how you install the features, the -r >

Re: Hibernate in Karaf

2011-05-11 Thread Johan Edstrom
-deploy.html On May 11, 2011, at 1:14 PM, Bengt Rodehav wrote: > Johan, > > Feel free to explain your work-arounds - I'm interested... > > /Bengt > > 2011/5/11 Johan Edstrom > Oh, I don't disagree :) > > I've managed to get around some of th

Re: Hibernate in Karaf

2011-05-11 Thread Johan Edstrom
;s because all bundles are installed in the bundle > cache and are therefore "available" at resolve time. > > /Bengt > > 2011/5/11 Johan Edstrom > > Loaded/Resolved/Installed/Started etc, are more of osgi lifecycle than > "karaf" pertaining. > In

Re: Hibernate in Karaf

2011-05-11 Thread Johan Edstrom
/Bengt > > > > 2011/5/11 mikevan > > > Confirmed. I use an antlr-hibernate fragment to allow Hibernate to play well > with mysql, and I always load the fragment first. No real reason why, that's > just how I roll, yo. :-) > > > > Mike Van >

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: Setup a List property with Blueprint and Configuration Admin ?

2011-05-02 Thread Johan Edstrom
${wcs.soap.httpEndpoint} ${wcs.subscribe.httpEndpoint} ${wcs.mngSubscription.httpEndpoint} ${wcs.kvp.httpEndpoint} On May 2, 2011, at 3:46 PM, Cristiano Gavião wrote: > Hi, > > I'm setting up my service using blueprint and CM. I could make it work

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 Ga

Re: Aries and Karaf

2011-04-21 Thread Johan Edstrom
ides, osgi for managing my dependencies and still > provide persistency service. > > Am I going the wrong direction? Is there a better/simpler solution? > > Thanks, > Patrick > > > > Johan Edstrom-2 wrote: >> >> The core blueprint bundles are. >> But Ka

Re: Aries and Karaf

2011-04-21 Thread Johan Edstrom
The core blueprint bundles are. But Karaf is a small runtime, you'll have to provide the necessary components to your deployment just as you would if you were using tomcat/jetty. /je On Apr 21, 2011, at 9:02 AM, Tario wrote: > I did not deploy any additional bundles, shouldn't this at least re

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 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 hard time f

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. http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmln

Re: Accessing database connections using SpringDM in Karaf

2010-11-20 Thread Johan Edstrom
http://camel.apache.org/tutorials.html The second to last tutorial, Reportincident shows you all of these concepts. On Nov 19, 2010, at 2:45 PM, Mike Van wrote: > > > > Achim, > > > > That's very interesting. I'd be interested in seeing examples of what your'e > talking about, if you ca

Re: Karaf Spring Hibernate DBCP issue

2010-10-28 Thread Johan Edstrom
The validation query is simply something like SELECT 1 from dual Just to check the connection and validate it. On Oct 28, 2010, at 11:53 AM, Mike Van wrote: > validationQuery Johan Edstrom j...@opennms.org They that can give up essential liberty to purchase a little temporary safety, dese