You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Sergey Beryozkin <sb...@progress.com> on 2009/09/29 16:52:00 UTC

Re: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup

I can't open the JIRA due to a timeout.
Yes, I've seen Josh reporting a similar issue and I did verify I could start the cleanly build DOSGi distribution in Equinox 3.5.
I'm just thinking, can it be an ordering issue ? In the bundles list you posted a JAXRS bundle is listed after a CXF DSW bundle.
That probably should not make a difference but apparently

>> java version "1.6.0_15"
>> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
>> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)

causes some early resolution ?

Can you please uninstall CXF-DSW bundle and then install it again, so that it definitely has JAXRS classes available to it ?

Another possibility is that some of the system bundles have say Jersey embedded ?

thanks, Sergey

----- Original Message ----- 
From: "Aaron Zeckoski (JIRA)" <ji...@apache.org>
To: <is...@cxf.apache.org>
Sent: Tuesday, September 29, 2009 3:39 PM
Subject: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup


>
>     [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Aaron Zeckoski updated CXF-2452:
> --------------------------------
>
>    Description:
> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
> The exception and ps info from felix will be added in comments
>
> Here is the log of the attempt to startup and the exception at the end:
> http://pastebin.com/m4da7142
>
> Some tracing shows that this seems to fail when felix tries to load the org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean class and is 
> unable to load the javax.ws.rs.WebApplicationException class. The constructor called here is never actually reached.
> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
>
>
>  was:
> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
> The exception and ps info from felix will be added in comments
>
> Here is the log of the attempt to startup and the exception at the end:
> http://pastebin.com/m4da7142
>
>
>> DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup
>> -----------------------------------------------------------------------
>>
>>                 Key: CXF-2452
>>                 URL: https://issues.apache.org/jira/browse/CXF-2452
>>             Project: CXF
>>          Issue Type: Bug
>>          Components: Distributed-OSGi
>>    Affects Versions: dOSGi-1.1
>>         Environment: adz20:~ azeckoski$ java -version
>> java version "1.6.0_15"
>> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
>> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
>>            Reporter: Aaron Zeckoski
>>            Priority: Critical
>>             Fix For: dOSGi-1.1
>>
>>
>> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
>> The exception and ps info from felix will be added in comments
>> Here is the log of the attempt to startup and the exception at the end:
>> http://pastebin.com/m4da7142
>> Some tracing shows that this seems to fail when felix tries to load the org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean class and 
>> is unable to load the javax.ws.rs.WebApplicationException class. The constructor called here is never actually reached.
>> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 


Re: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup

Posted by Sergey Beryozkin <sb...@progress.com>.
As it happens, the current jsr311-api 1.1 specs is missing a factory finder so the patch will be applied to it in the next few days, 
and I've sent Aaron a locally build jar...
Aaron, Josh - thanks for experimenting with the latest and greatest bundles :-) and helping to spot the issue with the specs

cheers, Sergey

----- Original Message ----- 
From: "Sergey Beryozkin" <sb...@progress.com>
To: <de...@cxf.apache.org>
Sent: Tuesday, September 29, 2009 3:59 PM
Subject: Re: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup


> Actually, can you please reinstall
>
> [  27] [Active     ] [    4] Apache CXF Bundle Jar (2.3.0.SNAPSHOT)
>
> and
>
> [  29] [Resolved   ] [    4] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
>
> Oh...Apache CXF Bundle Jar (2.3.0.SNAPSHOT). It actually depends on jaxrs-api 1.1 now. I'm presuming you've replaced CXF-2.2.3 
> with the latest one. So then please uninstall
>
> [  45] [Active     ] [    2] Apache ServiceMix Specs :: JSR311 API 1.0 (1.3.0)
>
> and install
>
> http://svn.apache.org/repos/asf/servicemix/smx4/specs/trunk/jsr311-api-1.1/
>
> it should make a difference.
>
>
> cheers, Sergey
>
> ----- Original Message ----- 
> From: "Sergey Beryozkin" <sb...@progress.com>
> To: <de...@cxf.apache.org>
> Sent: Tuesday, September 29, 2009 3:52 PM
> Subject: Re: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup
>
>
>>I can't open the JIRA due to a timeout.
>> Yes, I've seen Josh reporting a similar issue and I did verify I could start the cleanly build DOSGi distribution in Equinox 3.5.
>> I'm just thinking, can it be an ordering issue ? In the bundles list you posted a JAXRS bundle is listed after a CXF DSW bundle.
>> That probably should not make a difference but apparently
>>
>>>> java version "1.6.0_15"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
>>
>> causes some early resolution ?
>>
>> Can you please uninstall CXF-DSW bundle and then install it again, so that it definitely has JAXRS classes available to it ?
>>
>> Another possibility is that some of the system bundles have say Jersey embedded ?
>>
>> thanks, Sergey
>>
>> ----- Original Message ----- 
>> From: "Aaron Zeckoski (JIRA)" <ji...@apache.org>
>> To: <is...@cxf.apache.org>
>> Sent: Tuesday, September 29, 2009 3:39 PM
>> Subject: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup
>>
>>
>>>
>>>     [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>>
>>> Aaron Zeckoski updated CXF-2452:
>>> --------------------------------
>>>
>>>    Description:
>>> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
>>> The exception and ps info from felix will be added in comments
>>>
>>> Here is the log of the attempt to startup and the exception at the end:
>>> http://pastebin.com/m4da7142
>>>
>>> Some tracing shows that this seems to fail when felix tries to load the org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean class and 
>>> is unable to load the javax.ws.rs.WebApplicationException class. The constructor called here is never actually reached.
>>> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
>>>
>>>
>>>  was:
>>> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
>>> The exception and ps info from felix will be added in comments
>>>
>>> Here is the log of the attempt to startup and the exception at the end:
>>> http://pastebin.com/m4da7142
>>>
>>>
>>>> DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup
>>>> -----------------------------------------------------------------------
>>>>
>>>>                 Key: CXF-2452
>>>>                 URL: https://issues.apache.org/jira/browse/CXF-2452
>>>>             Project: CXF
>>>>          Issue Type: Bug
>>>>          Components: Distributed-OSGi
>>>>    Affects Versions: dOSGi-1.1
>>>>         Environment: adz20:~ azeckoski$ java -version
>>>> java version "1.6.0_15"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
>>>>            Reporter: Aaron Zeckoski
>>>>            Priority: Critical
>>>>             Fix For: dOSGi-1.1
>>>>
>>>>
>>>> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
>>>> The exception and ps info from felix will be added in comments
>>>> Here is the log of the attempt to startup and the exception at the end:
>>>> http://pastebin.com/m4da7142
>>>> Some tracing shows that this seems to fail when felix tries to load the org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean class and 
>>>> is unable to load the javax.ws.rs.WebApplicationException class. The constructor called here is never actually reached.
>>>> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
>>>
>>> -- 
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>
> 


Re: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup

Posted by Sergey Beryozkin <sb...@progress.com>.
Actually, can you please reinstall

[  27] [Active     ] [    4] Apache CXF Bundle Jar (2.3.0.SNAPSHOT)

and

[  29] [Resolved   ] [    4] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)

Oh...Apache CXF Bundle Jar (2.3.0.SNAPSHOT). It actually depends on jaxrs-api 1.1 now. I'm presuming you've replaced CXF-2.2.3 with 
the latest one. So then please uninstall

[  45] [Active     ] [    2] Apache ServiceMix Specs :: JSR311 API 1.0 (1.3.0)

and install

http://svn.apache.org/repos/asf/servicemix/smx4/specs/trunk/jsr311-api-1.1/

it should make a difference.


cheers, Sergey

----- Original Message ----- 
From: "Sergey Beryozkin" <sb...@progress.com>
To: <de...@cxf.apache.org>
Sent: Tuesday, September 29, 2009 3:52 PM
Subject: Re: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup


>I can't open the JIRA due to a timeout.
> Yes, I've seen Josh reporting a similar issue and I did verify I could start the cleanly build DOSGi distribution in Equinox 3.5.
> I'm just thinking, can it be an ordering issue ? In the bundles list you posted a JAXRS bundle is listed after a CXF DSW bundle.
> That probably should not make a difference but apparently
>
>>> java version "1.6.0_15"
>>> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
>>> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
>
> causes some early resolution ?
>
> Can you please uninstall CXF-DSW bundle and then install it again, so that it definitely has JAXRS classes available to it ?
>
> Another possibility is that some of the system bundles have say Jersey embedded ?
>
> thanks, Sergey
>
> ----- Original Message ----- 
> From: "Aaron Zeckoski (JIRA)" <ji...@apache.org>
> To: <is...@cxf.apache.org>
> Sent: Tuesday, September 29, 2009 3:39 PM
> Subject: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup
>
>
>>
>>     [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Aaron Zeckoski updated CXF-2452:
>> --------------------------------
>>
>>    Description:
>> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
>> The exception and ps info from felix will be added in comments
>>
>> Here is the log of the attempt to startup and the exception at the end:
>> http://pastebin.com/m4da7142
>>
>> Some tracing shows that this seems to fail when felix tries to load the org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean class and 
>> is unable to load the javax.ws.rs.WebApplicationException class. The constructor called here is never actually reached.
>> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
>>
>>
>>  was:
>> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
>> The exception and ps info from felix will be added in comments
>>
>> Here is the log of the attempt to startup and the exception at the end:
>> http://pastebin.com/m4da7142
>>
>>
>>> DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup
>>> -----------------------------------------------------------------------
>>>
>>>                 Key: CXF-2452
>>>                 URL: https://issues.apache.org/jira/browse/CXF-2452
>>>             Project: CXF
>>>          Issue Type: Bug
>>>          Components: Distributed-OSGi
>>>    Affects Versions: dOSGi-1.1
>>>         Environment: adz20:~ azeckoski$ java -version
>>> java version "1.6.0_15"
>>> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
>>> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
>>>            Reporter: Aaron Zeckoski
>>>            Priority: Critical
>>>             Fix For: dOSGi-1.1
>>>
>>>
>>> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
>>> The exception and ps info from felix will be added in comments
>>> Here is the log of the attempt to startup and the exception at the end:
>>> http://pastebin.com/m4da7142
>>> Some tracing shows that this seems to fail when felix tries to load the org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean class and 
>>> is unable to load the javax.ws.rs.WebApplicationException class. The constructor called here is never actually reached.
>>> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
>>
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>