RE: [Karaf] ClassNotFound javax.persistence.PersistenceContext

2009-10-01 Thread Edelson, Justin
I'm by no means confident of this answer, but it does seem suspect to me to use have version 2.0.0.Beta1 running against Spring ORM 2.5.6. In Spring ORM 2.5.6's manifest, the version range on javax.persistence is [1.0.0,2.0.0), but since the import is optional, there's no error. Try using Spri

[Karaf] ClassNotFound javax.persistence.PersistenceContext

2009-10-01 Thread sgargan
I've been trying to get a simple JPA bundle working with Karaf but keep running into this infuriating issue. I've been banging my head off this for a few days, using both eclipselink and hibernate. I'm really hoping someone can tell me what I'm doing wrong. My spring context defines this bean (th

Re: maven-bundle-plugin: strange failure during release:prepare...

2009-10-01 Thread Patrick Forhan
So, the fix is to do one of the following: - revert to 1.4.3 - add a OSGI-INF/serviceComponents.xml to force a non-duplicated reference. Neither one is great, but I'm at least working again. Pat. -- Defy mediocrity. - To uns

Web Console 2.0.0 link broken?

2009-10-01 Thread Nima Kaviani
Hi guys, it seems like the download link for Web Console 2.0.0 is broken. It would be appreciate if someone could get it fixed. thanks, -Nima -- http://nima.magic.ubc.ca

Re: maven-bundle-plugin: strange failure during release:prepare...

2009-10-01 Thread Patrick Forhan
(forgive any duplicates, I can never remember which email address I used for this list) On Thu, Oct 1, 2009 at 2:31 PM, Stuart McCulloch wrote: > looks like https://issues.apache.org/jira/browse/FELIX-1262 ... have you > tried 2.0.1 ? As far as I can tell, yes. I've tried with and without versi

Re: maven-bundle-plugin: strange failure during release:prepare...

2009-10-01 Thread Patrick Forhan
So, also from -X: [DEBUG] [DEBUG] Final Manifest: [DEBUG] [DEBUG] Service-Component: OSGI-INF/serviceComponents.xml,OSGI-INF/serviceComponents.xml [DEBUG

Re: maven-bundle-plugin: strange failure during release:prepare...

2009-10-01 Thread Patrick Forhan
On Thu, Oct 1, 2009 at 2:31 PM, Stuart McCulloch wrote: > looks like https://issues.apache.org/jira/browse/FELIX-1262 ... have you > tried 2.0.1 ? As far as I can tell, yes. I've tried with and without version tags and pluginManagement and everything set to 2.0.1. Using -X seems to show that 2.

Re: maven-bundle-plugin: strange failure during release:prepare...

2009-10-01 Thread Stuart McCulloch
2009/10/2 Patrick Forhan > We have some code we've released before. For whatever reason, i can't > get it to work any more, with any combination I've tried with > maven-bundle-plugin and maven-scr-plugin. I think it has something to > do with the tilde on the end of the filename: > >[IN

maven-bundle-plugin: strange failure during release:prepare...

2009-10-01 Thread Patrick Forhan
We have some code we've released before. For whatever reason, i can't get it to work any more, with any combination I've tried with maven-bundle-plugin and maven-scr-plugin. I think it has something to do with the tilde on the end of the filename: [INFO] [bundle:bundle] [ERROR] E

Re: Felic scr: dynamic 0..1-dependency not being reinjected

2009-10-01 Thread Felix Meschberger
Hi Reto, This probably the same as FELIX-1445 [1]. You might want to try trunk build Regards Felix [1] https://issues.apache.org/jira/browse/FELIX-1445 Reto Bachmann-Gmür schrieb: > Hello, > > I've a component with a dependency with following configuration > > * @scr.reference name="depende

Relative Priorities for services inside an OSGi environment

2009-10-01 Thread Ali Naddaf
Hello all. Is it possible in any shape or form to assign (relative) priorities to different services/applications inside an OSGi environment? I understand that even the concept is not well defined in such a dynamic environment that services call into each other constantly. So let me just give

Re: Sigil properties file format

2009-10-01 Thread David Savage
Ok great that was my feeling too. I've raised FELIX-1678 to track this, think it makes sense to do this before a 1.0 release else we end up with potential migration problems in the medium term. Regards, Dave On Wed, Sep 30, 2009 at 9:33 PM, Richard S. Hall wrote: > I think going with the same

Felic scr: dynamic 0..1-dependency not being reinjected

2009-10-01 Thread Reto Bachmann-Gmür
Hello, I've a component with a dependency with following configuration * @scr.reference name="dependency" cardinality="0..1" policy="dynamic" *interface="org.example.reinjection.Dependency" The dependency correctly gets bound at statup, when org.example.reinjection.Dependency i

[ANN] Apache Felix Web Console version 2.0.0 Released

2009-10-01 Thread Felix Meschberger
The Felix team is pleased to announce the release of Apache Felix Web Console version 2.0.0. The Apache Felix Web Console is a Web Based Management Console for OSGi Frameworks. See http://felix.apache.org/apache-felix-web-console.html for more information on the Apache Felix Web Console. The majo

Re: question

2009-10-01 Thread Richard S. Hall
IC, then you still probably don't need to access the Felix framework class directly...you probably want to look at: http://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Framework+Launching+and+Embedding You need to refer to the wiki page because for some reason our static web si

Re: ServiceLoader and OSGi?

2009-10-01 Thread Richard S. Hall
Well, definitely make it available somehow so people can take a look at it. -> richard On 10/1/09 12:26, Jeremias Maerki wrote: Just in case anyone is interested: I've written a little bundle to work around that problem and to get Apache FOP and Batik working in an OSGi environment. The Apache

Re: question

2009-10-01 Thread samira chaouki
In my bundle I need to instanciate Felix class which represent the framework. 2009/10/1 Richard S. Hall > You should not be using anything inside any org.apache.felix.* package, you > should be using classes in org.osgi.framework.*. You do this by importing > them in your manifest file and crea

Re: Felix Framework Distribution as Maven artifact

2009-10-01 Thread Roman Roelofsen
Richard S. Hall wrote: No, because it is not a JAR file...is is a packaging of the framework and needed shell bundles to use the framework. It does not need to be a jar. You can attach maven assembly descriptors to artifacts and upload them to a mvn repo as well. Clients can use and to reso

Re: ServiceLoader and OSGi?

2009-10-01 Thread Jeremias Maerki
Just in case anyone is interested: I've written a little bundle to work around that problem and to get Apache FOP and Batik working in an OSGi environment. The Apache XML Graphics project makes heavy use of the META-INF/services mechanism for plug-ins. My bundle provides code to transparently prov

Re: Felix Framework Distribution as Maven artifact

2009-10-01 Thread Richard S. Hall
No, because it is not a JAR file...is is a packaging of the framework and needed shell bundles to use the framework. -> richard On 10/1/09 11:56, Roman Roelofsen wrote: Hi, is the Felix framework distribution (e.g. http://apache.prosite.de/felix/felix-framework-2.0.0.tar.gz) also available

Re: Felix Framework Distribution as Maven artifact

2009-10-01 Thread Karl Pauls
No. The distribution is not available from maven but the individual components (including main and framework) are. If you are looking for what is bin/felix.jar in the distribution you can go with the org.apache.felix.main from maven. Otherwise, the distribution is basically just a zip of our main s

Felix Framework Distribution as Maven artifact

2009-10-01 Thread Roman Roelofsen
Hi, is the Felix framework distribution (e.g. http://apache.prosite.de/felix/felix-framework-2.0.0.tar.gz) also available as a maven artifact? Cheers, Roman - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For

Re: question

2009-10-01 Thread Richard S. Hall
You should not be using anything inside any org.apache.felix.* package, you should be using classes in org.osgi.framework.*. You do this by importing them in your manifest file and creating a bundle activator for your bundle. If you are new to OSGi, you might want to check out some basic tutori

Re: ServiceLoader and OSGi?

2009-10-01 Thread Richard S. Hall
Did this issue ever get resolved? As far as I can see, you are trying to find a service provider from the SPI bundle, but the SPI bundle doesn't have any visibility to the service provider, so it cannot find it. You cannot use ServiceLoader in the normal way in OSGi. -> richard On 5/18/09 2

question

2009-10-01 Thread samira chaouki
Hello. I’m developing a new module in Felix but I have some troubles. I want to use the method *installBundle *which is in the package *org.apache.felix.framework * Although I import this package in the pom.xml of the module I have imported it did not compile. *Samira CHAOUKI* *Mail : chao..

question

2009-10-01 Thread samira chaouki
Hello. I’m developing a new module in Felix but I have some troubles. I want to use the method *installBundle *which is in the package *org.apache.felix.framework * Although I import this package in the pom.xml of the module I have imported it did not compile. *Samira CHAOUKI* *Mail : chao..

Re: Failing to use remote shell

2009-10-01 Thread Felix Meschberger
Hi, Matt Tennant schrieb: > Hi Allen, > > Thanks, I guess I misunderstood how that property works. Setting the value > at startup fixed the problem. > > Does this mean the only two valid values for this property are either > 127.0.0.1 or the external ip address of the host device? One or the