Anyone creating a Log4j2 Custom Appender

2017-11-20 Thread Kevin Carr
I am trying to get our Log4j2 Custom Appender to be recognized in Karaf 4.1.3. The appender is working correctly, and I have the fragment assigned to log4j2 bundle as the host. It does not appear that the log4j2 bundle performs a scan of my new fragment though. I cannot use my Appender in the

Re: Weird Exception Karaf 4.1.3 on startup

2017-11-16 Thread Kevin Carr
> What about the terminal ? > > Regards > JB > On Nov 8, 2017, at 13:57, Kevin Carr <kscar...@gmail.com> wrote: >> >> Oh, this is on Linux with openjdk 1.8.144. >> >> On Nov 8, 2017 2:14 AM, "Jean-Baptiste Onofré" <j...@nanthrax.net> wrote:

Re: Weird Exception Karaf 4.1.3 on startup

2017-11-08 Thread Kevin Carr
ax.net> wrote: Hi Scott, Good catch. So, it only happens with when you start karaf with ./start only (not with ./karaf) ? I could be related to the terminal settings. Let me try to reproduce. Regards JB On 11/08/2017 06:31 AM, Kevin Carr wrote: > Anyone understand what this exceptio

Weird Exception Karaf 4.1.3 on startup

2017-11-07 Thread Kevin Carr
Anyone understand what this exception is for? I get this as soon as I run ./karaf with or without debug. If I run ./start, it runs, but as soon as I try to connect via ssh it stops. Error executing command: For input string: "1502467344394" Exception in thread "Karaf local console user karaf"

Re: JTDS Data Source Example

2017-07-02 Thread Kevin Carr
It reads the config and creates standard DataSource services. The config is where it gets the services to create. On Jul 2, 2017 6:22 PM, "smunro" wrote: > Thanks for pointing me at this. I am still having trouble, but I will have > another go at it in the

Re: Wrap command Karaf 4.0.5

2016-05-06 Thread Kevin Carr
know if you have any issues. On Fri, May 6, 2016 at 7:50 AM Kevin Carr <kscar...@gmail.com> wrote: > Oh not for wrapper. There are dependencies for Jasper to work. > > On Fri, May 6, 2016, 7:44 AM Kevin Carr <kscar...@gmail.com> wrote: > >> Yes. I. Should be ab

Re: Wrap command Karaf 4.0.5

2016-05-06 Thread Kevin Carr
Oh not for wrapper. There are dependencies for Jasper to work. On Fri, May 6, 2016, 7:44 AM Kevin Carr <kscar...@gmail.com> wrote: > Yes. I. Should be able to get the list in about 30 minutes. > > On Fri, May 6, 2016, 7:42 AM Diamantis Karagkiaouris < > diam.karag@gmai

Re: Wrap command Karaf 4.0.5

2016-05-06 Thread Kevin Carr
our time! > > 2016-05-06 15:38 GMT+03:00 Kevin Carr <kscar...@gmail.com>: > >> There are a few support jars that have to be included. I will get the >> install list. I believe the version I have is 4.0.5. >> >> I am currently not at a computer though. &

Re: Wrap command Karaf 4.0.5

2016-05-06 Thread Kevin Carr
stem.java:565)[9:org.apache.karaf.features.core:4.0.3] >> ... 22 more > > >> Caused by: org.osgi.framework.BundleException: Unsupported >> 'Bundle-ManifestVersion' value: 1 >> > at >> org.apache.karaf.features.internal.resolver.ResourceBuilder.doBuild(Re

Re: Wrap command Karaf 4.0.5

2016-05-06 Thread Kevin Carr
Which version of Jasper reports? I have a script that installs Jasper in karaf. Been using it for several years. On Fri, May 6, 2016, 7:25 AM Diamantis Karagkiaouris < diam.karag@gmail.com> wrote: > Hello again, > > I have already started my journey with Karaf and i enjoy the process, >

Re: Happy New Year !

2016-01-01 Thread Kevin Carr
Happy new year everyone. On Fri, Jan 1, 2016, 11:55 AM Krzysztof Sobkowiak wrote: > Happy New Year☺ > On Jan 1, 2016 4:07 PM, "Charles Moulliard" wrote: > >> Meilleurs voeux / happy new years 2016 ! >> >> On Fri, Jan 1, 2016 at 1:45 PM,

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Kevin Carr
Kevin Carr <kscar...@gmail.com> wrote: > Christian we use a shared config for each "environment". So bundles know > certain entries will be available in dev qa and prod. > > We also have a gui over the db to make it easier for us to update said > properties. &g

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Kevin Carr
I have created a configuration that pulls from a db every 5 minutes. The bundle creates a isgconfig service for each entry in the configuration file. The config service is a regular osgi bundle that can be referenced by any bundle in the system. This works really well for centralized

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Kevin Carr
Something similar would be create a bundle that reads a config file, with getProperty as a interface function, and then expose the class as a service that can be used by other bundles in reference. This would be a quick way to accomplish this functionality . On Fri, Sep 25, 2015, 5:38 AM Kevin

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Kevin Carr
Christian we use a shared config for each "environment". So bundles know certain entries will be available in dev qa and prod. We also have a gui over the db to make it easier for us to update said properties. On Fri, Sep 25, 2015, 5:43 AM Christian Schneider wrote: >

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Kevin Carr
e e.g. mail server configs if you >> need to send mails. Again the solution is to create a central mail service >> that abstracts from the details and is configured in one place. Such >> services do not only solve the config problem but also make your modules >> more loos

Re: HikariCP library load issue

2015-04-23 Thread Kevin Carr
Sorry didn't mean that as a use this instead. It was more of here is another implementation that works and see if anything is missing from yours. I use this in several hundred production bundles. On Apr 23, 2015 6:43 AM, Jurgen Voorneveld jurgen.voornev...@redsocks.nl wrote: Hey Scott, Thanks

Re: bundle corruption with felix and karaf 3.0.2

2015-01-07 Thread Kevin Carr
I have seen this as well. If you try to do anything with the bundle it says No Bundle message. For us, it only happens if the process is killed as well. On Jan 7, 2015 6:13 PM, asookazian2 asookaz...@gmail.com wrote: Karaf 3.0.2 we are seeing intermittent hanging on halt (shutdown) of karaf.

Re: ActiveMQ Web Console - ClassFormatException

2014-12-31 Thread Kevin Carr
] at java.lang.Thread.run(Unknown Source)[:1.8.0_11] On Wed, Dec 31, 2014 at 10:15 AM, Achim Nierbeck bcanh...@googlemail.com wrote: without any further logs, I just can guess. But it looks like the jsps can't be compiled. regards, Achim 2014-12-31 17:11 GMT+01:00 Kevin Carr kscar...@gmail.com

Re: Bundles that depend on sun.* classes?

2014-12-30 Thread Kevin Carr
You only need to add them for the jre version you are using. On Tue, Dec 30, 2014 at 3:32 PM, thully tmh...@eng.ucsd.edu wrote: Is there any particular advantage/disadvantage to modifying etc/jre.properties as compared to modifying org.osgi.framework.bootdelegation in custom.properties? The

Re: Bundles that depend on sun.* classes?

2014-12-29 Thread Kevin Carr
Certain packages that I use including bonecp use sun packages for their dependencies. I have create a custom distro that includes these in the jre.properties to make them available. This seems to work pretty well. On Mon, Dec 29, 2014 at 7:26 PM, thully tmh...@eng.ucsd.edu wrote: While our

Re: Updated Jetty

2014-12-15 Thread Kevin Carr
PaxWeb 4.x uses 9.0.x Jetty. Looking in jira it is slated for Karaf 4.x. https://issues.apache.org/jira/browse/KARAF-2877 On Mon, Dec 15, 2014 at 1:29 PM, Timothy Vogel tvo...@msn.com wrote: What are the plans to provide updated version of Jetty bundled with Karaf? The current version

Re: how to determine if a bundle has already been installed?

2014-11-07 Thread Kevin Carr
You can setup a requirement to the other feature in your feature description. On Nov 7, 2014 5:35 PM, asookazian2 asookaz...@gmail.com wrote: Let's say I have a feature set which requires that another feature already be installed (i.e. a set of bundles should already be installed in Karaf

Re: Scheduler status?

2014-08-14 Thread Kevin Carr
I have a scheduler that I created that I am putting on github. I will see about doing that tonight. I am us central timezone On Aug 14, 2014 3:36 PM, Tim Jones t...@mccarthy.co.nz wrote: I am not aware of any Karaf specific offerings or anything specific about scheduling jobs in the OSGI

Re: Where do features get installed?

2014-08-04 Thread Kevin Carr
All bundles get installed to the data/cache folder. Features are collections of bundles. On Aug 4, 2014 5:33 PM, toomanyedwards toomanyedwa...@gmail.com wrote: Hi all, I'm somewhat new to karaf and would like to know when I install a feature from a remote maven repo via the

Re: java.io.IOException: Pipe closed BUT only when running as a Windows service

2014-07-14 Thread Kevin Carr
I have had issues with win7 if I start under my user and then run as service. It was due to permissions. I fixed it by cleaning up the data folder and then running as service first. On Jul 14, 2014 8:27 AM, bocamel johnz...@gmail.com wrote: I can run my application successfully in karaf under

Re: Blueprint

2014-06-18 Thread Kevin Carr
A quick way, I have found is to use org.slf4j.Logger and log an info statement in your init method. You see pretty quick when you start your bundle that things are working. If you don't see the message, then: * Where is your activator.xml located? (Under OSGI-INF/blueprint) * What is the

Re: config:edit does not persist to property file

2014-06-10 Thread Kevin Carr
I have seen this behavior as well. On Jun 10, 2014 9:03 AM, christoforos.vasilatos christoforos.vasila...@gmail.com wrote: Hi, I noticed that when creating a new configuration PID with config:edit command using KARAF-3.0.1, the property file is not created under etc folder. Something

RE: [ANN] Apache Karaf 3.0.1 Released!

2014-05-16 Thread Kevin Carr
Make sure what version of Java is beyond used by Karaf. I had this issue when 1.8 was used instead of 1.7. I set Java home in Karaf.bat or sh. On Apr 18, 2014 2:50 AM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: I’m still stuck. Karaf 3.0.1 refuses to start and

Re: Feature Issues 3.0.1

2014-04-25 Thread Kevin Carr
after it is installed though. On Fri, Apr 25, 2014 at 1:55 PM, Achim Nierbeck bcanh...@googlemail.comwrote: Hi could you tell us which features are affected? Is it reproducable ? regards, Achim 2014-04-25 18:00 GMT+02:00 Kevin Carr kscar...@gmail.com: I have been seeing some weird

Re: Feature Issues 3.0.1

2014-04-25 Thread Kevin Carr
My assessment was wrong. It is that one of the Repository objects is null, not that the Name is null. I am not sure how the Repository object could be null. On Fri, Apr 25, 2014 at 2:43 PM, Kevin Carr kscar...@gmail.com wrote: It is reproducible. I downloaded karaf source

Bundle Update Issue

2014-04-15 Thread Kevin Carr
We use archiva as our Maven repository. Before 3.0.x, when we issue *update {bundle id} *it would update the bundle with the latest snapshot. It seems that 3.0.x (I have tried both 3.0.0 and 3.0.1) keeps the current version. You have to change the version for it to pull the latest from Archiva.

RE: [ANN] Apache Karaf 3.0.1 Released!

2014-04-14 Thread Kevin Carr
i have had that problem with 3.0.0. the script can't handle the version test if it has characters in the version. i am using iced tea 1.7 on Ubuntu. version shows as '1.7.0_09-icedtea' On Apr 14, 2014 9:41 AM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: Hi Jamie, I

Re: How install webconsole as feature at startup of Karaf container?

2014-04-03 Thread Kevin Carr
How are you trying to install at startup? There is a feature file I have used to install features at initial startup that has worked for me in the past. On Apr 3, 2014 1:44 AM, SteffeC stefan.cast...@bredband2.com wrote: Hi, I'm working with Karaf 2.3.2 and I'm trying to install the

Re: Using secured repository as feature repository

2014-03-24 Thread Kevin Carr
You can put username:password@server in the URL. This works in several deployments I have. On Mar 24, 2014 8:18 AM, Mickael Marrache mickael.marra...@xconnect.net wrote: Hi, Is there a way to add a secured Nexus repository as feature repository to Apache Karaf? I tried to run the

Re: How see status of services and why they are NOT satisfied in Karaf container?

2014-03-20 Thread Kevin Carr
Does list not do what you want? Command is list not ls. On Mar 20, 2014 8:56 AM, stefan.cast...@bredband2.com wrote: Hi, I want to check the status of the services (and why they are NOT satisfied) in my Karaf (v 2.3.2/3.0.0) container, but the OSGi commands that worked fine in the native

Re: Strange Error in Karaf 3.0

2014-03-12 Thread Kevin Carr
This was a brand new install. On Mar 12, 2014 2:24 PM, j...@nanthrax.net wrote: Hi Scott, no. Did you try in a clean state by cleaning the data folder ? Regards JB On 2014-03-12 20:10, Kevin Carr wrote: In 2.3.x, a bundle works fine. When I try to run it in 3.0, anything that uses

Handling HandshakeCompletedListener for IBM Mq Properly

2014-03-10 Thread Kevin Carr
FuseSource issue: http://fusesource.com/issues/browse/ESB-1645 Error: java.lang.ClassNotFoundException: javax.net.ssl.HandshakeCompletedListener not found by com.ibm.msg.client.osgi.wmq I found a couple pages that reference this error, with the solution of Change to Equinox. I have found what

Re: Happy New Year !

2014-01-01 Thread Kevin Carr
Thanks everyone. Karaf 3 is great. Look forward to getting it tested for production. Happy new year to the whole team. On Jan 1, 2014 1:04 AM, Jean-Baptiste Onofré j...@nanthrax.net wrote: The Apache Karaf team wish you a happy new year for you all ! Regards JB on behalf of the Karaf team

Re: Karaf 3.0.0 Questions

2013-12-27 Thread Kevin Carr
I thought that the following was the way to do activemq? Feature:chooseurl activemq 5.9.0 On Dec 27, 2013 12:20 AM, Gareth gareth.o.coll...@gmail.com wrote: Hello Jean-Baptiste, You are right. I was getting the URL wrong :). I only brought this up because I thought the new message was

Re: Blueprint XML Never Starts

2013-10-17 Thread Kevin Carr
Will do. On Thu, Oct 17, 2013 at 9:21 AM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: Could you please provide the kind of traces I mentioned ? ** ** JP ** ** [@@ OPEN @@] ** ** *De :* Kevin Carr [mailto:kscar...@gmail.com] *Envoyé :* jeudi

Re: Blueprint XML Never Starts

2013-10-17 Thread Kevin Carr
Is there a specific class I should put into trace mode? Sorry for multiple quick posts like this. On Thu, Oct 17, 2013 at 9:55 AM, Kevin Carr kscar...@gmail.com wrote: Will do. On Thu, Oct 17, 2013 at 9:21 AM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: Could

Re: Blueprint XML Never Starts

2013-10-16 Thread Kevin Carr
is the only difference. I am thinking about converting to a plain activator instead of using blueprint, to see if this fixes the issue. If anyone has any ideas, I would be happy to hear from you. On Fri, Oct 11, 2013 at 12:38 AM, Kevin Carr kscar...@gmail.com wrote: Yes everything is installed

Re: Blueprint XML Never Starts

2013-10-16 Thread Kevin Carr
- org.apache.felix.fileinstall - 3.2.6 | Started bundle: blueprint:file:/home/ipwsuser/apache-karaf-2.3.2/deploy/datasource.xml On Wed, Oct 16, 2013 at 1:50 PM, Kevin Carr kscar...@gmail.com wrote: I am still seeing a problem with deployed Blueprint XML files. They do not start for about 15+ minutes

Re: Blueprint XML Never Starts

2013-10-16 Thread Kevin Carr
| ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Started bundle: blueprint:file:/home/ipwsuser/apache-karaf-2.3.2/deploy/datasource.xml On Wed, Oct 16, 2013 at 1:50 PM, Kevin Carr kscar...@gmail.com wrote: I am still seeing a problem

Re: Blueprint XML Never Starts

2013-10-10 Thread Kevin Carr
Here is the file that is being used. Usernames and passwords changed to protect the innocent. On Thu, Oct 10, 2013 at 10:53 PM, Freeman Fang freeman.f...@gmail.comwrote: Hi, Could you please post your blueprint file here? - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now