<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-28135</id>
	<title>Nabble - Apache Felix - Users</title>
	<updated>2009-11-26T08:00:55Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Apache-Felix---Users-f28135.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apache-Felix---Users-f28135.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26531467</id>
	<title>Re: Bundle resolve policy in Felix</title>
	<published>2009-11-26T08:00:55Z</published>
	<updated>2009-11-26T08:00:55Z</updated>
	<author>
		<name>Richard S. Hall</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;On 11/26/09 6:02, Guo Du wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 2:49 AM, Ivan&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xhhsld@...&lt;/a&gt;&amp;gt; &amp;nbsp;wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; While trying the Felix as the OSGI runtime, I have some questions about
&lt;br&gt;&amp;gt;&amp;gt; the resolve policy, please help to give some comments, thanks !
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;1. Can an import connection be wired to an installed (not resolved)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; No
&lt;br&gt;&amp;gt; Bundle status will be changes to resolved automatically from installed
&lt;br&gt;&amp;gt; when it's export package was used by any of the bundles including it's
&lt;br&gt;&amp;gt; activator. So no bundle will export package while in installed status.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; that &amp;quot; Bundle B resolved, Bundle A resloved&amp;quot;. I wonder when the resolve
&lt;br&gt;&amp;gt;&amp;gt; action will occured ? Will Felix check whether all the installed bundle
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; When one of bundle.start() was called.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; could be resolved once a new bundle is installed or resolved ?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; Felix only automatically start bundle if it's exported package was
&lt;br&gt;&amp;gt; requested by other starting bundle.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;It will automatically resolve, not start.
&lt;br&gt;&lt;br&gt;-&amp;gt; richard
&lt;br&gt;&lt;br&gt;&amp;gt; -Guo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531467&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531467&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531467&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531467&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26531467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531455</id>
	<title>Re: Bundle resolve policy in Felix</title>
	<published>2009-11-26T07:59:49Z</published>
	<updated>2009-11-26T07:59:49Z</updated>
	<author>
		<name>Richard S. Hall</name>
	</author>
	<content type="html">On 11/25/09 21:49, Ivan wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;While trying the Felix as the OSGI runtime, I have some questions about
&lt;br&gt;&amp;gt; the resolve policy, please help to give some comments, thanks !
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 1. Can an import connection be wired to an installed (not resolved)
&lt;br&gt;&amp;gt; bundle ? I found there is description in the spec 3.7, which says &amp;quot;A
&lt;br&gt;&amp;gt; resolved exporter must be preferred over an unresolved exporter.&amp;quot;. So does
&lt;br&gt;&amp;gt; it mean that the answer is yes ?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;All bundles must be resolved to have wires and to have wires to them. 
&lt;br&gt;The spec is just saying you should prefer already resolved bundles over 
&lt;br&gt;bundles that you must yet resolve.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 2. I have a bunlde A and bundle B, bundle A needs to import some packages
&lt;br&gt;&amp;gt; from bundle B. But my installation order is that first A, then B. From the
&lt;br&gt;&amp;gt; log messages, I could see after installing A, FelixDispatchQueue said that
&lt;br&gt;&amp;gt; bunldle A is in the installed state. Then I install B, the messages showed
&lt;br&gt;&amp;gt; that &amp;quot; Bundle B resolved, Bundle A resloved&amp;quot;. I wonder when the resolve
&lt;br&gt;&amp;gt; action will occured ? Will Felix check whether all the installed bundle
&lt;br&gt;&amp;gt; could be resolved once a new bundle is installed or resolved ?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;Felix does not try to resolve bundles automatically, it only resolves 
&lt;br&gt;them on demand. Typically this is when you try to start a bundle, which 
&lt;br&gt;will resolve that bundle plus the bundles on which it depends transitively.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 3. Related to question 2, if I have ten bundles and I am sure that each
&lt;br&gt;&amp;gt; bundle could find export packages from other nine bundles. But I do not
&lt;br&gt;&amp;gt; install them according to their dependency relations. Then, will the logic
&lt;br&gt;&amp;gt; below work correctly ? In my tests, it seems that they could work correctly.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; String[] locations = {......};
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Bundle[] bundles = new Bundles[locations.length];
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; for(int i=0;i&amp;lt;locations.length;i++) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bundles[i] = bundleContext.installBundle(locations[i]);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for(Bundle b : bundles) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b.start();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;Yes. For example, if all of your bundles are installed and started, on a 
&lt;br&gt;subsequent restart of the framework, it will first reinstall all bundles 
&lt;br&gt;in one pass, then start them in another pass, which ensures dependencies 
&lt;br&gt;can be satisfied.
&lt;br&gt;&lt;br&gt;The above code does the same thing.
&lt;br&gt;&lt;br&gt;-&amp;gt; richard
&lt;br&gt;&lt;br&gt;&amp;gt; Ivan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531455&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531455&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26531455.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530710</id>
	<title>Re: maven-bundle-plugin: strange failure during release:prepare...</title>
	<published>2009-11-26T07:05:13Z</published>
	<updated>2009-11-26T07:05:13Z</updated>
	<author>
		<name>Reto Bachmann-Gmür-3</name>
	</author>
	<content type="html">I've submitted a patch to FELIX-1847 [1]
&lt;br&gt;&lt;br&gt;For us the resolution of the issue (at least in the subversion trunk) is
&lt;br&gt;quite essential as none of the work a rounds can be applied, without the
&lt;br&gt;patch we cannot do multi-module builds, and adding the Service-Component
&lt;br&gt;directive to the config (in the parent) is not an option as the non scr
&lt;br&gt;project will then fail.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;reto
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;1. &lt;a href=&quot;https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12439947&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12439947&lt;/a&gt;&lt;br&gt;&lt;br&gt;Patrick Forhan said the following on 10/01/2009 11:32 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; So, the fix is to do one of the following:
&lt;br&gt;&amp;gt; &amp;nbsp;- revert to 1.4.3
&lt;br&gt;&amp;gt; &amp;nbsp;- add a &amp;lt;Service-Component&amp;gt;OSGI-INF/serviceComponents.xml&amp;lt;/Service-Component&amp;gt;
&lt;br&gt;&amp;gt; to force a non-duplicated reference.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Neither one is great, but I'm at least working again.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Pat.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Reto Bachmann-Gmür
&lt;br&gt;trialox.org
&lt;br&gt;Tel: +41445005015
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530710&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/maven-bundle-plugin%3A-strange-failure-during-release%3Aprepare...-tp25705049p26530710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530393</id>
	<title>Re: Bundle resolve policy in Felix</title>
	<published>2009-11-26T06:43:24Z</published>
	<updated>2009-11-26T06:43:24Z</updated>
	<author>
		<name>Guo Du</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 2:04 PM, Ivan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530393&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xhhsld@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 2009/11/26 Guo Du &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530393&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrduguo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;  So I suppose the word &amp;quot;start&amp;quot;  here means that its status would be
&lt;br&gt;&amp;gt; &amp;quot;resolved&amp;quot;, not &amp;quot;active&amp;quot;. Right ?
&lt;br&gt;Yes. bundle.start() will end up with resolved for fragment bundle,
&lt;br&gt;otherwise will be always active.
&lt;br&gt;&lt;br&gt;-Guo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530393&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530393&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26530393.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529900</id>
	<title>Re: Bundle resolve policy in Felix</title>
	<published>2009-11-26T06:04:22Z</published>
	<updated>2009-11-26T06:04:22Z</updated>
	<author>
		<name>Ivan Xu</name>
	</author>
	<content type="html">2009/11/26 Guo Du &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529900&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrduguo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 1:28 PM, Ivan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529900&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xhhsld@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;But what does &amp;quot;A resolved exporter must be preferred over an unresolved
&lt;br&gt;&amp;gt; &amp;gt; exporter.&amp;quot; mean ? :-(
&lt;br&gt;&amp;gt; It means if both bound A(installed) and B(resolved) export package P
&lt;br&gt;&amp;gt; for same version V, framework will get the P from B and leave A in
&lt;br&gt;&amp;gt; installed status.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;In the doc, it says that the framework will try to resolve the bundle
&lt;br&gt;&amp;gt; once
&lt;br&gt;&amp;gt; &amp;gt; it is installed, and it will also try to resolve the bundle in installed
&lt;br&gt;&amp;gt; It's not clear to say &amp;quot;framework will try to resolve the bundle once
&lt;br&gt;&amp;gt; it is installed&amp;quot;.
&lt;br&gt;&amp;gt; This resolve may means parse the bundle header. But it's definite not
&lt;br&gt;&amp;gt; to put the bundle in resolved status after installed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;As the spec says, the classloader for the bundle could be created once
&lt;br&gt;&amp;gt; it
&lt;br&gt;&amp;gt; &amp;gt; is resolved, so why does the framework need to start the bundle if its
&lt;br&gt;&amp;gt; &amp;gt; export packages are wired to other bundles ? Is it the expected behavior
&lt;br&gt;&amp;gt; by
&lt;br&gt;&amp;gt; &amp;gt; the spec ?
&lt;br&gt;&amp;gt; Yes. Start the bundle to resolved status is the way to mark bundle as
&lt;br&gt;&amp;gt; IN USE. The flow are:
&lt;br&gt;&amp;gt; Resolved -&amp;gt; Create classloader -&amp;gt; Load class for others bundles
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So no start/resolved, no class available to be consumed.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&amp;nbsp; So I suppose the word &amp;quot;start&amp;quot; &amp;nbsp;here means that its status would be
&lt;br&gt;&amp;quot;resolved&amp;quot;, not &amp;quot;active&amp;quot;. Right ?
&lt;br&gt;&amp;nbsp; Many thanks !
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; -Guo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529900&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529900&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ivan
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26529900.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529733</id>
	<title>Re: Bundle resolve policy in Felix</title>
	<published>2009-11-26T05:52:48Z</published>
	<updated>2009-11-26T05:52:48Z</updated>
	<author>
		<name>Guo Du</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 1:28 PM, Ivan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529733&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xhhsld@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;  But what does &amp;quot;A resolved exporter must be preferred over an unresolved
&lt;br&gt;&amp;gt; exporter.&amp;quot; mean ? :-(
&lt;br&gt;It means if both bound A(installed) and B(resolved) export package P
&lt;br&gt;for same version V, framework will get the P from B and leave A in
&lt;br&gt;installed status.
&lt;br&gt;&lt;br&gt;&amp;gt;  In the doc, it says that the framework will try to resolve the bundle once
&lt;br&gt;&amp;gt; it is installed, and it will also try to resolve the bundle in installed
&lt;br&gt;It's not clear to say &amp;quot;framework will try to resolve the bundle once
&lt;br&gt;it is installed&amp;quot;.
&lt;br&gt;This resolve may means parse the bundle header. But it's definite not
&lt;br&gt;to put the bundle in resolved status after installed.
&lt;br&gt;&lt;br&gt;&amp;gt;  As the spec says, the classloader for the bundle could be created once it
&lt;br&gt;&amp;gt; is resolved, so why does the framework need to start the bundle if its
&lt;br&gt;&amp;gt; export packages are wired to other bundles ? Is it the expected behavior by
&lt;br&gt;&amp;gt; the spec ?
&lt;br&gt;Yes. Start the bundle to resolved status is the way to mark bundle as
&lt;br&gt;IN USE. The flow are:
&lt;br&gt;Resolved -&amp;gt; Create classloader -&amp;gt; Load class for others bundles
&lt;br&gt;&lt;br&gt;So no start/resolved, no class available to be consumed.
&lt;br&gt;&lt;br&gt;-Guo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529733&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529733&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26529733.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529439</id>
	<title>Re: Bundle resolve policy in Felix</title>
	<published>2009-11-26T05:28:23Z</published>
	<updated>2009-11-26T05:28:23Z</updated>
	<author>
		<name>Ivan Xu</name>
	</author>
	<content type="html">Thanks for your response, please help to check my comments.
&lt;br&gt;&lt;br&gt;2009/11/26 Guo Du &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529439&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrduguo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 2:49 AM, Ivan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529439&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xhhsld@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;While trying the Felix as the OSGI runtime, I have some questions
&lt;br&gt;&amp;gt; about
&lt;br&gt;&amp;gt; &amp;gt; the resolve policy, please help to give some comments, thanks !
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 1. Can an import connection be wired to an installed (not resolved)
&lt;br&gt;&amp;gt; No
&lt;br&gt;&amp;gt; Bundle status will be changes to resolved automatically from installed
&lt;br&gt;&amp;gt; when it's export package was used by any of the bundles including it's
&lt;br&gt;&amp;gt; activator. So no bundle will export package while in installed status.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&amp;nbsp;So wire connection could only be established to those resolved bundles.
&lt;br&gt;right ?
&lt;br&gt;&amp;nbsp;But what does &amp;quot;A resolved exporter must be preferred over an unresolved
&lt;br&gt;exporter.&amp;quot; mean ? :-(
&lt;br&gt;&amp;nbsp;In the doc, it says that the framework will try to resolve the bundle once
&lt;br&gt;it is installed, and it will also try to resolve the bundle in installed
&lt;br&gt;status if start method is called.
&lt;br&gt;&amp;nbsp;For Felix, Are there any other chances that the resolve process will be
&lt;br&gt;fired ?
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; that &amp;quot; Bundle B resolved, Bundle A resloved&amp;quot;. I wonder when the resolve
&lt;br&gt;&amp;gt; &amp;gt; action will occured ? Will Felix check whether all the installed bundle
&lt;br&gt;&amp;gt; When one of bundle.start() was called.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; could be resolved once a new bundle is installed or resolved ?
&lt;br&gt;&amp;gt; Felix only automatically start bundle if it's exported package was
&lt;br&gt;&amp;gt; requested by other starting bundle.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; As the spec says, the classloader for the bundle could be created once it
&lt;br&gt;is resolved, so why does the framework need to start the bundle if its
&lt;br&gt;export packages are wired to other bundles ? Is it the expected behavior by
&lt;br&gt;the spec ?
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Guo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529439&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529439&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ivan
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26529439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529042</id>
	<title>Re: Bundle Threads</title>
	<published>2009-11-26T04:51:37Z</published>
	<updated>2009-11-26T04:51:37Z</updated>
	<author>
		<name>Guo Du</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 12:31 PM, chihi asma &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chihi_asma@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; In lunix, when I want to see system process, I type &amp;quot;ps&amp;quot;, among thoses processes there is java ones, (I'm executing felix) so to which bundle belong those java process?
&lt;br&gt;Some background reading:
&lt;br&gt;&lt;a href=&quot;http://java.sun.com/docs/books/tutorial/essential/concurrency/procthread.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/docs/books/tutorial/essential/concurrency/procthread.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The answer is there is no bundle/thread map to process. Thread may
&lt;br&gt;running by some osgi bundle, all bundle/threads are inside the java
&lt;br&gt;process.
&lt;br&gt;&lt;br&gt;-Guo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529042&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529042&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-Threads-tp26527538p26529042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528775</id>
	<title>Re: Bundle Threads</title>
	<published>2009-11-26T04:31:09Z</published>
	<updated>2009-11-26T04:31:09Z</updated>
	<author>
		<name>chihi asma</name>
	</author>
	<content type="html">In lunix, when I want to see system process, I type &amp;quot;ps&amp;quot;, among thoses processes there is java ones, (I'm executing felix) so to which bundle belong those java process?
&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;--- En date de : Jeu 26.11.09, Guo Du &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528775&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrduguo@...&lt;/a&gt;&amp;gt; a écrit :
&lt;br&gt;&lt;br&gt;De: Guo Du &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528775&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrduguo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Objet: Re: Bundle Threads
&lt;br&gt;À: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528775&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Date: Jeudi 26 Novembre 2009, 12h09
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 10:44 AM, chihi asma &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528775&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chihi_asma@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Can anyone tell me please how can I know how much a bundle executes threads when it starts?
&lt;br&gt;&amp;gt; When I type &amp;quot;ps&amp;quot; command in my linux console I see multiple threads related to the JVM.
&lt;br&gt;Where you typed &amp;quot;ps&amp;quot;?
&lt;br&gt;&lt;br&gt;It doesn't matter where you type &amp;quot;ps&amp;quot; in LINUX shell or FELIX shell,
&lt;br&gt;there is nothing related to threads. What exact threads you mean:
&lt;br&gt;operation system process, osig bundle or java thread?
&lt;br&gt;&lt;br&gt;-Guo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528775&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528775&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-Threads-tp26527538p26528775.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527837</id>
	<title>Re: Bundle Threads</title>
	<published>2009-11-26T03:09:23Z</published>
	<updated>2009-11-26T03:09:23Z</updated>
	<author>
		<name>Guo Du</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 10:44 AM, chihi asma &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527837&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chihi_asma@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Can anyone tell me please how can I know how much a bundle executes threads when it starts?
&lt;br&gt;&amp;gt; When I type &amp;quot;ps&amp;quot; command in my linux console I see multiple threads related to the JVM.
&lt;br&gt;Where you typed &amp;quot;ps&amp;quot;?
&lt;br&gt;&lt;br&gt;It doesn't matter where you type &amp;quot;ps&amp;quot; in LINUX shell or FELIX shell,
&lt;br&gt;there is nothing related to threads. What exact threads you mean:
&lt;br&gt;operation system process, osig bundle or java thread?
&lt;br&gt;&lt;br&gt;-Guo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527837&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527837&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-Threads-tp26527538p26527837.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527742</id>
	<title>Re: Bundle resolve policy in Felix</title>
	<published>2009-11-26T03:02:31Z</published>
	<updated>2009-11-26T03:02:31Z</updated>
	<author>
		<name>Guo Du</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 2:49 AM, Ivan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xhhsld@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;    While trying the Felix as the OSGI runtime, I have some questions about
&lt;br&gt;&amp;gt; the resolve policy, please help to give some comments, thanks !
&lt;br&gt;&amp;gt;   1. Can an import connection be wired to an installed (not resolved)
&lt;br&gt;No
&lt;br&gt;Bundle status will be changes to resolved automatically from installed
&lt;br&gt;when it's export package was used by any of the bundles including it's
&lt;br&gt;activator. So no bundle will export package while in installed status.
&lt;br&gt;&lt;br&gt;&amp;gt; that &amp;quot; Bundle B resolved, Bundle A resloved&amp;quot;. I wonder when the resolve
&lt;br&gt;&amp;gt; action will occured ? Will Felix check whether all the installed bundle
&lt;br&gt;When one of bundle.start() was called.
&lt;br&gt;&lt;br&gt;&amp;gt; could be resolved once a new bundle is installed or resolved ?
&lt;br&gt;Felix only automatically start bundle if it's exported package was
&lt;br&gt;requested by other starting bundle.
&lt;br&gt;&lt;br&gt;-Guo
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527742&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527742&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26527742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527538</id>
	<title>Bundle Threads</title>
	<published>2009-11-26T02:44:15Z</published>
	<updated>2009-11-26T02:44:15Z</updated>
	<author>
		<name>chihi asma</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Can anyone tell me please how can I know how much a bundle executes threads when it starts?
&lt;br&gt;When I type &amp;quot;ps&amp;quot; command in my linux console I see multiple threads related to the JVM.
&lt;br&gt;How can I know each thread belongs to each bundle.
&lt;br&gt;Thanks in advance for your help.
&lt;br&gt;&lt;br&gt;Asma
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-Threads-tp26527538p26527538.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26523683</id>
	<title>Bundle resolve policy in Felix</title>
	<published>2009-11-25T18:49:17Z</published>
	<updated>2009-11-25T18:49:17Z</updated>
	<author>
		<name>Ivan Xu</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp; &amp;nbsp; While trying the Felix as the OSGI runtime, I have some questions about
&lt;br&gt;the resolve policy, please help to give some comments, thanks !
&lt;br&gt;&amp;nbsp; &amp;nbsp;1. Can an import connection be wired to an installed (not resolved)
&lt;br&gt;bundle ? I found there is description in the spec 3.7, which says &amp;quot;A
&lt;br&gt;resolved exporter must be preferred over an unresolved exporter.&amp;quot;. So does
&lt;br&gt;it mean that the answer is yes ?
&lt;br&gt;&amp;nbsp; &amp;nbsp;2. I have a bunlde A and bundle B, bundle A needs to import some packages
&lt;br&gt;from bundle B. But my installation order is that first A, then B. From the
&lt;br&gt;log messages, I could see after installing A, FelixDispatchQueue said that
&lt;br&gt;bunldle A is in the installed state. Then I install B, the messages showed
&lt;br&gt;that &amp;quot; Bundle B resolved, Bundle A resloved&amp;quot;. I wonder when the resolve
&lt;br&gt;action will occured ? Will Felix check whether all the installed bundle
&lt;br&gt;could be resolved once a new bundle is installed or resolved ?
&lt;br&gt;&amp;nbsp; &amp;nbsp;3. Related to question 2, if I have ten bundles and I am sure that each
&lt;br&gt;bundle could find export packages from other nine bundles. But I do not
&lt;br&gt;install them according to their dependency relations. Then, will the logic
&lt;br&gt;below work correctly ? In my tests, it seems that they could work correctly.
&lt;br&gt;&amp;nbsp; &amp;nbsp;String[] locations = {......};
&lt;br&gt;&amp;nbsp; &amp;nbsp;Bundle[] bundles = new Bundles[locations.length];
&lt;br&gt;&amp;nbsp; &amp;nbsp;for(int i=0;i&amp;lt;locations.length;i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bundles[i] = bundleContext.installBundle(locations[i]);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; for(Bundle b : bundles) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; b.start();
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;Ivan
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bundle-resolve-policy-in-Felix-tp26523683p26523683.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516561</id>
	<title>Anyone seen ConcurrentModificationException in karaf?</title>
	<published>2009-11-25T09:07:58Z</published>
	<updated>2009-11-25T09:07:58Z</updated>
	<author>
		<name>peter lawrey-2</name>
	</author>
	<content type="html">java.util.ConcurrentModificationException
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.HashMap$EntryIterator.next(HashMap.java:834)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.HashMap$EntryIterator.next(HashMap.java:832)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.karaf.features.internal.FeaturesServiceImpl.saveMap(Fea
&lt;br&gt;turesServiceImpl.java:534)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.karaf.features.internal.FeaturesServiceImpl.saveState(F
&lt;br&gt;eaturesServiceImpl.java:485)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.karaf.features.internal.FeaturesServiceImpl$1.run(Featu
&lt;br&gt;resServiceImpl.java:428)
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Anyone-seen-ConcurrentModificationException-in-karaf--tp26516561p26516561.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513801</id>
	<title>Re: JPA and OSGi</title>
	<published>2009-11-25T06:38:01Z</published>
	<updated>2009-11-25T06:38:01Z</updated>
	<author>
		<name>Andreas Kollegger-2</name>
	</author>
	<content type="html">I agree with Ben, the Dynamic Java stuff is a good option. 
&lt;br&gt;You could also take a look at EclipseLink. It's what I use 
&lt;br&gt;in my projects.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eclipse.org/eclipselink/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eclipse.org/eclipselink/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;On Nov 25, 2009, at 9:32 AM, Ben Coughlan wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Craig,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Have a look at Dynamic Java's JPA bundle:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://dynamicjava.org/projects/dynamic-jpa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dynamicjava.org/projects/dynamic-jpa&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've had some success with it in the past and it works some of the power of OSGi into JPA.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Valery does a really good job providing examples and it's well worth having a look at some his other projects on the site.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Ben Coughlan
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 26/11/2009, at 1:21 AM, Craig Ricciuto wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi. I've been trying for the past couple of days to get any kind of simple
&lt;br&gt;&amp;gt;&amp;gt; example project working that uses JPA in an OSGi bundle being built with
&lt;br&gt;&amp;gt;&amp;gt; Maven 2.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I've tried searching to my hearts content. I've even searched this mailing
&lt;br&gt;&amp;gt;&amp;gt; list and any similar questions were answered with links I've already looked
&lt;br&gt;&amp;gt;&amp;gt; at. The main two links I see the most being:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Now I know these are good resources but I'm still new to using OSGi and
&lt;br&gt;&amp;gt;&amp;gt; those links don't use Maven but instead Ant, which I've never used before
&lt;br&gt;&amp;gt;&amp;gt; except to try to build the projects that are linked on those two pages. Is
&lt;br&gt;&amp;gt;&amp;gt; there anyone on here that could show me a Maven example using JPA in an OSGi
&lt;br&gt;&amp;gt;&amp;gt; bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle).
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Craig
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513801&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513801&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JPA-and-OSGi-tp26513470p26513801.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513681</id>
	<title>Re: JPA and OSGi</title>
	<published>2009-11-25T06:32:54Z</published>
	<updated>2009-11-25T06:32:54Z</updated>
	<author>
		<name>Ben Coughlan</name>
	</author>
	<content type="html">Hi Craig,
&lt;br&gt;&lt;br&gt;Have a look at Dynamic Java's JPA bundle:
&lt;br&gt;&lt;a href=&quot;http://dynamicjava.org/projects/dynamic-jpa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dynamicjava.org/projects/dynamic-jpa&lt;/a&gt;&lt;br&gt;&lt;br&gt;I've had some success with it in the past and it works some of the power of OSGi into JPA.
&lt;br&gt;&lt;br&gt;Valery does a really good job providing examples and it's well worth having a look at some his other projects on the site.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Ben Coughlan
&lt;br&gt;&lt;br&gt;On 26/11/2009, at 1:21 AM, Craig Ricciuto wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi. I've been trying for the past couple of days to get any kind of simple
&lt;br&gt;&amp;gt; example project working that uses JPA in an OSGi bundle being built with
&lt;br&gt;&amp;gt; Maven 2.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've tried searching to my hearts content. I've even searched this mailing
&lt;br&gt;&amp;gt; list and any similar questions were answered with links I've already looked
&lt;br&gt;&amp;gt; at. The main two links I see the most being:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now I know these are good resources but I'm still new to using OSGi and
&lt;br&gt;&amp;gt; those links don't use Maven but instead Ant, which I've never used before
&lt;br&gt;&amp;gt; except to try to build the projects that are linked on those two pages. Is
&lt;br&gt;&amp;gt; there anyone on here that could show me a Maven example using JPA in an OSGi
&lt;br&gt;&amp;gt; bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Craig
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JPA-and-OSGi-tp26513470p26513681.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513470</id>
	<title>JPA and OSGi</title>
	<published>2009-11-25T06:21:41Z</published>
	<updated>2009-11-25T06:21:41Z</updated>
	<author>
		<name>Craig Ricciuto</name>
	</author>
	<content type="html">Hi. I've been trying for the past couple of days to get any kind of simple
&lt;br&gt;example project working that uses JPA in an OSGi bundle being built with
&lt;br&gt;Maven 2.
&lt;br&gt;&lt;br&gt;I've tried searching to my hearts content. I've even searched this mailing
&lt;br&gt;list and any similar questions were answered with links I've already looked
&lt;br&gt;at. The main two links I see the most being:
&lt;br&gt;&lt;a href=&quot;http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Now I know these are good resources but I'm still new to using OSGi and
&lt;br&gt;those links don't use Maven but instead Ant, which I've never used before
&lt;br&gt;except to try to build the projects that are linked on those two pages. Is
&lt;br&gt;there anyone on here that could show me a Maven example using JPA in an OSGi
&lt;br&gt;bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle).
&lt;br&gt;&lt;br&gt;Craig
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JPA-and-OSGi-tp26513470p26513470.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505163</id>
	<title>Re: Resource Management</title>
	<published>2009-11-24T15:27:53Z</published>
	<updated>2009-11-24T15:27:53Z</updated>
	<author>
		<name>Rodrigo Madera</name>
	</author>
	<content type="html">&amp;gt;
&lt;br&gt;&amp;gt; I guess the closest thing to that would be
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.osgi.org/Research/HomePag&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osgi.org/Research/HomePag&lt;/a&gt;&amp;lt;&lt;a href=&quot;http://www.osgi.org/Research/HomePage&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osgi.org/Research/HomePage&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;I see my wish has come true!
&lt;br&gt;&lt;br&gt;=o)
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-Management-tp26493093p26505163.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505147</id>
	<title>RE: Resource Management</title>
	<published>2009-11-24T15:25:59Z</published>
	<updated>2009-11-24T15:25:59Z</updated>
	<author>
		<name>Kiev Gama</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Tue, 24 Nov 2009 21:10:23 -0200
&lt;br&gt;&amp;gt; Subject: Re: Resource Management
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505147&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rodrigo.madera@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505147&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 12:55 PM, Kiev Gama &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505147&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kievgama@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You do not have such fine grained control with bundles very easily.
&lt;br&gt;&amp;gt; &amp;gt; This master's thesis may interest you:
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;Resource monitoring and visualization of OSGi-based software components&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; Excellent paper indeed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I wish there was a central wiki page with references to such academic works
&lt;br&gt;&amp;gt; related to OSGi.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I guess the closest thing to that would be &lt;a href=&quot;http://www.osgi.org/Research/HomePage&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osgi.org/Research/HomePage&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Kiev
&lt;br&gt;&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Madera
&lt;br&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Windows Live: Keep your friends up to date with what you do online.
&lt;br&gt;&lt;a href=&quot;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-Management-tp26493093p26505147.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504965</id>
	<title>Re: Resource Management</title>
	<published>2009-11-24T15:10:23Z</published>
	<updated>2009-11-24T15:10:23Z</updated>
	<author>
		<name>Rodrigo Madera</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 12:55 PM, Kiev Gama &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kievgama@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You do not have such fine grained control with bundles very easily.
&lt;br&gt;&amp;gt; This master's thesis may interest you:
&lt;br&gt;&amp;gt; &amp;quot;Resource monitoring and visualization of OSGi-based software components&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;Excellent paper indeed.
&lt;br&gt;&lt;br&gt;I wish there was a central wiki page with references to such academic works
&lt;br&gt;related to OSGi.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Madera
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-Management-tp26493093p26504965.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502301</id>
	<title>Re: Passing information (java parameters) to Felix</title>
	<published>2009-11-24T11:57:39Z</published>
	<updated>2009-11-24T11:57:39Z</updated>
	<author>
		<name>Richard S. Hall</name>
	</author>
	<content type="html">On 11/24/09 14:09, André Lage wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've tried to run a bundle on Felix with no success. This bundle needs 
&lt;br&gt;&amp;gt; to tell Java some details about it. For instance, as a simple Java 
&lt;br&gt;&amp;gt; class, I run it like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -cp &amp;quot;$SAGA_CLASSPATH:$CLASSPATH&amp;quot; \
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Djava.endorsed.dirs=$JAVA_SAGA_LOCATION/lib/adaptors/GridsamAdaptor/endorsed:$JAVA_SAGA_LOCATION/lib/endorsed 
&lt;br&gt;&amp;gt; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -Dlog4j.configuration=&amp;quot;file:$JAVA_SAGA_LOCATION/log4j.properties&amp;quot; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -Dsaga.factory=&amp;quot;eu.xtreemos.xosaga.bootstrap.MetaFactory&amp;quot; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -Dsaga.location=&amp;quot;$JAVA_SAGA_LOCATION&amp;quot; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; MyClassIWannaRun
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In Felix, I don't know how to &amp;quot;put&amp;quot; this information. I've tried to 
&lt;br&gt;&amp;gt; add it in the config.properties file further packages but it didn't 
&lt;br&gt;&amp;gt; solve the issue. I've also done a bunch of bundles from all jars that 
&lt;br&gt;&amp;gt; my app/bundle needs by using the bnd tool 
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://www.aqute.biz/Code/Bnd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.aqute.biz/Code/Bnd&lt;/a&gt;).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So that's what *I think* it is happening. I have no classpath problems 
&lt;br&gt;&amp;gt; since the libs are now bundles that export their packages. However, I 
&lt;br&gt;&amp;gt; don't tell Felix about the configuration I need (java.endorsed.dirs, 
&lt;br&gt;&amp;gt; log4j.configuration, saga.factory and saga.location).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Finally, I had the &amp;quot;great&amp;quot; idea of running Felix as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;java \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -cp &amp;quot;$SAGA_CLASSPATH:$CLASSPATH&amp;quot; \
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Djava.endorsed.dirs=$JAVA_SAGA_LOCATION/lib/adaptors/GridsamAdaptor/endorsed:$JAVA_SAGA_LOCATION/lib/endorsed 
&lt;br&gt;&amp;gt; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -Dlog4j.configuration=&amp;quot;file:$JAVA_SAGA_LOCATION/log4j.properties&amp;quot; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -Dsaga.factory=&amp;quot;eu.xtreemos.xosaga.bootstrap.MetaFactory&amp;quot; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -Dsaga.location=&amp;quot;$JAVA_SAGA_LOCATION&amp;quot; \
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -jar bin/felix.jar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Even though Felix runs, I think it ignores those parameters -- 
&lt;br&gt;&amp;gt; actually Felix behaves the same with or without those parameters.
&lt;/div&gt;&lt;br&gt;If you use &amp;quot;-jar&amp;quot; then &amp;quot;-cp&amp;quot; is ignored. If you want to set the class 
&lt;br&gt;path, then you will need to do something like:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;java -cp felix.jar;stuff.jar org.apache.felix.main.Main
&lt;br&gt;&lt;br&gt;This should start the framework with the specified class path.
&lt;br&gt;&lt;br&gt;&amp;gt; Does anybody have any idea of how to tell Felix about those parameters?
&lt;br&gt;&lt;br&gt;Felix would never do anything with the &amp;quot;-D&amp;quot; arguments, since they are 
&lt;br&gt;used by the JVM to set system properties. The above command should set 
&lt;br&gt;them correctly, though, so your bundles should be able to see them using 
&lt;br&gt;System.getProperty().
&lt;br&gt;&lt;br&gt;You can also set system properties in conf/system.properties as a 
&lt;br&gt;convenience.
&lt;br&gt;&lt;br&gt;-&amp;gt; richard
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; André Lage.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502301&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502301&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502301&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502301&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Passing-information-%28java-parameters%29-to-Felix-tp26501617p26502301.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501617</id>
	<title>Passing information (java parameters) to Felix</title>
	<published>2009-11-24T11:09:52Z</published>
	<updated>2009-11-24T11:09:52Z</updated>
	<author>
		<name>André Lage</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;&lt;br&gt;I've tried to run a bundle on Felix with no success. This bundle needs 
&lt;br&gt;to tell Java some details about it. For instance, as a simple Java 
&lt;br&gt;class, I run it like this:
&lt;br&gt;&lt;br&gt;java \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-cp &amp;quot;$SAGA_CLASSPATH:$CLASSPATH&amp;quot; \
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-Djava.endorsed.dirs=$JAVA_SAGA_LOCATION/lib/adaptors/GridsamAdaptor/endorsed:$JAVA_SAGA_LOCATION/lib/endorsed 
&lt;br&gt;\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-Dlog4j.configuration=&amp;quot;file:$JAVA_SAGA_LOCATION/log4j.properties&amp;quot; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-Dsaga.factory=&amp;quot;eu.xtreemos.xosaga.bootstrap.MetaFactory&amp;quot; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-Dsaga.location=&amp;quot;$JAVA_SAGA_LOCATION&amp;quot; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;MyClassIWannaRun
&lt;br&gt;&lt;br&gt;In Felix, I don't know how to &amp;quot;put&amp;quot; this information. I've tried to add 
&lt;br&gt;it in the config.properties file further packages but it didn't solve 
&lt;br&gt;the issue. I've also done a bunch of bundles from all jars that my 
&lt;br&gt;app/bundle needs by using the bnd tool (&lt;a href=&quot;http://www.aqute.biz/Code/Bnd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.aqute.biz/Code/Bnd&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;So that's what *I think* it is happening. I have no classpath problems 
&lt;br&gt;since the libs are now bundles that export their packages. However, I 
&lt;br&gt;don't tell Felix about the configuration I need (java.endorsed.dirs, 
&lt;br&gt;log4j.configuration, saga.factory and saga.location).
&lt;br&gt;&lt;br&gt;Finally, I had the &amp;quot;great&amp;quot; idea of running Felix as follows:
&lt;br&gt;&lt;br&gt;&amp;nbsp; java \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-cp &amp;quot;$SAGA_CLASSPATH:$CLASSPATH&amp;quot; \
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-Djava.endorsed.dirs=$JAVA_SAGA_LOCATION/lib/adaptors/GridsamAdaptor/endorsed:$JAVA_SAGA_LOCATION/lib/endorsed 
&lt;br&gt;\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-Dlog4j.configuration=&amp;quot;file:$JAVA_SAGA_LOCATION/log4j.properties&amp;quot; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-Dsaga.factory=&amp;quot;eu.xtreemos.xosaga.bootstrap.MetaFactory&amp;quot; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-Dsaga.location=&amp;quot;$JAVA_SAGA_LOCATION&amp;quot; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-jar bin/felix.jar
&lt;br&gt;&lt;br&gt;Even though Felix runs, I think it ignores those parameters -- actually 
&lt;br&gt;Felix behaves the same with or without those parameters.
&lt;br&gt;&lt;br&gt;Does anybody have any idea of how to tell Felix about those parameters?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;&lt;br&gt;&lt;br&gt;André Lage.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501617&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501617&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Passing-information-%28java-parameters%29-to-Felix-tp26501617p26501617.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499641</id>
	<title>Re: Execution environment problems</title>
	<published>2009-11-24T09:04:03Z</published>
	<updated>2009-11-24T09:04:03Z</updated>
	<author>
		<name>Richard S. Hall</name>
	</author>
	<content type="html">I believe the issue is that you need to manually set in the 
&lt;br&gt;configuration properties which EE the Felix framework is running on, 
&lt;br&gt;since it doesn't do any sort of auto-detection.
&lt;br&gt;&lt;br&gt;-&amp;gt; richard
&lt;br&gt;&lt;br&gt;On 11/24/09 11:59, Nick Wilson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm doing some experiments with an embedded Felix container running
&lt;br&gt;&amp;gt; under different execution environments. Running under Java 5
&lt;br&gt;&amp;gt; (jdk1.5.0_12) I tried to install a bundle with a required execution
&lt;br&gt;&amp;gt; environment set to &amp;quot;JavaSE-1.6&amp;quot; in the hope that it would fail.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The following exception was logged:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; WARNING: org.osgi.framework.BundleException: Unable to cache bundle:
&lt;br&gt;&amp;gt; null
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.apache.felix.framework.Felix.installBundle(Felix.java:2321)
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.apache.felix.framework.Felix.installBundle(Felix.java:2277)
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.apache.felix.framework.BundleContextImpl.installBundle(BundleContext
&lt;br&gt;&amp;gt; Impl.java:130)
&lt;br&gt;&amp;gt; 	...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.apache.felix.framework.cache.BundleArchive.initialize(BundleArchive.
&lt;br&gt;&amp;gt; java:874)
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.apache.felix.framework.cache.BundleArchive.&amp;lt;init&amp;gt;(BundleArchive.java
&lt;br&gt;&amp;gt; :144)
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:176
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt; 	at
&lt;br&gt;&amp;gt; org.apache.felix.framework.Felix.installBundle(Felix.java:2317)
&lt;br&gt;&amp;gt; 	... 32 more
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, that exception was then eaten, installBundle didn't throw
&lt;br&gt;&amp;gt; anything, so my code then carried on running. The Bundle object is
&lt;br&gt;&amp;gt; returned and has the state Bundle.INSTALLED. It is also listed in a call
&lt;br&gt;&amp;gt; to felix.getBundleContext().getBundles(). Any attempt to use it rightly
&lt;br&gt;&amp;gt; results in:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java.lang.UnsupportedClassVersionError: Bad version number in .class
&lt;br&gt;&amp;gt; file
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It looks to me like the install is succeeding where it should realy
&lt;br&gt;&amp;gt; fail.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499641&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499641&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499641&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499641&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Execution-environment-problems-tp26499557p26499641.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499557</id>
	<title>Execution environment problems</title>
	<published>2009-11-24T08:59:48Z</published>
	<updated>2009-11-24T08:59:48Z</updated>
	<author>
		<name>Nick Wilson-9</name>
	</author>
	<content type="html">I'm doing some experiments with an embedded Felix container running
&lt;br&gt;under different execution environments. Running under Java 5
&lt;br&gt;(jdk1.5.0_12) I tried to install a bundle with a required execution
&lt;br&gt;environment set to &amp;quot;JavaSE-1.6&amp;quot; in the hope that it would fail.
&lt;br&gt;&lt;br&gt;The following exception was logged:
&lt;br&gt;&lt;br&gt;WARNING: org.osgi.framework.BundleException: Unable to cache bundle:
&lt;br&gt;null
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.framework.Felix.installBundle(Felix.java:2321)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.framework.Felix.installBundle(Felix.java:2277)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.framework.BundleContextImpl.installBundle(BundleContext
&lt;br&gt;Impl.java:130)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&lt;br&gt;Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.framework.cache.BundleArchive.initialize(BundleArchive.
&lt;br&gt;java:874)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.framework.cache.BundleArchive.&amp;lt;init&amp;gt;(BundleArchive.java
&lt;br&gt;:144)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:176
&lt;br&gt;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.felix.framework.Felix.installBundle(Felix.java:2317)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 32 more
&lt;br&gt;&lt;br&gt;However, that exception was then eaten, installBundle didn't throw
&lt;br&gt;anything, so my code then carried on running. The Bundle object is
&lt;br&gt;returned and has the state Bundle.INSTALLED. It is also listed in a call
&lt;br&gt;to felix.getBundleContext().getBundles(). Any attempt to use it rightly
&lt;br&gt;results in:
&lt;br&gt;&lt;br&gt;java.lang.UnsupportedClassVersionError: Bad version number in .class
&lt;br&gt;file
&lt;br&gt;&lt;br&gt;It looks to me like the install is succeeding where it should realy
&lt;br&gt;fail.
&lt;br&gt;&lt;br&gt;Nick
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499557&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499557&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Execution-environment-problems-tp26499557p26499557.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26498088</id>
	<title>RE: Resource Management</title>
	<published>2009-11-24T07:35:58Z</published>
	<updated>2009-11-24T07:35:58Z</updated>
	<author>
		<name>chihi asma</name>
	</author>
	<content type="html">Thanks a lot, that seems very interesting.
&lt;br&gt;&lt;br&gt;Best Regards,
&lt;br&gt;Asma Chihi
&lt;br&gt;&lt;br&gt;--- En date de : Mar 24.11.09, Kiev Gama &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498088&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kievgama@...&lt;/a&gt;&amp;gt; a écrit :
&lt;br&gt;&lt;br&gt;De: Kiev Gama &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498088&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kievgama@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Objet: RE: Resource Management
&lt;br&gt;À: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498088&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Date: Mardi 24 Novembre 2009, 15h55
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;You do not have such fine grained control with bundles very easily.
&lt;br&gt;This master's thesis may interest you:
&lt;br&gt;&amp;quot;Resource monitoring and visualization of OSGi-based software components&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Kiev Gama
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Tue, 24 Nov 2009 09:48:04 +0000
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498088&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chihi_asma@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Resource Management
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498088&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want to know if there is any bundle which implements a resource management mecanism such as CPU time usage, memory consumption??
&lt;br&gt;&amp;gt; Thanks in advance
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Asma
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;       
&lt;/div&gt;&amp;nbsp;                          
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
&lt;br&gt;&lt;a href=&quot;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-Management-tp26493093p26498088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26497332</id>
	<title>RE: Resource Management</title>
	<published>2009-11-24T06:55:55Z</published>
	<updated>2009-11-24T06:55:55Z</updated>
	<author>
		<name>Kiev Gama</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;You do not have such fine grained control with bundles very easily.
&lt;br&gt;This master's thesis may interest you:
&lt;br&gt;&amp;quot;Resource monitoring and visualization of OSGi-based software components&amp;quot;
&lt;br&gt;&lt;a href=&quot;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Kiev Gama
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Tue, 24 Nov 2009 09:48:04 +0000
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26497332&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chihi_asma@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Resource Management
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26497332&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want to know if there is any bundle which implements a resource management mecanism such as CPU time usage, memory consumption??
&lt;br&gt;&amp;gt; Thanks in advance
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Asma
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
&lt;br&gt;&lt;a href=&quot;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-Management-tp26493093p26497332.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493613</id>
	<title>Re: The source code of the base driver felix</title>
	<published>2009-11-24T02:30:41Z</published>
	<updated>2009-11-24T02:30:41Z</updated>
	<author>
		<name>Francesco Furfari</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;you can find the sources of the modifies Cybergarage stack (CyberDomo) 
&lt;br&gt;in maven central repository
&lt;br&gt;&lt;a href=&quot;http://repo1.maven.org/maven2/it/cnr/isti/domoware/cyberdomo/upnp-stack/1.8.0/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo1.maven.org/maven2/it/cnr/isti/domoware/cyberdomo/upnp-stack/1.8.0/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;francesco
&lt;br&gt;&lt;br&gt;abidi imen ha scritto:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have this code source but i can't compile it,
&lt;br&gt;&amp;gt; Please haw I can compile it ? and i want to know if the &amp;nbsp;source code of the
&lt;br&gt;&amp;gt; stack Cybergarage modified by felix is available.
&lt;br&gt;&amp;gt; Thanks in advance
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/24 abidi imen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abidi.imen85@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; yes I'm refering to the UPnP Base Driver, sorry
&lt;br&gt;&amp;gt;&amp;gt; Thanks a lot
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/11/24 peter lawrey &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.lawrey@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; All the source for Felix is documented here
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://felix.apache.org/site/source-code.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://felix.apache.org/site/source-code.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Are you referring to the UPnP Base Driver?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; From: abidi imen [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abidi.imen85@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent: 24 November 2009 08:19
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Subject: The source code of the base driver felix
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Please, I want to compile the Base Driver so I need his source code,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; is any one who can give me it?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493613&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-source-code-of-the-base-driver-felix-tp26492064p26493613.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493093</id>
	<title>Resource Management</title>
	<published>2009-11-24T01:48:04Z</published>
	<updated>2009-11-24T01:48:04Z</updated>
	<author>
		<name>chihi asma</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I want to know if there is any bundle which implements a resource management mecanism such as CPU time usage, memory consumption??
&lt;br&gt;Thanks in advance
&lt;br&gt;&lt;br&gt;Asma
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Resource-Management-tp26493093p26493093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492604</id>
	<title>Re: The source code of the base driver felix</title>
	<published>2009-11-24T01:06:57Z</published>
	<updated>2009-11-24T01:06:57Z</updated>
	<author>
		<name>abidi imen</name>
	</author>
	<content type="html">I have this code source but i can't compile it,
&lt;br&gt;Please haw I can compile it ? and i want to know if the &amp;nbsp;source code of the
&lt;br&gt;stack Cybergarage modified by felix is available.
&lt;br&gt;Thanks in advance
&lt;br&gt;&lt;br&gt;2009/11/24 abidi imen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492604&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abidi.imen85@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; yes I'm refering to the UPnP Base Driver, sorry
&lt;br&gt;&amp;gt; Thanks a lot
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/24 peter lawrey &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492604&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.lawrey@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; All the source for Felix is documented here
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://felix.apache.org/site/source-code.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://felix.apache.org/site/source-code.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Are you referring to the UPnP Base Driver?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: abidi imen [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492604&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abidi.imen85@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; Sent: 24 November 2009 08:19
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492604&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: The source code of the base driver felix
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt; Please, I want to compile the Base Driver so I need his source code,
&lt;br&gt;&amp;gt;&amp;gt; is any one who can give me it?
&lt;br&gt;&amp;gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492604&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492604&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-source-code-of-the-base-driver-felix-tp26492064p26492604.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492523</id>
	<title>Re: The source code of the base driver felix</title>
	<published>2009-11-24T00:58:52Z</published>
	<updated>2009-11-24T00:58:52Z</updated>
	<author>
		<name>abidi imen</name>
	</author>
	<content type="html">yes I'm refering to the UPnP Base Driver, sorry
&lt;br&gt;Thanks a lot
&lt;br&gt;&lt;br&gt;2009/11/24 peter lawrey &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492523&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.lawrey@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; All the source for Felix is documented here
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://felix.apache.org/site/source-code.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://felix.apache.org/site/source-code.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you referring to the UPnP Base Driver?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: abidi imen [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492523&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abidi.imen85@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: 24 November 2009 08:19
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492523&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: The source code of the base driver felix
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; Please, I want to compile the Base Driver so I need his source code,
&lt;br&gt;&amp;gt; is any one who can give me it?
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492523&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492523&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-source-code-of-the-base-driver-felix-tp26492064p26492523.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492272</id>
	<title>RE: The source code of the base driver felix</title>
	<published>2009-11-24T00:38:21Z</published>
	<updated>2009-11-24T00:38:21Z</updated>
	<author>
		<name>peter lawrey-2</name>
	</author>
	<content type="html">All the source for Felix is documented here 
&lt;br&gt;&lt;a href=&quot;http://felix.apache.org/site/source-code.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://felix.apache.org/site/source-code.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Are you referring to the UPnP Base Driver?
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: abidi imen [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492272&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abidi.imen85@...&lt;/a&gt;] 
&lt;br&gt;Sent: 24 November 2009 08:19
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492272&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Subject: The source code of the base driver felix
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;Please, I want to compile the Base Driver so I need his source code,
&lt;br&gt;is any one who can give me it?
&lt;br&gt;Thanks in advance.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492272&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492272&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-source-code-of-the-base-driver-felix-tp26492064p26492272.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492064</id>
	<title>The source code of the base driver felix</title>
	<published>2009-11-24T00:18:51Z</published>
	<updated>2009-11-24T00:18:51Z</updated>
	<author>
		<name>abidi imen</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;Please, I want to compile the Base Driver so I need his source code,
&lt;br&gt;is any one who can give me it?
&lt;br&gt;Thanks in advance.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-source-code-of-the-base-driver-felix-tp26492064p26492064.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488375</id>
	<title>RE: fileinstall</title>
	<published>2009-11-23T16:02:17Z</published>
	<updated>2009-11-23T16:02:17Z</updated>
	<author>
		<name>joels@navsys.com</name>
	</author>
	<content type="html">Let me clarify... the fileinstall instance is removed, but not the bundles / instances that it was monitoring.
&lt;br&gt;&lt;br&gt;This may simply be something I would have to add as an option if I wanted the ability to install/deploy and uninstall/undeploy groups of bundles together with one cfg file monitored by another fileinstall instance.
&lt;br&gt;&lt;br&gt;- Joel
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Joel Schuster [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488375&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joels@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, November 23, 2009 4:45 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488375&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Subject: fileinstall
&lt;br&gt;&lt;br&gt;I have a fileinstall cfg file that points to another directory with more file install cfg files:
&lt;br&gt;&lt;br&gt;org.apache.felix.fileinstall-config.cfg
&lt;br&gt;&lt;br&gt;felix.fileinstall.poll=2000
&lt;br&gt;felix.fileinstall.dir=config
&lt;br&gt;felix.fileinstall.debug=1
&lt;br&gt;felix.fileinstall.filter=.*\\.cfg
&lt;br&gt;felix.fileinstall.bundles.new.start=true
&lt;br&gt;&lt;br&gt;like this one:
&lt;br&gt;&lt;br&gt;org.apache.felix.fileinstall-dosgi.cfg
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; felix.fileinstall.poll=2000
&lt;br&gt;felix.fileinstall.dir=lib/dosgi
&lt;br&gt;felix.fileinstall.debug=1
&lt;br&gt;felix.fileinstall.filter=.*\\.jar
&lt;br&gt;felix.fileinstall.bundles.new.start=true
&lt;br&gt;&lt;br&gt;&lt;br&gt;which works great on startup. The config directory is monitored and the cfg files loaded and used, in this case dosgi is started. However, the when the cfg files are deleted from the monitored directory the bundles are not un-deployed.
&lt;br&gt;&lt;br&gt;Is this a known bug with file installer?
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488375&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488375&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/fileinstall-tp26488219p26488375.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488219</id>
	<title>fileinstall</title>
	<published>2009-11-23T15:44:48Z</published>
	<updated>2009-11-23T15:44:48Z</updated>
	<author>
		<name>joels@navsys.com</name>
	</author>
	<content type="html">I have a fileinstall cfg file that points to another directory with more file install cfg files:
&lt;br&gt;&lt;br&gt;org.apache.felix.fileinstall-config.cfg
&lt;br&gt;&lt;br&gt;felix.fileinstall.poll=2000
&lt;br&gt;felix.fileinstall.dir=config
&lt;br&gt;felix.fileinstall.debug=1
&lt;br&gt;felix.fileinstall.filter=.*\\.cfg
&lt;br&gt;felix.fileinstall.bundles.new.start=true
&lt;br&gt;&lt;br&gt;like this one:
&lt;br&gt;&lt;br&gt;org.apache.felix.fileinstall-dosgi.cfg
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; felix.fileinstall.poll=2000
&lt;br&gt;felix.fileinstall.dir=lib/dosgi
&lt;br&gt;felix.fileinstall.debug=1
&lt;br&gt;felix.fileinstall.filter=.*\\.jar
&lt;br&gt;felix.fileinstall.bundles.new.start=true
&lt;br&gt;&lt;br&gt;&lt;br&gt;which works great on startup. The config directory is monitored and the cfg files loaded and used, in this case dosgi is started. However, the when the cfg files are deleted from the monitored directory the bundles are not un-deployed.
&lt;br&gt;&lt;br&gt;Is this a known bug with file installer?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/fileinstall-tp26488219p26488219.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26477344</id>
	<title>Re: Integrate log4j</title>
	<published>2009-11-23T04:38:22Z</published>
	<updated>2009-11-23T04:38:22Z</updated>
	<author>
		<name>simol</name>
	</author>
	<content type="html">1) On the ps command I see all bundles are installed and active:
&lt;br&gt;-&amp;gt; ps
&lt;br&gt;START LEVEL 1
&lt;br&gt;   ID   State         Level  Name
&lt;br&gt;[   0] [Active     ] [    0] System Bundle (2.0.1)
&lt;br&gt;[   1] [Resolved   ] [    1] HelloWorld Plug-in (1.0.0)
&lt;br&gt;[   2] [Active     ] [    1] Apache Commons Logging Plug-in (1.1.1.v200904062255)
&lt;br&gt;[   3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.2)
&lt;br&gt;[   4] [Active     ] [    1] Apache Felix Shell Service (1.4.1)
&lt;br&gt;[   5] [Active     ] [    1] Apache Felix Shell TUI (1.4.1)
&lt;br&gt;[   6] [Active     ] [    1] Apache Jakarta log4j Plug-in (1.2.15.v200910021404)
&lt;br&gt;&lt;br&gt;&lt;br&gt;2) I have downloaded the log4j bundle from Orbit Download 
&lt;br&gt;3) how can I check is my log4j bundle exports the classes I need?
&lt;br&gt;In the jar archive I see that all the classes are there...
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;Laura C.
&lt;br&gt;&lt;br&gt;--- On Thu, 11/19/09, Filippo Diotalevi &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477344&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;filippo.diotalevi@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;On Thu, Nov 19, 2009 at 2:33 PM, Cobarzan Laura &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477344&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;clsimona@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a simple Hello World project that uses the log4j library. What is strange is that the log4j bundle is installed and started without any problems, but it through errors saying that it cannot find the needed class (from log4j) library.
&lt;br&gt;&amp;gt; Did anyone faced already this problem?
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;  it's difficult to say what's going wrong in your case, since log4j
&lt;br&gt;works well in any OSGi environment.
&lt;br&gt;&lt;br&gt;A few questions to get started:
&lt;br&gt;1) can you open the console and type &amp;quot;ps&amp;quot; ? The command displays the
&lt;br&gt;list of installed bundles. Is the log4j bundle installed and active?
&lt;br&gt;2) where did you get the log4j bundle? Is it really an OSGi bundle or
&lt;br&gt;just the normal Java library?
&lt;br&gt;3) can you check with the console if your log4j bundle export the
&lt;br&gt;&amp;quot;org/apache/log4j&amp;quot; package?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Filippo Diotalevi
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477344&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477344&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Integrate-log4j-tp26426301p26477344.html" />
</entry>

</feed>
