You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aaron Zeckoski (JIRA)" <ji...@apache.org> on 2009/09/29 15:08:16 UTC

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

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760632#action_12760632 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

I replaced our depedency with this one:
      <dependency>
        <groupId>javax.ws.rs</groupId>
        <artifactId>jsr311-api</artifactId>
        <version>1.1</version>
      </dependency>

but there is now a new error. I will place this one in a new comment.

----- Original Message ----- From: "Sergey Beryozkin" <sb...@progress.com>
Sorry. you can get it from here
http://repository.apache.org/snapshots/org/apache/servicemix/specs/org.apache.servicemix.specs.jsr311-api-1.1/1.4-SNAPSHOT/

----- Original Message ----- From: "Sergey Beryozkin" <sb...@progress.com>
To: <de...@cxf.apache.org>
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

> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760883#action_12760883 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

I tried the following:
-> find cxf
   ID   State        Name
[  27] [Active     ] [    1] Apache CXF Bundle Jar (2.3.0.SNAPSHOT)
[  28] [Active     ] [    1] CXF Local Discovery Service Bundle (1.1.0.SNAPSHOT)
[  29] [Resolved   ] [    1] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
-> refresh 27
.... lots of logging
-> refresh 28
.. some logging
-> refresh 29
-> [FelixDispatchQueue] DEBUG org.apache.felix.framework - FrameworkEvent PACKAGES REFRESHED
-> start 29
... lots of logging and then this exception appears at the end:
[Felix Shell TUI] DEBUG org.springframework.osgi.extender.internal.support.NamespacePlugins - Removing handler CXF Distributed Software Bundle (cxf-dosgi-ri-dsw-cxf)
org.osgi.framework.BundleException: Activator start error in bundle cxf-dosgi-ri-dsw-cxf [29].
[FelixDispatchQueue] DEBUG cxf-dosgi-ri-dsw-cxf - BundleEvent STOPPED
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1750)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
	at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:114)
	at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
	at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
	at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class javax.ws.rs.core.MediaType
	at org.apache.cxf.jaxrs.utils.JAXRSUtils.<clinit>(JAXRSUtils.java:99)
	at org.apache.cxf.jaxrs.model.ClassResourceInfo.getConsumeMime(ClassResourceInfo.java:241)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.checkMediaTypes(OperationResourceInfo.java:153)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.<init>(OperationResourceInfo.java:71)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createOperationInfo(ResourceUtils.java:279)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.evaluateResourceClass(ResourceUtils.java:156)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:142)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:176)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:140)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:185)
	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceClass(JAXRSServerFactoryBean.java:144)
	at org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:84)
	at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
	at org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
	at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
	... 6 more
java.lang.NoClassDefFoundError: Could not initialize class javax.ws.rs.core.MediaType

-> find cxf
   ID   State        Name
[  27] [Active     ] [    1] Apache CXF Bundle Jar (2.3.0.SNAPSHOT)
[  28] [Active     ] [    1] CXF Local Discovery Service Bundle (1.1.0.SNAPSHOT)
[  29] [Resolved   ] [    1] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
-> find 311
   ID   State        Name
[  45] [Active     ] [    1] Apache ServiceMix Specs :: JSR311 API 1.1 (1.4.0.SNAPSHOT)


> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760605#action_12760605 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

Here is the full logs from the attempted start of the DOSGI bundle
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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760599#action_12760599 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

org.osgi.framework.BundleException: Activator start error in bundle cxf-dosgi-ri-dsw-cxf [29].
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1750)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
	at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:114)
	at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
	at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
	at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/WebApplicationException
	at org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:76)
	at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
	at org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
	at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
	... 6 more
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.WebApplicationException
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:726)
	at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1631)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)[FelixDispatchQueue] DEBUG cxf-dosgi-ri-dsw-cxf - BundleEvent STOPPED

	... 14 more
java.lang.NoClassDefFoundError: javax/ws/rs/WebApplicationException


> 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

-- 
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.
>>
> 


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

Posted by Sergey Beryozkin <sb...@progress.com>.
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.
> 


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788181#action_12788181 ] 

Daniel Kulp commented on CXF-2452:
----------------------------------


Was this fixed with DOSGI-1.1?

> 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.2
>
>
> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-2452.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: dOSGi-1.1

It was an issue with the jaxrs 1.1 specs bundle, resolved at ServiceMix

> 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.2, dOSGi-1.1
>
>
> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760600#action_12760600 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

Felix bundles output:
-> ps
START LEVEL 5
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.0)
[   1] [Active     ] [    5] Apache Felix Bundle Repository (1.4.1)
[   2] [Active     ] [    5] Apache Felix Shell Service (1.4.0)
[   3] [Active     ] [    5] Apache Felix Shell TUI (1.4.0)
[   4] [Active     ] [    4] Apache MINA Core (2.0.0.M6)
[   5] [Active     ] [    4] OPS4J Pax Web - Service (0.6.0)
[   6] [Active     ] [    4] spring-osgi-io (1.2.0)
[   7] [Active     ] [    4] spring-osgi-core (1.2.0)
[   8] [Active     ] [    4] spring-osgi-extender (1.2.0)
[   9] [Active     ] [    4] Spring AOP (2.5.6.A)
[  10] [Active     ] [    4] Spring Core (2.5.6.A)
[  11] [Active     ] [    4] Spring Beans (2.5.6.A)
[  12] [Active     ] [    4] Spring Context (2.5.6.A)
[  13] [Active     ] [    4] AOP Alliance API (1.0.0)
[  14] [Active     ] [    4] Apache ServiceMix Bundles: jaxb-impl-2.1.6 (2.1.6.1)
[  15] [Active     ] [    4] Apache ServiceMix Bundles: wsdl4j-1.6.1 (1.6.1.1)
[  16] [Active     ] [    4] Apache ServiceMix Bundles: xmlsec-1.3.0 (1.3.0.1)
[  17] [Active     ] [    4] Apache ServiceMix Bundles: wss4j-1.5.4 (1.5.4.1)
[  18] [Active     ] [    4] Apache ServiceMix Bundles: xmlschema-1.4.3 (1.4.3.1)
[  19] [Active     ] [    4] Apache ServiceMix Bundles: asm-2.2.3 (2.2.3.1)
[  20] [Active     ] [    4] Apache ServiceMix Bundles: xmlresolver-1.2 (1.2.0.1)
[  21] [Active     ] [    4] Apache ServiceMix Bundles: neethi-2.0.4 (2.0.4.1)
[  22] [Active     ] [    4] Apache ServiceMix Bundles: woodstox-3.2.7 (3.2.7.1)
[  23] [Active     ] [    4] activemq-core (5.2.0)
[  24] [Active     ] [    4] activemq-ra (5.2.0)
[  25] [Active     ] [    4] activemq-pool (5.2.0)
[  26] [Active     ] [    4] activemq-console (5.2.0)
[  27] [Active     ] [    4] Apache CXF Bundle Jar (2.3.0.SNAPSHOT)
[  28] [Active     ] [    4] CXF Local Discovery Service Bundle (1.1.0.SNAPSHOT)
[  29] [Resolved   ] [    4] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
[  30] [Active     ] [    4] JDOM DOM Processor (1.0.0)
[  31] [Active     ] [    4] Apache Felix Web Management Console (1.2.10)
[  32] [Active     ] [    3] Joda-Time (1.6)
[  33] [Active     ] [    3] jettison (1.1)
[  34] [Active     ] [    3] Apache Commons IO Bundle (1.4)
[  35] [Active     ] [    3] Commons Lang (2.4)
[  36] [Active     ] [    3] Commons Codec (1.4)
[  37] [Active     ] [    3] Commons Pool (1.5.2)
[  38] [Active     ] [    3] Apache Commons FileUpload Bundle (1.2.1)
[  39] [Active     ] [    3] Commons Collections (3.2.1)
[  40] [Active     ] [    2] Apache ServiceMix Specs :: JAVAMAIL API 1.4 (1.3.0)
[  41] [Active     ] [    2] Apache ServiceMix Specs :: JAXB API 2.1 (1.3.0)
[  42] [Active     ] [    2] Apache ServiceMix Specs :: JAXWS API 2.1 (1.3.0)
[  43] [Active     ] [    2] Apache ServiceMix Specs :: SAAJ API 1.3 (1.3.0)
[  44] [Active     ] [    2] Apache ServiceMix Specs :: STAX API 1.0 (1.3.0)
[  45] [Active     ] [    2] Apache ServiceMix Specs :: JSR311 API 1.0 (1.3.0)
[  46] [Active     ] [    2] geronimo-jms_1.1_spec (1.1.1)
[  47] [Active     ] [    2] geronimo-jta_1.1_spec (1.1.1)
[  48] [Active     ] [    2] geronimo-annotation_1.0_spec (1.1.1)
[  49] [Active     ] [    2] geronimo-activation_1.1_spec (1.0.2)
[  50] [Active     ] [    2] geronimo-j2ee-connector_1.5_spec (2.0.0)
[  51] [Active     ] [    2] geronimo-j2ee-management_1.1_spec (1.0.1)
[  52] [Active     ] [    2] geronimo-ws-metadata_2.0_spec (1.1.2)
[  53] [Active     ] [    1] OSGi R4 Compendium Bundle (4.1.0)
[  54] [Active     ] [    1] Apache Felix Declarative Services (1.0.8)
[  55] [Active     ] [    1] Apache Felix Configuration Admin Service (1.0.10)
[  56] [Active     ] [    1] Pax ConfMan - Properties Loader (0.2.1)
[  57] [Active     ] [    1] OPS4J Pax Logging - API (1.3.0)
[  58] [Active     ] [    1] OPS4J Pax Logging - Service (1.3.0)
[  59] [Active     ] [    1] Apache Felix EventAdmin (1.0.0)
[  60] [Active     ] [    1] Apache Felix File Install (1.2.0)
[  61] [Active     ] [    5] opencast-authentication-api (0.1.0.SNAPSHOT)
[  62] [Active     ] [    5] opencast-search-service-api (0.1.0.SNAPSHOT)
[  63] [Active     ] [    5] opencast-ingest-service-api (0.1.0.SNAPSHOT)
[  64] [Active     ] [    5] opencast-workflow-service-impl (0.1.0.SNAPSHOT)
[  65] [Active     ] [    5] opencast-http (0.1.0.SNAPSHOT)
[  66] [Active     ] [    5] opencast-inspection-service-api (0.1.0.SNAPSHOT)
[  67] [Active     ] [    5] opencast-engage-service-impl (0.1.0.SNAPSHOT)
[  68] [Active     ] [    5] opencast-search-service-impl (0.1.0.SNAPSHOT)
[  69] [Active     ] [    5] opencast-inspection-service-impl (0.1.0.SNAPSHOT)
[  70] [Active     ] [    5] opencast-delivery-service-impl (0.1.0.SNAPSHOT)
[  71] [Active     ] [    5] opencast-util (0.1.0.SNAPSHOT)
[  72] [Active     ] [    5] opencast-workspace-api (0.1.0.SNAPSHOT)
[  73] [Active     ] [    5] opencast-media (0.1.0.SNAPSHOT)
[  74] [Active     ] [    5] opencast-workspace-impl (0.1.0.SNAPSHOT)
[  75] [Active     ] [    5] opencast-ingest-service-impl (0.1.0.SNAPSHOT)
[  76] [Active     ] [    5] opencast-notification-service-api (0.1.0.SNAPSHOT)
[  77] [Active     ] [    5] opencast-runtime-info-ui (0.1.0.SNAPSHOT)
[  78] [Active     ] [    5] opencast-delivery-service-api (0.1.0.SNAPSHOT)
[  79] [Active     ] [    5] opencast-distribution-service-api (0.1.0.SNAPSHOT)
[  80] [Active     ] [    5] opencast-workflow-service-api (0.1.0.SNAPSHOT)
[  81] [Active     ] [    5] opencast-composer-service-impl (0.1.0.SNAPSHOT)
[  82] [Active     ] [    5] opencast-distribution-service-local-impl (0.1.0.SNAPSHOT)
[  83] [Active     ] [    5] opencast-working-file-repository-service-impl (0.1.0.SNAPSHOT)
[  84] [Active     ] [    5] opencast-engage-service-api (0.1.0.SNAPSHOT)
[  85] [Active     ] [    5] opencast-working-file-repository-service-api (0.1.0.SNAPSHOT)
[  86] [Active     ] [    5] /opt/matterhorn/felix/load/opencast-runtime-tools-0.1-SNAPSHOT.jar
[  87] [Active     ] [    5] opencast-conductor (0.1.0.SNAPSHOT)
[  88] [Active     ] [    5] opencast-composer-service-api (0.1.0.SNAPSHOT)


> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760633#action_12760633 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

The error I am seeing when using JAXRS 1.1 is:
[FelixDispatchQueue] DEBUG cxf-dosgi-ri-dsw-cxf - BundleEvent STOPPED
org.osgi.framework.BundleException: Activator start error in bundle cxf-dosgi-ri-dsw-cxf [29].
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1750)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
	at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:114)
	at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
	at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
	at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.jaxrs.utils.JAXRSUtils
	at org.apache.cxf.jaxrs.model.ClassResourceInfo.getConsumeMime(ClassResourceInfo.java:241)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.checkMediaTypes(OperationResourceInfo.java:153)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.<init>(OperationResourceInfo.java:71)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createOperationInfo(ResourceUtils.java:279)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.evaluateResourceClass(ResourceUtils.java:156)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:142)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:176)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:140)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:185)
	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceClass(JAXRSServerFactoryBean.java:144)
	at org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:84)
	at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
	at org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
	at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
	... 6 more
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.jaxrs.utils.JAXRSUtils


> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760871#action_12760871 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

Here is the error I am seeing when using org.apache.servicemix.specs.jsr311-api-1.1-1.4-SNAPSHOT with the latest CXF 2.3.0 snapshots:
ERROR:
org.osgi.framework.BundleException: Activator start error in bundle
cxf-dosgi-ri-dsw-cxf [29].
[FelixDispatchQueue] DEBUG cxf-dosgi-ri-dsw-cxf - BundleEvent STOPPED
       at org.apache.felix.framework.Felix.activateBundle(Felix.java:1750)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
       at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:114)
       at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
       at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
       at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.apache.cxf.jaxrs.utils.JAXRSUtils
       at org.apache.cxf.jaxrs.model.ClassResourceInfo.getConsumeMime(ClassResourceInfo.java:241)
       at org.apache.cxf.jaxrs.model.OperationResourceInfo.checkMediaTypes(OperationResourceInfo.java:153)
       at org.apache.cxf.jaxrs.model.OperationResourceInfo.<init>(OperationResourceInfo.java:71)
       at org.apache.cxf.jaxrs.utils.ResourceUtils.createOperationInfo(ResourceUtils.java:279)
       at org.apache.cxf.jaxrs.utils.ResourceUtils.evaluateResourceClass(ResourceUtils.java:156)
       at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:142)
       at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:176)
       at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:140)
       at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:185)
       at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceClass(JAXRSServerFactoryBean.java:144)
       at org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:84)
       at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
       at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
       at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
       at org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
       at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
       at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
       at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
       ... 6 more
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.cxf.jaxrs.utils.JAXRSUtils


> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
     [ 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

  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


> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-2452:
-----------------------------

    Fix Version/s:     (was: dOSGi-1.1)
                   dOSGi-1.2

> 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.2
>
>
> One of the DOSGI bundles is failing to startup using Felix 2.0 as the container
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
     [ 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
cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)

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

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();



> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


[jira] Issue Comment Edited: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760600#action_12760600 ] 

Aaron Zeckoski edited comment on CXF-2452 at 9/30/09 3:01 AM:
--------------------------------------------------------------

Here is the felix ps output:
-> ps -s
START LEVEL 5
  ID   State         Level  Symbolic name
[   0] [Active     ] [    0] org.apache.felix.framework (2.0.0)
[   1] [Active     ] [    5] org.apache.felix.bundlerepository (1.4.1)
[   2] [Active     ] [    5] org.apache.felix.shell (1.4.0)
[   3] [Active     ] [    5] org.apache.felix.shell.tui (1.4.0)
[   4] [Active     ] [    4] org.apache.mina.core (2.0.0.M6)
[   5] [Active     ] [    4] org.ops4j.pax.web.pax-web-service (0.6.0)
[   6] [Active     ] [    4] org.springframework.osgi.io (1.2.0)
[   7] [Active     ] [    4] org.springframework.osgi.core (1.2.0)
[   8] [Active     ] [    4] org.springframework.osgi.extender (1.2.0)
[   9] [Active     ] [    4] org.springframework.aop (2.5.6.A)
[  10] [Active     ] [    4] org.springframework.core (2.5.6.A)
[  11] [Active     ] [    4] org.springframework.beans (2.5.6.A)
[  12] [Active     ] [    4] org.springframework.context (2.5.6.A)
[  13] [Active     ] [    4] com.springsource.org.aopalliance (1.0.0)
[  14] [Active     ] [    4] org.apache.servicemix.bundles.jaxb-impl (2.1.6.1)
[  15] [Active     ] [    4] org.apache.servicemix.bundles.wsdl4j (1.6.1.1)
[  16] [Active     ] [    4] org.apache.servicemix.bundles.xmlsec (1.3.0.1)
[  17] [Active     ] [    4] org.apache.servicemix.bundles.wss4j (1.5.4.1)
[  18] [Active     ] [    4] org.apache.servicemix.bundles.xmlschema (1.4.3.1)
[  19] [Active     ] [    4] org.apache.servicemix.bundles.asm (2.2.3.1)
[  20] [Active     ] [    4] org.apache.servicemix.bundles.xmlresolver (1.2.0.1)
[  21] [Active     ] [    4] org.apache.servicemix.bundles.neethi (2.0.4.1)
[  22] [Active     ] [    4] org.apache.servicemix.bundles.woodstox (3.2.7.1)
[  23] [Active     ] [    4] org.apache.activemq.activemq-core (5.2.0)
[  24] [Active     ] [    4] org.apache.activemq.activemq-ra (5.2.0)
[  25] [Active     ] [    4] org.apache.activemq.activemq-pool (5.2.0)
[  26] [Active     ] [    4] org.apache.activemq.activemq-console (5.2.0)
[  27] [Active     ] [    4] org.apache.cxf.bundle (2.3.0.SNAPSHOT)
[  28] [Active     ] [    4] cxf-dosgi-ri-discovery-local (1.1.0.SNAPSHOT)
[  29] [Resolved   ] [    4] cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
[  30] [Active     ] [    4] com.springsource.org.jdom (1.0.0)
[  31] [Active     ] [    4] org.apache.felix.webconsole (1.2.10)
[  32] [Active     ] [    3] joda-time (1.6)
[  33] [Active     ] [    3] org.codehaus.jettison.jettison (1.1)
[  34] [Active     ] [    3] org.apache.commons.io (1.4)
[  35] [Active     ] [    3] org.apache.commons.lang (2.4)
[  36] [Active     ] [    3] org.apache.commons.codec (1.4)
[  37] [Active     ] [    3] org.apache.commons.pool (1.5.2)
[  38] [Active     ] [    3] org.apache.commons.fileupload (1.2.1)
[  39] [Active     ] [    3] org.apache.commons.collections (3.2.1)
[  40] [Active     ] [    2]
org.apache.servicemix.specs.javamail-api-1.4 (1.3.0)
[  41] [Active     ] [    2] org.apache.servicemix.specs.jaxb-api-2.1 (1.3.0)
[  42] [Active     ] [    2] org.apache.servicemix.specs.jaxws-api-2.1 (1.3.0)
[  43] [Active     ] [    2] org.apache.servicemix.specs.saaj-api-1.3 (1.3.0)
[  44] [Active     ] [    2] org.apache.servicemix.specs.stax-api-1.0 (1.3.0)
[  45] [Active     ] [    2]
org.apache.servicemix.specs.jsr311-api-1.1 (1.4.0.SNAPSHOT)
[  46] [Active     ] [    2]
org.apache.geronimo.specs.geronimo-jms_1.1_spec (1.1.1)
[  47] [Active     ] [    2]
org.apache.geronimo.specs.geronimo-jta_1.1_spec (1.1.1)
[  48] [Active     ] [    2]
org.apache.geronimo.specs.geronimo-annotation_1.0_spec (1.1.1)
[  49] [Active     ] [    2]
org.apache.geronimo.specs.geronimo-activation_1.1_spec (1.0.2)
[  50] [Active     ] [    2]
org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec (2.0.0)
[  51] [Active     ] [    2]
org.apache.geronimo.specs.geronimo-j2ee-management_1.1_spec (1.0.1)
[  52] [Active     ] [    2]
org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec (1.1.2)
[  55] [Active     ] [    1] org.osgi.compendium (4.1.0)
[  56] [Active     ] [    1] org.apache.felix.scr (1.0.8)
[  57] [Active     ] [    1] org.apache.felix.configadmin (1.0.10)
[  58] [Active     ] [    1]
org.ops4j.pax.confman.pax-confman-propsloader (0.2.1)
[  59] [Active     ] [    1] org.ops4j.pax.logging.pax-logging-api (1.3.0)
[  60] [Active     ] [    1] org.ops4j.pax.logging.pax-logging-service (1.3.0)
[  61] [Active     ] [    1] org.apache.felix.eventadmin (1.0.0)
[  62] [Active     ] [    1] org.apache.felix.fileinstall (1.2.0)
[  65] [Active     ] [    5] opencast-authentication-api (0.1.0.SNAPSHOT)
[  66] [Active     ] [    5] opencast-search-service-api (0.1.0.SNAPSHOT)
[  67] [Active     ] [    5] opencast-ingest-service-api (0.1.0.SNAPSHOT)
[  68] [Active     ] [    5] opencast-workflow-service-impl (0.1.0.SNAPSHOT)
[  69] [Active     ] [    5] opencast-http (0.1.0.SNAPSHOT)
[  70] [Active     ] [    5] opencast-inspection-service-api (0.1.0.SNAPSHOT)
[  71] [Active     ] [    5] opencast-engage-service-impl (0.1.0.SNAPSHOT)
[  72] [Active     ] [    5] opencast-search-service-impl (0.1.0.SNAPSHOT)
[  73] [Active     ] [    5] opencast-inspection-service-impl (0.1.0.SNAPSHOT)
[  74] [Active     ] [    5] opencast-delivery-service-impl (0.1.0.SNAPSHOT)
[  75] [Active     ] [    5] opencast-util (0.1.0.SNAPSHOT)
[  76] [Active     ] [    5] opencast-workspace-api (0.1.0.SNAPSHOT)
[  77] [Active     ] [    5] opencast-media (0.1.0.SNAPSHOT)
[  78] [Active     ] [    5] opencast-workspace-impl (0.1.0.SNAPSHOT)
[  79] [Active     ] [    5] opencast-ingest-service-impl (0.1.0.SNAPSHOT)
[  80] [Active     ] [    5] opencast-notification-service-api (0.1.0.SNAPSHOT)
[  81] [Active     ] [    5] opencast-runtime-info-ui (0.1.0.SNAPSHOT)
[  82] [Active     ] [    5] opencast-delivery-service-api (0.1.0.SNAPSHOT)
[  83] [Active     ] [    5] opencast-distribution-service-api (0.1.0.SNAPSHOT)
[  84] [Active     ] [    5] opencast-workflow-service-api (0.1.0.SNAPSHOT)
[  85] [Active     ] [    5] opencast-composer-service-impl (0.1.0.SNAPSHOT)
[  86] [Active     ] [    5] opencast-distribution-service-local-impl
(0.1.0.SNAPSHOT)
[  87] [Active     ] [    5]
opencast-working-file-repository-service-impl (0.1.0.SNAPSHOT)
[  88] [Active     ] [    5] opencast-engage-service-api (0.1.0.SNAPSHOT)
[  89] [Active     ] [    5]
opencast-working-file-repository-service-api (0.1.0.SNAPSHOT)
[  90] [Active     ] [    5] <no symbolic name>
[  91] [Active     ] [    5] opencast-conductor (0.1.0.SNAPSHOT)
[  92] [Active     ] [    5] opencast-composer-service-api (0.1.0.SNAPSHOT)

      was (Author: azeckoski):
    Felix bundles output:
-> ps -s
START LEVEL 5
   ID   State         Level  Symbolic name
[   0] [Active     ] [    0] org.apache.felix.framework (2.0.0)
[   1] [Active     ] [    5] org.apache.felix.bundlerepository (1.4.1)
[   2] [Active     ] [    5] org.apache.felix.shell (1.4.0)
[   3] [Active     ] [    5] org.apache.felix.shell.tui (1.4.0)
[   4] [Active     ] [    4] org.apache.mina.core (2.0.0.M6)
[   5] [Active     ] [    4] org.ops4j.pax.web.pax-web-service (0.6.0)
[   6] [Active     ] [    4] org.springframework.osgi.io (1.2.0)
[   7] [Active     ] [    4] org.springframework.osgi.core (1.2.0)
[   8] [Active     ] [    4] org.springframework.osgi.extender (1.2.0)
[   9] [Active     ] [    4] org.springframework.aop (2.5.6.A)
[  10] [Active     ] [    4] org.springframework.core (2.5.6.A)
[  11] [Active     ] [    4] org.springframework.beans (2.5.6.A)
[  12] [Active     ] [    4] org.springframework.context (2.5.6.A)
[  13] [Active     ] [    4] com.springsource.org.aopalliance (1.0.0)
[  14] [Active     ] [    4] org.apache.servicemix.bundles.jaxb-impl (2.1.6.1)
[  15] [Active     ] [    4] org.apache.servicemix.bundles.wsdl4j (1.6.1.1)
[  16] [Active     ] [    4] org.apache.servicemix.bundles.xmlsec (1.3.0.1)
[  17] [Active     ] [    4] org.apache.servicemix.bundles.wss4j (1.5.4.1)
[  18] [Active     ] [    4] org.apache.servicemix.bundles.xmlschema (1.4.3.1)
[  19] [Active     ] [    4] org.apache.servicemix.bundles.asm (2.2.3.1)
[  20] [Active     ] [    4] org.apache.servicemix.bundles.xmlresolver (1.2.0.1)
[  21] [Active     ] [    4] org.apache.servicemix.bundles.neethi (2.0.4.1)
[  22] [Active     ] [    4] org.apache.servicemix.bundles.woodstox (3.2.7.1)
[  23] [Active     ] [    4] org.apache.activemq.activemq-core (5.2.0)
[  24] [Active     ] [    4] org.apache.activemq.activemq-ra (5.2.0)
[  25] [Active     ] [    4] org.apache.activemq.activemq-pool (5.2.0)
[  26] [Active     ] [    4] org.apache.activemq.activemq-console (5.2.0)
[  27] [Active     ] [    4] org.apache.cxf.bundle (2.3.0.SNAPSHOT)
[  28] [Active     ] [    4] cxf-dosgi-ri-discovery-local (1.1.0.SNAPSHOT)
[  29] [Resolved   ] [    4] cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
[  30] [Active     ] [    4] com.springsource.org.jdom (1.0.0)
[  31] [Active     ] [    4] org.apache.felix.webconsole (1.2.10)
[  32] [Active     ] [    3] joda-time (1.6)
[  33] [Active     ] [    3] org.codehaus.jettison.jettison (1.1)
[  34] [Active     ] [    3] org.apache.commons.io (1.4)
[  35] [Active     ] [    3] org.apache.commons.lang (2.4)
[  36] [Active     ] [    3] org.apache.commons.codec (1.4)
[  37] [Active     ] [    3] org.apache.commons.pool (1.5.2)
[  38] [Active     ] [    3] org.apache.commons.fileupload (1.2.1)
[  39] [Active     ] [    3] org.apache.commons.collections (3.2.1)
[  40] [Active     ] [    2] org.apache.servicemix.specs.javamail-api-1.4 (1.3.0)
[  41] [Active     ] [    2] org.apache.servicemix.specs.jaxb-api-2.1 (1.3.0)
[  42] [Active     ] [    2] org.apache.servicemix.specs.jaxws-api-2.1 (1.3.0)
[  43] [Active     ] [    2] org.apache.servicemix.specs.saaj-api-1.3 (1.3.0)
[  44] [Active     ] [    2] org.apache.servicemix.specs.stax-api-1.0 (1.3.0)
[  45] [Active     ] [    2] javax.ws.rs.jsr311-api (1.1)
[  46] [Active     ] [    2] org.apache.geronimo.specs.geronimo-jms_1.1_spec (1.1.1)
[  47] [Active     ] [    2] org.apache.geronimo.specs.geronimo-jta_1.1_spec (1.1.1)
[  48] [Active     ] [    2] org.apache.geronimo.specs.geronimo-annotation_1.0_spec (1.1.1)
[  49] [Active     ] [    2] org.apache.geronimo.specs.geronimo-activation_1.1_spec (1.0.2)
[  50] [Active     ] [    2] org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec (2.0.0)
[  51] [Active     ] [    2] org.apache.geronimo.specs.geronimo-j2ee-management_1.1_spec (1.0.1)
[  52] [Active     ] [    2] org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec (1.1.2)
[  55] [Active     ] [    1] org.osgi.compendium (4.1.0)
[  56] [Active     ] [    1] org.apache.felix.scr (1.0.8)
[  57] [Active     ] [    1] org.apache.felix.configadmin (1.0.10)
[  58] [Active     ] [    1] org.ops4j.pax.confman.pax-confman-propsloader (0.2.1)
[  59] [Active     ] [    1] org.ops4j.pax.logging.pax-logging-api (1.3.0)
[  60] [Active     ] [    1] org.ops4j.pax.logging.pax-logging-service (1.3.0)
[  61] [Active     ] [    1] org.apache.felix.eventadmin (1.0.0)
[  62] [Active     ] [    1] org.apache.felix.fileinstall (1.2.0)
[  65] [Active     ] [    5] opencast-authentication-api (0.1.0.SNAPSHOT)
[  66] [Active     ] [    5] opencast-search-service-api (0.1.0.SNAPSHOT)
[  67] [Active     ] [    5] opencast-ingest-service-api (0.1.0.SNAPSHOT)
[  68] [Active     ] [    5] opencast-workflow-service-impl (0.1.0.SNAPSHOT)
[  69] [Active     ] [    5] opencast-http (0.1.0.SNAPSHOT)
[  70] [Active     ] [    5] opencast-inspection-service-api (0.1.0.SNAPSHOT)
[  71] [Active     ] [    5] opencast-engage-service-impl (0.1.0.SNAPSHOT)
[  72] [Active     ] [    5] opencast-search-service-impl (0.1.0.SNAPSHOT)
[  73] [Active     ] [    5] opencast-inspection-service-impl (0.1.0.SNAPSHOT)
[  74] [Active     ] [    5] opencast-delivery-service-impl (0.1.0.SNAPSHOT)
[  75] [Active     ] [    5] opencast-util (0.1.0.SNAPSHOT)
[  76] [Active     ] [    5] opencast-workspace-api (0.1.0.SNAPSHOT)
[  77] [Active     ] [    5] opencast-media (0.1.0.SNAPSHOT)
[  78] [Active     ] [    5] opencast-workspace-impl (0.1.0.SNAPSHOT)
[  79] [Active     ] [    5] opencast-ingest-service-impl (0.1.0.SNAPSHOT)
[  80] [Active     ] [    5] opencast-notification-service-api (0.1.0.SNAPSHOT)
[  81] [Active     ] [    5] opencast-runtime-info-ui (0.1.0.SNAPSHOT)
[  82] [Active     ] [    5] opencast-delivery-service-api (0.1.0.SNAPSHOT)
[  83] [Active     ] [    5] opencast-distribution-service-api (0.1.0.SNAPSHOT)
[  84] [Active     ] [    5] opencast-workflow-service-api (0.1.0.SNAPSHOT)
[  85] [Active     ] [    5] opencast-composer-service-impl (0.1.0.SNAPSHOT)
[  86] [Active     ] [    5] opencast-distribution-service-local-impl (0.1.0.SNAPSHOT)
[  87] [Active     ] [    5] opencast-working-file-repository-service-impl (0.1.0.SNAPSHOT)
[  88] [Active     ] [    5] opencast-engage-service-api (0.1.0.SNAPSHOT)
[  89] [Active     ] [    5] opencast-working-file-repository-service-api (0.1.0.SNAPSHOT)
[  90] [Active     ] [    5] <no symbolic name>
[  91] [Active     ] [    5] opencast-conductor (0.1.0.SNAPSHOT)
[  92] [Active     ] [    5] opencast-composer-service-api (0.1.0.SNAPSHOT)

  
> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


[jira] Issue Comment Edited: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760871#action_12760871 ] 

Aaron Zeckoski edited comment on CXF-2452 at 9/30/09 3:14 AM:
--------------------------------------------------------------

Here is the error I am seeing when using org.apache.servicemix.specs.jsr311-api-1.1-1.4-SNAPSHOT with the latest CXF 2.3.0 snapshots:
ERROR:
[FelixStartLevel] DEBUG org.springframework.osgi.extender.internal.support.NamespacePlugins - Removing handler CXF Distributed Software Bundle (cxf-dosgi-ri-dsw-cxf)
ERROR: Error starting file:/Users/azeckoski/.m2/repository/org/apache/cxf/dosgi/cxf-dosgi-ri-dsw-cxf/1.1-SNAPSHOT/cxf-dosgi-ri-dsw-cxf-1.1-SNAPSHOT.jar (org.osgi.framework.BundleException: Activator start error in bundle cxf-dosgi-ri-dsw-cxf [29].)
java.lang.ExceptionInInitializerError[FelixDispatchQueue] DEBUG cxf-dosgi-ri-dsw-cxf - BundleEvent STOPPED

	at org.apache.cxf.jaxrs.utils.JAXRSUtils.<clinit>(JAXRSUtils.java:99)
	at org.apache.cxf.jaxrs.model.ClassResourceInfo.getConsumeMime(ClassResourceInfo.java:241)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.checkMediaTypes(OperationResourceInfo.java:153)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.<init>(OperationResourceInfo.java:71)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createOperationInfo(ResourceUtils.java:279)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.evaluateResourceClass(ResourceUtils.java:156)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:142)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:176)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:140)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:185)
	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceClass(JAXRSServerFactoryBean.java:144)
	at org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:84)
	at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
	at org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
	at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
	at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
	at javax.ws.rs.core.MediaType.<clinit>(MediaType.java:44)
	... 23 more
Caused by: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:726)
	at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1631)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62)
	at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)
	... 25 more
[FelixDispatchQueue] DEBUG cxf-dosgi-ri-dsw-cxf - FrameworkEvent ERROR
org.osgi.framework.BundleException: Activator start error in bundle cxf-dosgi-ri-dsw-cxf [29].
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1750)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
	at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.ExceptionInInitializerError
	at org.apache.cxf.jaxrs.utils.JAXRSUtils.<clinit>(JAXRSUtils.java:99)
	at org.apache.cxf.jaxrs.model.ClassResourceInfo.getConsumeMime(ClassResourceInfo.java:241)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.checkMediaTypes(OperationResourceInfo.java:153)
	at org.apache.cxf.jaxrs.model.OperationResourceInfo.<init>(OperationResourceInfo.java:71)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createOperationInfo(ResourceUtils.java:279)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.evaluateResourceClass(ResourceUtils.java:156)
	at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:142)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:176)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:140)
	at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:185)
	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceClass(JAXRSServerFactoryBean.java:144)
	at org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:84)
	at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
	at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
	at org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
	at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
	... 4 more
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
	at javax.ws.rs.core.MediaType.<clinit>(MediaType.java:44)
	... 23 more
Caused by: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:726)
	at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1631)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62)
	at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)
	... 25 more


      was (Author: azeckoski):
    Here is the error I am seeing when using org.apache.servicemix.specs.jsr311-api-1.1-1.4-SNAPSHOT with the latest CXF 2.3.0 snapshots:
ERROR:
org.osgi.framework.BundleException: Activator start error in bundle
cxf-dosgi-ri-dsw-cxf [29].
[FelixDispatchQueue] DEBUG cxf-dosgi-ri-dsw-cxf - BundleEvent STOPPED
       at org.apache.felix.framework.Felix.activateBundle(Felix.java:1750)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
       at org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:114)
       at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
       at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
       at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.apache.cxf.jaxrs.utils.JAXRSUtils
       at org.apache.cxf.jaxrs.model.ClassResourceInfo.getConsumeMime(ClassResourceInfo.java:241)
       at org.apache.cxf.jaxrs.model.OperationResourceInfo.checkMediaTypes(OperationResourceInfo.java:153)
       at org.apache.cxf.jaxrs.model.OperationResourceInfo.<init>(OperationResourceInfo.java:71)
       at org.apache.cxf.jaxrs.utils.ResourceUtils.createOperationInfo(ResourceUtils.java:279)
       at org.apache.cxf.jaxrs.utils.ResourceUtils.evaluateResourceClass(ResourceUtils.java:156)
       at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:142)
       at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:176)
       at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:140)
       at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:185)
       at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceClass(JAXRSServerFactoryBean.java:144)
       at org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:84)
       at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
       at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
       at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
       at org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
       at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
       at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
       at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
       ... 6 more
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.cxf.jaxrs.utils.JAXRSUtils

  
> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.


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

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760610#action_12760610 ] 

Aaron Zeckoski commented on CXF-2452:
-------------------------------------

This seems to be a similar issue from the mailing list:
http://www.mail-archive.com/users@cxf.apache.org/msg10001.html

> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CXF-2452) DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup

Posted by "Aaron Zeckoski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760600#action_12760600 ] 

Aaron Zeckoski edited comment on CXF-2452 at 9/29/09 9:04 AM:
--------------------------------------------------------------

Felix bundles output:
-> ps -s
START LEVEL 5
   ID   State         Level  Symbolic name
[   0] [Active     ] [    0] org.apache.felix.framework (2.0.0)
[   1] [Active     ] [    5] org.apache.felix.bundlerepository (1.4.1)
[   2] [Active     ] [    5] org.apache.felix.shell (1.4.0)
[   3] [Active     ] [    5] org.apache.felix.shell.tui (1.4.0)
[   4] [Active     ] [    4] org.apache.mina.core (2.0.0.M6)
[   5] [Active     ] [    4] org.ops4j.pax.web.pax-web-service (0.6.0)
[   6] [Active     ] [    4] org.springframework.osgi.io (1.2.0)
[   7] [Active     ] [    4] org.springframework.osgi.core (1.2.0)
[   8] [Active     ] [    4] org.springframework.osgi.extender (1.2.0)
[   9] [Active     ] [    4] org.springframework.aop (2.5.6.A)
[  10] [Active     ] [    4] org.springframework.core (2.5.6.A)
[  11] [Active     ] [    4] org.springframework.beans (2.5.6.A)
[  12] [Active     ] [    4] org.springframework.context (2.5.6.A)
[  13] [Active     ] [    4] com.springsource.org.aopalliance (1.0.0)
[  14] [Active     ] [    4] org.apache.servicemix.bundles.jaxb-impl (2.1.6.1)
[  15] [Active     ] [    4] org.apache.servicemix.bundles.wsdl4j (1.6.1.1)
[  16] [Active     ] [    4] org.apache.servicemix.bundles.xmlsec (1.3.0.1)
[  17] [Active     ] [    4] org.apache.servicemix.bundles.wss4j (1.5.4.1)
[  18] [Active     ] [    4] org.apache.servicemix.bundles.xmlschema (1.4.3.1)
[  19] [Active     ] [    4] org.apache.servicemix.bundles.asm (2.2.3.1)
[  20] [Active     ] [    4] org.apache.servicemix.bundles.xmlresolver (1.2.0.1)
[  21] [Active     ] [    4] org.apache.servicemix.bundles.neethi (2.0.4.1)
[  22] [Active     ] [    4] org.apache.servicemix.bundles.woodstox (3.2.7.1)
[  23] [Active     ] [    4] org.apache.activemq.activemq-core (5.2.0)
[  24] [Active     ] [    4] org.apache.activemq.activemq-ra (5.2.0)
[  25] [Active     ] [    4] org.apache.activemq.activemq-pool (5.2.0)
[  26] [Active     ] [    4] org.apache.activemq.activemq-console (5.2.0)
[  27] [Active     ] [    4] org.apache.cxf.bundle (2.3.0.SNAPSHOT)
[  28] [Active     ] [    4] cxf-dosgi-ri-discovery-local (1.1.0.SNAPSHOT)
[  29] [Resolved   ] [    4] cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
[  30] [Active     ] [    4] com.springsource.org.jdom (1.0.0)
[  31] [Active     ] [    4] org.apache.felix.webconsole (1.2.10)
[  32] [Active     ] [    3] joda-time (1.6)
[  33] [Active     ] [    3] org.codehaus.jettison.jettison (1.1)
[  34] [Active     ] [    3] org.apache.commons.io (1.4)
[  35] [Active     ] [    3] org.apache.commons.lang (2.4)
[  36] [Active     ] [    3] org.apache.commons.codec (1.4)
[  37] [Active     ] [    3] org.apache.commons.pool (1.5.2)
[  38] [Active     ] [    3] org.apache.commons.fileupload (1.2.1)
[  39] [Active     ] [    3] org.apache.commons.collections (3.2.1)
[  40] [Active     ] [    2] org.apache.servicemix.specs.javamail-api-1.4 (1.3.0)
[  41] [Active     ] [    2] org.apache.servicemix.specs.jaxb-api-2.1 (1.3.0)
[  42] [Active     ] [    2] org.apache.servicemix.specs.jaxws-api-2.1 (1.3.0)
[  43] [Active     ] [    2] org.apache.servicemix.specs.saaj-api-1.3 (1.3.0)
[  44] [Active     ] [    2] org.apache.servicemix.specs.stax-api-1.0 (1.3.0)
[  45] [Active     ] [    2] javax.ws.rs.jsr311-api (1.1)
[  46] [Active     ] [    2] org.apache.geronimo.specs.geronimo-jms_1.1_spec (1.1.1)
[  47] [Active     ] [    2] org.apache.geronimo.specs.geronimo-jta_1.1_spec (1.1.1)
[  48] [Active     ] [    2] org.apache.geronimo.specs.geronimo-annotation_1.0_spec (1.1.1)
[  49] [Active     ] [    2] org.apache.geronimo.specs.geronimo-activation_1.1_spec (1.0.2)
[  50] [Active     ] [    2] org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec (2.0.0)
[  51] [Active     ] [    2] org.apache.geronimo.specs.geronimo-j2ee-management_1.1_spec (1.0.1)
[  52] [Active     ] [    2] org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec (1.1.2)
[  55] [Active     ] [    1] org.osgi.compendium (4.1.0)
[  56] [Active     ] [    1] org.apache.felix.scr (1.0.8)
[  57] [Active     ] [    1] org.apache.felix.configadmin (1.0.10)
[  58] [Active     ] [    1] org.ops4j.pax.confman.pax-confman-propsloader (0.2.1)
[  59] [Active     ] [    1] org.ops4j.pax.logging.pax-logging-api (1.3.0)
[  60] [Active     ] [    1] org.ops4j.pax.logging.pax-logging-service (1.3.0)
[  61] [Active     ] [    1] org.apache.felix.eventadmin (1.0.0)
[  62] [Active     ] [    1] org.apache.felix.fileinstall (1.2.0)
[  65] [Active     ] [    5] opencast-authentication-api (0.1.0.SNAPSHOT)
[  66] [Active     ] [    5] opencast-search-service-api (0.1.0.SNAPSHOT)
[  67] [Active     ] [    5] opencast-ingest-service-api (0.1.0.SNAPSHOT)
[  68] [Active     ] [    5] opencast-workflow-service-impl (0.1.0.SNAPSHOT)
[  69] [Active     ] [    5] opencast-http (0.1.0.SNAPSHOT)
[  70] [Active     ] [    5] opencast-inspection-service-api (0.1.0.SNAPSHOT)
[  71] [Active     ] [    5] opencast-engage-service-impl (0.1.0.SNAPSHOT)
[  72] [Active     ] [    5] opencast-search-service-impl (0.1.0.SNAPSHOT)
[  73] [Active     ] [    5] opencast-inspection-service-impl (0.1.0.SNAPSHOT)
[  74] [Active     ] [    5] opencast-delivery-service-impl (0.1.0.SNAPSHOT)
[  75] [Active     ] [    5] opencast-util (0.1.0.SNAPSHOT)
[  76] [Active     ] [    5] opencast-workspace-api (0.1.0.SNAPSHOT)
[  77] [Active     ] [    5] opencast-media (0.1.0.SNAPSHOT)
[  78] [Active     ] [    5] opencast-workspace-impl (0.1.0.SNAPSHOT)
[  79] [Active     ] [    5] opencast-ingest-service-impl (0.1.0.SNAPSHOT)
[  80] [Active     ] [    5] opencast-notification-service-api (0.1.0.SNAPSHOT)
[  81] [Active     ] [    5] opencast-runtime-info-ui (0.1.0.SNAPSHOT)
[  82] [Active     ] [    5] opencast-delivery-service-api (0.1.0.SNAPSHOT)
[  83] [Active     ] [    5] opencast-distribution-service-api (0.1.0.SNAPSHOT)
[  84] [Active     ] [    5] opencast-workflow-service-api (0.1.0.SNAPSHOT)
[  85] [Active     ] [    5] opencast-composer-service-impl (0.1.0.SNAPSHOT)
[  86] [Active     ] [    5] opencast-distribution-service-local-impl (0.1.0.SNAPSHOT)
[  87] [Active     ] [    5] opencast-working-file-repository-service-impl (0.1.0.SNAPSHOT)
[  88] [Active     ] [    5] opencast-engage-service-api (0.1.0.SNAPSHOT)
[  89] [Active     ] [    5] opencast-working-file-repository-service-api (0.1.0.SNAPSHOT)
[  90] [Active     ] [    5] <no symbolic name>
[  91] [Active     ] [    5] opencast-conductor (0.1.0.SNAPSHOT)
[  92] [Active     ] [    5] opencast-composer-service-api (0.1.0.SNAPSHOT)


      was (Author: azeckoski):
    Felix bundles output:
-> ps
START LEVEL 5
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.0)
[   1] [Active     ] [    5] Apache Felix Bundle Repository (1.4.1)
[   2] [Active     ] [    5] Apache Felix Shell Service (1.4.0)
[   3] [Active     ] [    5] Apache Felix Shell TUI (1.4.0)
[   4] [Active     ] [    4] Apache MINA Core (2.0.0.M6)
[   5] [Active     ] [    4] OPS4J Pax Web - Service (0.6.0)
[   6] [Active     ] [    4] spring-osgi-io (1.2.0)
[   7] [Active     ] [    4] spring-osgi-core (1.2.0)
[   8] [Active     ] [    4] spring-osgi-extender (1.2.0)
[   9] [Active     ] [    4] Spring AOP (2.5.6.A)
[  10] [Active     ] [    4] Spring Core (2.5.6.A)
[  11] [Active     ] [    4] Spring Beans (2.5.6.A)
[  12] [Active     ] [    4] Spring Context (2.5.6.A)
[  13] [Active     ] [    4] AOP Alliance API (1.0.0)
[  14] [Active     ] [    4] Apache ServiceMix Bundles: jaxb-impl-2.1.6 (2.1.6.1)
[  15] [Active     ] [    4] Apache ServiceMix Bundles: wsdl4j-1.6.1 (1.6.1.1)
[  16] [Active     ] [    4] Apache ServiceMix Bundles: xmlsec-1.3.0 (1.3.0.1)
[  17] [Active     ] [    4] Apache ServiceMix Bundles: wss4j-1.5.4 (1.5.4.1)
[  18] [Active     ] [    4] Apache ServiceMix Bundles: xmlschema-1.4.3 (1.4.3.1)
[  19] [Active     ] [    4] Apache ServiceMix Bundles: asm-2.2.3 (2.2.3.1)
[  20] [Active     ] [    4] Apache ServiceMix Bundles: xmlresolver-1.2 (1.2.0.1)
[  21] [Active     ] [    4] Apache ServiceMix Bundles: neethi-2.0.4 (2.0.4.1)
[  22] [Active     ] [    4] Apache ServiceMix Bundles: woodstox-3.2.7 (3.2.7.1)
[  23] [Active     ] [    4] activemq-core (5.2.0)
[  24] [Active     ] [    4] activemq-ra (5.2.0)
[  25] [Active     ] [    4] activemq-pool (5.2.0)
[  26] [Active     ] [    4] activemq-console (5.2.0)
[  27] [Active     ] [    4] Apache CXF Bundle Jar (2.3.0.SNAPSHOT)
[  28] [Active     ] [    4] CXF Local Discovery Service Bundle (1.1.0.SNAPSHOT)
[  29] [Resolved   ] [    4] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
[  30] [Active     ] [    4] JDOM DOM Processor (1.0.0)
[  31] [Active     ] [    4] Apache Felix Web Management Console (1.2.10)
[  32] [Active     ] [    3] Joda-Time (1.6)
[  33] [Active     ] [    3] jettison (1.1)
[  34] [Active     ] [    3] Apache Commons IO Bundle (1.4)
[  35] [Active     ] [    3] Commons Lang (2.4)
[  36] [Active     ] [    3] Commons Codec (1.4)
[  37] [Active     ] [    3] Commons Pool (1.5.2)
[  38] [Active     ] [    3] Apache Commons FileUpload Bundle (1.2.1)
[  39] [Active     ] [    3] Commons Collections (3.2.1)
[  40] [Active     ] [    2] Apache ServiceMix Specs :: JAVAMAIL API 1.4 (1.3.0)
[  41] [Active     ] [    2] Apache ServiceMix Specs :: JAXB API 2.1 (1.3.0)
[  42] [Active     ] [    2] Apache ServiceMix Specs :: JAXWS API 2.1 (1.3.0)
[  43] [Active     ] [    2] Apache ServiceMix Specs :: SAAJ API 1.3 (1.3.0)
[  44] [Active     ] [    2] Apache ServiceMix Specs :: STAX API 1.0 (1.3.0)
[  45] [Active     ] [    2] Apache ServiceMix Specs :: JSR311 API 1.0 (1.3.0)
[  46] [Active     ] [    2] geronimo-jms_1.1_spec (1.1.1)
[  47] [Active     ] [    2] geronimo-jta_1.1_spec (1.1.1)
[  48] [Active     ] [    2] geronimo-annotation_1.0_spec (1.1.1)
[  49] [Active     ] [    2] geronimo-activation_1.1_spec (1.0.2)
[  50] [Active     ] [    2] geronimo-j2ee-connector_1.5_spec (2.0.0)
[  51] [Active     ] [    2] geronimo-j2ee-management_1.1_spec (1.0.1)
[  52] [Active     ] [    2] geronimo-ws-metadata_2.0_spec (1.1.2)
[  53] [Active     ] [    1] OSGi R4 Compendium Bundle (4.1.0)
[  54] [Active     ] [    1] Apache Felix Declarative Services (1.0.8)
[  55] [Active     ] [    1] Apache Felix Configuration Admin Service (1.0.10)
[  56] [Active     ] [    1] Pax ConfMan - Properties Loader (0.2.1)
[  57] [Active     ] [    1] OPS4J Pax Logging - API (1.3.0)
[  58] [Active     ] [    1] OPS4J Pax Logging - Service (1.3.0)
[  59] [Active     ] [    1] Apache Felix EventAdmin (1.0.0)
[  60] [Active     ] [    1] Apache Felix File Install (1.2.0)
[  61] [Active     ] [    5] opencast-authentication-api (0.1.0.SNAPSHOT)
[  62] [Active     ] [    5] opencast-search-service-api (0.1.0.SNAPSHOT)
[  63] [Active     ] [    5] opencast-ingest-service-api (0.1.0.SNAPSHOT)
[  64] [Active     ] [    5] opencast-workflow-service-impl (0.1.0.SNAPSHOT)
[  65] [Active     ] [    5] opencast-http (0.1.0.SNAPSHOT)
[  66] [Active     ] [    5] opencast-inspection-service-api (0.1.0.SNAPSHOT)
[  67] [Active     ] [    5] opencast-engage-service-impl (0.1.0.SNAPSHOT)
[  68] [Active     ] [    5] opencast-search-service-impl (0.1.0.SNAPSHOT)
[  69] [Active     ] [    5] opencast-inspection-service-impl (0.1.0.SNAPSHOT)
[  70] [Active     ] [    5] opencast-delivery-service-impl (0.1.0.SNAPSHOT)
[  71] [Active     ] [    5] opencast-util (0.1.0.SNAPSHOT)
[  72] [Active     ] [    5] opencast-workspace-api (0.1.0.SNAPSHOT)
[  73] [Active     ] [    5] opencast-media (0.1.0.SNAPSHOT)
[  74] [Active     ] [    5] opencast-workspace-impl (0.1.0.SNAPSHOT)
[  75] [Active     ] [    5] opencast-ingest-service-impl (0.1.0.SNAPSHOT)
[  76] [Active     ] [    5] opencast-notification-service-api (0.1.0.SNAPSHOT)
[  77] [Active     ] [    5] opencast-runtime-info-ui (0.1.0.SNAPSHOT)
[  78] [Active     ] [    5] opencast-delivery-service-api (0.1.0.SNAPSHOT)
[  79] [Active     ] [    5] opencast-distribution-service-api (0.1.0.SNAPSHOT)
[  80] [Active     ] [    5] opencast-workflow-service-api (0.1.0.SNAPSHOT)
[  81] [Active     ] [    5] opencast-composer-service-impl (0.1.0.SNAPSHOT)
[  82] [Active     ] [    5] opencast-distribution-service-local-impl (0.1.0.SNAPSHOT)
[  83] [Active     ] [    5] opencast-working-file-repository-service-impl (0.1.0.SNAPSHOT)
[  84] [Active     ] [    5] opencast-engage-service-api (0.1.0.SNAPSHOT)
[  85] [Active     ] [    5] opencast-working-file-repository-service-api (0.1.0.SNAPSHOT)
[  86] [Active     ] [    5] /opt/matterhorn/felix/load/opencast-runtime-tools-0.1-SNAPSHOT.jar
[  87] [Active     ] [    5] opencast-conductor (0.1.0.SNAPSHOT)
[  88] [Active     ] [    5] opencast-composer-service-api (0.1.0.SNAPSHOT)

  
> 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
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> 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.