cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulhas Bhole (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4329) Service using simple frontend with JAXB binding causes a ClassNotFoundException when started in Karaf
Date Tue, 22 May 2012 10:00:41 GMT

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

Ulhas Bhole commented on CXF-4329:
----------------------------------

Looks like there are other issues as well.  I tried with Plain Apache karaf 2.2.7 and and
apache cxf 2.6.0 and cxf feature install itself failed with conflicting dependency chain.


karaf@root> features:install cxf
Error executing command: Could not start bundle mvn:org.apache.cxf/cxf-rt-bindings-soap/2.6.0
in feature(s) cxf-bindings-soap-2.6.0: Unable to resolve module org.apache.cxf.cxf-rt-bindings-soap
[87.0] because it is exposed to package 'javax.activation' from org.apache.servicemix.specs.activation-api-1.1
[64.0] and org.apache.felix.framework [0] via two dependency chains.

Chain 1:
  org.apache.cxf.cxf-rt-bindings-soap [87.0]
    import: (&(package=javax.activation)(version>=1.1.0)(!(version>=2.0.0)))
     |
    export: package=javax.activation
  org.apache.servicemix.specs.activation-api-1.1 [64.0]

Chain 2:
  org.apache.cxf.cxf-rt-bindings-soap [87.0]
    import: (package=javax.xml.soap)
     |
    export: package=javax.xml.soap; uses:=javax.activation
  org.apache.servicemix.specs.saaj-api-1.3 [70.0]
    import: (package=javax.activation)
     |
    export: package=javax.activation
  org.apache.felix.framework [0]
                
> 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
>            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