You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Heiko Seeberger <he...@googlemail.com> on 2009/02/06 09:09:43 UTC

OBR not deploying my Java 5 bundle

Hi,

I am using - well, trying to use OBR - but I end up with the following  
exception:

Unsatisfied requirement(s):
---------------------------
    (|(ee=J2SE-1.5))

Felix is running on Java 6 and I am using Felix 1.4.1.

Any ideas?

Thanx
Heiko


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: OBR not deploying my Java 5 bundle

Posted by "Richard S. Hall" <he...@ungoverned.org>.
The issue is, OBR doesn't currently support capabilities for EE, but it 
cannot ignore them. If a bundle specifies a requirement on some 
capability, then OBR must match it (unless the requirement is optional).

Regardless, I think there is a bug opened of this issue. Ultimately, OBR 
needs some way to set the current EE and create a capability for it.

-> richard


Heiko Seeberger wrote:
> Richard,
>
> I would not expect it to handle it (e.g. Felix running on 1.5 and 
> bundle requiring 1.6 => Exception).
> But I would expect OBR to ignore it then. Sadly currently I simply 
> cannot deploy any bundles written for J2SE-1.5.
>
> Heiko
>
> On 06.02.2009, at 15:30, Richard S. Hall wrote:
>
>> I don't believe that OBR currently handles execution environment.
>>
>> -> richard
>>
>> Heiko Seeberger wrote:
>>> Felix,
>>>
>>>> Try setting the "org.osgi.framework.executionenvironment" framework
>>>> property such that it includes J2SE 1.5.
>>>
>>> Thanx, but that did not help :-(
>>>
>>>> For example in Apache Sling, we manage this property by setting it 
>>>> such,
>>>> that it includes entries for all platforms starting with 1.2. For
>>>> example in a Java 6 platform, Sling sets
>>>>
>>>>  org.osgi.framework.executionenvironment=J2SE-1.2,J2SE-1.3,\
>>>>     J2SE-1.4,J2SE-1.5,J2SE-1.6
>>>
>>> By the way: I think it should be JavaSE-1.6, not J2SE-1.6
>>>
>>> Heiko
>>>
>>> -- 
>>>
>>>> Hope this helps.
>>>>
>>>> Regards
>>>> Felix
>>>>
>>>> Heiko Seeberger schrieb:
>>>>> Hi,
>>>>>
>>>>> I am using - well, trying to use OBR - but I end up with the 
>>>>> following
>>>>> exception:
>>>>>
>>>>> Unsatisfied requirement(s):
>>>>> ---------------------------
>>>>>  (|(ee=J2SE-1.5))
>>>>>
>>>>> Felix is running on Java 6 and I am using Felix 1.4.1.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Thanx
>>>>> Heiko
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: OBR not deploying my Java 5 bundle

Posted by Heiko Seeberger <he...@googlemail.com>.
Richard,

I would not expect it to handle it (e.g. Felix running on 1.5 and  
bundle requiring 1.6 => Exception).
But I would expect OBR to ignore it then. Sadly currently I simply  
cannot deploy any bundles written for J2SE-1.5.

Heiko

On 06.02.2009, at 15:30, Richard S. Hall wrote:

> I don't believe that OBR currently handles execution environment.
>
> -> richard
>
> Heiko Seeberger wrote:
>> Felix,
>>
>>> Try setting the "org.osgi.framework.executionenvironment" framework
>>> property such that it includes J2SE 1.5.
>>
>> Thanx, but that did not help :-(
>>
>>> For example in Apache Sling, we manage this property by setting it  
>>> such,
>>> that it includes entries for all platforms starting with 1.2. For
>>> example in a Java 6 platform, Sling sets
>>>
>>>  org.osgi.framework.executionenvironment=J2SE-1.2,J2SE-1.3,\
>>>     J2SE-1.4,J2SE-1.5,J2SE-1.6
>>
>> By the way: I think it should be JavaSE-1.6, not J2SE-1.6
>>
>> Heiko
>>
>> -- 
>>
>>> Hope this helps.
>>>
>>> Regards
>>> Felix
>>>
>>> Heiko Seeberger schrieb:
>>>> Hi,
>>>>
>>>> I am using - well, trying to use OBR - but I end up with the  
>>>> following
>>>> exception:
>>>>
>>>> Unsatisfied requirement(s):
>>>> ---------------------------
>>>>  (|(ee=J2SE-1.5))
>>>>
>>>> Felix is running on Java 6 and I am using Felix 1.4.1.
>>>>
>>>> Any ideas?
>>>>
>>>> Thanx
>>>> Heiko
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: OBR not deploying my Java 5 bundle

Posted by "Richard S. Hall" <he...@ungoverned.org>.
I don't believe that OBR currently handles execution environment.

-> richard

Heiko Seeberger wrote:
> Felix,
>
>> Try setting the "org.osgi.framework.executionenvironment" framework
>> property such that it includes J2SE 1.5.
>
> Thanx, but that did not help :-(
>
>> For example in Apache Sling, we manage this property by setting it such,
>> that it includes entries for all platforms starting with 1.2. For
>> example in a Java 6 platform, Sling sets
>>
>>   org.osgi.framework.executionenvironment=J2SE-1.2,J2SE-1.3,\
>>      J2SE-1.4,J2SE-1.5,J2SE-1.6
>
> By the way: I think it should be JavaSE-1.6, not J2SE-1.6
>
> Heiko
>
> -- 
>
>> Hope this helps.
>>
>> Regards
>> Felix
>>
>> Heiko Seeberger schrieb:
>>> Hi,
>>>
>>> I am using - well, trying to use OBR - but I end up with the following
>>> exception:
>>>
>>> Unsatisfied requirement(s):
>>> ---------------------------
>>>   (|(ee=J2SE-1.5))
>>>
>>> Felix is running on Java 6 and I am using Felix 1.4.1.
>>>
>>> Any ideas?
>>>
>>> Thanx
>>> Heiko
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: OBR not deploying my Java 5 bundle

Posted by Heiko Seeberger <he...@googlemail.com>.
Felix,

> Try setting the "org.osgi.framework.executionenvironment" framework
> property such that it includes J2SE 1.5.

Thanx, but that did not help :-(

> For example in Apache Sling, we manage this property by setting it  
> such,
> that it includes entries for all platforms starting with 1.2. For
> example in a Java 6 platform, Sling sets
>
>   org.osgi.framework.executionenvironment=J2SE-1.2,J2SE-1.3,\
>      J2SE-1.4,J2SE-1.5,J2SE-1.6

By the way: I think it should be JavaSE-1.6, not J2SE-1.6

Heiko

--

> Hope this helps.
>
> Regards
> Felix
>
> Heiko Seeberger schrieb:
>> Hi,
>>
>> I am using - well, trying to use OBR - but I end up with the  
>> following
>> exception:
>>
>> Unsatisfied requirement(s):
>> ---------------------------
>>   (|(ee=J2SE-1.5))
>>
>> Felix is running on Java 6 and I am using Felix 1.4.1.
>>
>> Any ideas?
>>
>> Thanx
>> Heiko
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: OBR not deploying my Java 5 bundle

Posted by Felix Meschberger <fm...@gmail.com>.
Try setting the "org.osgi.framework.executionenvironment" framework
property such that it includes J2SE 1.5.

For example in Apache Sling, we manage this property by setting it such,
that it includes entries for all platforms starting with 1.2. For
example in a Java 6 platform, Sling sets

   org.osgi.framework.executionenvironment=J2SE-1.2,J2SE-1.3,\
      J2SE-1.4,J2SE-1.5,J2SE-1.6

Hope this helps.

Regards
Felix

Heiko Seeberger schrieb:
> Hi,
> 
> I am using - well, trying to use OBR - but I end up with the following
> exception:
> 
> Unsatisfied requirement(s):
> ---------------------------
>    (|(ee=J2SE-1.5))
> 
> Felix is running on Java 6 and I am using Felix 1.4.1.
> 
> Any ideas?
> 
> Thanx
> Heiko
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org