Felix Gogo not working on Equinox

2022-02-13 Thread Paulo Renato de Athaydes
I believe the Felix Gogo bundles are not working on Equinox. When I start the framework I get this error: ``` bundleresource://8.fwk249034932/gosh_profile:23.0IOException: no matches found: bundleresource://8.fwk249034932/gosh_profile: ERROR: java.lang.NullPointerException: Cannot invoke

Re: Felix and JavaFX

2017-07-09 Thread Paulo Renato de Athaydes
It's hard because Felix does not (or did not used to at least) export the javafx classes to bundles. This project fixes that: https://github.com/edvin/javafx-osgi [https://avatars0.githubusercontent.com/u/977035?v=3=400]

OSGiaaS CLI - A CLI to run JVM languages REPL and commands

2017-02-06 Thread Paulo Renato de Athaydes
Hi, I would like to spread word about my project, OSGiaaS-CLI. https://sites.google.com/a/athaydes.com/renato-athaydes/posts/osgiaas-cli-aclitoruncommandswritteninjvmlanguages

OBR command not working

2016-09-16 Thread Paulo Renato de Athaydes
Hi, I am trying to use the OBR command but it is not working for me. http://felix.apache.org/documentation/subprojects/apache-felix-osgi-bundle-repository.html#obr-shell-command I can deploy any bundle that does not have any dependency, but bundles which have a dependency (including one

RE: [ANN] Apache Felix Dependency Manager r8 Released

2016-03-06 Thread Paulo Renato de Athaydes
Hi, This looks nice! I am interested to know how this compares to Declarative Services and OSGi Blueprint (and even IPojo, aren't these all a little similar?)... I know these well, but never heard of Dependency Manager before... Regards, Renato

RE: Question about the tutorial "Using Distributed Services with iPOJO"

2016-02-22 Thread Paulo Renato de Athaydes
one of > them running the Server, and the other PC with the Client. Is it possible? > > Thank you for your help, > > Gabriel > > 2016-02-18 1:47 GMT-03:00 Paulo Renato de Athaydes < > renatoathay...@hotmail.com>: > > > Hello fellow Brazilian! > &g

RE: Question about the tutorial "Using Distributed Services with iPOJO"

2016-02-17 Thread Paulo Renato de Athaydes
Hello fellow Brazilian! Here's a demo I wrote using IPojo and D-OSGi (with Gradle and the osgi-run plugin, but these are optional): https://github.com/renatoathaydes/osgi-run/tree/master/osgi-run-test/ipojo-dosgi This code definitely works, hope this helps you find out what's wrong. Let me know

RE: Uninstalled API bundle, yet implementation still resolves and starts

2015-11-04 Thread Paulo Renato de Athaydes
It should be noted that the OSGi specification clearly states that the framework must not try to replace the old API bundle classes in such cases where those classes are still being used until a refresh is requested, as others pointed out. So this is not a work-around but rather how the system

RE: Better go go shell

2015-11-03 Thread Paulo Renato de Athaydes
I recommend using the Knopflerfish Desktop, which has a command-line interface in it with history (not sure about auto-completion)... (notice you can probably use just the console bundle, but I have not tried that). https://www.knopflerfish.org/desktop.html It does not require any particular

RE: Deploying Jetty 9.3.5 in Felix

2015-11-02 Thread Paulo Renato de Athaydes
I believe you are looking for this bundle: http://aries.apache.org/modules/spi-fly.html Which implements the OSGi ServiceLoader Mediator specification described in the OSGi compendium document. If you have not read this document, I highly recommend as you will learn in detail how common issues

RE: Bundle can't find its own classes: NoClassDefFoundError

2015-10-30 Thread Paulo Renato de Athaydes
You should not mess with the Bundle-Classpath unless you know exactly what you're doing. Have a look at your bundle's Manifest, make sure the Bundle-ClassPath entry is not there, or if it is, it's just a dot. Otherwise you will get the kind of problem you're having. The osgi plugin (I assume

RE: WebSockets usage

2015-10-27 Thread Paulo Renato de Athaydes
I'm trying to get felix.http.jetty working but I faced several issues with the latest version of Felix. First, the servlet-api bundle does not provide the JavaServlet capability. So I had to create a fragment saying that it does! Then, after resolving all dependencies, I got this error below.

RE: Unable to reach Groovy script Engine from an other OSGI bundle

2015-10-13 Thread Paulo Renato de Athaydes
The class implementing ScriptEngine is loaded by reflection after being found in the classpath at META-INF/services/javax.script.ScriptEngineFactory Groovy jars have this declaration in this file: org.codehaus.groovy.jsr223.GroovyScriptEngineFactory I believe the bundle which creates the

RE: Help in using your Quartz OSGi bundle

2015-10-12 Thread Paulo Renato de Athaydes
The quartz bundle has the following imports: Import-Package: com.mchange.v2.c3p0,commonj.work;resolution:=optional, javax.ejb;resolution:=optional,javax.jms;resolution:=optional,javax.m ail;resolution:=optional,javax.mail.internet;resolution:=optional,jav

RE: Help in using your Quartz OSGi bundle

2015-10-12 Thread Paulo Renato de Athaydes
Oh... just found out I was actually very close!! Got Quartz working with this set of bundles (Gogo and quartz-sample, my bundle, are not required, of course): ID|State |Level|Name0|Active |0|System Bundle (4.4.0) 1|Active |1|c3p0 (0.9.1.1)2|Active |

RE: Bundle dependency management

2014-12-11 Thread Paulo Renato de Athaydes
Hi, Looks like you need one of these: bnd-tools: http://bndtools.org/ If you use Maven, just use the maven bundle plugin, and write your own Felix bootstrapper (the the example in the Felix docs - this is the hard way): http://wiki.osgi.org/wiki/Maven_Bundle_Plugin osgi-run:

IPojo D-OSGi arg names not using @WebParam annotation

2014-12-07 Thread Paulo Renato de Athaydes
Hi, I am trying to use IPojo and D-OSGi to create a distributed OSGi environment to run some services. I make OSGi services become remote services using the approach shown in the D-OSGi IPojo tutorial (declaring Apache Cxf properties in the metadata.xml file) and things work well, mostly:

RE: managing OSGi Dependencies

2014-10-24 Thread Paulo Renato de Athaydes
You're playing with fire. Not providing all the dependencies at runtime that a library requires at compiling time is recipe for ClassDefNotFoundException which has plagued OSGi devs since the beginning of time. Subject: Re: managing OSGi Dependencies From: pedro.doming...@ist.utl.pt Date:

RE: managing OSGi Dependencies

2014-10-24 Thread Paulo Renato de Athaydes
that compile time and runtime dependencies are the same! They are not. You compile against APIs and run with implementations. Neil From: Paulo Renato de Athaydes renatoathay...@hotmail.com Reply: users@felix.apache.org users@felix.apache.org Date: 24 October 2014 at 23:39:05 To: users

RE: [iPOJO] Modifying a metadata.xml property directly in the JAR

2014-08-20 Thread Paulo Renato de Athaydes
: serverIP=…… serverPort=8080 Changing the cfg file reconfigure the instance. Regards, Clement On 19 août 2014 at 14:53:32, Paulo Renato de Athaydes (renatoathay...@hotmail.com) wrote: I believe the metadata.xml file is not actually used after you compile... have a look

RE: OSGi and Git - what release process, how many repos?

2014-08-20 Thread Paulo Renato de Athaydes
Not sure if that would be what you are asking for, but I have written a small Gradle plugin that builds and runs OSGi environments by picking up bundles from the configured repositories (can be Maven, Ivy or even file repositories, all the ones supported by Gradle) or Gradle sub-projects. It's

RE: [iPOJO] Modifying a metadata.xml property directly in the JAR

2014-08-19 Thread Paulo Renato de Athaydes
I believe the metadata.xml file is not actually used after you compile... have a look at the jar's manifest instead, IPojo saves all the information it needs in the manifest after compilation, so if you change it there it should work. However, it seems to me you need to find a better way to

Installing a new version of Groovy on my OSGi environment makes my bundle ditch the old version it should be using

2014-08-11 Thread Paulo Renato de Athaydes
Hi, I asked this on StackOverflow but as I have had no answer I was wondering if anyone here could help with this problem: http://stackoverflow.com/questions/25233002/installing-a-new-version-of-groovy-on-my-osgi-environment-makes-my-bundle-import Regards, Renato

RE: RepositoryAdmin ClassCastException

2014-08-07 Thread Paulo Renato de Athaydes
ideas on this one? Thanks, Tim On 08/06/2014 04:33 PM, Paulo Renato de Athaydes wrote: I think he meant the package imports in the MANIFEST file. You need to make sure you are importing the package where RepositoryAdmin is (which should be in an API bundle) with the exact same version

RE: RepositoryAdmin ClassCastException

2014-08-06 Thread Paulo Renato de Athaydes
I think he meant the package imports in the MANIFEST file. You need to make sure you are importing the package where RepositoryAdmin is (which should be in an API bundle) with the exact same version in both the consumer bundle of the service and the implementator bundle of the service. Look out

RE: Using IPojo and Groovy

2014-07-21 Thread Paulo Renato de Athaydes
Subject: Re: Using IPojo and Groovy Hi, On 20 juillet 2014 at 23:57:53, Paulo Renato de Athaydes (renatoathay...@hotmail.com) wrote: Hi. I wrote a little IPojo application and it works great, except when I try to use Groovy in one of the bundles (to design the UI, which is a great job

New Gradle plugins: osgi-run and ipojo-plugin

2014-07-20 Thread Paulo Renato de Athaydes
Hi everyone, I have created two Gradle plugins to facilitate OSGi development and make it really easy to develop OSGi applications. https://github.com/renatoathaydes/osgi-run/tree/master/ipojo-plugin The first one is called osgi-run and it can create an OSGi runtime (currently for either Felix