cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edell Nolan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-1736) Error in finding the DestinationFactory when using Soap/JMS with configuration
Date Wed, 06 Aug 2008 16:26:44 GMT

     [ https://issues.apache.org/jira/browse/CXF-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edell Nolan updated CXF-1736:
-----------------------------

    Attachment: cxf.xml

> Error in finding the DestinationFactory when using Soap/JMS with configuration
> ------------------------------------------------------------------------------
>
>                 Key: CXF-1736
>                 URL: https://issues.apache.org/jira/browse/CXF-1736
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0.8
>            Reporter: Edell Nolan
>         Attachments: cxf.xml, jms_greeter.wsdl
>
>
> Hi,
> I am trying to use soap/jms with the config specified in a file and it appears that its
currently broken.
> I have tested this on the latest cxf 2.0.8 version as well as an earlier version.
> To Reproduce this if you run the sample "jms_queue" it runs fine with the config in the
wsdl  but if you attempt to put this config in a config file it throws the following error
when you attempt to run the server
>      [java] Starting Server
>      [java] Exception in thread "main" javax.xml.ws.WebServiceException: org.apa
> che.cxf.service.factory.ServiceConstructionException
>      [java]     at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java
> :258)
>      [java]     at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:1
> 92)
>      [java]     at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoin
> t(ProviderImpl.java:74)
>      [java]     at javax.xml.ws.Endpoint.publish(Endpoint.java:156)
>      [java]     at demo.jms_greeter.server.Server.<init>(Server.java:30)
>      [java]     at demo.jms_greeter.server.Server.main(Server.java:34)
>      [java] Caused by: org.apache.cxf.service.factory.ServiceConstructionExcepti
> on
>      [java]     at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactor
> yBean.java:134)
>      [java]     at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServe
> rFactoryBean.java:160)
>      [java]     at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java
> :327)
>      [java]     at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java
> :242)
>      [java]     ... 5 more
>      [java] Caused by: org.apache.cxf.BusException: No DestinationFactory was fo
> und for the namespace http://cxf.apache.org/transport/jms.
>      [java]     at org.apache.cxf.transport.DestinationFactoryManagerImpl.getDes
> tinationFactory(DestinationFactoryManagerImpl.java:106)
>      [java]     at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl
> .java:85)
>      [java]     at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69)
>      [java]     at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactor
> yBean.java:115)
> I have attached the cxf.xml file with the config in it and the wsdl with the jms:address
commented out.
> cheers, Edell.

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


Mime
View raw message