[
https://issues.apache.org/jira/browse/CXF-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280462#comment-13280462
]
Glen Mazza commented on CXF-4329:
---------------------------------
It's best to ask your questions first on the CXF user's list to figure out what
tweaking is needed with CXF 2.6 that wasn't needed in previous versions, and if
it's determined to be a CXF bug to go the JIRA. "My code isn't working!!!"
JIRA tickets usually annoy committers unless that pre-check step on CXF User's
was done first.
Of course, I don't think any sample deployed onto Karaf will run OOTB, you must
first pre-load CXF libraries/features
(http://www.dankulp.com/blog/2011/11/apache-cxf-in-osgi/). I'm going to be
testing first my own Java-first sample on Talend ESB to make sure that works
with the latest versions, then look at your (very similar) sample.
> 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