cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-4329) Service using simple frontend with JAXB binding causes a ClassNotFoundException when started in Karaf
Date Mon, 21 May 2012 20:58:41 GMT

    [ https://issues.apache.org/jira/browse/CXF-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280480#comment-13280480
] 

Daniel Kulp edited comment on CXF-4329 at 5/21/12 8:57 PM:
-----------------------------------------------------------

I think the cxf-api module needs an additional Dynamic-Import.  Just not sure what it should
be.  The simple idea is to add "org.apache.cxf.\*" which would allow it to load any of the
CXF classes by name when needed.   The more complete option would be just "\*" to make all
of that more pluggable so things like the classnames on the @*Interceptors and @Features annotations
can be used.  Kind of hate that idea though.  

Will think about it.......
                
      was (Author: dkulp):
    
I think the cxf-api module needs an additional Dynamic-Import.  Just not sure what it should
be.  The simple idea is to add "org.apache.cxf.*" which would allow it to load any of the
CXF classes by name when needed.   The more complete option would be just "*" to make all
of that more pluggable so things like the classnames on the @*Interceptors and @Features annotations
can be used.  Kind of hate that idea though.  

Will think about it.......
                  
> Service using simple frontend with JAXB binding causes a ClassNotFoundException when
started in Karaf
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4329
>                 URL: https://issues.apache.org/jira/browse/CXF-4329
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding, Simple Frontend
>    Affects Versions: 2.6
>         Environment: Java 6, Karaf 2.2.7
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Glen Mazza
>            Priority: Minor
>         Attachments: ClassNotFoundException.txt, karaf_cl_issue.zip
>
>
> When I deploy the karaf_cl_issue service attached to this issue into karaf and try to
start it causes a ClassNotFoundException (org.apache.cxf.jaxb.JAXBDataBinding not found),
see ClassNotFoundException.txt for the full stacktrace. karaf_cl_issue is derived from the
java_first_jaxws sample. Instead of the JAX-WS frontend a Simple Frontend is used and build
was modified to create a bundle instead of war file.
> Using the sample with JAX-WS works fine, also building and deploying the Simple Frontend
based service with CXF-2.5.2 works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message