You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-user@db.apache.org by Raymond Lai <ai...@gmail.com> on 2008/07/24 01:37:56 UTC

JDO2 API's manifest file problem with Apache Felix

Hi there,

As per discussion on

http://www.nabble.com/Is-it-a-bug--Felix-cannot-parse-Bundle-ManifestVersion-having-trailing-spaces-td18613664.html#a18617865

While they had committed a fix to Felix, the people there suggests it's also
the problem of the JDO2 API's jar file - more specifially, is this line:

Bundle-ManifestVersion: 2 

The trailing space after 2 was causing the problem that made JDO2 API cannot
be started on Apache Felix as an OSGi bundle.

Would the people working on the JDO spec fix this line?

TIA,
Raymond
-- 
View this message in context: http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Felix-tp18622812p18622812.html
Sent from the JDO - User mailing list archive at Nabble.com.


Re: JDO2 API's manifest file problem with Apache Felix

Posted by Chris Beams <cb...@gmail.com>.
I've added an issue to include 2.1, thanks Raymond.  Perhaps the JDO  
team will fix the issue before we get it done on our end, but either  
way it will be good to have it there.

Feel free to add yourself as a watcher to this issue:
https://issuetracker.springsource.com/browse/BRITS-119

- Chris

On Jul 23, 2008, at 8:00 PM, Raymond Lai wrote:

>
> But unfortunately, I'm also using JDO 2.1 annotations which is  
> available only
> from JDO 2.1 API. So... no go. :-(
>
> Thanks for your kind help anyway,
> Raymond
>
>
> cbeams wrote:
>>
>> Raymond,
>>
>> In the meantime, consider using the bundle we've packaged within the
>> SpringSource Enterprise Bundle Repository.  That manifest should be  
>> OK.
>>
>> http://springsource.com/repository/app/bundle/version/detail?name=com.springsource.javax.jdo&version=2.0.0
>>
>> - Chris
>>
>> Chris Beams
>> Sr. Consultant, SpringSource
>> http://springsource.com
>>
>>
>> On Jul 23, 2008, at 4:37 PM, Raymond Lai wrote:
>>
>>>
>>> Hi there,
>>>
>>> As per discussion on
>>>
>>> http://www.nabble.com/Is-it-a-bug--Felix-cannot-parse-Bundle-ManifestVersion-having-trailing-spaces-td18613664.html#a18617865
>>>
>>> While they had committed a fix to Felix, the people there suggests
>>> it's also
>>> the problem of the JDO2 API's jar file - more specifially, is this
>>> line:
>>>
>>> Bundle-ManifestVersion: 2
>>>
>>> The trailing space after 2 was causing the problem that made JDO2
>>> API cannot
>>> be started on Apache Felix as an OSGi bundle.
>>>
>>> Would the people working on the JDO spec fix this line?
>>>
>>> TIA,
>>> Raymond
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Felix-tp18622812p18622812.html
>>> Sent from the JDO - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Felix-tp18622812p18624618.html
> Sent from the JDO - User mailing list archive at Nabble.com.
>


Re: JDO2 API's manifest file problem with Apache Felix

Posted by Raymond Lai <ai...@gmail.com>.
But unfortunately, I'm also using JDO 2.1 annotations which is available only
from JDO 2.1 API. So... no go. :-(

Thanks for your kind help anyway,
Raymond


cbeams wrote:
> 
> Raymond,
> 
> In the meantime, consider using the bundle we've packaged within the  
> SpringSource Enterprise Bundle Repository.  That manifest should be OK.
> 
> http://springsource.com/repository/app/bundle/version/detail?name=com.springsource.javax.jdo&version=2.0.0
> 
> - Chris
> 
> Chris Beams
> Sr. Consultant, SpringSource
> http://springsource.com
> 
> 
> On Jul 23, 2008, at 4:37 PM, Raymond Lai wrote:
> 
>>
>> Hi there,
>>
>> As per discussion on
>>
>> http://www.nabble.com/Is-it-a-bug--Felix-cannot-parse-Bundle-ManifestVersion-having-trailing-spaces-td18613664.html#a18617865
>>
>> While they had committed a fix to Felix, the people there suggests  
>> it's also
>> the problem of the JDO2 API's jar file - more specifially, is this  
>> line:
>>
>> Bundle-ManifestVersion: 2
>>
>> The trailing space after 2 was causing the problem that made JDO2  
>> API cannot
>> be started on Apache Felix as an OSGi bundle.
>>
>> Would the people working on the JDO spec fix this line?
>>
>> TIA,
>> Raymond
>> -- 
>> View this message in context:
>> http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Felix-tp18622812p18622812.html
>> Sent from the JDO - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Felix-tp18622812p18624618.html
Sent from the JDO - User mailing list archive at Nabble.com.


Re: JDO2 API's manifest file problem with Apache Felix

Posted by Chris Beams <cb...@gmail.com>.
Raymond,

In the meantime, consider using the bundle we've packaged within the  
SpringSource Enterprise Bundle Repository.  That manifest should be OK.

http://springsource.com/repository/app/bundle/version/detail?name=com.springsource.javax.jdo&version=2.0.0

- Chris

Chris Beams
Sr. Consultant, SpringSource
http://springsource.com


On Jul 23, 2008, at 4:37 PM, Raymond Lai wrote:

>
> Hi there,
>
> As per discussion on
>
> http://www.nabble.com/Is-it-a-bug--Felix-cannot-parse-Bundle-ManifestVersion-having-trailing-spaces-td18613664.html#a18617865
>
> While they had committed a fix to Felix, the people there suggests  
> it's also
> the problem of the JDO2 API's jar file - more specifially, is this  
> line:
>
> Bundle-ManifestVersion: 2
>
> The trailing space after 2 was causing the problem that made JDO2  
> API cannot
> be started on Apache Felix as an OSGi bundle.
>
> Would the people working on the JDO spec fix this line?
>
> TIA,
> Raymond
> -- 
> View this message in context: http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Felix-tp18622812p18622812.html
> Sent from the JDO - User mailing list archive at Nabble.com.
>


RE: JDO2 API's manifest file problem with Apache Felix

Posted by Leschke Scott-NVCX76 <sc...@motorola.com>.
 
I noticed that the jdo2 api jar isn't recognized in Eclipse v3.4
(Ganymeede) while it is in v3.3. My guess is that it's the same issue.

Scott

-----Original Message-----
From: Raymond Lai [mailto:airwave209gt@gmail.com] 
Sent: Wednesday, July 23, 2008 6:38 PM
To: jdo-user@db.apache.org
Subject: JDO2 API's manifest file problem with Apache Felix


Hi there,

As per discussion on

http://www.nabble.com/Is-it-a-bug--Felix-cannot-parse-Bundle-ManifestVer
sion-having-trailing-spaces-td18613664.html#a18617865

While they had committed a fix to Felix, the people there suggests it's
also the problem of the JDO2 API's jar file - more specifially, is this
line:

Bundle-ManifestVersion: 2 

The trailing space after 2 was causing the problem that made JDO2 API
cannot be started on Apache Felix as an OSGi bundle.

Would the people working on the JDO spec fix this line?

TIA,
Raymond
--
View this message in context:
http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Fel
ix-tp18622812p18622812.html
Sent from the JDO - User mailing list archive at Nabble.com.


Re: JDO2 API's manifest file problem with Apache Felix

Posted by Michelle Caisse <Mi...@Sun.COM>.
Yes, I agree that it should be removed.

-- Michelle

Andy Jefferson wrote:

>To Craig et al,
>
>why does jdo2.jar include the file "API2.MF" ? Yes this file should be put 
>into the jar as the MANIFEST.MF but *not* also included in its own right. 
>There's a block in project.xml that includes it - I suggest that needs 
>removing.
>
>
>  
>

Re: JDO2 API's manifest file problem with Apache Felix

Posted by Michelle Caisse <Mi...@Sun.COM>.
Yes, I agree that it should be removed.

-- Michelle

Andy Jefferson wrote:

>To Craig et al,
>
>why does jdo2.jar include the file "API2.MF" ? Yes this file should be put 
>into the jar as the MANIFEST.MF but *not* also included in its own right. 
>There's a block in project.xml that includes it - I suggest that needs 
>removing.
>
>
>  
>

Re: JDO2 API's manifest file problem with Apache Felix

Posted by Andy Jefferson <an...@datanucleus.org>.
To Craig et al,

why does jdo2.jar include the file "API2.MF" ? Yes this file should be put 
into the jar as the MANIFEST.MF but *not* also included in its own right. 
There's a block in project.xml that includes it - I suggest that needs 
removing.


-- 
Andy  (DataNucleus - http://www.datanucleus.org)

Re: JDO2 API's manifest file problem with Apache Felix

Posted by Andy Jefferson <an...@datanucleus.org>.
> The trailing space after 2 was causing the problem that made JDO2 API
> cannot be started on Apache Felix as an OSGi bundle.
>
> Would the people working on the JDO spec fix this line?

The code in SVN no longer has a trailing space for the MANIFEST, nor for the 
other lines. Someone must have been using a Windows editor or something ;-)
This will affect JDO2.2 onwards.


Regards
-- 
Andy  (DataNucleus - http://www.datanucleus.org)

Re: JDO2 API's manifest file problem with Apache Felix

Posted by Craig L Russell <Cr...@Sun.COM>.
We can get a fix out pretty quickly.

To be able to track the issue can you file a JDO JIRA? http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10630

Thanks,

Craig

On Jul 23, 2008, at 4:37 PM, Raymond Lai wrote:

>
> Hi there,
>
> As per discussion on
>
> http://www.nabble.com/Is-it-a-bug--Felix-cannot-parse-Bundle-ManifestVersion-having-trailing-spaces-td18613664.html#a18617865
>
> While they had committed a fix to Felix, the people there suggests  
> it's also
> the problem of the JDO2 API's jar file - more specifially, is this  
> line:
>
> Bundle-ManifestVersion: 2
>
> The trailing space after 2 was causing the problem that made JDO2  
> API cannot
> be started on Apache Felix as an OSGi bundle.
>
> Would the people working on the JDO spec fix this line?
>
> TIA,
> Raymond
> -- 
> View this message in context: http://www.nabble.com/JDO2-API%27s-manifest-file-problem-with-Apache-Felix-tp18622812p18622812.html
> Sent from the JDO - User mailing list archive at Nabble.com.
>

Craig L Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!