Re: Plaintext password in configuration files for Jetty and Webconsole

2016-04-24 Thread Roland Tepp
Console (weather accessed over web or ssh) should be a trusted environment. If a untrusted user gains access to you console you have much more serious problems than access to some configuration options. On Sun, 24 Apr 2016 at 02:29, Carsten Ziegeler wrote: > Peter Kriens

Re: OBR vs Maven

2015-06-06 Thread Roland Tepp
on those modules, would not break after upgrade. Roland On Thu, Jun 4, 2015 at 10:02 PM Simon Kitching si...@vonos.net wrote: Hi, A maven pom declares dependencies on a set of artifacts with different scopes. Maven's dependencies are a pretty generic model, and scopes include compile

Re: How to improve the start time of Apache Felix

2014-01-20 Thread Roland
!). Under real conditions, you would not get this result, e.g. if a object pool is used. OSGi does not affect the data acquisition in a bad manner! Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix

Re: Noob Help

2013-10-25 Thread Roland
it manually to your own maven proxy. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Noob-Help-tp5005743p5005748.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: Access denied in spite of permissions

2013-10-24 Thread Roland
I tried AllPermission without success. -- View this message in context: http://apache-felix.18485.x6.nabble.com/Access-denied-in-spite-of-permissions-tp5005687p5005718.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: Access denied in spite of permissions

2013-10-24 Thread Roland
and Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Access-denied-in-spite-of-permissions-tp5005687p5005720.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: Access denied in spite of permissions

2013-10-24 Thread Roland
ERROR org.apache.felix.configadmin - (1382601621864) [org.osgi.service.cm.ManagedServiceFactory, my.package.MyServiceFactory, id=27, bundle=3/file:/path/mybundle/1.0.0.0/mybundle-1.0.0.0.jar]: Unexpected problem updating configuration

Re: Access denied in spite of permissions

2013-10-23 Thread Roland
side effects that prevent granting this single permission. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Access-denied-in-spite-of-permissions-tp5005687p5005690.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Access denied in spite of permissions

2013-10-22 Thread Roland
though the permission is explicitly granted? Please could someone explain why this can happen. Thanks and regards! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Access-denied-in-spite-of-permissions-tp5005687.html Sent from the Apache Felix - Users mailing

Re: How to improve the start time of Apache Felix

2013-10-11 Thread Roland
Hi all! Has anyone ever tested how fast Apache Felix starts with iPOJO, SCR or classic (BundleActivator)? I think the latter is faster. Regards? Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix-tp5004833p5005501.html

Re: How to improve the start time of Apache Felix

2013-10-11 Thread Roland
Hi Clement, thanks for your reply and the information you provide. This means that I should forgo iPOJO and SCR to reduce startup time. Thanks and Regards! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix

Re: Apache Felix and OSGI R5

2013-10-10 Thread Roland
Hi, hey nice...This means that I can use the Aries subsystem bundles without Aries Application. Thanks Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Apache-Felix-and-OSGI-R5-tp5004939p5005482.html Sent from the Apache Felix - Users mailing list archive

SoC with RTOS, OSGi and Apache Felix

2013-10-10 Thread Roland
Hello, I just think about how I can model a System on Chip (SoC) with an ARM-processor, RTOS, OSGi-Core and Apache Felix. JHDL converts Java source code to VHDL. Are there any experiences about that topic? Thanks! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com

Re: SoC with RTOS, OSGi and Apache Felix

2013-10-10 Thread Roland
addendum: The background to this idea is that the package resolution can be very well parallelized by an FPGA. -- View this message in context: http://apache-felix.18485.x6.nabble.com/SoC-with-RTOS-OSGi-and-Apache-Felix-tp5005484p5005485.html Sent from the Apache Felix - Users mailing list

Re: SoC with RTOS, OSGi and Apache Felix

2013-10-10 Thread Roland
Hello Jan, You don't need to overdo it by ordering an ASIC, an FPGA Image is sufficient . Some devices have an FPGA anyway. Why not using it? Yes, the start time of the framework does not satisfy me. My PPC440 is too small. I need more processing power. -- View this message in context:

Re: Apache Felix and OSGI R5

2013-10-09 Thread Roland
hello Felix-experts, I am looking for informations about whether or how much of the Subsystems specification and Common Namespaces Specification is implemented in Apache Felix. Thanks und Regards, Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Apache-Felix

Re: Apache Felix and OSGI R5

2013-10-09 Thread Roland
Hi, thanks for your reply. I am asking because I do not want to obtain additional overhead by the integration of Apache Aries (concerning the starttime). I need a very lightweight implemention. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Apache-Felix

Re: How to improve the start time of Apache Felix

2013-10-09 Thread Roland
Hi, I'm working on a rudimental starttime benchmark for Apache Felix, Equinox and Knopflerfish. I created 50 independent dummy bundles with BundleActivators. I will post my results after my thesis. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How

Re: [ANN] Apache Felix Configuration Admin 1.8.0 released

2013-09-30 Thread Roland
Hello Felix, thanks for the release!!! When can I download the CM from the Central Maven Repository? Thanks and Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/ANN-Apache-Felix-Configuration-Admin-1-8-0-released-tp5005255p5005295.html Sent from

Re: Strategies for bundle repositories and auto-update

2013-09-24 Thread Roland
Christopher BROWN-2 wrote [...] Have I missed some API that provides this sort of information/notification? I could probably parse this information for package dependencies (if I can detect a failure to resolve the bundle), but I've not seen any way to parse service requirements. I'm not

Re: Strategies for bundle repositories and auto-update

2013-09-24 Thread Roland
of repositories)... regards, Cristiano - To unsubscribe, e-mail: users-unsubscribe@.apache For additional commands, e-mail: users-help@.apache Thanks for the tip! Roland -- View this message in context: http

Re: How to improve the start time of Apache Felix

2013-09-23 Thread Roland
Roland wrote [...]It would be nice if the wires also can be cached persistently in some way. I'm no Felix-expert and do not know the exact implementation, but I'm assuming that Felix creats a hash table of wire-objects to resolve dependencies at runtime. Generating wires takes a lot of time

Re: How to improve the start time of Apache Felix

2013-09-23 Thread Roland
Hello Richard, I'm sorry that I did not clearly described it what I mean. Of course I meant the latter. [...] the data structure in which capabilities are stored for resolving dependencies. Richard S. Hall wrote [...], it made little difference. [...] It's a pity because of the result. But

Re: How to improve the start time of Apache Felix

2013-09-21 Thread Roland
the Exception. In UnitTests you can use mock-objects. Create a Mock-object of Type BundleContext and whenever you want to call a methode of BundleContext you expect a predefined ReturnValue. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start

Re: How to improve the start time of Apache Felix

2013-09-21 Thread Roland
I printed some timestamps to std out before and after Felix.start() and also in my last bundles BundleActivator (highest startlevel). The Bundles are cached and are started automatically. Most of the time (~1/2 up to ~2/3) is spent for the bundle start / for the resolution! It would be nice if

Re: Strategies for bundle repositories and auto-update

2013-09-21 Thread Roland
email / post. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Strategies-for-bundle-repositories-and-auto-update-tp5005063p5005111.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: How to improve the start time of Apache Felix

2013-09-20 Thread Roland
Hi guys! On my Desktop-PC (Dual Core 3GHz, Windows 7) my application (Felix + ~30 bundles) startsup within 300ms, but on a PPC440 Linux System only after 7 seconds. Does anyone have similar values​​ on a PPC? Thanks! Roland -- View this message in context: http://apache-felix.18485.x6

Invalid OSGi-Version: Differences between DynamicImport-Package and Import-Package

2013-09-20 Thread Roland
Hello Felix-experts, I just realized that a dynamic import (DynamicImport-Package) of a package with an invalid OSGi-version (e.g. 1.0-SNAPSHOT) fails, but not a static import (Import-Package). What's the difference? Thanks! Roland -- View this message in context: http://apache-felix.18485.x6

Re: Invalid OSGi-Version: Differences between DynamicImport-Package and Import-Package

2013-09-20 Thread Roland
ok, I know why this happens. The BND tool imports the right packages in the case of the static import because of the wildcard. Sorry for disturbing! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Invalid-OSGi-Version-Differences-between-DynamicImport-Package

Re: Invalid OSGi-Version: Differences between DynamicImport-Package and Import-Package

2013-09-20 Thread Roland
If only I had thought earlier! Many thanks for your support! -- View this message in context: http://apache-felix.18485.x6.nabble.com/Invalid-OSGi-Version-Differences-between-DynamicImport-Package-and-Import-Package-tp5005096p5005099.html Sent from the Apache Felix - Users mailing list

Re: How to improve the start time of Apache Felix

2013-09-20 Thread Roland
, implement your own org.apache.felix.framework.Logger instead. 11. Do not clean the bundle cache before startup, *start only cached bundles*! Did I forget something? best regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time

Re: Exported package names cannot be zero length. (?)

2013-09-20 Thread Roland
I embedded the framework with inline=true. But the file default.properties was not packed with. Switching to inline=false solves that issue. Thanks! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Exported-package-names-cannot-be-zero-length-tp5005077p5005102

Re: maven-bundle-plugin OBR: repository.xml without grammar constraints

2013-09-20 Thread Roland
I crated a JIRA, so we do not forget it. https://issues.apache.org/jira/browse/FELIX-4235 -- View this message in context: http://apache-felix.18485.x6.nabble.com/maven-bundle-plugin-OBR-repository-xml-without-grammar-constraints-tp5004891p5005106.html Sent from the Apache Felix - Users

Re: Strategies for bundle repositories and auto-update

2013-09-20 Thread Roland
Has it helped you? -- View this message in context: http://apache-felix.18485.x6.nabble.com/Strategies-for-bundle-repositories-and-auto-update-tp5005063p5005104.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

RE: Integration Tests during maven lifecycle phase integration-test

2013-09-20 Thread Roland
I implemented my own org.apache.felix.framework.Logger because I want to log back to a logfile but not to std out, until a LogService is registered. Pax Exam adds the framework to the classpath but I can not access its package-exports because the framework-bundle is in state INSTALLED. -- View

Re: How to improve the start time of Apache Felix

2013-09-19 Thread Roland
the start-up time by ~10%. = Prefer large bundles including all dependencies. Regards Roland Richard S. Hall wrote On 9/6/13 05:27 , Roland wrote: Is it possible to start the framework and the cached bundles concurrently? I'm not optimistic: https://issues.apache.org/jira/browse/FELIX

Re: Strategies for bundle repositories and auto-update

2013-09-19 Thread Roland
solution Regards Roland project xmlns=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/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent groupId.../groupId

Re: How to improve the start time of Apache Felix

2013-09-19 Thread Roland
I am currently writing my final paper and it affects only a side issue my work and I really have very little time. But if I have some time left I will create a test environment, that can be published. -- View this message in context:

Re: How to improve the start time of Apache Felix

2013-09-19 Thread Roland
Neil Bartlett wrote [...] It does seem to suggest that resolution time is a factor. I wonder if your test harness is capable of testing on Equinox and Knopflerfish as well? The comparison could be enlightening. In particular I believe that Equinox is able to persist resolution state and

Re: maven-obr-plugin generating an empty repository.xml file

2013-09-19 Thread Roland
hi, first: you should use the maven-bundle-plugin instead of the maven-obr-plugin! second: please post your pom. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/maven-obr-plugin-generating-an-empty-repository-xml-file-tp5005069p5005075.html Sent from

Exported package names cannot be zero length. (?)

2013-09-19 Thread Roland
, I do not understand the error message. Any suggestions? Thanks in advance! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Exported-package-names-cannot-be-zero-length-tp5005077.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: maven-obr-plugin generating an empty repository.xml file

2013-09-19 Thread Roland
hm...hard to say. If the repository.xml file is generated than you know that something is going wrong with the deployment. Does a WsdlDescriptorProvider-1.0.0-SNAPSHOT.jar file exist in the target directory and in your maven-repository? Try mvn clean install deploy if not. -- View this message

Re: Exported package names cannot be zero length. (?)

2013-09-19 Thread Roland
The default.properties file is not in the classpath. I remember that I embedded the felix-framework in my testbundle, because of an unresolved dependency to org.osgi.framework. Let me see -- View this message in context:

Re: Integration Tests during maven lifecycle phase integration-test

2013-09-18 Thread Roland
), mavenBundle().groupId(mygroup).artifactId(bybundle).version(1.0.0).startLevel(2).start(), junitBundles()); return conf; } Any suggestions? Thanks and Regards! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Integration-Tests-during-maven

Integration Tests during maven lifecycle phase integration-test

2013-09-16 Thread Roland
integration-test phase). A first try failed. What else can I do? Are there any experiences to this topic? Thanks and regards Roland What else can I do without using the surefire plugin. -- View this message in context: http://apache-felix.18485.x6.nabble.com/Integration-Tests-during-maven

Re: Integration Tests during maven lifecycle phase integration-test

2013-09-16 Thread Roland
hey, nice! Thank you! -- View this message in context: http://apache-felix.18485.x6.nabble.com/Integration-Tests-during-maven-lifecycle-phase-integration-test-tp5005004p5005013.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: Cannot create MetaType providing ManagedService; not providing Metatype information but just accepting configuration

2013-09-12 Thread Roland
What reason could there be why it fails during MetaTypeProvider initialization? Thx! -- View this message in context: http://apache-felix.18485.x6.nabble.com/Cannot-create-MetaType-providing-ManagedService-not-providing-Metatype-information-but-just-acceptinn-tp5004954p5004960.html Sent from

Re: Cannot create MetaType providing ManagedService; not providing Metatype information but just accepting configuration

2013-09-12 Thread Roland
ok, I've got it! Thx. you for your support!! -- View this message in context: http://apache-felix.18485.x6.nabble.com/Cannot-create-MetaType-providing-ManagedService-not-providing-Metatype-information-but-just-acceptinn-tp5004954p5004962.html Sent from the Apache Felix - Users mailing list

Re: getBundle(1) throws NPE

2013-09-11 Thread Roland
it's a OBR issue. If I have time I will investigate the problem in more detail and I'll create a Jira entry. Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Re-getBundle-1-throws-NPE-tp5004913p5004924.html Sent from the Apache Felix - Users mailing list

Re: Idéal chaussures Nike en France

2013-09-10 Thread Roland
please delete this junk -- View this message in context: http://apache-felix.18485.x6.nabble.com/Ideal-chaussures-Nike-en-France-tp5004901p5004903.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. -

Re: configadmin: no visibility to configuration

2013-09-10 Thread Roland
); createFactoryConfiguration(msf, null); Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/configadmin-no-visibility-to-configuration-tp5004904p5004906.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

getBundle(1) throws NPE

2013-09-10 Thread Roland
Hello Felix-experts, I'm a little bit confused because the getBundle(1) of an existing bundle throws a NPE. The Stacktrace says nothing. So, I don't know what is going on. Any suggestions? Thanks Roland gogo: NullPointerException: null -- View this message in context: http://apache-felix

Re: getBundle(1) throws NPE

2013-09-10 Thread Roland
same issue as http://apache-felix.18485.x6.nabble.com/bundlecontext-getBundles-returns-Array-with-a-null-Object-td5003850.html -- View this message in context: http://apache-felix.18485.x6.nabble.com/getBundle-1-throws-NPE-tp5004910p5004911.html Sent from the Apache Felix - Users mailing list

maven-bundle-plugin OBR: repository.xml without grammar constraints

2013-09-09 Thread Roland
Hello, I created a local OBR with the maven-bundle-plugin but the plugin can not write grammar constraints (DTD or XML Schema) to the xml-file. Is there an undocumented way to setting up the maven-bundle-plugin to add this to xml-file? I found nothing in the docu. Thanks and Regards Roland

Re: How to improve the start time of Apache Felix

2013-09-06 Thread Roland
Karl Pauls wrote ... Do you start up from a populated cache?... -- Karl Pauls karlpauls@ http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls During the first init I generate a fully configured bundle composition in the felix cache

Re: How to improve the start time of Apache Felix

2013-09-06 Thread Roland
and the service implementation only happens when the service is actually demanded by a consumer. Neil On Thu, Sep 5, 2013 at 3:59 PM, Roland lt; wgl@ gt; wrote: Richard S. Hall wrote On 9/5/13 08:35 , Roland wrote: Hello OSGi-experts, are there any switches that I can use to optimize

Re: How to improve the start time of Apache Felix

2013-09-06 Thread Roland
The biggest problem is loading of third-party-bundles. Foremost, the loading of log4j2 is slow because this bundle has many dependencies. Although most dependencies are declared as optional, I need them to resolve dependencies. -- View this message in context:

START_TRANSIENT_ERROR is 10 but BundleException typ is set to 0

2013-09-06 Thread Roland
Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/START-TRANSIENT-ERROR-is-10-but-BundleException-typ-is-set-to-0-tp5004856.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: How to improve the start time of Apache Felix

2013-09-06 Thread Roland
Is it possible to start the framework and the cached bundles concurrently? -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix-tp5004833p5004859.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: How to improve the start time of Apache Felix

2013-09-06 Thread Roland
I am currently in contact with the developers of log4j2. I'll create a patch over the weekend, which slims log4j2 to a lightweight bundle with as few dependencies. -- View this message in context:

Re: How to improve the start time of Apache Felix

2013-09-06 Thread Roland
Neither JVM-option -client, nor the Bundle-ActivationPolicy lazy has significant speed advantages. I stopping here and I focus my activity on reducing dependencies. -- View this message in context:

How to set default logger

2013-09-06 Thread Roland
and Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: START_TRANSIENT_ERROR is 10 but BundleException typ is set to 0

2013-09-06 Thread Roland
https://issues.apache.org/jira/browse/FELIX-4220 Richard S. Hall wrote On 9/6/13 04:45 , Roland wrote: Hello Felix-experts, I got a BundleException Cannot start bundle xyz because its start level is 3, which is greater than the framework's start level of 1. After the exception

Re: How to set default logger

2013-09-06 Thread Roland
Does it mean that I should export the LogService-interface with FRAMEWORK_SYSTEMPACKAGES_EXTRA? Otherwise it makes no sense to me. Thanks!! -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004873.html Sent from the Apache Felix -

Re: How to set default logger

2013-09-06 Thread Roland
The Logger tries to load the LogService interface. Once the logger is initialized it will never check this a second time. public Logger(BundleContext context) { m_context = context; try { org.osgi.service.log.LogService.class.getName();

Re: How to set default logger

2013-09-06 Thread Roland
Thank you for the well explained answer. -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004879.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: How to set default logger

2013-09-06 Thread Roland
I'm wondering because the framework always writes to sdtout, instead of using the LogService. -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004877.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: How to set default logger

2013-09-06 Thread Roland
Thank you so much! -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004886.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. - To

Re: How to set default logger

2013-09-06 Thread Roland
Perhaps it should be documented which logger-class has to be used. http://felix.apache.org/site/apache-felix-framework-configuration-properties.html -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004881.html Sent from the Apache

Re: Unresolved dependency system.bundle

2013-09-05 Thread Roland
or myresolver.resolve(NO_SYSTEM_BUNDLE); -- View this message in context: http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004832.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

How to improve the start time of Apache Felix

2013-09-05 Thread Roland
Hello OSGi-experts, are there any switches that I can use to optimize the start time of Apache Felix? (Lazy Activation is not an option for me) Thanks and Regards -- View this message in context:

Re: How to improve the start time of Apache Felix

2013-09-05 Thread Roland
I'm playing around with felix.cache.bufsize. Does anyone have experience with this? Regards -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix-tp5004833p5004834.html Sent from the Apache Felix - Users mailing list archive at

Re: How to improve the start time of Apache Felix

2013-09-05 Thread Roland
Richard S. Hall wrote On 9/5/13 08:35 , Roland wrote: Hello OSGi-experts, are there any switches that I can use to optimize the start time of Apache Felix? (Lazy Activation is not an option for me) ... The main thing you can do is not do a lot of work in your activators. If you need

Re: How to improve the start time of Apache Felix

2013-09-05 Thread Roland
(The challenge is to start linux and the application within 2 sec.) -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-to-improve-the-start-time-of-Apache-Felix-tp5004833p5004840.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: OSGI Configuration cannot take effect immediately

2013-09-04 Thread Roland
Great! That works! Thanks for your support! -- View this message in context: http://apache-felix.18485.x6.nabble.com/OSGI-Configuration-cannot-take-effect-immediately-tp4833849p5004808.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: OSGI Configuration cannot take effect immediately

2013-09-03 Thread Roland
I often get problems with the ConfigurationAdmin and the ManagedServiceFactory. What does this error msg mean? Cannot use configuration my.configuration.pid for [org.osgi.service.cm.ManagedServiceFactory, id=54, bundle=46/file:my/bundle1/location]: No visibility to configuration bound to

Re: OSGI Configuration cannot take effect immediately

2013-09-03 Thread Roland
my fault. I have to set the location to null. Sorry for stealing your time. -- View this message in context: http://apache-felix.18485.x6.nabble.com/OSGI-Configuration-cannot-take-effect-immediately-tp4833849p5004798.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: OSGI Configuration cannot take effect immediately

2013-09-03 Thread Roland
I can definitly say that I have a some kind of racecondition. My bundle creates one configuration for a MSF bounded to the same location, and also some configurations bounded to other locations. Only those configuration is updated by the CA which was detected first. The sequence is not

How-To: Wait until all DS are registered

2013-08-28 Thread Roland
time consuming because in the worst case I have to wait until the timeout expires for each DS. And I also want to keep the system stupid. What else can I do? Thanks Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-To-Wait-until-all-DS-are-registered

Re: How-To: Wait until all DS are registered

2013-08-28 Thread Roland
Fourth idea: I could trigger an event in the method protected void activate(ComponentContext context) of each service-component. When is the activate-method called? Before or after the DS has been registered? Fifth idea: Wait until SCR is registered. When is the SCR-service registered? Before

Re: How-To: Wait until all DS are registered

2013-08-28 Thread Roland
Hello David! Thank you for the quick reply David Jencks wrote If you have an unknown number of services how, conceptually, can you know when all of them are registered? This is my problem. The only one which has the required information, is the SCR. If not all factories (DS) have been

Re: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; ((osgi.wiring.package=

2013-08-28 Thread Roland
If you use java2-security the easiest way to grant permissions is to add a permissions.perm to your bundle. You could do that with the maven-bundle-plugin. ... build resources resource directoryOSGI-INF//directory filteringtrue/filtering includes

Re: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; ((osgi.wiring.package=

2013-08-28 Thread Roland
Before you enable Java 2 security should the system work properly. You know what permissions you need to add if dependencies can not be resolved after activation of java2 security. -- View this message in context:

Re: How-To: Wait until all DS are registered

2013-08-28 Thread Roland
This is a very nice idea. This could work!! Many thanks! Regards, Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-To-Wait-until-all-DS-are-registered-tp5004727p5004734.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: How-To: Wait until all DS are registered

2013-08-28 Thread Roland
Hello Heil it sounds interesting. It is a nice idea to use the coordinator but not the SCR. But org.apache.felix.service.coordinator is deprecated. I dont know why. Thanks and Regards. -- View this message in context:

Re: How-To: Wait until all DS are registered

2013-08-28 Thread Roland
in fragments): Before or after the host is started? Thanks! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-To-Wait-until-all-DS-are-registered-tp5004727p5004737.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: How-To: Wait until all DS are registered

2013-08-28 Thread Roland
are defined in fragments): Before or after the host is started? Thanks! Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-To-Wait-until-all-DS-are-registered-tp5004727p5004738.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: How-To: Wait until all DS are registered

2013-08-28 Thread Roland
Ok, I've got it. Thanks -- View this message in context: http://apache-felix.18485.x6.nabble.com/How-To-Wait-until-all-DS-are-registered-tp5004727p5004741.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; ((osgi.wiring.package=

2013-08-26 Thread Roland
Hi GoldeneyeModellingFramework has a package-dependency on com.host.domain.sharedpersonalize.storageservice (Version 1.xxx) which can not be resolved. You have to import that bundle which exports this package and/or you have to add permissions if you use java-2-security. something like this...

Re: inspect req of fragmented bundles

2013-08-23 Thread Roland
Thanks for your hint. The GoGo-Command headers is just what I'm searching for! Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/inspect-req-of-fragmented-bundles-tp5004614p5004677.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

OBR: discover resources who have a particular host

2013-08-23 Thread Roland
Hello OSGi-experts, Is it possible to discover those resources who have a particular host? for example... String filter = (host=my.host); repoAdmin.discoverResources(filter); Thx, Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/OBR-discover-resources-who-have

Re: Unresolved dependency system.bundle

2013-08-23 Thread Roland
After a long search, I finally found a solution. DataModelHelper datamodel = repoAdmin.getHelper(); ... resolver.add(datamodel.createResource(systembundle)); ... resolver.resolve(); -- View this message in context:

Re: OBR: discover resources who have a particular host

2013-08-23 Thread Roland
= (host=my.host); repoAdmin.discoverResources(filter); Regards Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/OBR-discover-resources-which-have-a-particular-host-tp5004680p5004686.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: OBR: discover resources who have a particular host

2013-08-23 Thread Roland
First, I also thought that it would work that way, but after several tries it still did not. Is the filter string incorrect? -- View this message in context: http://apache-felix.18485.x6.nabble.com/OBR-discover-resources-which-have-a-particular-host-tp5004680p5004688.html Sent from the Apache

Unresolved dependency system.bundle

2013-08-22 Thread Roland
) { resolver.addGlobalCapability(capability); } The Problem: There exist 2 classes Capability. -org.apache.felix.bundlerepository.Capability -org.osgi.resource.Capability; Any suggestions? Thanks in advance Roland -- View this message in context: http://apache-felix.18485.x6

Re: Unresolved dependency system.bundle

2013-08-22 Thread Roland
To avoid confusion, one class should be renamed. -- View this message in context: http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004644.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: Nike möchte Sie denken

2013-08-22 Thread Roland
junk! delete this, please! -- View this message in context: http://apache-felix.18485.x6.nabble.com/Nike-mochte-Sie-denken-tp5004632p5004645.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. - To

Re: Unresolved dependency system.bundle

2013-08-22 Thread Roland
Is there already a wrapper for both classes? -- View this message in context: http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004646.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

Re: Unresolved dependency system.bundle

2013-08-22 Thread Roland
wraps the osgi capability to apache felix capability? Thx Roland -- View this message in context: http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004649.html Sent from the Apache Felix - Users mailing list archive at Nabble.com

Re: Unresolved dependency system.bundle

2013-08-22 Thread Roland
I just realized that there is a third class with the same name. I'm totally confused! org.osgi.service.obr.Capability -- View this message in context: http://apache-felix.18485.x6.nabble.com/Unresolved-dependency-system-bundle-tp5004643p5004651.html Sent from the Apache Felix - Users mailing

  1   2   >