Re: osgi bundles

2021-06-05 Thread Chuck Davis
- I am attempting to modularize my desktop application into osgi bundles and want to use the - Felix Maven Bundle Plugin. I am finding it very difficult to get adequate documentation how to use the plugin. I want Maven to copy my bundle jars to a directory and maintain the repository.xml file in

Re: OSGi bundles

2021-06-10 Thread Chuck Davis
Does anybody know if we can change the URI value in the repository.xml file from the local repository to a remote repository value and, if so, how is it done? Thanks.

Validation of OSGi bundles?

2012-01-29 Thread Sven Strohschein
Hi, I have built a small plugin system with OSGi. Every plugin-bundle registers a PluginService. Now I would like to validate the registered/started plugin bundles/services. For example I would like to check if an icon is available within the bundle classpath. I tried to implement a ServiceT

OSGi bundles and dependencies

2015-05-19 Thread Roll, Kevin
Our project uses the Apache Sling framework, which is built on top of the Felix container. We have been given a jar file by another team which uses Apache CXF to connect to a web service. This is a list of the dependencies in that jar:

OSGI Bundles and ResourceBundles (i18n)

2007-09-28 Thread Mike Seavers
Hello, I want to create a ResourceBundle extension backed by a JackRabbit repository for my OSGI application. The design would allow for an OSGI bundle to be injected with another Resource Service bundle to get it's respective ResourceBundle. This will also be backed by a cache (like ehCache) to

M-OSGI Bundles on Knopflerfish

2008-06-05 Thread Thomas Berger
Hello, I have a question concerning M-OSGi. I find this tool very useful to manage my Felix frameworks. But it would be great, if I could also manage my Knopferfish servers with M-OSGi. Thus, I installed all required bundles in my KF framework and the RMI Connector seems to work. The connecti

Re: Validation of OSGi bundles?

2012-01-29 Thread Richard S. Hall
On 1/29/12 12:56, Sven Strohschein wrote: Hi, I have built a small plugin system with OSGi. Every plugin-bundle registers a PluginService. Now I would like to validate the registered/started plugin bundles/services. For example I would like to check if an icon is available within the bundle c

Re: Validation of OSGi bundles?

2012-01-29 Thread Marcel Offermans
Hello Sven, So your use case is that you have an application, that supports plugins, where every plugin: 1) is checked to make sure it contains certain resources on its classpath; 2) registers a PluginService if it does. I would use the extender pattern for this scenario, where every plugin wou

Re: Validation of OSGi bundles?

2012-02-01 Thread Sven Strohschein
Hi, I have now switched to the extender-pattern and it works very well. Thank you for the support! :-) Regards, Sven S. Am 30.01.2012 00:02, schrieb Marcel Offermans: Hello Sven, So your use case is that you have an application, that supports plugins, where every plugin: 1) is checked to

OSGI Bundles as Web Services

2010-04-06 Thread Larry Touve
I'm using Jersey to develop some RESTful Web Services. I'd like to create these as OSGI bundles that I can deploy. Is there any (relatively easy) way to do this? I'm currently running Glassfish V3, and am deploying bundles to the underlying Felix, but I'd like to run ju

Graphical Editor for OSGi Bundles

2010-06-23 Thread Thomas Lefort
ff in a while). Basically I would have OSGi bundles exposing processing capabilities and I want to auto discover and display these in a GUI and be able to chain them and run them when the chaining is complete. Anybody aware of such a tool/project? Thanks for any help, Regards, T

JDBC drivers as OSGi bundles

2013-07-02 Thread Christopher BROWN
Hello, What is the best strategy for integrating JDBC drivers, such as MySQL, jTDS, and others that can start background threads or timers, so that these can be correctly stopped when the bundle is unloaded? Obviously, the ideal case would be to contact the vendor and have them implement a bundle

Re: OSGi bundles and dependencies

2015-05-19 Thread Frank Langel
Kevin, You are trying to merge all jar files into a larger jar. This is possible, but its not necessarily best practice. If you want to run these packages on felix, setup felix and add these bundles to felix. I can recommend this page http://felix.apache.org/documentation/subprojects/ap

Re: OSGI Bundles and ResourceBundles (i18n)

2007-10-02 Thread Richard S. Hall
Mike, I am not aware of any work in this area, but perhaps others know of something. -> richard Mike Seavers wrote: Hello, I want to create a ResourceBundle extension backed by a JackRabbit repository for my OSGI application. The design would allow for an OSGI bundle to be injected with an

Re: OSGI Bundles and ResourceBundles (i18n)

2007-10-02 Thread Felix Meschberger
Hi, Am Freitag, den 28.09.2007, 08:11 -0500 schrieb Mike Seavers: > Hello, > > I want to create a ResourceBundle extension backed by a JackRabbit > repository for my OSGI application. The design would allow for an OSGI > bundle to be injected with another Resource Service bundle to get it's > re

Re: M-OSGI Bundles on Knopflerfish

2008-06-05 Thread stephane frenot
Hello, my first question is whether the > org.apache.felix.mosgi.managedelements.osgiprobes-0.8.0-SNAPSHOT.jar probe is installed on the KF side ? It seems that the console does not find the MBean. The property : mosgi.jmxconsole.tab.url.osgiprobestab indicates where the console can find the gr

Re: M-OSGI Bundles on Knopflerfish

2008-06-07 Thread Thomas Berger
Hello, thank for your quick reply! As I figured out, the MBean implementation bundles were marked as 'Active' in my KF framework, but due to a init/restart problem, the bundles have been installed in wrong order so that the MBean has not been registered correctly. Addionally, I misunderstood

META-INF/services and OSGi bundles

2008-06-30 Thread Sahoo
META-INF/services [1] is used a lot in non-OSGi environment as an SPI mechanism. e.g., JAXP, StAX, JPA, etc use this facility. What is the best way to handle them when we migrate such code to run in OSGi environment? One solution is to change the library (service provider) to make the services

Building OSGi bundles with Apache Ant

2010-11-19 Thread Jeremias Maerki
Hi there, if anyone is producing OSGi bundles with Apache Ant and is not quite happy with Bnd (as I was), please have a look at my OSGi bundle utility I've published yesterday. Maybe it's useful to someone. Feedback welcome. http://www.jeremias-maerki.ch/blog/2010/11/18/osgi-bundle-u

OSGi-Bundles Distribution, generating the config.ini

2009-06-02 Thread itripleeee
manifest How do you manage your OSGi-Applications using Maven? -- View this message in context: http://www.nabble.com/OSGi-Bundles-Distribution%2C-generating-the-config.ini-tp23827768p23827768.html Sent from the Apache Felix - Users mailing list archive at

Re: OSGI Bundles as Web Services

2010-04-06 Thread Chris Blunck
ate my services and my thin JSR311 layer takes advantage of the new services when they come online. Very handy... Good luck, -c On Tue, Apr 6, 2010 at 12:55 PM, Larry Touve wrote: > I'm using Jersey to develop some RESTful Web Services. I'd like to create > these as OSGI bundl

Re: OSGI Bundles as Web Services

2010-04-06 Thread Sahoo
It is not clear if you were able to devleop RESTful web services as OSGi bundles in GlassFish V3 or not. [1] says he was able to do so. Thanks, Sahoo [1] http://blogs.sun.com/mohitg/entry/rest_based_hybrid_osgi_javaee Larry Touve wrote: I'm using Jersey to develop some RESTful Web Ser

Re: OSGI Bundles as Web Services

2010-04-06 Thread Karl Pauls
: > I'm using Jersey to develop some RESTful Web Services.  I'd like to create > these as OSGI bundles that I can deploy.  Is there any (relatively easy) way > to do this?  I'm currently running Glassfish V3, and am deploying bundles to > the underlying Felix, but

Re: OSGI Bundles as Web Services

2010-04-07 Thread Sergey Beryozkin
7;m using Jersey to develop some RESTful Web Services.  I'd like to >> create these as OSGI bundles that I can deploy.  Is there any (relatively >> easy) way to do this?  I'm currently running Glassfish V3, and am >> deploying bundles to the underlying Felix, but  I'd

RE: OSGI Bundles as Web Services

2010-04-07 Thread David Tkaczyk
e.org Subject: Re: OSGI Bundles as Web Services Not sure whether this is what you are looking for but iirc clerezza (http://incubator.apache.org/clerezza/) has a JAX-RS implementation designed to work in an OSGi environment and allowing to provide Root-Resources as OSGi services. There is virtual

RE: OSGI Bundles as Web Services

2010-04-07 Thread Larry Touve
I'll check on the latest from Jersey, thanks for the heads up. Thanks again! > -Original Message- > From: David Tkaczyk [mailto:dtkac...@camiant.com] > Sent: Wednesday, April 07, 2010 8:32 AM > To: Karl Pauls; users@felix.apache.org > Subject: RE: OSGI Bundles as

RE: Graphical Editor for OSGi Bundles

2010-06-23 Thread charbel el_kaed
m: lefortho...@gmail.com > To: users@felix.apache.org > Subject: Graphical Editor for OSGi Bundles > > Hello All, > > I have been scouring the web for an OSGi bundle that would enable an > application to graphically chain processes together and start/stop them > dynamically. Th

Re: Graphical Editor for OSGi Bundles

2010-06-23 Thread Christopher Brind
rt what I need is something similar to what Graphedit (part of the > DirectX SDK) does or used to do (I haven't touched that stuff in a while). > Basically I would have OSGi bundles exposing processing capabilities and I > want to auto discover and display these in a GUI and be able t

Re: Graphical Editor for OSGi Bundles

2010-06-23 Thread Marcel Offermans
dit (part of the > DirectX SDK) does or used to do (I haven't touched that stuff in a while). > Basically I would have OSGi bundles exposing processing capabilities and I > want to auto discover and display these in a GUI and be able to chain them > and run them when the chaini

Re: Graphical Editor for OSGi Bundles

2010-06-23 Thread Thomas Lefort
I contacted Humberto and he said there was no follow up to this project nor does he know of any similar work. In short what I need is something similar to what Graphedit (part of the DirectX SDK) does or used to do (I haven't touched that stuff in a while). Basically I would have OSGi bu

Re: Graphical Editor for OSGi Bundles

2010-06-23 Thread Marcel Offermans
On Jun 23, 2010, at 11:16 , Thomas Lefort wrote: > @Marcel, thanks, I will look into all this! It looks a very promissing lead > both as OS solution and good use of Standards. I will start with the Wire > Admin specs and its topology management! I understand you have already been > through all

Re: JDBC drivers as OSGi bundles

2013-07-02 Thread Holger Hoffstätte
On 02.07.2013 10:36, Christopher BROWN wrote: > What is the best strategy for integrating JDBC drivers, such as MySQL, > jTDS, and others that can start background threads or timers, so that these > can be correctly stopped when the bundle is unloaded? Implementing the JDBC Service bits? See Enter

Re: JDBC drivers as OSGi bundles

2013-07-02 Thread Cristiano Gavião
Using the JDBC service specification. Check this project: http://www.eclipse.org/gemini/dbaccess/ regards, Cristiano On 02/07/13 05:36, Christopher BROWN wrote: Hello, What is the best strategy for integrating JDBC drivers, such as MySQL, jTDS, and others that can start background threads or

Re: META-INF/services and OSGi bundles

2008-07-01 Thread Richard S. Hall
Probably the only reason is that OSGi had its own notion of services since the beginning and it was not really targeting the same area as META-INF/services. I am not aware of a pattern for dealing with this, but I agree that it needs to be dealt with. There has been some discussion about it wi

Re: META-INF/services and OSGi bundles

2008-07-01 Thread Niklas Gustavsson
On Tue, Jul 1, 2008 at 3:45 AM, Sahoo <[EMAIL PROTECTED]> wrote: > META-INF/services [1] is used a lot in non-OSGi environment as an SPI > mechanism. e.g., JAXP, StAX, JPA, etc use this facility. What is the best > way to handle them when we migrate such code to run in OSGi environment? One > solut

Re: Building OSGi bundles with Apache Ant

2010-11-19 Thread Peter Kriens
:05, Jeremias Maerki wrote: > Hi there, > > if anyone is producing OSGi bundles with Apache Ant and is not quite > happy with Bnd (as I was), please have a look at my OSGi bundle utility > I've published yesterday. Maybe it's useful to someone. Feedback welcome. > >

Re: Building OSGi bundles with Apache Ant

2010-11-19 Thread Jeremias Maerki
heel. ;-) Maybe I'll give Bnd another try at some point. After all, I still need to finish OSGi-ification of Apache FOP/Batik. At any rate, I'll keep your suggestion in mind. I may come back to it one day. Thank you for your feedback!!! > > Peter Kriends > > > &g

Re: OSGi-Bundles Distribution, generating the config.ini

2009-06-02 Thread Agemo Cui
elix >maven-bundle-plugin >1.4.0 >true > > ${basedir}/META-INF > > > > ${bundle.namespace},${bundle.namespace}.internal >${bundle.namespace} > > ${bundle.namespace}.internal.Activator > > >

Re: OSGi-Bundles Distribution, generating the config.ini

2009-06-12 Thread itripleeee
tract from the translatorClient >> >>org.apache.felix >> maven-bundle-plugin >>1.4.0 >>true >> >> ${basedir}/META-INF >>

Re: OSGi-Bundles Distribution, generating the config.ini

2009-06-14 Thread Stuart McCulloch
> >> make-assembly > >> package > >> > >>attached > >> > >> > >> > >> > >> > >> And a

Safe to retain references to OSGi bundles?

2013-04-18 Thread Robert Munteanu
Hi, Is it safe to retain references to OSGi bundles and - even more - use them as map keys? I make sure that I don't retain references to stale bundles by using a BundleTracker, but I haven't found anywhere whether this is safe to do or not. The reason I need to hold on to the bu

Unable to call osgi bundles from Servlet

2013-12-26 Thread Arpan Mukhopadhyay
I have two projects. 1. An osgi bundle (eclipse plugin project). 2. A simple web application (deployable in tomcat). I have started the felix container from tomcat with no problem by following the link below http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#u

Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-02 Thread Matt Madhavan
Hello, I have seen couple of email threads on this topic. But did not really get a definitive answer. Currently we do not use Karaf. We use Felix and other related bundles via pax runner. I have seen recommendations about using Karaf. Why cannot I just start the Felix container in debug via mvn pa

OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-03 Thread Christopher BROWN
Hi, I'm currently investigating reducing the download footprint of some software that embeds Felix. The software manages bundle updates using BundleContext.installBundle() and Bundle.update(), and can therefore -- if necessary -- convert Pack200 to JAR format before calling the OSGi framework met

Re: Safe to retain references to OSGi bundles?

2013-04-18 Thread Bertrand Delacretaz
On Thu, Apr 18, 2013 at 3:24 PM, Robert Munteanu wrote: > ...The reason I need to hold on to the bundle is to load classes using that > its classloader > at a later point in time... Can't you do that using getClass().getClassLoader() on a class that's inside that bundle? I *think* keeping refer

RE: Safe to retain references to OSGi bundles?

2013-04-18 Thread Robert Munteanu
> > ...The reason I need to hold on to the bundle is to load classes using > > that its classloader at a later point in time... > > Can't you do that using getClass().getClassLoader() on a class that's inside > that bundle? > > I *think* keeping references to Bundle objects is fine if you track t

Re: Safe to retain references to OSGi bundles?

2013-04-18 Thread Marcel Offermans
On Apr 18, 2013, at 16:00 , Robert Munteanu wrote: >>> ...The reason I need to hold on to the bundle is to load classes using >>> that its classloader at a later point in time... >> >> Can't you do that using getClass().getClassLoader() on a class that's inside >> that bundle? >> >> I *think* k

RE: Safe to retain references to OSGi bundles?

2013-04-18 Thread Robert Munteanu
> >>> ...The reason I need to hold on to the bundle is to load classes > >>> using that its classloader at a later point in time... > >> > >> Can't you do that using getClass().getClassLoader() on a class that's > >> inside that bundle? > >> > >> I *think* keeping references to Bundle objects is fi

Re: Unable to call osgi bundles from Servlet

2013-12-26 Thread ajinkya prabhune
Hi Arpan, I am not sure what your use case is exactly, but would suggest you to use "osgi-bundlecontext" from your web application bundle (wab) and access the osgi bundle which you have created in step1 Regards Ajinkya On Friday, December 27, 2013, Arpan Mukhopadhyay wrote: > I have two project

Re: Unable to call osgi bundles from Servlet

2013-12-30 Thread ajinkya prabhune
Hi Arpan, Were you able to solve the problem ? On Fri, Dec 27, 2013 at 6:29 AM, ajinkya prabhune < ajinkya.prabh...@gmail.com> wrote: > Hi Arpan, > > I am not sure what your use case is exactly, but would suggest you to use > "osgi-bundlecontext" from your web application bundle (wab) and acce

Re: Unable to call osgi bundles from Servlet

2013-12-30 Thread Arpan Mukhopadhyay
Nope, in fact I am having a different issue now while starting the felix embeded in tomcat. Here is the details exception Dec 30, 2013 11:52:53 AM org.apache.catalina.core. AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production en

Re: Unable to call osgi bundles from Servlet

2013-12-30 Thread Frank Lyaruu
I think you are missing the 'org.apache.felix.http.bridge' bundle. If I recall correctly, the 'org.apache.felix.http.proxy' (in WEB-INF/lib) and the 'org.apache.felix.http.bridge' (in WEB-INF/bundles) should be deployed as a pair. regards, rank On Mon, Dec 30, 2013 at 9:49 AM, Arpan Mukhopadhyay

Re: Unable to call osgi bundles from Servlet

2013-12-30 Thread Arpan Mukhopadhyay
Thanks Frank that's my bad. Really missed that one Arpan On Mon, Dec 30, 2013 at 3:44 PM, Frank Lyaruu wrote: > I think you are missing the 'org.apache.felix.http.bridge' bundle. If I > recall correctly, the 'org.apache.felix.http.proxy' (in WEB-INF/lib) and > the 'org.apache.felix.http.brid

RE: Unable to call osgi bundles from Servlet

2013-12-30 Thread Stijn de Witt
r equal to 2.0.0). Good luck! -Stijn -Original Message- From: Arpan Mukhopadhyay [mailto:arpan.mukhopadhya...@gmail.com] Sent: maandag 30 december 2013 9:50 To: users@felix.apache.org Subject: Re: Unable to call osgi bundles from Servlet Nope, in fact I am having a different issue now wh

Re: Unable to call osgi bundles from Servlet

2013-12-31 Thread Arpan Mukhopadhyay
equal to 2.0.0). > > Good luck! > > -Stijn > > > > -Original Message- > From: Arpan Mukhopadhyay [mailto:arpan.mukhopadhya...@gmail.com] > Sent: maandag 30 december 2013 9:50 > To: users@felix.apache.org > Subject: Re: Unable to call osgi bundles from Serv

Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-12 Thread Pedro Domingues
Hi, I really need to debug my code by the use of breakpoints, however this seems a complex undertaking with an OSGi container. I have Eclipse and Felix (both the latest). My project is a raw OSGi project, I am not using PDE, just maven bundle plugin to generate the bundles and then copy them

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-02 Thread Andreas Pieber
Hey Matt, On Wed, Aug 3, 2011 at 00:58, Matt Madhavan wrote: > Hello, > I have seen couple of email threads on this topic. But did not really get a > definitive answer. > > Currently we do not use Karaf. We use Felix and other related bundles via > pax runner. I have seen recommendations about u

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-02 Thread Matt Madhavan
Hi Andreas, Than you very much for the reply! I appreciate it. Can you point me to some documentation regarding installing Karaf and Karaf and Eclipse Integration etc. No hand holding but some pointers/docs etc and I'll be good. I'm now intrigued. Thanks a lot and I look forward to hearing from y

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-02 Thread Andreas Pieber
Hey Matt, On Wed, Aug 3, 2011 at 04:14, Matt Madhavan wrote: > > Than you very much for the reply! Still, I don't like making advertisment on other lists. I always feel like a marketing guy then :-) So maybe we can continue this discussion on one of the Karaf lists? > I appreciate it. Can you

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-26 Thread Matt Madhavan
Hi Andreas, Just getting to this now after a little while! I have few more questions! Can you elaborate on the following sentence? *You can also embed Karaf into your build cycle creating your very own distribution based on Karaf if this is what you like * Planning on spending the weekend on this

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-26 Thread Achim Nierbeck
Hi Matt, I'm not Andreas, but I might as well answer this (I think Andreas is off to Mailand this weekend :-) ) First of all I suggest taking a look at [1] there might be a couple of answers for questions not yet found :) Second in particular you might take a look at [2] where it tells you ho

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-26 Thread Matt Madhavan
HI Achim, Thank you very much for the reply. Also I cannot find the eclipse integration for karaf anywhere. Looks like I have to build it from the source. Can you send the instructions if you have them? Also even better if you know where I can download EIK or you have a copy you can sent it to me

Re: Debugging OSGi bundles(Feliix vs Karaf) and PaxExam

2011-08-26 Thread Achim Nierbeck
Hi Matt, well I think, EIK can be found on [1]. Though I don't know the state it's in. Last time I did take a look at it, and that's very long ago. I wasn't able to get it running. One thing about debugging :-) It's quite easy to debug with Karaf (even remote) or develop with it. Just to give yo

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-03 Thread Marcel Offermans
On May 4, 2012, at 0:11 , Christopher BROWN wrote: > However, I don't think there's any way of doing this for embedded JARs in > the Bundle-Classpath, which is a shame as the software contains bundles > that encapsulate dependencies that we don't want customers to rely on if we > decide to change

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Christopher BROWN
I'm assuming (perhaps wrongly) that classes loaded via Bundle-Classpath have a classloader that enables things like classloader.getResource() that looks inside the "bundled" JAR and not in the "host" JAR (so different from a fragment bundle), so that I don't need to merge and avoid conflicts betwee

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Karl Pauls
You could create your own urlhandlerservice that would (if you install bundles with it given prefix) do the manipulation when a bundle is installed... regards, Karl On Fri, May 4, 2012 at 9:01 AM, Christopher BROWN wrote: > I'm assuming (perhaps wrongly) that classes loaded via Bundle-Classpath

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Christopher BROWN
Would that be portable? Also, how would it distinguish the Bundle-Classpath of "my" bundles (the ones I could build containing embedded Pack200 JARs) from other bundles using Bundle-Classpath (i don't want to break default behavior)? My main bundle loading is done using JARs on the FileSystem by

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Karl Pauls
On Fri, May 4, 2012 at 9:46 AM, Christopher BROWN wrote: > Would that be portable? urlhandler services are part of the spec. > Also, how would it distinguish the Bundle-Classpath of "my" bundles (the > ones I could build containing embedded Pack200 JARs) from other bundles > using Bundle-Classpa

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Christopher BROWN
I understand the protocol handler for loading bundles, but here I'm referring to embedded JARs within a bundle loaded using the Bundle-Classpath manifest header. So I foresee two issues: • Bundle-Classpath might refuse to load "myJar.jar.pack.gz" because of the Pack200 extension (it's not plain "

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Karl Pauls
your handler would need to read the bundle-classpath and on the fly and transparently need to unpack the pack200 entries inplace while the bundle gets installed. regards, Karl On Fri, May 4, 2012 at 10:18 AM, Christopher BROWN wrote: > I understand the protocol handler for loading bundles, but

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Christopher BROWN
Is there any documentation on how to intercept the bundle-classpath and how to substitute data read from bundle entries (i.e.: make the framework see normal jars instead of pack200 files) on the fly? I'm not aware of any such way of intervening in normal framework behavior, maybe I missed somethin

Re: OSGi bundles and Pack200 format with Bundle-Classpath

2012-05-04 Thread Karl Pauls
I'm still talking about a custom urlhandler so you would have to do that work yourself. I guess you could look at the iPOJO Online Manipulator as an example that does some stuff with bundles at deploy time using a urlhandler. http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.ipojo.on

Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Dharmender Goyal
Hello I am evaluating use of OSGI bundle based design to replace an existing high volume, multi-user (1000+)  J2EE implementation. My prototypes are working but want to know of any potential issues with deadlocks, performance, security, scalability etc. Is there anyone using OSGI bundles for

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-12 Thread Benson Margulies
What goes wrong when you add: -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 to the java command line and then attach from Eclipse? On Sat, Sep 12, 2015 at 3:31 PM, Pedro Domingues wrote: > Hi, > > I really need to debug my code by the use of breakpoints, however this seems

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-12 Thread Daniel McGreal
Hi, you should investigate "remote debug" with Eclipse which involves starting Java with some parameters and creating a Debug Configuration in Eclipse. > On 12 Sep 2015, at 20:31, Pedro Domingues wrote: > > Hi, > > I really need to debug my code by the use of breakpoints, however this seems

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-12 Thread development
Debug with breakpoints works ok for me, I run karaf with the debug option and attach the same I would a tomcat app. I will say that somewhere I lost something because even though the ide stops at the correct line of the breakpoint and I can see the variables I am watching. The libraries included

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-12 Thread development
sorry. I thought the was the example being given for karaf-boot. On 2015-09-12 16:48, developm...@mobigov.com wrote: > Debug with breakpoints works ok for me, I run karaf with the debug > option and attach the same I would a tomcat app. I will say that > somewhere I lost something because ev

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-12 Thread Christian Schneider
If you only need plain felix then eclipse + bndtools might help. I just tried the new 3.0.0 version and was able to setup as small project in quite short time. It features very nice debug integration. Apart from this remote debugging always works but is less convenient. Christian Am 12.09.20

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-13 Thread Pedro Domingues
Didn't try that. Isn't that too overkill? Does it work exactly as a normal debug in eclipse? On September 12, 2015 9:35:03 PM WEST, Benson Margulies wrote: >What goes wrong when you add: > >-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 > >to the java command line and then

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-13 Thread Pedro Domingues
Is there a tutorial showing how to achieve that with bndtools? On September 12, 2015 10:01:20 PM WEST, Christian Schneider wrote: >If you only need plain felix then eclipse + bndtools might help. > >I just tried the new 3.0.0 version and was able to setup as small >project in quite short time.

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-13 Thread Neil Bartlett
Debugging of OSGi runtimes is of course possible, and I have never had a problem with it — aside from the occasion difficulty in tracking down source code for third-party dependencies. What IDE or tool would you usually use to debug a Java application? Neil > On 12 Sep 2015, at 20:31, Pedro D

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-13 Thread Pedro Domingues
I am trying with bndtools but I am being slaughtered without mercy. I have like 30 bundles or so. I choose one of the main bundles and followed these instructions (http://bndtools.org/tutorial.html#run-an-osgi-framework), he created a *.bndrun* file in my bundle's root directory with the follo

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-13 Thread Neil Bartlett
Pedro, You are using an unstable, alpha version of Bndtools. Please install the latest stable release, version 3.0, by following the instructions at: http://bndtools.org/installation.html Also I strongly recommend following the tutorial first so you get an understanding of bnd(tools) concepts: ht

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-13 Thread Christian Schneider
I just followed the tutorial on the bndtools site. I think they do not explicitly describe debug as it just works like in a non OSGi eclipse project. You just start the launcher project in debug mode and can work with your break points. One nice thing is that you can simply change source, sav

how can I remotely manage OSGi bundles and components/services?

2010-10-28 Thread sam lee
Is there RESTful API for Felix (Web Console) for managing bundles, components, services? I am trying to write a deployment script that'll uninstall a bundle and install a newer one (or upgrade an existing one). Is there a way to send POST request with a jar? Or, what's the proper way to manage bu

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Dawid Loubser
lume, multi-user (1000+) J2EE implementation. My prototypes are working but want to know of any potential issues with deadlocks, performance, security, scalability etc. > Is there anyone using OSGI bundles for large scale implementations, possibly with JBoss, WAS or Tomcat? Any suggestio

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Neil Bartlett
f OSGI bundle based design to replace an existing > high volume, multi-user (1000+) J2EE implementation. My prototypes are > working but want to know of any potential issues with deadlocks, > performance, security, scalability etc. > Is there anyone using OSGI bundles for large sca

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Dharmender Goyal
wrote: Hello >I am evaluating use of OSGI bundle based design to replace an existing high >volume, multi-user (1000+)  J2EE implementation. My prototypes are working but >want to know of any potential issues with deadlocks, performance, security, >scalability etc. >Is there an

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Neil Bartlett
an existing high > > volume, multi-user (1000+) J2EE implementation. My prototypes are working > > but want to know of any potential issues with deadlocks, performance, > > security, scalability etc. > > Is there anyone using OSGI bundles for large scale implementations,

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Raymond Auge
aluating use of OSGI bundle based design to replace an existing > high volume, multi-user (1000+) J2EE implementation. My prototypes are > working but want to know of any potential issues with deadlocks, > performance, security, scalability etc. > > > Is ther

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Jeremy Jongsma
gt; Neil > > > > > > > > > On Fri, Mar 14, 2014 at 12:14 PM, Dharmender Goyal (mailto: > > dgo...@yahoo.com)> wrote: > > > > Hello > > > > I am evaluating use of OSGI bundle based design to replace an > existing > > high volume,

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Nick Baker
; >> > > >> > > On Friday, March 14, 2014 9:28 AM, Neil Bartlett >>> > >> > wrote: >> > > All of these concerns -- performance, security, etc -- are pretty >>much >> > orthogonal to OSGi. That is, it depends entirel

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-14 Thread Raymond Auge
experience of fellow > >> users. > >> > > > >> > > Thanks > >> > > > >> > > > >> > > On Friday, March 14, 2014 9:28 AM, Neil Bartlett > >> >> > > >> > wrote: > >> > >

Re: Anyone using OSGI bundles for high volume OLTP applications

2014-03-17 Thread Peter Kriens
>>> On Fri, Mar 14, 2014 at 12:14 PM, Dharmender Goyal > dgo...@yahoo.com)> wrote: >>>> Hello >>>> I am evaluating use of OSGI bundle based design to replace an existing >> high volume, multi-user (1000+) J2EE implementation. My prototypes are >>

Re: how can I remotely manage OSGi bundles and components/services?

2010-10-28 Thread Justin Edelson
Yes and no. There is an implicit HTTP API (which is more or less RESTful AFAIK) exposed by the WebConsole plugins. However, it isn't formalized as such. You can take a look at the Maven Sling Plugin (http://svn.apache.org/repos/asf/sling/trunk/maven/maven-sling-plugin/) for examples of uploading bu

Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Robert Gruendler
Hi all, I'm working on a couple of eclipse plugins which have dependencies to 3rd party libraries. Some of those libraries are not available as OSGI bundles, so i need to wrap them in OSGI bundles manually. I've created a maven project [1] which uses the maven-bundle-plugin to embed

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Tribon Cheng
why not to use bnd? On Tue, Apr 2, 2013 at 8:37 PM, Robert Gruendler wrote: > Hi all, > > I'm working on a couple of eclipse plugins which have dependencies to 3rd > party libraries. Some of those libraries > are not available as OSGI bundles, so i need to wrap them in OSG

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Robert Gründler
g on a couple of eclipse plugins which have dependencies to 3rd > > party libraries. Some of those libraries > > are not available as OSGI bundles, so i need to wrap them in OSGI bundles > > manually. > > > > I've created a maven project [1] which uses the maven-bundle-plugin

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Ferry Huberts
gt;>> >>> I'm working on a couple of eclipse plugins which have dependencies to 3rd >>> party libraries. Some of those libraries >>> are not available as OSGI bundles, so i need to wrap them in OSGI bundles >>> manually. >>> >>> I

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Neil Bartlett
> > > -robert > > > > > > > > > > On Tue, Apr 2, 2013 at 2:52 PM, Tribon Cheng > wrote: > > > >> why not to use bnd? > >> > >> On Tue, Apr 2, 2013 at 8:37 PM, Robert Gruendler >>> wrote: > >> > >>> Hi

  1   2   >