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

Glen Mazza commented on CXF-4329:
---------------------------------

I believe you're complaining that the java_first_jaxws sample does not show 
OSGi deployment, but OSGi deployment is outside the scope of such an 
entry-level sample.  Here, we're trying to show newbies how to create a web 
service using a Java-first approach, and providing both standalone and Tomcat 
deployment options.  While we should perhaps create separate OSGi samples, I 
would say those would better be placed within the precise containers (Karaf, 
Equinox, Felix, ServiceMix) as the associated extra bundles each container 
needs varies from container to container based on the container's 
pre-configuration setup.  But there's no bug here with the 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

        

Reply via email to