Re: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread Peter Kriens
Then your Blueprint is wrong, $ is a valid character so their Tclass is off. It is used by the compiler in certain places but there is no reason no to use it. I have classes with the name $! I think we should be careful not to add too many options to bnd. I think a rule would be to remove any f

Noob Help

2013-10-24 Thread Wade Girard
I have been experimenting with felix and learning OSGi for the last week. I really like what it has to offer and believe that I can use it for an upcoming project that I am working on. I have been using maven to build bundles, and creating small test bundles, that has been going well. I have ru

Re: Security Warning: Felix with Java Web Start

2013-10-24 Thread Cesar Souza
I put Trusted-Library: true in weasis-launcher.jar and felix.jar but the security warning keeps popping up. On Thu, Oct 24, 2013 at 4:05 PM, Cesar Souza wrote: > we can try putting Trusted-Library: true in MANIFEST file of the > weasis-launcher.jar > > > http://docs.oracle.com/javase/7/docs/tec

Re: Security Warning: Felix with Java Web Start

2013-10-24 Thread Cesar Souza
we can try putting Trusted-Library: true in MANIFEST file of the weasis-launcher.jar http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_library On Wed, Oct 23, 2013 at 6:57 PM, Nicolas Roduit < nicolas.rod...@jmicrovision.com> wrote: > Hi all, > > I had JNLP file i

RE: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread CLEMENT Jean-Philippe
Added issue https://issues.apache.org/jira/browse/FELIX-4291 along with solution proposals. JP -Message d'origine- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : jeudi 24 octobre 2013 16:21 À : users@felix.apache.org Objet : RE: maven-bundle-plugi

RE: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread CLEMENT Jean-Philippe
Blueprint XML does not accept $ in the class attribute: "The value 'org.test.MyClass$MyPublicStaticInnerClass' of attribute 'class' on element 'bean' is not valid with respect to its type, 'Tclass'". Of course the cleanest way is to remove the inner class. In my case the bundle is rather small

Re: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread Peter Kriens
You can try to use a $ instead of a . , org.test.MyClass$MyPublicStaticInnerClass. Class.forName supports this so I guess Spring will be ok. The problem is that the org.test.MyClass.MyPublicStaticInnerClass in this form (as a String since it is in XML) is indistinguishable to be an inner class

Re: TR: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread Stuart McCulloch
On 24 Oct 2013, at 14:08, CLEMENT Jean-Philippe wrote: > ... when I push the "create issue" button the dialog box opens with Felix as > project. seems to be a limitation of JIRA in that it doesn't pre-fill the component based on the current location :/ > No reference to Maven bundle plugin an

RE: TR: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread CLEMENT Jean-Philippe
... when I push the "create issue" button the dialog box opens with Felix as project. No reference to Maven bundle plugin anywhere. If I fill the version field, an error is displayed (Version with id '2.4.0' does not exist). How to select the bundle plugin? JP -Message d'origine- De :

Re: TR: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread Stuart McCulloch
You can log the issue here: https://issues.apache.org/jira/browse/FELIX/component/12311143 Remember to attach your test project so whoever picks it up can recreate the issue locally. On 24 Oct 2013, at 07:57, CLEMENT Jean-Philippe wrote: > Dear Felix Team, > > It seems I found a bug (see belo

Re: Access denied in spite of permissions

2013-10-24 Thread Karl Pauls
You probably have to doPriv around the service registration as cm is on the stack and probably doesn't have the permission itself. Its either that, or you assign the permission (or all permission) to the cm bundle. regards, Karl On Thu, Oct 24, 2013 at 10:20 AM, Roland wrote: > My permissions

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 my.package.MyServiceFactory.38be1d63-77fe-4110-9a9f-7af536af9a6

Re: Access denied in spite of permissions

2013-10-24 Thread Roland
My permissions: (org.osgi.framework.ConfigurationPermission * "target") (org.osgi.framework.AdminPermission * "metadata") (org.osgi.framework.ServicePermission "org.osgi.service.cm.ConfigurationAdmin" "get") (org.osgi.framework.ConfigurationPermission * "configure") (org.osgi.framework.PackagePerm

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