Hey all,
I'm getting the following message when doing a JNDI lookup. Looks like
Blueprint is missing or something. Maybe I need to enable/install Blueprint?
The BlueprintContainer service for bundle
org.ops4j.pax.web.pax-web-jetty/3.1.0 not be located (might want to consider
revising the
To: user@karaf.apache.org
Subject: Re: Message on JNDI error
Hi Scott,
what do you try to do exactly ?
A JNDI lookup in your code, using jndi:* commands ?
Thanks
Regards
JB
On 06/16/2014 04:42 PM, Leschke, Scott wrote:
Hey all,
I'm getting the following message when doing a JNDI lookup
the Karaf version ? 3.0.1 ?
Regards
JB
On 06/16/2014 05:30 PM, Leschke, Scott wrote:
Oops sorry, I'm doing a lookup on the blueprint:comp namespace. Intended to
mention that.
Effectively new
InitialContext().lookup(blueprint:comp/bluepint-service-id).
Scott
-Original Message
in the same bundle containing the
blueprint container, right ?
Regards
JB
On 06/16/2014 06:41 PM, Leschke, Scott wrote:
Yes, 3.0.1
-Original Message-
From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
Sent: Monday, June 16, 2014 11:27 AM
To: user@karaf.apache.org
Subject: Re
Simple question. Did you import package javax.xml.parsers
-Original Message-
From: Rajbir Saini [mailto:rajbsa...@yahoo.com]
Sent: Monday, June 16, 2014 1:21 PM
To: user@karaf.apache.org
Subject: Error while deploying bundle using XML parser
Hi,
I am a bundle which uses XML DOM
Sorry, sent unintentionally.
I've noticed that Eclipse PDE will sometimes allow things to compile even if
you didn't import the package in the MANIFEST.MF. Happened to me.
Scott
-Original Message-
From: Leschke, Scott
Sent: Monday, June 16, 2014 1:54 PM
To: 'user@karaf.apache.org
deploying bundle using XML parser
No, I did not. Do I need to import javax.* packages? I use Eclipse PDE with
Tycho and Maven and none of them complained about missing packages during build.
Raj
On Tuesday 17 June 2014 12:23 AM, Leschke, Scott wrote:
Simple question. Did you import package
I'm trying to get familiar with Blueprint. I don't think a Blueprint container
is being created for my bundle because I don't see a message in the log saying
it's been destroyed when I shut Karaf down. I assume that's a pretty good
indicator.
If that's correct, is there a good way to
in them all
getting started, but I haven't used karat in years and am not 100% sure.
david jencks
On Jul 24, 2014, at 8:45 AM, Leschke, Scott slesc...@medline.com wrote:
Yes, they are. I've used DataNucleus without problems in the past in
Eclipse/Equinox . I've also looked
I'm a bit confused on the use of the blueprint:comp jndi namespace. If I have
an id on an entry (service, bean, reference) in a blueprint xml. For example,
given the snippet below,
service id=my-service ref=my-service-impl
...
/service
should I see a blueprint:comp entry if I do jndi:names
I have a bundle going into GracePeriod state. The bundle:diag command says
Missing Dependencies and gives me the name of an interface that exists in the
bundle itself. Is this indicative of a particular type of condition? I find it
odd that it's complaining about not finding an interface that
If the bundles are WABs (Web App Bundles), I don't believe you can have
different versions of a bundle running at the same time as in that case you'll
more than likely have multiple servlets mapped to the same URL.
From: Stephen Kahmann [mailto:stephen.kahm...@inovexcorp.com]
Sent: Monday, May
Karaf 4.0, JRE 8u25, using BndTools.. I have bundles that won't resolve
because of packages javax.transaction and javax.transaction.xa.
What's up with that? They're in the boot delegation list so I would expect
them to resolve. What am I missing?
osgi.wiring.package;
I know this has been discussed in the past, but I was wondering what the
current thinking was on Karaf features and OSGi subsystems. Is there any
thought on migrating toward using subsystems instead of features?
Scott
I have an issue with deploying an updated WAB over the top of an existing one.
Services (created using Blueprint) are mapped to URLs. The WAB has a single
servlet that does a service lookup using JNDI based on the URL. Everything
works fine until I update the WAB by dropping an updated
take a look for a fix :-)
regards, Achim
2015-10-07 18:44 GMT+02:00 Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>>:
I’m seeing the following in my log. Just started seeing this on one of my two
machines that should be running the same versions of everything. Don’t
I'm seeing the following in my log. Just started seeing this on one of my two
machines that should be running the same versions of everything. Don't know
why I haven't seen this earlier. I'm using Karaf 4.0.1.
Does anybody have a suggestion on how to get rid of this? I see it every time
I
For what it's worth, I think that providing a nice integration with Karaf in
BndTools might be a better approach than having a separate Karaf plugin. I
suspect the level of effort to maintain an integration would be significantly
less than maintaining an entire plugin.
-Original
I have a web bundle that does a forward to a jsp after performing a query. I
turned on DEBUG while putting this together and noticed that the following
group of 5 log statements were repeated a total of 6 times over a period of
about 30 milliseconds. If it's accurate, it would seem that
@karaf.apache.org
Subject: RE: Karaf cache directory
You can define KARAF_DATA env variable with the location.
Regards
JB
Sent from my Samsung device
Original message
From: "Leschke, Scott" <slesc...@medline.com<mailto:slesc...@medline.com>>
Date: 27/05/2016 19:3
Is it possible to configure the location Karaf /data directory (so that it uses
a location independent of any particular install)?
Scott
.
Regards
JB
On 05/31/2016 05:39 PM, Leschke, Scott wrote:
> /Thanks JB. Just so that I’m totally clear then, if there is only 1
> instance of Karaf running, there would be no reason to set
> KARAF_BASE./
>
> //
>
> /I do have 1 more question though. Regarding KARAF_ETC, if
Looks real good. My only comment would be that the navigation header and
possibly the footer, should probably be fixed on the page. That's a nit though.
-Original Message-
From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
Sent: Thursday, February 04, 2016 9:32 AM
To: user
Kind of a curiosity question. Is it possible to update a running karaf install
in whole. I don't see anything offhand. I had hoped there might be something
like a system:update or system:framework -update.
?
Even if it's not perfect, it provides some ideas.
Regards
JB
On 02/03/2016 04:50 PM, Leschke, Scott wrote:
> Just to clarify, I didn't mean to imply that the changes would have to take
> effect immediately, although that would be cool. A restart would be
> perfectly acceptable. I jus
, however, the low layers
(like framework) is really tricky.
system:update sounds like a good idea, but not sure the safest way to implement
that ;)
Regards
JB
On 02/03/2016 04:34 PM, Leschke, Scott wrote:
> Kind of a curiosity question. Is it possible to update a running
> karaf i
,
Morgan
On 2016-02-22 17:50, Leschke, Scott wrote:
Yes, it is the 3.0.0.SNAPSHOT version which I assumed was the latest version as
I just did: feature:install –v decanter-feature-name
So what would the latest version(s) be?
From: Achim Nierbeck [mailto:bcanh...@googlemail.com]
Sent: Saturday
anter / ElasticSearch / Kibana" is a little vague..
Regards,
Morgan
On 2016-02-23 19:20, Leschke, Scott wrote:
OK, that seems to have resolved my issue with the exception that the Operating
System pane seems to be just spinning it’s wheels. I’m guessing I’m missing a
collector?
Also,
talled? (or commands you executed)
Since "Decanter / ElasticSearch / Kibana" is a little vague..
Regards,
Morgan
On 2016-02-23 19:20, Leschke, Scott wrote:
OK, that seems to have resolved my issue with the exception that the Operating
System pane seems to be just spinning it’s wheels. I’m gues
Per my emails of a couple of days ago, I have Decanter installed and it seems
to be working OK but I'm seeing the following in the log. I'm a bit confused
with what it might be trying to tell me. The Decanter::Collect::Log bundle is
installed and active as is the ElasticSearch appender. At
ilable. Can you attach a screen shot
of what you're seeing?
On Fri, Feb 19, 2016 at 6:23 PM, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
> I’ve installed Decanter per the install examples with the ElasticsSeach
> appender, Kibana, Log Collector
I've installed Decanter per the install examples with the ElasticsSeach
appender, Kibana, Log Collector etc. How does one see the default Karaf
dashboard in Kibana. I just get the Kibana intro page. At localhost:8181/kibana
I'm curious what the relationship is between CXF DOSGi and Cellar DOSGi
(feature:install cellar-dosgi)?
Scott
-Original Message-
From: Christian Schneider [mailto:cschneider...@gmail.com] On Behalf Of
Christian Schneider
Sent: Tuesday, March 15, 2016 11:05 AM
To: user@karaf.apache.org
you also install the scr feature, and did you make sure it's actually the
required version ;)
regards, Achim
2016-05-13 17:51 GMT+02:00 Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>>:
Hi all,
I’ve been messing around with OSGi and Karaf for a bit over
Hi all,
I've been messing around with OSGi and Karaf for a bit over 2 years now.
Technically I'm no longer a developer, although if you want to get stuff done,
sometimes you just have to do it yourself. I've built a BAM (Business Activity
Monitoring) platform using OSGi (I wasn't aware of
I'd like to delete all config records associated with a factory pid. I've
tried a bunch of variations of config:delete to no avail. How is this best
done?
Scott
Ran into a minor issue using the service-wrapper feature on Karaf 4.0.5/Windows.
After installing the feature, we ran the wrapper:install command per the docs.
That worked fine. When we tried to start the service though it failed. Upon
review, I saw that the {service-name}-wrapper.conf file
I was wondering if there is an ETA on the next version of Karaf. Might we
still see it today or will it be delayed a bit. Not trying to be pushy, just
doing some planning.
Scott
, February 22, 2017 4:01 PM
To: user@karaf.apache.org
Subject: Re: Karaf 4.1?
4.1.0 is already out.
https://repo1.maven.org/maven2/org/apache/karaf/apache-karaf/4.1.0/
On Wed, Feb 22, 2017 at 4:42 PM Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
Ar
Are we looking at a release of 4.1 soon? I realize it's sort of a "it'll be
done when it's done" situation but I've seen a number of people mention it
recently but since the download page isn't showing it I assume they're using a
snapshot. The tone of the recent discussion leads me to believe
I'm a bit confused on how to configure the underlying connection pool. I'll be
using the Hikari pool service.pax-jdbc-pool-hikaricp. Could someone point me to
the docs or something? The only example I see is for DBCP and all my
experiments thus far have failed.
Thx, Scott
I can confirm. I see the same thing. Gogo is giving me occasional errors as
well. Says NPE but I saw NumberFormatException in the log. I'll try to
duplicate a bit later today.
-Original Message-
From: Castor [mailto:ygorcas...@gmail.com]
Sent: Friday, February 24, 2017 11:06 AM
To:
-6e6af73bebd1
service.scope = singleton
user = sa
Provided by :
OPS4J Pax JDBC Config (55)
As far as I know hikari has no XA support or at least we do not support it.
Christian
On 24.02.2017 17:12, Leschke, Scott wrote:
I'm a bit confused on how to configure the underlying connection pool
Can one/how does one define a value in a property file such that the value is
converted to an array of values (specifically a String[]) when using
Configuration Property Types? I've been gradually moving my blueprint code
over to Components and have been using CPTs which I first read about in
erty type, the enum, and the stack trace? If you’ve used any
extra annotations on the component please show them too.
thanks
david jencks
On Sep 6, 2016, at 11:52 AM, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
I’m get
I'm getting the following exception from an activate method.
org.osgi.service.component.ComponentException:
java.lang.IllegalArgumentException: No enum constant (Enumeration type name).
The activate method takes a Configuration Property Type that has a method that
returns a value of the type
with arrays
On Friday 02 September 2016 14:26:30 Leschke, Scott wrote:
> Can one/how does one define a value in a property file such that the
> value is converted to an array of values (specifically a String[])
> when using Configuration Property Types? I've been gradually moving
>
y. Maybe you still need to add them to the cfg, but I know
it's possible.
Regards, Achim
2016-08-29 18:03 GMT+02:00 Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>>:
Thank you. I was aware of this but I guess I really didn’t think it all the
way through. Simply creati
your
defaults directly in the @Component annotation property member. To do this
investigate the DSExt annotations in the org.apache.felix.scr.ext.anno bundle.
You’d use @DSExt.ConfigureWithInterfaces.
Hope this helps
david jencks
On Sep 6, 2016, at 2:08 PM, Leschke, Scott
<slesc...@medline.
this
point and I figured it was probably best to give as much context as might be
needed.
Regards,
Scott
From: Leschke, Scott [mailto:slesc...@medline.com]
Sent: Wednesday, September 07, 2016 10:31 AM
To: user@karaf.apache.org
Subject: RE: configuration property types and enums
Thanks for th
I've noticed that if a .cfg file is deleted while Karaf is running, the
associated configuration record is deleted from Configuration Admin as well.
OTOH, if the file is deleted while Karaf is NOT running, the associated
configuration record is retained. I would have expected that records for
Not specifically a Karaf question but I'll start here.
If I would like to be able to modify the component instance configurations
(created from a factory) programmatically, but from the CA api, it's unclear to
me how I associate a configuration record to its corresponding instance?
As an
pid will include the id.
hope this helps…
david jencks
On Sep 14, 2016, at 11:23 AM, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
Not specifically a Karaf question but I’ll start here.
If I would like to be able to modify the component instance co
+02:00 David Jencks
<david.a.jen...@gmail.com<mailto:david.a.jen...@gmail.com>>:
> On Sep 14, 2016, at 11:49 AM, Leschke, Scott
> <slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
>
> Like I said, fileinstall was just used as an example. I’m not rea
I'm confused. What does it mean if scr:details says:
State : satisfied
Service Reference : No Services bound
How can a reference be satisfied if it's not bound?
be wrong about the meaning.
david jencks
On Sep 20, 2016, at 8:33 AM, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
I’m confused. What does it mean if scr:details says:
State : satisfied
Service Reference : No Services bound
How can
etails command
Could you provide the full command output please ?
2016-09-20 18:13 GMT+02:00 Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>>:
This is the Karaf scr:details command. It also says that the reference is
mandatory (Optional : mandatory) and scr:info says
Given file install store the file name in the config, it should be able to see
if it has been deleted when restarting.
2016-09-14 16:51 GMT+02:00 Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>>:
I’ve noticed that if a .cfg file is deleted while Karaf is runnin
I'm curious if it's possible to configure Karaf/fileinstall to look in
subdirectories within the KARAF_BASE/etc directory so that all .cfg files for
an app can be grouped?
Scott
when it is ...
From: Leschke, Scott <slesc...@medline.com<mailto:slesc...@medline.com>>
Sent: Monday, August 29, 2016 10:47:52 AM
To: user@karaf.apache.org<mailto:user@karaf.apache.org>
Subject: Regarding etc directory
I'm curious if it's possible to configure Karaf/fileinstall to
What's the trick to getting this to work? I just want to copy a file from one
place to another on windows and no matter what I try, I get
"System Error 2: The system cannot find the file specified (or something to
that effect)" even though the paths are absolute.
Anybody have an example of
already, so something like
shell:exec copy C:\\path\\to\\file.bar foo.bar
Should do the trick. If not absolute, the paths will be relative to your Karaf
installation directory.
cheers,
John.
On Wed, Nov 2, 2016 at 10:22 PM, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medli
Is there a feature for installing the Jetty client?
Sent this about 1.5 weeks ago. Thought I'd resend one more time just in case
there's somebody out there using this.
From: Leschke, Scott [mailto:slesc...@medline.com]
Sent: Monday, March 13, 2017 11:52 AM
To: user@karaf.apache.org
Subject: Jetty client
I'm curious if anybody is using the Jetty
s have a problem with very long running
connections, so most pool implementations allow you to set a maximum time that
a connection will be valid for, after which it will be closed and replaced by
another. In vanilla Hikari this would be the maxLifetime
Regards,
Tim
On 3 Mar 2017, at 16:28, Leschke,
which doesn’t declare what its driver class is. As you have
noted, it isn’t commonly used.
Regards,
Tim
On 3 Mar 2017, at 17:11, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
I apologize, I don’t believe I was clear. My question was intended to get the
From the Aries page on Txn control. What might the real name be on the second
highlighted property and how would this differ from idle timeout?
· osgi.connection.timeout : Defaults to 30,000 (30 seconds). The
maximum time in milliseconds to block when waiting for a database connection
Since I've started working with 4.1, I've seen a couple of issues using the
Gogo shell on Windows (7). I know the first issue has been mentioned by someone
else previously, the color of the text changing while you type show below. Very
I've also experienced Gogo crashing hard and bringing all
I'm curious if anybody is using the Jetty HTTP client from Karaf (v 4.0.8)
successfully. I would like to move from using Apache to Jetty but I get a
runtime NPE from Jetty. I tried it with both the 9.3.16 and 9.4.2 versions of
the client with the exact same results.
The following Jetty
and given to Hikari as the
config map.
Christian
On 24.02.2017 18:35, Leschke, Scott wrote:
That much I have. I was talking about the configuration that might be more pool
specific, like:
poolName =
maximumPoolSize =
minimumIdle =
idleTimeout =
maxLifetime =
From:
I'm seeing a problem in Karaf 4.1.1 on Win 7 and appears to be related to
inclusion of the Aries async service bundle (org.apache.aries.async-1.0.1).
The following is being written to the console (but not the log) and appears to
be happening as a result of activating the async service bundle
Are there features defined for these and if so, how would I install them?
@ObjectClassDefinition(name = "My Configuration")
public @interface MyConfig
{
EnumType myEnumType();
}
Given a a configuration interface type that has an enumeration result, I've
noticed that if the associated value in the .cfg file has trailing whitespace,
the conversion to the enum
I'm curious if anybody else has noticed that the log:tail command frequently
emits duplicates to the console. Sometimes it's just a single duplicate but
I've seen as many as 5 duplicates following the original. The log is correct,
the console display is just messed up.
Maybe it's just related
some
changes there ? Same in etc/org.apache.karaf.log.cfg ?
Regards
JB
On 04/26/2017 10:14 PM, Leschke, Scott wrote:
> I'm curious if anybody else has noticed that the log:tail command
> frequently emits duplicates to the console. Sometimes it's just a
> single duplicate but I've see
in/src/main/java/org/apache/felix/cm/file/ConfigurationHandler.java#L53-L61
2017-06-01 22:38 GMT+02:00 Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>>:
The status of this is listed as fixed as of 4.1 but I can’t seem to get it to
work. I’m trying to set
The status of this is listed as fixed as of 4.1 but I can't seem to get it to
work. I'm trying to set an int[] neither of the following worked. I get a
NumberFormatException complaining about input string "{15,10,5}" or
alternatively "[15,10,5]";
myInts = {10,5,0};
myInts = [10,5,0];
There's
When we say "OBR" are we referring to the OSGi Subsystem spec?
Scott
-Original Message-
From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
Sent: Wednesday, June 14, 2017 11:49 AM
To: user@karaf.apache.org
Subject: Re: Karaf Feature vs. OBR
And anyway, Karaf Features can leverage OBR
I see the following in the log when I start a client session on Windows. The
client appears to be working OK but it seems like this is an issue.
2017-06-13T10:04:43,086 | WARN | sshd-SshServer[6c21e678]-nio2-thread-3 |
| 49 - org.jline - 3.2.0 | Unable to
in specification updates.
I would honestly be surprised if you had regular (or even any) contact with the
Dictionary type when using R7 specifications.
Regards,
Tim
On 22 Nov 2017, at 17:06, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
Hi Tim,
(if that’s of interest).
Regards,
Tim
On 20 Nov 2017, at 21:47, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
How does one configure the underlying connection pool when using Pax JDBC
DataSourceFactory? I’ve been using this for a while and recently disc
/version, but that’s done in a different
way. If you’re interested I can recommend reading the Config Admin spec.
Tim
On 15 Dec 2017, at 22:11, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
Hi again Michael,
Just to be clear, you’re saying that so
:09 PM
To: Leschke, Scott
Cc: OSGi Developer Mail List
Subject: Re: [osgi-dev] Create instance of factory configuration at runtime
Hi Scott,
I did a short successful test. See the following steps:
1. create a new configuration: Configuration config =
ca.createFactoryConfiguration(factoryPid, „?“);
2.
[mailto:tim.w...@paremus.com]
Sent: Saturday, December 09, 2017 3:04 AM
To: Leschke, Scott; OSGi Developer Mail List
Subject: Re: [osgi-dev] Create instance of factory configuration at runtime
Hi Scott,
That does work, but Configuration Admin has an old feature called location
binding. This feature
How does one configure the underlying connection pool when using Pax JDBC
DataSourceFactory? I've been using this for a while and recently discovered
it's not behaving as I intended. I'm using Hikari as my CP, and want to
configure the following Hikari properties:
poolName
maximumPoolSize
ee:
https://github.com/ops4j/org.ops4j.pax.jdbc/blob/master/pax-jdbc-pool-hikaricp/src/main/java/org/ops4j/pax/jdbc/pool/hikaricp/impl/HikariPooledDataSourceFactory.java
Christian
2017-11-20 22:47 GMT+01:00 Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>>:
I'm having an issue where events stop getting delivered to a bundle the cause
of which appears to be the following? Everything works perfectly until this
occurs? What is the timeout it's complaining about? This is 4.2.0 btw.
Scott
2018-06-06T00:30:51,260 | WARN | Thread-1 |
You mean the logic should only execute if the service is "changed", but not in
the case where the service is stopped and restarted?
-Original Message-
From: Max Spring [mailto:m2spr...@springdot.org]
Sent: Thursday, June 07, 2018 7:40 PM
To: user@karaf.apache.org
Subject: execute only
blacklisting?
Hi Scott,
timeout for blacklisting is 5000ms. (see
http://felix.apache.org/documentation/subprojects/apache-felix-event-admin.html)
Regards
Benjamin
Am 13.06.2018 um 17:41 schrieb Leschke, Scott:
> I'm having an issue where events sto
I've been trying to integrate this into my app. I just pulled down the latest
(0.0.3) jars from Maven Central. As far as I can tell, the two bundles I need
are
tx-control-service-local
tx-control-provider-jdbc-local
I can drop the first one into my deploy directory and it tells me it needs the
interesting package rewiring operations and kills its
own console, which is (I guess) what’s happening here. It’s hard to be sure
though…
Tim
On 16 Jan 2018, at 21:04, Leschke, Scott
<slesc...@medline.com<mailto:slesc...@medline.com>> wrote:
I’ve been trying to integrate this into my
I've emailed about this before but some time ago I mentioned that I didn't
think that the PAX connection pools were initializing the underlying CP
implementation (Hikari in my case) properly. In particular, connections are
getting dropped after 30 mins (the Hikari default) even though
I have a configuration type that has a fragment in it as shown below.
@ProviderType
@ObjectClassDefinition(name = "Provider Configuration")
public @interface MetricProviderConfig
{
String schedule() default "0";
}
If the associated property in a .cfg file exists but has no value, as in:
As I mentioned a few weeks ago, I'm trying to create a service instance
programmatically and write the associated .cfg file for it. Based on feedback
I got, I create the following method.
The goal is to create the service instance and then get its configuration which
at this point will mostly
AM, Leschke, Scott <slesc...@medline.com> wrote:
>
> That should have read "a service from a factory". To clarify, I have a
> component that is a factory (component), I create a new instance of the
> configuration and service using cfgAdmin.createFactoryConfigura
ConfigurationAdmin.createFactoryConfiguration would be the
preferred approach.
Scott
-Original Message-
From: Leschke, Scott [mailto:slesc...@medline.com]
Sent: Friday, February 23, 2018 3:14 PM
To: user@karaf.apache.org
Subject: RE: On another topic: Creating services programatically again
I should
> On Feb 23, 2018, at 1:49 PM, Leschke, Scott <slesc...@medline.com> wrote:
>
> The fundamental question is:
>
> What is the best way to create service instances (from a factory component)
> programmatically and store the associated configurations such that they
> persist ac
Hi Scott,
why don't use a managed service factory ?
It would automatically create a service based on a cfg. So for your user, he
creates the cfg file, and then, automatically, the corresponding service is
created.
Thoughts ?
Regards
JB
On 02/22/2018 09:18 PM, Leschke, Scott wrote:
> A
injected in a typed form and you can
supply default values for any keys not present in the factory configuration.
David Jencks
Sent from my iPhone
> On Feb 23, 2018, at 6:32 AM, Leschke, Scott <slesc...@medline.com> wrote:
>
> OK, that sounds like it may be a good approach.
sage-
From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
Sent: Monday, February 19, 2018 11:21 PM
To: user@karaf.apache.org
Subject: Re: Pax connection pools
Hi Scott,
let me take a look. It could be related to pax-jdbc-config and the related
features declaration.
Regards
JB
On 20/02/2018
1 - 100 of 180 matches
Mail list logo