/#_creating_bundles_for_non_osgi_third_party_dependencies
https://karaf.apache.org/manual/latest/#_datasources_jdbc
Paul Spencer
We're using BerkelyDB within our application.
I did not look too hard for an OSGI module for it, it wasn't readily apparent,
so I just hamfisted one by taking their jar and using bnd to create a bundle
from it.
But there's a curious issue.
We have code like this:
final DatabaseConfig
rs.properties
encryption.enabled = true
encryption.prefix = ENC(
encryption.suffix = )
encryption.algorithm = MD5
encryption.encoding = hexadecimal
***
* etc/foo.users.properties
***
foo = ENC(37B51D194A7513E45B56F6524F2D51F2)
Paul Spencer
Ciprian,
Thank you. I found the following supporting documentation and was able to
create a new realms.
https://karaf.apache.org/manual/latest/#_available_realm_and_login_modules
Paul Spencer
On 2024/01/31 15:15:32 Ciprian Ciubotariu wrote:
> I had solved this by deploying a bluepr
le
5 │ karaf │
org.apache.karaf.jaas.modules.audit.EventAdminAuditLoginModule
karaf@root()>
Is this bug?
Paul Spencer
Steinar,
Apologies for misspelling your name.
I have not opened an issue related to the dependencies.
Paul Spencer
> On Jan 30, 2024, at 11:19 AM, Steinar Bang wrote:
>
>>>>>> Paul Spencer :
>
>> Steiner,
>
> (ps last "e" is an "
Steiner,
I installed the feature shiro-core and had to add had to install the following
bundles.
mvn:commons-collections/commons-collections/3.2.2
mvn:commons-beanutils/commons-beanutils/1.9.4
mvn:org.apache.shiro/shiro-config-core/1.13.0
Paul Spencer
> On Jan 30, 2024, at 8:48
in "Jersey REST
API Security Example".
Paul Spencer
> On Jan 29, 2024, at 12:00 PM, Ciprian Ciubotariu wrote:
>
> The way I have done it in the past is to set the security context with a
> custom implementation on the authe
t leverage the OSGi JAX-RS whiteboard
REST service and the security services within Karaf as time becomes available.
Paul Spencer
> On Jan 24, 2024, at 5:08 PM, Paul Spencer wrote:
>
> Steinar,
> This helps!
>
> Paul Spencer
>
> On 2024/01/24 12:38:27 Steina
Steinar,
This helps!
Paul Spencer
On 2024/01/24 12:38:27 Steinar Bang wrote:
> >>>>> Paul Spencer :
>
> > Karaf 4.4.5
> > How do I protect a OSGi JAX-RS whiteboard REST service using Basic
> > Authentication?
>
> Apache Shiro can do basic auth (amo
rvice = MessageLog.class)
@JaxrsResource
@JaxrsApplicationSelect("(osgi.jaxrs.name=myRestApi)")
public class MessageLog {
@RolesAllowed("ADMIN")
@GET
@Produces(MediaType.APPLICATION_JSON)
@Path("/")
public Response getMessageLog() {
// Only users with the Role "ADMIN" can execute method.
...
}
}
Paul Spencer
rsion="1.3", \
javax.annotation.processing;version="1.0", \
...
***
* Patached etc/jre.properties
***
jre-9= \
...
javax.annotation;version="1.3", \
javax.annotation.security;version="1.3", \
javax.annotation.processing;version="1.0", \
...
I have reported
(version>=2.0.0)))
Unresolved requirements: [[foo.bar.msg-rest [162](R 162.1)]
osgi.wiring.package;
(&(osgi.wiring.package=javax.annotation.security)(version>=1.3.0)(!(version>=2.0.0)))]
I suspect this because I have not installed a required feature or bundle. What
is the the required feature or bundle?
Paul Spencer
hem
karaf@internal()>
Paul Spencer
> On Aug 22, 2023, at 1:00 AM, Jean-Baptiste Onofré wrote:
>
> Hi,
>
> It sounds like a change in exports command betwee
--no-format
Disable table rendered output
karaf@root()>
Paul Spencer
&
axrs
jackson-jaxrs
pax-web-http-whiteboard
pax-web-karaf
aries-jax-rs-whiteboard
aries-jax-rs-whiteboard-jackson
mvn:com.foo.rest/foo-restapp/${restapp.version}
foo-restapp
mvn:com.foo.rest/foo-msg-rest/${bugdata.msg.
mport:
(&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
|
export: osgi.wiring.package: javax.annotation
org.apache.felix.framework [org.apache.felix.framework [0](R 0)] Unresolved
requirements: [[org.apache.aries.cdi.extension.servlet.owb [109](R 109.0)]
osgi.wiring.package;
(&(osgi.wiring.package=org.apache.webbeans.config)(version>=2.0.0)(!(version>=3.0.0)))]
karaf@root()>
Paul Spencer
outside of the feature
***
feature:install scr
bundle:install mvn:com.sun.activation/jakarta.activation/1.2.1
bundle:install mvn:com.sun.mail/jakarta.mail/1.6.7
bundle:install --start
mvn:org.apache.karaf.decanter.alerting/org.apache.karaf.decanter.alerting.email/2.10.0
Paul Spencer
> On Mar 22, 2
Bert,
You can test alerts with Decanter 2.9.0 on Karaf 4.3.x in the interim.
Since it is very easy to create an email storm, I suggest using a tool like
Greenmail, https://greenmail-mail-test.github.io/greenmail/#deploy_standalone,
as an email server for testing.
Paul Spencer
> On Mar
JB,
I am using JavaMail 1.6.7 in karaf 4.3.x and used this question to test email
in Karaf 4.4.3. As a result I have reproduced this issue. In attempt to
upgrade EmailAlerter to Jakarta Mail 2.1.1 with an Eclipse Angus
implementation, I found a bundled dependency issue and filed the following
foo=bar
karaf@root()> system:property --unset foo
bar
karaf@root()> system:property | grep foo
foo=bar
karaf@root()>
Paul Spencer
he integrity of the files" section of the
download page[2].
I do not have a suggestion on how to document the location of the "minimal
distribution" files, but it is needed.
Should I open a JIRA?
Paul Spencer
[1]
https://karaf.apache.org/manual/latest/#_using_apa
Should standard-n.n.n-feature.xml reference the minimum version of pax-web
instead of the exact version?
I ask this because the current implementation prevent upgrading pax-web without
manually editing the distribution or creating a custom distribution.
Paul Spencer
│ Transition feature to pax-url-wrap
karaf@root()>
Paul Spencer
> On Feb 25, 2023,
patibility-servlet31;
type=osgi.fragment; version="[8.0.15,8.0.15]"; resolution:=man
tures you install will come from 8.0.16.
>
> regards
> Grzegoz Grzybek
>
> pt., 24 lut 2023 o 20:48 Paul Spencer napisał(a):
> I see that Pax Web version 8.0.16 has been released. How do I utilize the
> version 8.0.16 in Karaf 4.4.3?
>
> Paul Spencer
I see that Pax Web version 8.0.16 has been released. How do I utilize the
version 8.0.16 in Karaf 4.4.3?
Paul Spencer
-example/karaf-rest-example-whiteboard
- Issue related to feature.xml for the REST Example
https://issues.apache.org/jira/browse/KARAF-7639
Paul Spencer
> On Jan 26, 2023, at 5:02 AM, Jaap Gordijn wrote:
>
> Hi Paul,
>
> I have put the Rest service in a separate bundle but tha
Jaap,
I suggest placing the PersonService in a separate bundle.
Paul Spencer
> On Jan 25, 2023, at 3:57 PM, Jaap Gordijn wrote:
>
> Paul,
>
> The Rest class and the PersonService are in the same bundle.
>
> Do you know if there are any examples out there that show
>
oot>
My assumption is the requirement is missing, meaning the requirement in the
REST bundle is not defined correctly.
Paul Spencer
> On Jan 23, 2023, at 5:44 PM, Jaap Gordijn wrote:
>
> Paul,
>
> - scr is installed and started
> - the person bundle started
> - diag
installed, if not install it.
Paul Spencer
> On Jan 23, 2023, at 3:38 PM, Jaap Gordijn wrote:
>
> Paul,
>
> I have now minimized the code that I call via REST:
>
> @Reference(scope=ReferenceScope.PROTOTYPE_REQUIRED)
> private PersonService personService;
>
Jaap,
Something is missing. The @Referenece should prevent the component from
becoming Active when a PeopleService does not exist.
Look in Karaf.log for clues.
Paul Spencer
> On Jan 23, 2023, at 3:14 PM, Jaap Gordijn wrote:
>
> Paul,
>
> I tried also the @Refer
Jaap,
In the code I posted, there was not constructor. I moved the injection of
personService to an @Reference annotated field. The @Activator annotation is
for a method, which you may not need based on your example.
Paul Spencer
> On Jan 23, 2023, at 2:30 PM, Jaap Gordijn wrote:
>
Jaap,
Your @Activate annotation is incorrect.
Try the following.
…
public class Rest() {
@Reference
private PersonService personService;
@Activate
public void activate(Map properties) {
...
}
}
Paul Spencer
> On Jan 23, 2023, at 12:40 PM, Jaap Gordijn wr
return set;
> }
>
> }
>
> Now the endpoint resolves.
>
> But DS dependency injection does not work.
> Is there something needed to switch this on?
>
> -- Jaap
>
>> -Original Message-
>> From: Paul Spencer
>> Sent: maandag 23 ja
Jaap,
Have you created the Jaxrs application?
@Component(service=Application.class)
@JaxrsName("MyApplication")
@JaxrsApplicationBase("/example")
public class MyApp extends Application{
}
Paul Spencer
> On Jan 23, 2023, at 7:39 AM, Jaap Gordijn wrote:
>
> P
Jaap,
JaxrsApplicationBase is used with JaxrsApplicationSelect to is required to use
a non-default context, so your results confirm the default context is working.
Paul Spencer
> On Jan 23, 2023, at 9:08 AM, Jaap Gordijn wrote:
>
> Paul,
>
> I did the following to create
Jaap,
1) You can use the web: commands to verify the expected context exists
2) Review karaf.log to verify the the bundle startup and post relevant errors
3) I use the following features:
jackson
pax-web-http-whiteboard
aries-jax-rs-whiteboard
aries-jax-rs-whiteboard-jackson
Paul Spencer
rs to resolve
the issue error.
Working tag:
http://karaf.apache.org/xmlns/features/v1.4.0;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.4.0
http://karaf.apache.org/xmlns/features/v1.4.0”>
Shall I file a JIRA?
Paul Spencer
Paul,
I know creating and starting multiple instance of Karaf via the instance
command works in 4.4.3 and 4.3.9. Including the "errors" in your post would be
most helpful.
Paul Spencer
> On Jan 20, 2023, at 12:37 PM, Paul Fraser wrote:
>
> Hi,
>
> In trying to
Paul,
Although I have not generated a KAR with an Maven recover build, I suspect you
will need to add dependencies to the KAR pom to control the build order.
See https://maven.apache.org/guides/mini/guide-multiple-modules.html
Paul Spencer
> On Jan 15, 2023, at 4:42 PM, Paul Fraser wr
cribed this list using a
different email address.
How do I get this issue resolved?
Paul Spencer
Should Karaf Decanter v2.9.0 work with Karaf 4.4.3?
Paul Spencer
│
/example-websocket/* │ HttpService │ -
karaf@root()>
I opened the following Jira https://issues.apache.org/jira/browse/KARAF-7626
Paul Spencer
Just found https://issues.apache.org/jira/browse/KARAF-7607, so this is a known
bug.
Paul Spencer
On 2022/11/14 15:53:03 Paul Spencer wrote:
> Karaf version 4.4.2
> Java Virtual MachineJava HotSpot(TM) 64-Bit Server VM version
> 25.172-b11
&g
624)
at java.lang.Thread.run(Thread.java:748)
sparrow:apache-karaf-4.4.2 paul$
Paul Spencer
is a cron job that
launches bin/client with the desired command.
Paul Spencer
> On May 17, 2022, at 2:20 AM, Jean-Baptiste Onofré wrote:
>
> Hi Paul,
>
> if your command uses some session resources (like stream), it's normal
> as the session is closed when you quit the sh
e │ Alias │ Url
───┼──┼──┼─┼───┼─
86 │ Whiteboard$1 │ cxf-servlet │ Deployed│ │ [/*]
[1] donehttp:list
karaf@root()>
Paul Spencer
=
LoggerFactory.getLogger(ScriptJob.class);
Paul Spencer
───
foo:emailReport -r j...@example.com & │ cron(0 0 17 * * ?)
Paul Spencer
t;:{
"a":1,
"b":"two"
}
}
***
* foo.json after config:property-list --pid foo
***
{
"an_int_array":[
2,
3,
4,
5
],
"complex":"{\"a\":1,\"b\":\"two\"}",
"port":300
}
Paul Spencer
java:365)
[!/:3.7.4]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316)
[!/:3.7.4]
***
* etc/foo.json
***
{
"myNullValue":null
}
Paul Spencer
Never mind.
I found
https://osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html which
matches the observed behavior.
Paul Spencer
> On May 15, 2022, at 3:18 PM, Paul Spencer wrote:
>
> Karaf 4.3.6
>
> I would like to include a Map in a json configuration f
quot;{\"a\":1,\"b\":\"two\"}"
}
***
* Snippet to display the property type
***
@Activate
protected void activate(final Map configProperties) throws
Exception {
for (Entry entry : configProperties.entrySet()) {
logger.info("Key : {}, Value {}", entry.getKey(),
entry.getValue().getClass().getCanonicalName());
}
}
Paul Spencer
utor.java:624)
~[?:1.8.0_172]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
Is this a bug?
Paul Spencer
!= null && configs.length == 1) {
String companyName = (String)
configs[0].getProperties().get("companyName");
System.out.println("Company name = " + companyName);
}
}
}
Paul Spencer
> On May 13, 2022, at 3:23 PM, Jean-Baptist
")
public class InfoCommand implements Action {
@Override
public Object execute(){
// How to populate company name for customerInfo configuration PID?
String companyName = ??
// Print company info
System.out.println("Company name = " + companyName);
}
Paul Spencer
João,
I would prefer not to add component bundles whose sole purpose is to pass
configuration values from pid.cfg to a command via @Reference.
Paul Spencer
> On May 13, 2022, at 9:48 AM, João Assunção
> wrote:
>
> Why not have the components implement the required operations
JB,
The command needs to use values stored in pid.cfg files, like instance specific
CustomerName, just like other components.
Paul Spencer
> On May 13, 2022, at 1:46 AM, Jean-Baptiste Onofré wrote:
>
> Hi Paul,
>
> Not sure I understand exactly the request, but you can do:
&
and the configurationPid attribute. What are the equivalents for shell
commands, class that implement org.apache.karaf.shell.api.action.Action?
Paul Spencer
ec
karaf@root()>
Paul Spencer
> On Apr 30, 2022, at 12:24 AM, Jean-Baptiste Onofré wrote:
>
> Hi,
>
> The documentation is correct if we have pax-
Karaf 4.3.6
The example below demonstrates how to update the configuration of a JDBC
datasource using Karaf commands. I was unable to find a concise procedure in
the Karaf documentation and wanted to document a procedure for myself and
others.
1) Create the datasource "myDb", in this case
"org.ops4j.datasource.ad014501-2db1-4455-abb9-ced214fee015"
url="dbc:hsqldb:mem:."
user="sa"
karaf@root()>karaf@root()>
Paul Spencer
compliance and deployment processes.
Thank you and the Karaf team for rapidly releasing updated versions of Karaf to
address the CVE. The updated Karaf will be will incorporated into our products
and pushed through the release and deployment process as quickly as possible.
Paul Spencer
> On
e/logging/log4j/core/lookup/JndiLookup.class
This looks like a reasonable short term workaround that is relatively easy to
implement. Relative to the Karaf and its services, do you see any potential
problems with the workaround?
Paul Spencer
> On Dec 23, 2021, at 12:17 PM, JB Onofré wrote
JB,
As stated earlier, upgrading Karaf is not an option in the short term.
Paul Spencer
> On Dec 23, 2021, at 11:21 AM, JB Onofré wrote:
>
> Upgrade to Karaf 4.2.13.
>
>> Le 23 déc. 2021 à 17:02, Paul Spencer a écrit :
>>
>> In light of the updated mitigatio
ax-logging-log4j2-1.11.6.jar
| grep JndiLookup
org/apache/logging/log4j/core/lookup/JndiLookup.class
[user@localhost karaf]$
Paul Spencer
[1] https://logging.apache.org/log4j/2.x/security.html#CVE-2021-44228
For users of Karaf 3.0.x that uses Pax Logging version 1.8.x, what is the
recommended mitigation for "Apache Log4j Remote Code Execution Vulnerability",
CVE-2021-44228?
Paul Spencer
For users of Karaf 4.2.x, what is the recommended mitigation for "Apache Log4j
Remote Code Execution Vulnerability", CVE-2021-44228?
Paul Spencer
For users of Karaf 4.3.x, what is the recommended mitigation for "Apache Log4j
Remote Code Execution Vulnerability", CVE-2021-44228?
Paul Spencer
using Java
1.8.
Is Karaf 4.3.x supported under Java 1.8?
If not, why is the required Java version in pom.xml 1.8?
Paul Spencer
( ComponentContext context) {
String keyValue = context.getProperties().get(“key1”);
}
***
* etc/foo.cfg
***
key1 = value 1
key2 = value 2
Paul Spencer
The online forums links on the Karaf Community page,
http://karaf.apache.org/community.html, are no longer working.
User Forum: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Dev Forum: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html
Have the forums moved?
Paul Spencer
case, the Scheduler is failing to set a Service Identifier when
there is no scheduler.name configuration and the component's configurationPid
is an array.
Is this a bug?
Paul Spencer
Executor$Worker.run(ThreadPoolExecutor.java:624)
[?:1.8.0_282]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Paul Spencer
de: 500
ExchangeId: a3c911a4-028c-4db1-aebe-c5097f9bbaa5
Headers: {}
Payload: http://cxf.apache.org/bindings/xformat;>http://cxf.apache.org/bindings/xformat;>org.apache.cxf.interceptor.security.AuthenticationException:
Authentication failed: login failed
Paul Spencer
nds
cave-repository
true
true
false
true
Paul Spencer
JB,
The root cause is identified in issue KARAF-6982. I have submitted a pull
request to resolve the issue.
decanter-appender-file and decanter-alerting are conflicting over
${karaf.data}/decanter
Paul Spencer
> On Jan 2, 2021, at 1:17 AM, Jean-Baptiste Onofre wrote:
>
> Hi Paul,
Correction, this is an issue running on a RaspberryPI. I see the same failure
with Java 11 and Java 1.8. The Alerting service is running on Karaf 4.2.10,
Java 1.8.0_172, and MacOS 10.14.6.
Paul Spencer
> On Jan 1, 2021, at 2:57 PM, Paul Spencer wrote:
>
> The Alerting Servi
The Alerting Service starts with Java 1.8.0_212 (OpenJDK Client VM version
25.212-b01). This is appears to be a Java 11 issue.
> On Jan 1, 2021, at 1:09 PM, Paul Spencer wrote:
>
> Karaf 4.2.10
> Decanter 2.6.0
> JVM OpenJDK Server VM version 11.0.9.1+1-post-Ra
s: Not an instanceof DynamicMBean or not MBean
spec compliant standard MBean
12:35:57.934 INFO [features-3-thread-1] Done.
12:35:57.833 ERROR [FelixDispatchQueue] FrameworkEvent ERROR
org.osgi.framework.ServiceException: Service factory returned null. (Component:
org.apache.karaf.decanter.alerting.store.lucene (14))
Paul Spencer
─┼──
ROOT│ INFO
audit │ TRACE
foo.bar │
org.apache.aries.spifly │ WARN
org.apache.sshd │ INFO
karaf@root()>
***
* etc/org.ops4j.pax.logging.cfg
***
log4j2.logger.foo_bar.name = foo.bar
Paul Spencer
.appender.rolling.strategy.type = DefaultRolloverStrategy
log4j2.appender.rolling.strategy.max = 10
Should I file an issue?
Paul Spencer
load title will ease the frustration for
those wanting to download older versions.
Paul Spencer
> On Nov 1, 2020, at 1:48 PM, Francois Papon
> wrote:
>
> Hi,
>
> You can download old versions on the archives page:
>
> https://karaf.apache.org/archives.html
> <ht
Where is the link to Karaf 4.2.10 on the download page,
https://karaf.apache.org/download.html?
I expected to each "Last Version" in the "Schedule" table under "Karaf Runtime"
to be a link to the version specific distribution directory.
Paul Spencer
JB,
To close out this thread, I switched from using a list of bundles to support
MyFaces that was used by the Karaf 3.0 based implementation of the application
to the pax-jsf-support feature and all is working.
Paul Spencer
> On Sep 13, 2020, at 2:30 PM, Jean-Baptiste Onofre wrote:
>
with different
configuration including the URL for web bundles?
Where can I find examples?
Paul Spencer
Spencer
> On Sep 10, 2020, at 10:19 AM, Paul Spencer wrote:
>
> JB,
> Keep in mind the web application, .war not .wab, correctly retrieved a
> Bluetooth define service. It is the @Component defined service that was not
> found.
>
> Is there some additional informati
ass serviceInterfaceClass) {
try {
Context ctx = new InitialContext();
return getServiceViaJndi(ctx, serviceInterfaceClass);
} catch (NamingException e) {
getLogger().error("Getting " + serviceInterfaceClass.getName(),
e);
r
JB,
1) I am using “new InitialContext()” as defined in the 4.17.3 of the Karaf
Container Documentation.
2) The application is deployed as a WAR
Paul Spencer
> On Sep 9, 2020, at 12:39 PM, Jean-Baptiste Onofre wrote:
>
> Does your WebApplication use the InitialContextFactory f
ostgresql.jdbc2.optional.SimpleDataSource
karaf@root()>
Paul Spencer
> On Sep 9, 2020, at 12:07 PM, Jean-Baptiste Onofre wrote:
>
> Hi Paul,
>
> If your component expose a service (that you can see with bundle:services for
> instance), and you have also the jndi feature installed, nothing t
; list | grep -i faces
230 │ Resolved │ 80 │ 5.1.0│ primefaces
240 │ Resolved │ 80 │ 2.2.12 │ Apache MyFaces JSF-2.2 Core API
242 │ Resolved │ 80 │ 2.2.12 │ Apache MyFaces JSF-2.2 Core Impl
Paul Spencer
e database
"test" on "localhost"
***
karaf@root()> jdbc:ds-create -dn "PostgreSQL JDBC Driver" -url
"jdbc:postgresql://localhost:5432/test" --username testuser --password testpwd
testdsn
Paul Spencer
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
~[?:1.8.0_172]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
~[?:1.8.0_172]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
Is this a bug?
Should I create a Jira?
Paul Spencer
Alex,
I have created the following Jira. Please note the Jira describes the behavior
and references this thread. You may add information regarding the suspected
root cause.
https://issues.apache.org/jira/browse/KARAF-6790
Paul Spencer
> On Jul 16, 2020, at 8:50 AM, Alex Soto wrote:
>
greenColorService;
@Override
public String getColor() {
StringBuffer colors = new StringBuffer();
colors.append(redColorService.getColor());
colors.append(", ");
colors.append(greenColorService.getColor());
where ever karaf-services-maven-plugin,
org.apache.karaf.shell.api.action.Action, or the BaseActivator is documented.
Paul Spencer
> On Jul 13, 2020, at 12:27 PM, Jean-Baptiste Onofre wrote:
>
> I understand now, you are mixing BaseActivator and
> karaf-services-maven-plugin.
>
&g
I mark foo as imported?
> If foo is private to "bar", then, commands will be scanned and added.
>
> Regards
> JB
>
Paul Spencer
>> Le 13 juil. 2020 à 00:42, Paul Spencer a écrit :
>>
>> Karaf 4.2.9
>>
>> I have a bundle "bar" w
for (Class clazz : services) {
getLog().info("Service " + clazz.getCanonicalName());
packages.add(clazz.getPackage().getName());
}
Paul Spencer
org.apache.karaf.util
org.apache.karaf.shell
org.apache.karaf.shell.core
How should resolve the warning?
Paul Spencer
1 - 100 of 202 matches
Mail list logo