You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by ced_benoit <ce...@gmail.com> on 2013/06/21 15:09:00 UTC

[cxf] tomee Error deploying CXF webservice

Hi,

I have simple webservice and when I start the server, by exemple in eclipse,
i have this error come:

SEVERE: Error deploying CXF webservice for servlet
web.serve.cxf.test.TestWS3
org.apache.cxf.service.factory.ServiceConstructionException
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
	at
org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
	at
org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
	at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
	at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
	at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
	at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
	at
org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
	at
org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
	at
org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
	at
org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
	at
org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
	at
org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
	at
org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at
org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
	at
org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
	at
org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
	at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
	at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassCastException: class
org.apache.cxf.jaxb.JAXBDataBinding
	at java.lang.Class.asSubclass(Class.java:3046)
	at
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
	at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
	... 36 more

I use TomEE 7.0.37

I don't know what is wrong? Is anybody has an idea? I checked my webservice,
i don't find what is wrong.

thank you for your help

Cedirc




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

Did you configure the databinding or do you use default one?

If you can maybe try the snapshot or previous version

Ps: this mail wpuld be better on tomee list i think
Le 21 juin 2013 15:09, "ced_benoit" <ce...@gmail.com> a écrit :

> Hi,
>
> I have simple webservice and when I start the server, by exemple in
> eclipse,
> i have this error come:
>
> SEVERE: Error deploying CXF webservice for servlet
> web.serve.cxf.test.TestWS3
> org.apache.cxf.service.factory.ServiceConstructionException
>         at
>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>         at
>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>         at
>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>         at
>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>         at
>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>         at
>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>         at
>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>         at
>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>         at
>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>         at
>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>         at
>
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>         at
>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>         at
>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>         at
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
>         at
>
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>         at
>
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>         at
>
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at
>
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>         at
>
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>         at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
>         at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>         at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>         at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.ClassCastException: class
> org.apache.cxf.jaxb.JAXBDataBinding
>         at java.lang.Class.asSubclass(Class.java:3046)
>         at
>
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>         at
>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>         ... 36 more
>
> I use TomEE 7.0.37
>
> I don't know what is wrong? Is anybody has an idea? I checked my
> webservice,
> i don't find what is wrong.
>
> thank you for your help
>
> Cedirc
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>

Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
Hi Sergey,

thank you for your hep!

In my case, i use TomEE+ 1.5.2 and cxf 2.7.4 and probably there are
librairies conflicts. I'll see and send you an answer about this!

Cedric



--
View this message in context: http://cxf.547215.n5.nabble.com/Re-cxf-tomee-Error-deploying-CXF-webservice-tp5729655p5729710.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi

Appears to be a class loading issue, multiple CXF versions may be or 
something else,

Please, ask such questions on CXF users list (where I'm redirecting this 
post)

Thanks, Sergey
On 21/06/13 14:09, ced_benoit wrote:
> Hi,
>
> I have simple webservice and when I start the server, by exemple in eclipse,
> i have this error come:
>
> SEVERE: Error deploying CXF webservice for servlet
> web.serve.cxf.test.TestWS3
> org.apache.cxf.service.factory.ServiceConstructionException
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
> 	at
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
> 	at
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
> 	at
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> 	at
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
> 	at
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
> 	at
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> 	at
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> 	at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> 	at
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
> 	at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> 	at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.ClassCastException: class
> org.apache.cxf.jaxb.JAXBDataBinding
> 	at java.lang.Class.asSubclass(Class.java:3046)
> 	at
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
> 	... 36 more
>
> I use TomEE 7.0.37
>
> I don't know what is wrong? Is anybody has an idea? I checked my webservice,
> i don't find what is wrong.
>
> thank you for your help
>
> Cedirc
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>



Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
Hi,

I have deployed this same project with tomcat 7.0.37 and I have no error. I
think there is a conflict betweenn jars files between Tomee+ 1.5.2 and CXF
2.7.4! I don't know in which file. If someone has an idea, thank you for
his help.

Thank you Romain for your help!

Cedric


2013/9/18 Romain Manni-Bucau [via CXF] <
ml-node+s547215n5734196h48@n5.nabble.com>

> Well  i guess it would be too much and not such it will run on my
> computer (eclipse), basically check you don't have 2 cxf jars of
> different versions or that you provided the whole cxf suite in the
> webapp (if it works without modifying cxf jars it means you changed
> something). If the issue doesn't appear in a standalone installation
> you should contact eclipse/wtp team (they are really doing things in a
> way not production ready and it would be great if they could fix it to
> be closer to standalone mode like tomee maven plugin does).
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2013/9/18 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5734196&i=0>>:
>
>
> > Hi Romain,
> >
> > Thank you for your answer! In fact, it's TomEE+ that I use. If you want
> I
> > can send you my exemple project and the environnement in  which it is
> > deployed. So I think that I will probably reproduce and see the error
> that
> > I have ???
> >
> > Cedirc
> >
> >
> >
> >
> > 2013/9/17 Romain Manni-Bucau [via CXF] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734196&i=1>>
> >
> >> Hi
> >>
> >> well your sample works fine with a default tomee out of the box, you
> >> should maybe create a ant or maven project to get the same
> >> dependencies as you otherwise we'll test with different configs.
> >>
> >>
> >> Note: i replaced cxf 2.6 jars by cxf 2.7 ones and it seems fine too
> >> but i didn't test with eclipse, their classpath handling sucks and
> >> doesn't follow tomcat standards so maybe that's the issue.
> >>
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >>
> >> 2013/9/17 ced_benoit <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5734168&i=0>>:
> >>
> >>
> >> > Hi Romain Manni-Bucau,
> >> >
> >> > you should find in GitHub on public a repository named "GitHubWS".
> >> >
> >> > Thank you for your help
> >> >
> >> > Regards
> >> > Cedric
> >> >
> >> >
> >> > 2013/9/17 Romain Manni-Bucau [via CXF] <
> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734168&i=1>>
>
> >> >
> >> >> Hi
> >> >>
> >> >> just put it on a public repo (github, code google...)
> >> >> Romain Manni-Bucau
> >> >> Twitter: @rmannibucau
> >> >> Blog: http://rmannibucau.wordpress.com/
> >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> Github: https://github.com/rmannibucau
> >> >>
> >> >>
> >> >>
> >> >> 2013/9/17 ced_benoit <[hidden email]<
> >> http://user/SendEmail.jtp?type=node&node=5734144&i=0>>:
> >> >>
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> > Now I have a exemple that I can share to reproduce this problem!
> How
> >> is
> >> >> the
> >> >> > first time for me, where I find the instructions to post it on the
> >> >> trunc?
> >> >> >
> >> >> > Thank you for your help!
> >> >> >
> >> >> > Cedric
> >> >> >
> >> >> >
> >> >> > 2013/6/30 Romain Manni-Bucau [via CXF] <
> >> >> > [hidden email] <
> http://user/SendEmail.jtp?type=node&node=5734144&i=1>>
> >>
> >> >> >
> >> >> >> Hi,
> >> >> >>
> >> >> >> can you share a sample failling on our trunk (mvn project would
> be
> >> >> great,
> >> >> >> you can use tomee-maven-plugin to add/remove libs)? i know some
> guys
> >> >> uses
> >> >> >> fediz on tomee without issues and if i'm not mistaken fediz uses
> cxf
> >> >> >> 2.7.x.
> >> >> >>
> >> >> >> *Romain Manni-Bucau*
> >> >> >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> >> >> *Blog: **http://rmannibucau.wordpress.com/*<
> >> >> >> http://rmannibucau.wordpress.com/>
> >> >> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> >> >> *Github: https://github.com/rmannibucau*
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> 2013/6/28 ced_benoit <[hidden email]<
> >> >> http://user/SendEmail.jtp?type=node&node=5730107&i=0>>
> >> >> >>
> >> >> >>
> >> >> >> > Hi Romain,
> >> >> >> >
> >> >> >> > I download your link: http://repo1.maven.org/maven2/
> >> >> >> > org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
> >> >> >> > In this zip, I have full geronimo*.jar. When I remove the
> >> >> >> > cxf-rt-databinding-jaxb (version 2.6.4) and I start the server,
> I
> >> >> have
> >> >> >> > always the same error (it's strenge) ??? Or if copy all
> >> geronimo*.jar
> >> >> >> > javaee-api-6.0-5.zip, the error stay always the same (see the
> >> first
> >> >> >> post)!
> >> >> >> > In TomEE+, do you know if another class use jaxb ?
> >> >> >> >
> >> >> >> > thank you for your help
> >> >> >> >
> >> >> >> > Cedric
> >> >> >> >
> >> >> >> >
> >> >> >> > 2013/6/24 Romain Manni-Bucau [via CXF] <
> >> >> >> > [hidden email] <
> >> http://user/SendEmail.jtp?type=node&node=5730107&i=1>>
> >> >>
> >> >> >> >
> >> >> >> > > this class is in cxf-rt-databinding-jaxb but think api are in
> >> >> >> javaee-api
> >> >> >> > > so
> >> >> >> > > you need to remove this jar and add all geronimo api one by
> one
> >> to
> >> >> be
> >> >> >> > able
> >> >> >> > > to replace jaxrs and jaxws ones (this zip
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
> >> >> >> > > help)
> >> >> >> > >
> >> >> >> > > Romain Manni-Bucau
> >> >> >> > > Twitter: @rmannibucau
> >> >> >> > > Blog: http://rmannibucau.wordpress.com/
> >> >> >> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> >> > > Github: https://github.com/rmannibucau
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > 2013/6/24 ced_benoit <[hidden email]<
> >> >> >> > http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > >
> >> >> >> > > > HI Romain,
> >> >> >> > > >
> >> >> >> > > > I try to update myself tomee like this:
> >> >> >> > > >
> >> >> >> > > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
> >> >> >> > > > cxf-rt-core-2.6.4,...) and I replace them by:
> >> >> >> > > >
> >> >> >> > > > the jar file of the cxf 2.7.4  begin with cxf,..
> (cxf-2.7.4,
> >> >> >> > > cxf-manifest,
> >> >> >> > > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
> >> >> >> > > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2
> >> and
> >> >> >> > > > httpcore-nio-4.2.2).
> >> >> >> > > >
> >> >> >> > > > In the end, I have the result that in my first message.
> >> >> >> > > >
> >> >> >> > > > I have new in cxf and I don't know it is the best thing to
> do
> >> for
> >> >> >> > > update!
> >> >> >> > > > My question in which jar file
> >> >> "org.apache.cxf.jaxb.JAXBDataBinding"
> >> >> >> is
> >> >> >> > > > defined in cxf 2.7.4?
> >> >> >> > > >
> >> >> >> > > > Thank you for your help!
> >> >> >> > > >
> >> >> >> > > > Cedric
> >> >> >> > > >
> >> >> >> > > >
> >> >> >> > > > 2013/6/24 Romain Manni-Bucau [via CXF] <
> >> >> >> > > > [hidden email] <
> >> >> http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
> >> >> >>
> >> >> >> > > >
> >> >> >> > > > > hi
> >> >> >> > > > >
> >> >> >> > > > > tomee + cxf 2.7 can't work out of the box (or you have to
> >> >> update
> >> >> >> it
> >> >> >> > > > > yourself) since tomee has to be javaee 6 certified (web
> >> profile
> >> >> >> and
> >> >> >> > > wep
> >> >> >> > > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7
> so
> >> it
> >> >> >> can't
> >> >> >> > > be
> >> >> >> > > > > included (sadly).
> >> >> >> > > > >
> >> >> >> > > > > *Romain Manni-Bucau*
> >> >> >> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>
> >> >> >> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> >> >> >> > > > > http://rmannibucau.wordpress.com/>
> >> >> >> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> >> >> > > > > *Github: https://github.com/rmannibucau*
> >> >> >> > > > >
> >> >> >> > > > >
> >> >> >> > > > >
> >> >> >> > > > > 2013/6/24 ced_benoit <[hidden email]<
> >> >> >> > > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > >
> >> >> >> > > > > > Hi,
> >> >> >> > > > > >
> >> >> >> > > > > > thank for your help!
> >> >> >> > > > > >
> >> >> >> > > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use
> >> TomEE
> >> >> and
> >> >> >> I
> >> >> >> > > have
> >> >> >> > > > > senn
> >> >> >> > > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in
> the
> >> jar
> >> >> >> > > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version
> that
> >> I
> >> >> >> have
> >> >> >> > in
> >> >> >> > > the
> >> >> >> > >
> >> >> >> > > > > > lib of TomEE). But in cxf 2.7.4, I haven't this
> library?
> >> >> Where
> >> >> >> can
> >> >> >> > I
> >> >> >> > > > > find
> >> >> >> > > > > > it in cxf 2.7.4?
> >> >> >> > > > > >
> >> >> >> > > > > > Thank you for your help!
> >> >> >> > > > > >
> >> >> >> > > > > > Cedirc
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
> >> >> >> > > > > > [hidden email] <
> >> >> >> > http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
> >> >> >> > >
> >> >> >> > > > > >
> >> >> >> > > > > > > FYI this should work on trunk (providing cxf)
> >> >> >> > > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> >> >> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> >> >> >> > > > > > > a écrit :
> >> >> >> > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > > > This looks like a class loader issue.    Keep in
> mind,
> >> >> TomEE
> >> >> >> > > > > includes
> >> >> >> > > > > > > CXF
> >> >> >> > > > > > > > already.  Thus, if you are adding CXF to your
> project,
> >> it
> >> >> >> may
> >> >> >> > > end
> >> >> >> > > up
> >> >> >> > >
> >> >> >> > > > > in
> >> >> >> > > > > > > > TomEE twice and then have conflicts.
> >> >> >> > > > > > > >
> >> >> >> > > > > > > > Dan
> >> >> >> > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden
> >> email]<
> >> >> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> >> >> >> > > > > > > wrote:
> >> >> >> > > > > > > >
> >> >> >> > > > > > > > > Hi,
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > > I have simple webservice and when I start the
> >> server,
> >> >> by
> >> >> >> > > exemple
> >> >> >> > > > > in
> >> >> >> > > > > > > > eclipse,
> >> >> >> > > > > > > > > i have this error come:
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > > SEVERE: Error deploying CXF webservice for
> servlet
> >> >> >> > > > > > > > > web.serve.cxf.test.TestWS3
> >> >> >> > > > > > > > >
> >> >> >> org.apache.cxf.service.factory.ServiceConstructionException
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> >> >> > > > > Method)
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> java.lang.reflect.Method.invoke(Method.java:601)
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> >> >> >> > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > >
> >> >> >> > >
> >> >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > >
> >> >> >> > >
> >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >> >> >> > > > > > > > >       at
> >> >> >> > > java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at java.lang.Thread.run(Thread.java:722)
> >> >> >> > > > > > > > > Caused by: java.lang.ClassCastException: class
> >> >> >> > > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
> >> >> >> > > > > > > > >       at
> java.lang.Class.asSubclass(Class.java:3046)
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       at
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>
> >>
> >> >>
> >> >> >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > > >       ... 36 more
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > > I use TomEE 7.0.37
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > > I don't know what is wrong? Is anybody has an
> idea?
> >> I
> >> >> >> checked
> >> >> >> > > my
> >> >> >> > > > > > > > webservice,
> >> >> >> > > > > > > > > i don't find what is wrong.
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > > thank you for your help
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > > Cedirc
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > >
> >> >> >> > > > > > > > > --
> >> >> >> > > > > > > > > View this message in context:
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> >> >> >> > > > > > > > > Sent from the cxf-dev mailing list archive at
> >> >> Nabble.com.
> >> >> >> > > > > > > >
> >> >> >> > > > > > > > --
> >> >> >> > > > > > > > Daniel Kulp
> >> >> >> > > > > > > > [hidden email] <
> >> >> >> > > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > -
> >> >> >> > > > > > > http://dankulp.com/blog
> >> >> >> > > > > > >
> >> >> >> > > > > > > > Talend Community Coder - http://coders.talend.com
> >> >> >> > > > > > > >
> >> >> >> > > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > > ------------------------------
> >> >> >> > > > > > >  If you reply to this email, your message will be
> added
> >> to
> >> >> the
> >> >> >> > > > > discussion
> >> >> >> > > > > > > below:
> >> >> >> > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> >> >> >> > > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
> >> >> >> webservice,
> >> >> >> > > click
> >> >> >> > > > > > > here<
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > > > .
> >> >> >> > > > > > > NAML<
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> >> >> > >
> >> >> >> > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > > --
> >> >> >> > > > > > View this message in context:
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> >> >> >> > > > >
> >> >> >> > > > > > Sent from the cxf-dev mailing list archive at
> Nabble.com.
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > > > >
> >> >> >> > > > > ------------------------------
> >> >> >> > > > >  If you reply to this email, your message will be added
> to
> >> the
> >> >> >> > > discussion
> >> >> >> > > > > below:
> >> >> >> > > > >
> >> >> >> > > > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
> >> >> >> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
> >> >> webservice,
> >> >> >> > click
> >> >> >> > > > > here<
> >> >> >> > >
> >> >> >> > > > > .
> >> >> >> > > > > NAML<
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> >> >> > > >
> >> >> >> > > > >
> >> >> >> > > >
> >> >> >> > > >
> >> >> >> > > >
> >> >> >> > > >
> >> >> >> > > > --
> >> >> >> > > > View this message in context:
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
> >> >> >> > >
> >> >> >> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > ------------------------------
> >> >> >> > >  If you reply to this email, your message will be added to
> the
> >> >> >> discussion
> >> >> >> > > below:
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
> >> >> >> > >  To unsubscribe from [cxf] tomee Error deploying CXF
> webservice,
> >> >> click
> >> >> >> > > here<
> >> >> >> > >
> >> >> >> > > .
> >> >> >> > > NAML<
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > View this message in context:
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
> >> >> >>
> >> >> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> ------------------------------
> >> >> >>  If you reply to this email, your message will be added to the
> >> >> discussion
> >> >> >> below:
> >> >> >>
> >> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730107.html
> >> >> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> >> click
> >> >> >> here<
> >> >> >> .
> >> >> >> NAML<
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > View this message in context:
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734141.html
> >> >>
> >> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>  If you reply to this email, your message will be added to the
> >> discussion
> >> >> below:
> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734144.html
> >> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> click
> >> >> here<
> >> >> .
> >> >> NAML<
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734163.html
> >>
> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734168.html
> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> >> here<
> >> .
> >> NAML<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734195.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734196.html
>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734260.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Well  i guess it would be too much and not such it will run on my
computer (eclipse), basically check you don't have 2 cxf jars of
different versions or that you provided the whole cxf suite in the
webapp (if it works without modifying cxf jars it means you changed
something). If the issue doesn't appear in a standalone installation
you should contact eclipse/wtp team (they are really doing things in a
way not production ready and it would be great if they could fix it to
be closer to standalone mode like tomee maven plugin does).

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/9/18 ced_benoit <ce...@gmail.com>:
> Hi Romain,
>
> Thank you for your answer! In fact, it's TomEE+ that I use. If you want I
> can send you my exemple project and the environnement in  which it is
> deployed. So I think that I will probably reproduce and see the error that
> I have ???
>
> Cedirc
>
>
>
>
> 2013/9/17 Romain Manni-Bucau [via CXF] <
> ml-node+s547215n5734168h80@n5.nabble.com>
>
>> Hi
>>
>> well your sample works fine with a default tomee out of the box, you
>> should maybe create a ant or maven project to get the same
>> dependencies as you otherwise we'll test with different configs.
>>
>>
>> Note: i replaced cxf 2.6 jars by cxf 2.7 ones and it seems fine too
>> but i didn't test with eclipse, their classpath handling sucks and
>> doesn't follow tomcat standards so maybe that's the issue.
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>> 2013/9/17 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5734168&i=0>>:
>>
>>
>> > Hi Romain Manni-Bucau,
>> >
>> > you should find in GitHub on public a repository named "GitHubWS".
>> >
>> > Thank you for your help
>> >
>> > Regards
>> > Cedric
>> >
>> >
>> > 2013/9/17 Romain Manni-Bucau [via CXF] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734168&i=1>>
>> >
>> >> Hi
>> >>
>> >> just put it on a public repo (github, code google...)
>> >> Romain Manni-Bucau
>> >> Twitter: @rmannibucau
>> >> Blog: http://rmannibucau.wordpress.com/
>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> Github: https://github.com/rmannibucau
>> >>
>> >>
>> >>
>> >> 2013/9/17 ced_benoit <[hidden email]<
>> http://user/SendEmail.jtp?type=node&node=5734144&i=0>>:
>> >>
>> >>
>> >> > Hi,
>> >> >
>> >> > Now I have a exemple that I can share to reproduce this problem! How
>> is
>> >> the
>> >> > first time for me, where I find the instructions to post it on the
>> >> trunc?
>> >> >
>> >> > Thank you for your help!
>> >> >
>> >> > Cedric
>> >> >
>> >> >
>> >> > 2013/6/30 Romain Manni-Bucau [via CXF] <
>> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734144&i=1>>
>>
>> >> >
>> >> >> Hi,
>> >> >>
>> >> >> can you share a sample failling on our trunk (mvn project would be
>> >> great,
>> >> >> you can use tomee-maven-plugin to add/remove libs)? i know some guys
>> >> uses
>> >> >> fediz on tomee without issues and if i'm not mistaken fediz uses cxf
>> >> >> 2.7.x.
>> >> >>
>> >> >> *Romain Manni-Bucau*
>> >> >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> >> >> *Blog: **http://rmannibucau.wordpress.com/*<
>> >> >> http://rmannibucau.wordpress.com/>
>> >> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> >> >> *Github: https://github.com/rmannibucau*
>> >> >>
>> >> >>
>> >> >>
>> >> >> 2013/6/28 ced_benoit <[hidden email]<
>> >> http://user/SendEmail.jtp?type=node&node=5730107&i=0>>
>> >> >>
>> >> >>
>> >> >> > Hi Romain,
>> >> >> >
>> >> >> > I download your link: http://repo1.maven.org/maven2/
>> >> >> > org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
>> >> >> > In this zip, I have full geronimo*.jar. When I remove the
>> >> >> > cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I
>> >> have
>> >> >> > always the same error (it's strenge) ??? Or if copy all
>> geronimo*.jar
>> >> >> > javaee-api-6.0-5.zip, the error stay always the same (see the
>> first
>> >> >> post)!
>> >> >> > In TomEE+, do you know if another class use jaxb ?
>> >> >> >
>> >> >> > thank you for your help
>> >> >> >
>> >> >> > Cedric
>> >> >> >
>> >> >> >
>> >> >> > 2013/6/24 Romain Manni-Bucau [via CXF] <
>> >> >> > [hidden email] <
>> http://user/SendEmail.jtp?type=node&node=5730107&i=1>>
>> >>
>> >> >> >
>> >> >> > > this class is in cxf-rt-databinding-jaxb but think api are in
>> >> >> javaee-api
>> >> >> > > so
>> >> >> > > you need to remove this jar and add all geronimo api one by one
>> to
>> >> be
>> >> >> > able
>> >> >> > > to replace jaxrs and jaxws ones (this zip
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
>> >> >> > > help)
>> >> >> > >
>> >> >> > > Romain Manni-Bucau
>> >> >> > > Twitter: @rmannibucau
>> >> >> > > Blog: http://rmannibucau.wordpress.com/
>> >> >> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> >> > > Github: https://github.com/rmannibucau
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> > > 2013/6/24 ced_benoit <[hidden email]<
>> >> >> > http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
>> >> >> > >
>> >> >> > >
>> >> >> > > >
>> >> >> > > > HI Romain,
>> >> >> > > >
>> >> >> > > > I try to update myself tomee like this:
>> >> >> > > >
>> >> >> > > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
>> >> >> > > > cxf-rt-core-2.6.4,...) and I replace them by:
>> >> >> > > >
>> >> >> > > > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
>> >> >> > > cxf-manifest,
>> >> >> > > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
>> >> >> > > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2
>> and
>> >> >> > > > httpcore-nio-4.2.2).
>> >> >> > > >
>> >> >> > > > In the end, I have the result that in my first message.
>> >> >> > > >
>> >> >> > > > I have new in cxf and I don't know it is the best thing to do
>> for
>> >> >> > > update!
>> >> >> > > > My question in which jar file
>> >> "org.apache.cxf.jaxb.JAXBDataBinding"
>> >> >> is
>> >> >> > > > defined in cxf 2.7.4?
>> >> >> > > >
>> >> >> > > > Thank you for your help!
>> >> >> > > >
>> >> >> > > > Cedric
>> >> >> > > >
>> >> >> > > >
>> >> >> > > > 2013/6/24 Romain Manni-Bucau [via CXF] <
>> >> >> > > > [hidden email] <
>> >> http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
>> >> >>
>> >> >> > > >
>> >> >> > > > > hi
>> >> >> > > > >
>> >> >> > > > > tomee + cxf 2.7 can't work out of the box (or you have to
>> >> update
>> >> >> it
>> >> >> > > > > yourself) since tomee has to be javaee 6 certified (web
>> profile
>> >> >> and
>> >> >> > > wep
>> >> >> > > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so
>> it
>> >> >> can't
>> >> >> > > be
>> >> >> > > > > included (sadly).
>> >> >> > > > >
>> >> >> > > > > *Romain Manni-Bucau*
>> >> >> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> >> >> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
>> >> >> > > > > http://rmannibucau.wordpress.com/>
>> >> >> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> >> >> > > > > *Github: https://github.com/rmannibucau*
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > > > 2013/6/24 ced_benoit <[hidden email]<
>> >> >> > > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > > > > Hi,
>> >> >> > > > > >
>> >> >> > > > > > thank for your help!
>> >> >> > > > > >
>> >> >> > > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use
>> TomEE
>> >> and
>> >> >> I
>> >> >> > > have
>> >> >> > > > > senn
>> >> >> > > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the
>> jar
>> >> >> > > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that
>> I
>> >> >> have
>> >> >> > in
>> >> >> > > the
>> >> >> > >
>> >> >> > > > > > lib of TomEE). But in cxf 2.7.4, I haven't this library?
>> >> Where
>> >> >> can
>> >> >> > I
>> >> >> > > > > find
>> >> >> > > > > > it in cxf 2.7.4?
>> >> >> > > > > >
>> >> >> > > > > > Thank you for your help!
>> >> >> > > > > >
>> >> >> > > > > > Cedirc
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
>> >> >> > > > > > [hidden email] <
>> >> >> > http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
>> >> >> > >
>> >> >> > > > > >
>> >> >> > > > > > > FYI this should work on trunk (providing cxf)
>> >> >> > > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
>> >> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
>> >> >> > > > > > > a écrit :
>> >> >> > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > > > This looks like a class loader issue.    Keep in mind,
>> >> TomEE
>> >> >> > > > > includes
>> >> >> > > > > > > CXF
>> >> >> > > > > > > > already.  Thus, if you are adding CXF to your project,
>> it
>> >> >> may
>> >> >> > > end
>> >> >> > > up
>> >> >> > >
>> >> >> > > > > in
>> >> >> > > > > > > > TomEE twice and then have conflicts.
>> >> >> > > > > > > >
>> >> >> > > > > > > > Dan
>> >> >> > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden
>> email]<
>> >> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
>> >> >> > > > > > > wrote:
>> >> >> > > > > > > >
>> >> >> > > > > > > > > Hi,
>> >> >> > > > > > > > >
>> >> >> > > > > > > > > I have simple webservice and when I start the
>> server,
>> >> by
>> >> >> > > exemple
>> >> >> > > > > in
>> >> >> > > > > > > > eclipse,
>> >> >> > > > > > > > > i have this error come:
>> >> >> > > > > > > > >
>> >> >> > > > > > > > > SEVERE: Error deploying CXF webservice for servlet
>> >> >> > > > > > > > > web.serve.cxf.test.TestWS3
>> >> >> > > > > > > > >
>> >> >> org.apache.cxf.service.factory.ServiceConstructionException
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> >> >> > > > > Method)
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> java.lang.reflect.Method.invoke(Method.java:601)
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
>> >> >> > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > >
>> >> >> > >
>> >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > >
>> >> >> > >
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>> >> >> > > > > > > > >       at
>> >> >> > > java.util.concurrent.FutureTask.run(FutureTask.java:166)
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at java.lang.Thread.run(Thread.java:722)
>> >> >> > > > > > > > > Caused by: java.lang.ClassCastException: class
>> >> >> > > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
>> >> >> > > > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       at
>> >> >> > > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>>
>> >>
>> >> >>
>> >> >> > >
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > > >       ... 36 more
>> >> >> > > > > > > > >
>> >> >> > > > > > > > > I use TomEE 7.0.37
>> >> >> > > > > > > > >
>> >> >> > > > > > > > > I don't know what is wrong? Is anybody has an idea?
>> I
>> >> >> checked
>> >> >> > > my
>> >> >> > > > > > > > webservice,
>> >> >> > > > > > > > > i don't find what is wrong.
>> >> >> > > > > > > > >
>> >> >> > > > > > > > > thank you for your help
>> >> >> > > > > > > > >
>> >> >> > > > > > > > > Cedirc
>> >> >> > > > > > > > >
>> >> >> > > > > > > > >
>> >> >> > > > > > > > >
>> >> >> > > > > > > > >
>> >> >> > > > > > > > > --
>> >> >> > > > > > > > > View this message in context:
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
>> >> >> > > > > > > > > Sent from the cxf-dev mailing list archive at
>> >> Nabble.com.
>> >> >> > > > > > > >
>> >> >> > > > > > > > --
>> >> >> > > > > > > > Daniel Kulp
>> >> >> > > > > > > > [hidden email] <
>> >> >> > > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > -
>> >> >> > > > > > > http://dankulp.com/blog
>> >> >> > > > > > >
>> >> >> > > > > > > > Talend Community Coder - http://coders.talend.com
>> >> >> > > > > > > >
>> >> >> > > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > > > ------------------------------
>> >> >> > > > > > >  If you reply to this email, your message will be added
>> to
>> >> the
>> >> >> > > > > discussion
>> >> >> > > > > > > below:
>> >> >> > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
>> >> >> > > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
>> >> >> webservice,
>> >> >> > > click
>> >> >> > > > > > > here<
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > > > .
>> >> >> > > > > > > NAML<
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >> >> > >
>> >> >> > > > >
>> >> >> > > > > > >
>> >> >> > > > > > >
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > > --
>> >> >> > > > > > View this message in context:
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
>> >> >> > > > >
>> >> >> > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > > > ------------------------------
>> >> >> > > > >  If you reply to this email, your message will be added to
>> the
>> >> >> > > discussion
>> >> >> > > > > below:
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
>> >> >> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
>> >> webservice,
>> >> >> > click
>> >> >> > > > > here<
>> >> >> > >
>> >> >> > > > > .
>> >> >> > > > > NAML<
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >> >> > > >
>> >> >> > > > >
>> >> >> > > >
>> >> >> > > >
>> >> >> > > >
>> >> >> > > >
>> >> >> > > > --
>> >> >> > > > View this message in context:
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
>> >> >> > >
>> >> >> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >> >> > >
>> >> >> > >
>> >> >> > > ------------------------------
>> >> >> > >  If you reply to this email, your message will be added to the
>> >> >> discussion
>> >> >> > > below:
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
>> >> >> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
>> >> click
>> >> >> > > here<
>> >> >> > >
>> >> >> > > .
>> >> >> > > NAML<
>> >> >> >
>> >> >>
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > View this message in context:
>> >> >> >
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
>> >> >>
>> >> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >> >> >
>> >> >>
>> >> >>
>> >> >> ------------------------------
>> >> >>  If you reply to this email, your message will be added to the
>> >> discussion
>> >> >> below:
>> >> >>
>> >> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730107.html
>> >> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
>> click
>> >> >> here<
>> >> >> .
>> >> >> NAML<
>> >>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734141.html
>> >>
>> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ------------------------------
>> >>  If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734144.html
>> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
>> >> here<
>> >> .
>> >> NAML<
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734163.html
>>
>> > Sent from the cxf-dev mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734168.html
>>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
>> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
>> .
>> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734195.html
> Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
Hi Romain,

Thank you for your answer! In fact, it's TomEE+ that I use. If you want I
can send you my exemple project and the environnement in  which it is
deployed. So I think that I will probably reproduce and see the error that
I have ???

Cedirc




2013/9/17 Romain Manni-Bucau [via CXF] <
ml-node+s547215n5734168h80@n5.nabble.com>

> Hi
>
> well your sample works fine with a default tomee out of the box, you
> should maybe create a ant or maven project to get the same
> dependencies as you otherwise we'll test with different configs.
>
>
> Note: i replaced cxf 2.6 jars by cxf 2.7 ones and it seems fine too
> but i didn't test with eclipse, their classpath handling sucks and
> doesn't follow tomcat standards so maybe that's the issue.
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2013/9/17 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5734168&i=0>>:
>
>
> > Hi Romain Manni-Bucau,
> >
> > you should find in GitHub on public a repository named "GitHubWS".
> >
> > Thank you for your help
> >
> > Regards
> > Cedric
> >
> >
> > 2013/9/17 Romain Manni-Bucau [via CXF] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734168&i=1>>
> >
> >> Hi
> >>
> >> just put it on a public repo (github, code google...)
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >>
> >> 2013/9/17 ced_benoit <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5734144&i=0>>:
> >>
> >>
> >> > Hi,
> >> >
> >> > Now I have a exemple that I can share to reproduce this problem! How
> is
> >> the
> >> > first time for me, where I find the instructions to post it on the
> >> trunc?
> >> >
> >> > Thank you for your help!
> >> >
> >> > Cedric
> >> >
> >> >
> >> > 2013/6/30 Romain Manni-Bucau [via CXF] <
> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734144&i=1>>
>
> >> >
> >> >> Hi,
> >> >>
> >> >> can you share a sample failling on our trunk (mvn project would be
> >> great,
> >> >> you can use tomee-maven-plugin to add/remove libs)? i know some guys
> >> uses
> >> >> fediz on tomee without issues and if i'm not mistaken fediz uses cxf
> >> >> 2.7.x.
> >> >>
> >> >> *Romain Manni-Bucau*
> >> >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> >> *Blog: **http://rmannibucau.wordpress.com/*<
> >> >> http://rmannibucau.wordpress.com/>
> >> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> >> *Github: https://github.com/rmannibucau*
> >> >>
> >> >>
> >> >>
> >> >> 2013/6/28 ced_benoit <[hidden email]<
> >> http://user/SendEmail.jtp?type=node&node=5730107&i=0>>
> >> >>
> >> >>
> >> >> > Hi Romain,
> >> >> >
> >> >> > I download your link: http://repo1.maven.org/maven2/
> >> >> > org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
> >> >> > In this zip, I have full geronimo*.jar. When I remove the
> >> >> > cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I
> >> have
> >> >> > always the same error (it's strenge) ??? Or if copy all
> geronimo*.jar
> >> >> > javaee-api-6.0-5.zip, the error stay always the same (see the
> first
> >> >> post)!
> >> >> > In TomEE+, do you know if another class use jaxb ?
> >> >> >
> >> >> > thank you for your help
> >> >> >
> >> >> > Cedric
> >> >> >
> >> >> >
> >> >> > 2013/6/24 Romain Manni-Bucau [via CXF] <
> >> >> > [hidden email] <
> http://user/SendEmail.jtp?type=node&node=5730107&i=1>>
> >>
> >> >> >
> >> >> > > this class is in cxf-rt-databinding-jaxb but think api are in
> >> >> javaee-api
> >> >> > > so
> >> >> > > you need to remove this jar and add all geronimo api one by one
> to
> >> be
> >> >> > able
> >> >> > > to replace jaxrs and jaxws ones (this zip
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
> >> >> > > help)
> >> >> > >
> >> >> > > Romain Manni-Bucau
> >> >> > > Twitter: @rmannibucau
> >> >> > > Blog: http://rmannibucau.wordpress.com/
> >> >> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> >> > > Github: https://github.com/rmannibucau
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > 2013/6/24 ced_benoit <[hidden email]<
> >> >> > http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
> >> >> > >
> >> >> > >
> >> >> > > >
> >> >> > > > HI Romain,
> >> >> > > >
> >> >> > > > I try to update myself tomee like this:
> >> >> > > >
> >> >> > > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
> >> >> > > > cxf-rt-core-2.6.4,...) and I replace them by:
> >> >> > > >
> >> >> > > > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
> >> >> > > cxf-manifest,
> >> >> > > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
> >> >> > > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2
> and
> >> >> > > > httpcore-nio-4.2.2).
> >> >> > > >
> >> >> > > > In the end, I have the result that in my first message.
> >> >> > > >
> >> >> > > > I have new in cxf and I don't know it is the best thing to do
> for
> >> >> > > update!
> >> >> > > > My question in which jar file
> >> "org.apache.cxf.jaxb.JAXBDataBinding"
> >> >> is
> >> >> > > > defined in cxf 2.7.4?
> >> >> > > >
> >> >> > > > Thank you for your help!
> >> >> > > >
> >> >> > > > Cedric
> >> >> > > >
> >> >> > > >
> >> >> > > > 2013/6/24 Romain Manni-Bucau [via CXF] <
> >> >> > > > [hidden email] <
> >> http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
> >> >>
> >> >> > > >
> >> >> > > > > hi
> >> >> > > > >
> >> >> > > > > tomee + cxf 2.7 can't work out of the box (or you have to
> >> update
> >> >> it
> >> >> > > > > yourself) since tomee has to be javaee 6 certified (web
> profile
> >> >> and
> >> >> > > wep
> >> >> > > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so
> it
> >> >> can't
> >> >> > > be
> >> >> > > > > included (sadly).
> >> >> > > > >
> >> >> > > > > *Romain Manni-Bucau*
> >> >> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> >> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> >> >> > > > > http://rmannibucau.wordpress.com/>
> >> >> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> >> > > > > *Github: https://github.com/rmannibucau*
> >> >> > > > >
> >> >> > > > >
> >> >> > > > >
> >> >> > > > > 2013/6/24 ced_benoit <[hidden email]<
> >> >> > > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
> >> >> > >
> >> >> > > > >
> >> >> > > > >
> >> >> > > > > > Hi,
> >> >> > > > > >
> >> >> > > > > > thank for your help!
> >> >> > > > > >
> >> >> > > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use
> TomEE
> >> and
> >> >> I
> >> >> > > have
> >> >> > > > > senn
> >> >> > > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the
> jar
> >> >> > > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that
> I
> >> >> have
> >> >> > in
> >> >> > > the
> >> >> > >
> >> >> > > > > > lib of TomEE). But in cxf 2.7.4, I haven't this library?
> >> Where
> >> >> can
> >> >> > I
> >> >> > > > > find
> >> >> > > > > > it in cxf 2.7.4?
> >> >> > > > > >
> >> >> > > > > > Thank you for your help!
> >> >> > > > > >
> >> >> > > > > > Cedirc
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
> >> >> > > > > > [hidden email] <
> >> >> > http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
> >> >> > >
> >> >> > > > > >
> >> >> > > > > > > FYI this should work on trunk (providing cxf)
> >> >> > > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> >> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> >> >> > > > > > > a écrit :
> >> >> > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > > > This looks like a class loader issue.    Keep in mind,
> >> TomEE
> >> >> > > > > includes
> >> >> > > > > > > CXF
> >> >> > > > > > > > already.  Thus, if you are adding CXF to your project,
> it
> >> >> may
> >> >> > > end
> >> >> > > up
> >> >> > >
> >> >> > > > > in
> >> >> > > > > > > > TomEE twice and then have conflicts.
> >> >> > > > > > > >
> >> >> > > > > > > > Dan
> >> >> > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden
> email]<
> >> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> >> >> > > > > > > wrote:
> >> >> > > > > > > >
> >> >> > > > > > > > > Hi,
> >> >> > > > > > > > >
> >> >> > > > > > > > > I have simple webservice and when I start the
> server,
> >> by
> >> >> > > exemple
> >> >> > > > > in
> >> >> > > > > > > > eclipse,
> >> >> > > > > > > > > i have this error come:
> >> >> > > > > > > > >
> >> >> > > > > > > > > SEVERE: Error deploying CXF webservice for servlet
> >> >> > > > > > > > > web.serve.cxf.test.TestWS3
> >> >> > > > > > > > >
> >> >> org.apache.cxf.service.factory.ServiceConstructionException
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>
> >>
> >> >>
> >> >> > >
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> >> > > > > Method)
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> java.lang.reflect.Method.invoke(Method.java:601)
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> >> >> > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > >
> >> >> > >
> >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > >
> >> >> > >
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >> >> > > > > > > > >       at
> >> >> > > java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> >>
> >> >>
> >> >> > >
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at java.lang.Thread.run(Thread.java:722)
> >> >> > > > > > > > > Caused by: java.lang.ClassCastException: class
> >> >> > > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
> >> >> > > > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>
> >>
> >> >>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       at
> >> >> > > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>
> >>
> >> >>
> >> >> > >
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > > > >       ... 36 more
> >> >> > > > > > > > >
> >> >> > > > > > > > > I use TomEE 7.0.37
> >> >> > > > > > > > >
> >> >> > > > > > > > > I don't know what is wrong? Is anybody has an idea?
> I
> >> >> checked
> >> >> > > my
> >> >> > > > > > > > webservice,
> >> >> > > > > > > > > i don't find what is wrong.
> >> >> > > > > > > > >
> >> >> > > > > > > > > thank you for your help
> >> >> > > > > > > > >
> >> >> > > > > > > > > Cedirc
> >> >> > > > > > > > >
> >> >> > > > > > > > >
> >> >> > > > > > > > >
> >> >> > > > > > > > >
> >> >> > > > > > > > > --
> >> >> > > > > > > > > View this message in context:
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> >> >> > > > > > > > > Sent from the cxf-dev mailing list archive at
> >> Nabble.com.
> >> >> > > > > > > >
> >> >> > > > > > > > --
> >> >> > > > > > > > Daniel Kulp
> >> >> > > > > > > > [hidden email] <
> >> >> > > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
> >> >> > >
> >> >> > > > >
> >> >> > > > > > -
> >> >> > > > > > > http://dankulp.com/blog
> >> >> > > > > > >
> >> >> > > > > > > > Talend Community Coder - http://coders.talend.com
> >> >> > > > > > > >
> >> >> > > > > > > >
> >> >> > > > > > >
> >> >> > > > > > >
> >> >> > > > > > > ------------------------------
> >> >> > > > > > >  If you reply to this email, your message will be added
> to
> >> the
> >> >> > > > > discussion
> >> >> > > > > > > below:
> >> >> > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> >> >> > > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
> >> >> webservice,
> >> >> > > click
> >> >> > > > > > > here<
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > > .
> >> >> > > > > > > NAML<
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> >> > >
> >> >> > > > >
> >> >> > > > > > >
> >> >> > > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > --
> >> >> > > > > > View this message in context:
> >> >> > > > > >
> >> >> > > > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> >> >> > > > >
> >> >> > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> >> > > > > >
> >> >> > > > >
> >> >> > > > >
> >> >> > > > > ------------------------------
> >> >> > > > >  If you reply to this email, your message will be added to
> the
> >> >> > > discussion
> >> >> > > > > below:
> >> >> > > > >
> >> >> > > > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
> >> >> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
> >> webservice,
> >> >> > click
> >> >> > > > > here<
> >> >> > >
> >> >> > > > > .
> >> >> > > > > NAML<
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> >> > > >
> >> >> > > > >
> >> >> > > >
> >> >> > > >
> >> >> > > >
> >> >> > > >
> >> >> > > > --
> >> >> > > > View this message in context:
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
> >> >> > >
> >> >> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> >> > >
> >> >> > >
> >> >> > > ------------------------------
> >> >> > >  If you reply to this email, your message will be added to the
> >> >> discussion
> >> >> > > below:
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
> >> >> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> >> click
> >> >> > > here<
> >> >> > >
> >> >> > > .
> >> >> > > NAML<
> >> >> >
> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> >> > >
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > View this message in context:
> >> >> >
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
> >> >>
> >> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> >> >
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>  If you reply to this email, your message will be added to the
> >> discussion
> >> >> below:
> >> >>
> >> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730107.html
> >> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> click
> >> >> here<
> >> >> .
> >> >> NAML<
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >> >>
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734141.html
> >>
> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734144.html
> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> >> here<
> >> .
> >> NAML<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734163.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734168.html
>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734195.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

well your sample works fine with a default tomee out of the box, you
should maybe create a ant or maven project to get the same
dependencies as you otherwise we'll test with different configs.


Note: i replaced cxf 2.6 jars by cxf 2.7 ones and it seems fine too
but i didn't test with eclipse, their classpath handling sucks and
doesn't follow tomcat standards so maybe that's the issue.

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/9/17 ced_benoit <ce...@gmail.com>:
> Hi Romain Manni-Bucau,
>
> you should find in GitHub on public a repository named "GitHubWS".
>
> Thank you for your help
>
> Regards
> Cedric
>
>
> 2013/9/17 Romain Manni-Bucau [via CXF] <
> ml-node+s547215n5734144h36@n5.nabble.com>
>
>> Hi
>>
>> just put it on a public repo (github, code google...)
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>> 2013/9/17 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5734144&i=0>>:
>>
>>
>> > Hi,
>> >
>> > Now I have a exemple that I can share to reproduce this problem! How is
>> the
>> > first time for me, where I find the instructions to post it on the
>> trunc?
>> >
>> > Thank you for your help!
>> >
>> > Cedric
>> >
>> >
>> > 2013/6/30 Romain Manni-Bucau [via CXF] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734144&i=1>>
>> >
>> >> Hi,
>> >>
>> >> can you share a sample failling on our trunk (mvn project would be
>> great,
>> >> you can use tomee-maven-plugin to add/remove libs)? i know some guys
>> uses
>> >> fediz on tomee without issues and if i'm not mistaken fediz uses cxf
>> >> 2.7.x.
>> >>
>> >> *Romain Manni-Bucau*
>> >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> >> *Blog: **http://rmannibucau.wordpress.com/*<
>> >> http://rmannibucau.wordpress.com/>
>> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> >> *Github: https://github.com/rmannibucau*
>> >>
>> >>
>> >>
>> >> 2013/6/28 ced_benoit <[hidden email]<
>> http://user/SendEmail.jtp?type=node&node=5730107&i=0>>
>> >>
>> >>
>> >> > Hi Romain,
>> >> >
>> >> > I download your link: http://repo1.maven.org/maven2/
>> >> > org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
>> >> > In this zip, I have full geronimo*.jar. When I remove the
>> >> > cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I
>> have
>> >> > always the same error (it's strenge) ??? Or if copy all geronimo*.jar
>> >> > javaee-api-6.0-5.zip, the error stay always the same (see the first
>> >> post)!
>> >> > In TomEE+, do you know if another class use jaxb ?
>> >> >
>> >> > thank you for your help
>> >> >
>> >> > Cedric
>> >> >
>> >> >
>> >> > 2013/6/24 Romain Manni-Bucau [via CXF] <
>> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5730107&i=1>>
>>
>> >> >
>> >> > > this class is in cxf-rt-databinding-jaxb but think api are in
>> >> javaee-api
>> >> > > so
>> >> > > you need to remove this jar and add all geronimo api one by one to
>> be
>> >> > able
>> >> > > to replace jaxrs and jaxws ones (this zip
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
>> >> > > help)
>> >> > >
>> >> > > Romain Manni-Bucau
>> >> > > Twitter: @rmannibucau
>> >> > > Blog: http://rmannibucau.wordpress.com/
>> >> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> >> > > Github: https://github.com/rmannibucau
>> >> > >
>> >> > >
>> >> > >
>> >> > > 2013/6/24 ced_benoit <[hidden email]<
>> >> > http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
>> >> > >
>> >> > >
>> >> > > >
>> >> > > > HI Romain,
>> >> > > >
>> >> > > > I try to update myself tomee like this:
>> >> > > >
>> >> > > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
>> >> > > > cxf-rt-core-2.6.4,...) and I replace them by:
>> >> > > >
>> >> > > > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
>> >> > > cxf-manifest,
>> >> > > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
>> >> > > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
>> >> > > > httpcore-nio-4.2.2).
>> >> > > >
>> >> > > > In the end, I have the result that in my first message.
>> >> > > >
>> >> > > > I have new in cxf and I don't know it is the best thing to do for
>> >> > > update!
>> >> > > > My question in which jar file
>> "org.apache.cxf.jaxb.JAXBDataBinding"
>> >> is
>> >> > > > defined in cxf 2.7.4?
>> >> > > >
>> >> > > > Thank you for your help!
>> >> > > >
>> >> > > > Cedric
>> >> > > >
>> >> > > >
>> >> > > > 2013/6/24 Romain Manni-Bucau [via CXF] <
>> >> > > > [hidden email] <
>> http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
>> >>
>> >> > > >
>> >> > > > > hi
>> >> > > > >
>> >> > > > > tomee + cxf 2.7 can't work out of the box (or you have to
>> update
>> >> it
>> >> > > > > yourself) since tomee has to be javaee 6 certified (web profile
>> >> and
>> >> > > wep
>> >> > > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it
>> >> can't
>> >> > > be
>> >> > > > > included (sadly).
>> >> > > > >
>> >> > > > > *Romain Manni-Bucau*
>> >> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> >> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
>> >> > > > > http://rmannibucau.wordpress.com/>
>> >> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> >> > > > > *Github: https://github.com/rmannibucau*
>> >> > > > >
>> >> > > > >
>> >> > > > >
>> >> > > > > 2013/6/24 ced_benoit <[hidden email]<
>> >> > > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
>> >> > >
>> >> > > > >
>> >> > > > >
>> >> > > > > > Hi,
>> >> > > > > >
>> >> > > > > > thank for your help!
>> >> > > > > >
>> >> > > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE
>> and
>> >> I
>> >> > > have
>> >> > > > > senn
>> >> > > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
>> >> > > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I
>> >> have
>> >> > in
>> >> > > the
>> >> > >
>> >> > > > > > lib of TomEE). But in cxf 2.7.4, I haven't this library?
>> Where
>> >> can
>> >> > I
>> >> > > > > find
>> >> > > > > > it in cxf 2.7.4?
>> >> > > > > >
>> >> > > > > > Thank you for your help!
>> >> > > > > >
>> >> > > > > > Cedirc
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
>> >> > > > > > [hidden email] <
>> >> > http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
>> >> > >
>> >> > > > > >
>> >> > > > > > > FYI this should work on trunk (providing cxf)
>> >> > > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
>> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
>> >> > > > > > > a écrit :
>> >> > > > > > >
>> >> > > > > > > >
>> >> > > > > > > > This looks like a class loader issue.    Keep in mind,
>> TomEE
>> >> > > > > includes
>> >> > > > > > > CXF
>> >> > > > > > > > already.  Thus, if you are adding CXF to your project, it
>> >> may
>> >> > > end
>> >> > > up
>> >> > >
>> >> > > > > in
>> >> > > > > > > > TomEE twice and then have conflicts.
>> >> > > > > > > >
>> >> > > > > > > > Dan
>> >> > > > > > > >
>> >> > > > > > > >
>> >> > > > > > > >
>> >> > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
>> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
>> >> > > > > > > wrote:
>> >> > > > > > > >
>> >> > > > > > > > > Hi,
>> >> > > > > > > > >
>> >> > > > > > > > > I have simple webservice and when I start the server,
>> by
>> >> > > exemple
>> >> > > > > in
>> >> > > > > > > > eclipse,
>> >> > > > > > > > > i have this error come:
>> >> > > > > > > > >
>> >> > > > > > > > > SEVERE: Error deploying CXF webservice for servlet
>> >> > > > > > > > > web.serve.cxf.test.TestWS3
>> >> > > > > > > > >
>> >> org.apache.cxf.service.factory.ServiceConstructionException
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>>
>> >>
>> >> > >
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> >> > > > > Method)
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> java.lang.reflect.Method.invoke(Method.java:601)
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
>> >> > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > >
>> >> > >
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > >
>> >> > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>> >> > > > > > > > >       at
>> >> > > java.util.concurrent.FutureTask.run(FutureTask.java:166)
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>
>> >>
>> >> > >
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at java.lang.Thread.run(Thread.java:722)
>> >> > > > > > > > > Caused by: java.lang.ClassCastException: class
>> >> > > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
>> >> > > > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>>
>> >>
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       at
>> >> > > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> >
>> >>
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>>
>> >>
>> >> > >
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > > > >       ... 36 more
>> >> > > > > > > > >
>> >> > > > > > > > > I use TomEE 7.0.37
>> >> > > > > > > > >
>> >> > > > > > > > > I don't know what is wrong? Is anybody has an idea? I
>> >> checked
>> >> > > my
>> >> > > > > > > > webservice,
>> >> > > > > > > > > i don't find what is wrong.
>> >> > > > > > > > >
>> >> > > > > > > > > thank you for your help
>> >> > > > > > > > >
>> >> > > > > > > > > Cedirc
>> >> > > > > > > > >
>> >> > > > > > > > >
>> >> > > > > > > > >
>> >> > > > > > > > >
>> >> > > > > > > > > --
>> >> > > > > > > > > View this message in context:
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
>> >> > > > > > > > > Sent from the cxf-dev mailing list archive at
>> Nabble.com.
>> >> > > > > > > >
>> >> > > > > > > > --
>> >> > > > > > > > Daniel Kulp
>> >> > > > > > > > [hidden email] <
>> >> > > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
>> >> > >
>> >> > > > >
>> >> > > > > > -
>> >> > > > > > > http://dankulp.com/blog
>> >> > > > > > >
>> >> > > > > > > > Talend Community Coder - http://coders.talend.com
>> >> > > > > > > >
>> >> > > > > > > >
>> >> > > > > > >
>> >> > > > > > >
>> >> > > > > > > ------------------------------
>> >> > > > > > >  If you reply to this email, your message will be added to
>> the
>> >> > > > > discussion
>> >> > > > > > > below:
>> >> > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
>> >> > > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
>> >> webservice,
>> >> > > click
>> >> > > > > > > here<
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > > .
>> >> > > > > > > NAML<
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >> > >
>> >> > > > >
>> >> > > > > > >
>> >> > > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > --
>> >> > > > > > View this message in context:
>> >> > > > > >
>> >> > > > >
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
>> >> > > > >
>> >> > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >> > > > > >
>> >> > > > >
>> >> > > > >
>> >> > > > > ------------------------------
>> >> > > > >  If you reply to this email, your message will be added to the
>> >> > > discussion
>> >> > > > > below:
>> >> > > > >
>> >> > > > >
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
>> >> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
>> webservice,
>> >> > click
>> >> > > > > here<
>> >> > >
>> >> > > > > .
>> >> > > > > NAML<
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >> > > >
>> >> > > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > View this message in context:
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
>> >> > >
>> >> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >> > >
>> >> > >
>> >> > > ------------------------------
>> >> > >  If you reply to this email, your message will be added to the
>> >> discussion
>> >> > > below:
>> >> > >
>> >> > >
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
>> >> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
>> click
>> >> > > here<
>> >> > >
>> >> > > .
>> >> > > NAML<
>> >> >
>> >>
>> >>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
>> >>
>> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >> >
>> >>
>> >>
>> >> ------------------------------
>> >>  If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730107.html
>> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
>> >> here<
>> >> .
>> >> NAML<
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734141.html
>>
>> > Sent from the cxf-dev mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734144.html
>>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
>> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
>> .
>> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734163.html
> Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
Hi Romain Manni-Bucau,

you should find in GitHub on public a repository named "GitHubWS".

Thank you for your help

Regards
Cedric


2013/9/17 Romain Manni-Bucau [via CXF] <
ml-node+s547215n5734144h36@n5.nabble.com>

> Hi
>
> just put it on a public repo (github, code google...)
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2013/9/17 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5734144&i=0>>:
>
>
> > Hi,
> >
> > Now I have a exemple that I can share to reproduce this problem! How is
> the
> > first time for me, where I find the instructions to post it on the
> trunc?
> >
> > Thank you for your help!
> >
> > Cedric
> >
> >
> > 2013/6/30 Romain Manni-Bucau [via CXF] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5734144&i=1>>
> >
> >> Hi,
> >>
> >> can you share a sample failling on our trunk (mvn project would be
> great,
> >> you can use tomee-maven-plugin to add/remove libs)? i know some guys
> uses
> >> fediz on tomee without issues and if i'm not mistaken fediz uses cxf
> >> 2.7.x.
> >>
> >> *Romain Manni-Bucau*
> >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> *Blog: **http://rmannibucau.wordpress.com/*<
> >> http://rmannibucau.wordpress.com/>
> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> *Github: https://github.com/rmannibucau*
> >>
> >>
> >>
> >> 2013/6/28 ced_benoit <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5730107&i=0>>
> >>
> >>
> >> > Hi Romain,
> >> >
> >> > I download your link: http://repo1.maven.org/maven2/
> >> > org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
> >> > In this zip, I have full geronimo*.jar. When I remove the
> >> > cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I
> have
> >> > always the same error (it's strenge) ??? Or if copy all geronimo*.jar
> >> > javaee-api-6.0-5.zip, the error stay always the same (see the first
> >> post)!
> >> > In TomEE+, do you know if another class use jaxb ?
> >> >
> >> > thank you for your help
> >> >
> >> > Cedric
> >> >
> >> >
> >> > 2013/6/24 Romain Manni-Bucau [via CXF] <
> >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5730107&i=1>>
>
> >> >
> >> > > this class is in cxf-rt-databinding-jaxb but think api are in
> >> javaee-api
> >> > > so
> >> > > you need to remove this jar and add all geronimo api one by one to
> be
> >> > able
> >> > > to replace jaxrs and jaxws ones (this zip
> >> > >
> >> > >
> >> >
> >>
> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
> >> > > help)
> >> > >
> >> > > Romain Manni-Bucau
> >> > > Twitter: @rmannibucau
> >> > > Blog: http://rmannibucau.wordpress.com/
> >> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> > > Github: https://github.com/rmannibucau
> >> > >
> >> > >
> >> > >
> >> > > 2013/6/24 ced_benoit <[hidden email]<
> >> > http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
> >> > >
> >> > >
> >> > > >
> >> > > > HI Romain,
> >> > > >
> >> > > > I try to update myself tomee like this:
> >> > > >
> >> > > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
> >> > > > cxf-rt-core-2.6.4,...) and I replace them by:
> >> > > >
> >> > > > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
> >> > > cxf-manifest,
> >> > > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
> >> > > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
> >> > > > httpcore-nio-4.2.2).
> >> > > >
> >> > > > In the end, I have the result that in my first message.
> >> > > >
> >> > > > I have new in cxf and I don't know it is the best thing to do for
> >> > > update!
> >> > > > My question in which jar file
> "org.apache.cxf.jaxb.JAXBDataBinding"
> >> is
> >> > > > defined in cxf 2.7.4?
> >> > > >
> >> > > > Thank you for your help!
> >> > > >
> >> > > > Cedric
> >> > > >
> >> > > >
> >> > > > 2013/6/24 Romain Manni-Bucau [via CXF] <
> >> > > > [hidden email] <
> http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
> >>
> >> > > >
> >> > > > > hi
> >> > > > >
> >> > > > > tomee + cxf 2.7 can't work out of the box (or you have to
> update
> >> it
> >> > > > > yourself) since tomee has to be javaee 6 certified (web profile
> >> and
> >> > > wep
> >> > > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it
> >> can't
> >> > > be
> >> > > > > included (sadly).
> >> > > > >
> >> > > > > *Romain Manni-Bucau*
> >> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> >> > > > > http://rmannibucau.wordpress.com/>
> >> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> > > > > *Github: https://github.com/rmannibucau*
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > 2013/6/24 ced_benoit <[hidden email]<
> >> > > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
> >> > >
> >> > > > >
> >> > > > >
> >> > > > > > Hi,
> >> > > > > >
> >> > > > > > thank for your help!
> >> > > > > >
> >> > > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE
> and
> >> I
> >> > > have
> >> > > > > senn
> >> > > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
> >> > > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I
> >> have
> >> > in
> >> > > the
> >> > >
> >> > > > > > lib of TomEE). But in cxf 2.7.4, I haven't this library?
> Where
> >> can
> >> > I
> >> > > > > find
> >> > > > > > it in cxf 2.7.4?
> >> > > > > >
> >> > > > > > Thank you for your help!
> >> > > > > >
> >> > > > > > Cedirc
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
> >> > > > > > [hidden email] <
> >> > http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
> >> > >
> >> > > > > >
> >> > > > > > > FYI this should work on trunk (providing cxf)
> >> > > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> >> > > > > > > a écrit :
> >> > > > > > >
> >> > > > > > > >
> >> > > > > > > > This looks like a class loader issue.    Keep in mind,
> TomEE
> >> > > > > includes
> >> > > > > > > CXF
> >> > > > > > > > already.  Thus, if you are adding CXF to your project, it
> >> may
> >> > > end
> >> > > up
> >> > >
> >> > > > > in
> >> > > > > > > > TomEE twice and then have conflicts.
> >> > > > > > > >
> >> > > > > > > > Dan
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
> >> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> >> > > > > > > wrote:
> >> > > > > > > >
> >> > > > > > > > > Hi,
> >> > > > > > > > >
> >> > > > > > > > > I have simple webservice and when I start the server,
> by
> >> > > exemple
> >> > > > > in
> >> > > > > > > > eclipse,
> >> > > > > > > > > i have this error come:
> >> > > > > > > > >
> >> > > > > > > > > SEVERE: Error deploying CXF webservice for servlet
> >> > > > > > > > > web.serve.cxf.test.TestWS3
> >> > > > > > > > >
> >> org.apache.cxf.service.factory.ServiceConstructionException
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>
> >>
> >> > >
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >> > > > > Method)
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> java.lang.reflect.Method.invoke(Method.java:601)
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> >> > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > >
> >> > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > >
> >> > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >> > > > > > > > >       at
> >> > > java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> >>
> >> > >
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at java.lang.Thread.run(Thread.java:722)
> >> > > > > > > > > Caused by: java.lang.ClassCastException: class
> >> > > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
> >> > > > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>
> >>
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       at
> >> > > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> >
> >>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>
> >>
> >> > >
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > > > >       ... 36 more
> >> > > > > > > > >
> >> > > > > > > > > I use TomEE 7.0.37
> >> > > > > > > > >
> >> > > > > > > > > I don't know what is wrong? Is anybody has an idea? I
> >> checked
> >> > > my
> >> > > > > > > > webservice,
> >> > > > > > > > > i don't find what is wrong.
> >> > > > > > > > >
> >> > > > > > > > > thank you for your help
> >> > > > > > > > >
> >> > > > > > > > > Cedirc
> >> > > > > > > > >
> >> > > > > > > > >
> >> > > > > > > > >
> >> > > > > > > > >
> >> > > > > > > > > --
> >> > > > > > > > > View this message in context:
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> >> > > > > > > > > Sent from the cxf-dev mailing list archive at
> Nabble.com.
> >> > > > > > > >
> >> > > > > > > > --
> >> > > > > > > > Daniel Kulp
> >> > > > > > > > [hidden email] <
> >> > > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
> >> > >
> >> > > > >
> >> > > > > > -
> >> > > > > > > http://dankulp.com/blog
> >> > > > > > >
> >> > > > > > > > Talend Community Coder - http://coders.talend.com
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > ------------------------------
> >> > > > > > >  If you reply to this email, your message will be added to
> the
> >> > > > > discussion
> >> > > > > > > below:
> >> > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> >> > > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
> >> webservice,
> >> > > click
> >> > > > > > > here<
> >> > > > > >
> >> > > > > >
> >> > > > > > > .
> >> > > > > > > NAML<
> >> > > > > >
> >> > > > >
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> > >
> >> > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > --
> >> > > > > > View this message in context:
> >> > > > > >
> >> > > > >
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> >> > > > >
> >> > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > > ------------------------------
> >> > > > >  If you reply to this email, your message will be added to the
> >> > > discussion
> >> > > > > below:
> >> > > > >
> >> > > > >
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
> >> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
> webservice,
> >> > click
> >> > > > > here<
> >> > >
> >> > > > > .
> >> > > > > NAML<
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > View this message in context:
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
> >> > >
> >> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> > >
> >> > >
> >> > > ------------------------------
> >> > >  If you reply to this email, your message will be added to the
> >> discussion
> >> > > below:
> >> > >
> >> > >
> >> >
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
> >> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> click
> >> > > here<
> >> > >
> >> > > .
> >> > > NAML<
> >> >
> >>
> >>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
> >>
> >> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >> >
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730107.html
> >>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> >> here<
> >> .
> >> NAML<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734141.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734144.html
>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734163.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

just put it on a public repo (github, code google...)
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/9/17 ced_benoit <ce...@gmail.com>:
> Hi,
>
> Now I have a exemple that I can share to reproduce this problem! How is the
> first time for me, where I find the instructions to post it on the trunc?
>
> Thank you for your help!
>
> Cedric
>
>
> 2013/6/30 Romain Manni-Bucau [via CXF] <
> ml-node+s547215n5730107h89@n5.nabble.com>
>
>> Hi,
>>
>> can you share a sample failling on our trunk (mvn project would be great,
>> you can use tomee-maven-plugin to add/remove libs)? i know some guys uses
>> fediz on tomee without issues and if i'm not mistaken fediz uses cxf
>> 2.7.x.
>>
>> *Romain Manni-Bucau*
>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> *Blog: **http://rmannibucau.wordpress.com/*<
>> http://rmannibucau.wordpress.com/>
>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> *Github: https://github.com/rmannibucau*
>>
>>
>>
>> 2013/6/28 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5730107&i=0>>
>>
>>
>> > Hi Romain,
>> >
>> > I download your link: http://repo1.maven.org/maven2/
>> > org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
>> > In this zip, I have full geronimo*.jar. When I remove the
>> > cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I have
>> > always the same error (it's strenge) ??? Or if copy all geronimo*.jar
>> > javaee-api-6.0-5.zip, the error stay always the same (see the first
>> post)!
>> > In TomEE+, do you know if another class use jaxb ?
>> >
>> > thank you for your help
>> >
>> > Cedric
>> >
>> >
>> > 2013/6/24 Romain Manni-Bucau [via CXF] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5730107&i=1>>
>> >
>> > > this class is in cxf-rt-databinding-jaxb but think api are in
>> javaee-api
>> > > so
>> > > you need to remove this jar and add all geronimo api one by one to be
>> > able
>> > > to replace jaxrs and jaxws ones (this zip
>> > >
>> > >
>> >
>> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
>> > > help)
>> > >
>> > > Romain Manni-Bucau
>> > > Twitter: @rmannibucau
>> > > Blog: http://rmannibucau.wordpress.com/
>> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> > > Github: https://github.com/rmannibucau
>> > >
>> > >
>> > >
>> > > 2013/6/24 ced_benoit <[hidden email]<
>> > http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
>> > >
>> > >
>> > > >
>> > > > HI Romain,
>> > > >
>> > > > I try to update myself tomee like this:
>> > > >
>> > > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
>> > > > cxf-rt-core-2.6.4,...) and I replace them by:
>> > > >
>> > > > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
>> > > cxf-manifest,
>> > > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
>> > > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
>> > > > httpcore-nio-4.2.2).
>> > > >
>> > > > In the end, I have the result that in my first message.
>> > > >
>> > > > I have new in cxf and I don't know it is the best thing to do for
>> > > update!
>> > > > My question in which jar file "org.apache.cxf.jaxb.JAXBDataBinding"
>> is
>> > > > defined in cxf 2.7.4?
>> > > >
>> > > > Thank you for your help!
>> > > >
>> > > > Cedric
>> > > >
>> > > >
>> > > > 2013/6/24 Romain Manni-Bucau [via CXF] <
>> > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
>>
>> > > >
>> > > > > hi
>> > > > >
>> > > > > tomee + cxf 2.7 can't work out of the box (or you have to update
>> it
>> > > > > yourself) since tomee has to be javaee 6 certified (web profile
>> and
>> > > wep
>> > > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it
>> can't
>> > > be
>> > > > > included (sadly).
>> > > > >
>> > > > > *Romain Manni-Bucau*
>> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
>> > > > > http://rmannibucau.wordpress.com/>
>> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> > > > > *Github: https://github.com/rmannibucau*
>> > > > >
>> > > > >
>> > > > >
>> > > > > 2013/6/24 ced_benoit <[hidden email]<
>> > > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
>> > >
>> > > > >
>> > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > > thank for your help!
>> > > > > >
>> > > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and
>> I
>> > > have
>> > > > > senn
>> > > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
>> > > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I
>> have
>> > in
>> > > the
>> > >
>> > > > > > lib of TomEE). But in cxf 2.7.4, I haven't this library? Where
>> can
>> > I
>> > > > > find
>> > > > > > it in cxf 2.7.4?
>> > > > > >
>> > > > > > Thank you for your help!
>> > > > > >
>> > > > > > Cedirc
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
>> > > > > > [hidden email] <
>> > http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
>> > >
>> > > > > >
>> > > > > > > FYI this should work on trunk (providing cxf)
>> > > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
>> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
>> > > > > > > a écrit :
>> > > > > > >
>> > > > > > > >
>> > > > > > > > This looks like a class loader issue.    Keep in mind, TomEE
>> > > > > includes
>> > > > > > > CXF
>> > > > > > > > already.  Thus, if you are adding CXF to your project, it
>> may
>> > > end
>> > > up
>> > >
>> > > > > in
>> > > > > > > > TomEE twice and then have conflicts.
>> > > > > > > >
>> > > > > > > > Dan
>> > > > > > > >
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
>> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
>> > > > > > > wrote:
>> > > > > > > >
>> > > > > > > > > Hi,
>> > > > > > > > >
>> > > > > > > > > I have simple webservice and when I start the server, by
>> > > exemple
>> > > > > in
>> > > > > > > > eclipse,
>> > > > > > > > > i have this error come:
>> > > > > > > > >
>> > > > > > > > > SEVERE: Error deploying CXF webservice for servlet
>> > > > > > > > > web.serve.cxf.test.TestWS3
>> > > > > > > > >
>> org.apache.cxf.service.factory.ServiceConstructionException
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>>
>> > >
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> > > > > Method)
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at java.lang.reflect.Method.invoke(Method.java:601)
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
>> > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > >
>> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > >
>> > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>> > > > > > > > >       at
>> > > java.util.concurrent.FutureTask.run(FutureTask.java:166)
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>
>> > >
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at java.lang.Thread.run(Thread.java:722)
>> > > > > > > > > Caused by: java.lang.ClassCastException: class
>> > > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
>> > > > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>>
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       at
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> >
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>>
>> > >
>> > >
>> > > > >
>> > > > > > >
>> > > > > > > > >       ... 36 more
>> > > > > > > > >
>> > > > > > > > > I use TomEE 7.0.37
>> > > > > > > > >
>> > > > > > > > > I don't know what is wrong? Is anybody has an idea? I
>> checked
>> > > my
>> > > > > > > > webservice,
>> > > > > > > > > i don't find what is wrong.
>> > > > > > > > >
>> > > > > > > > > thank you for your help
>> > > > > > > > >
>> > > > > > > > > Cedirc
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > > > --
>> > > > > > > > > View this message in context:
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
>> > > > > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
>> > > > > > > >
>> > > > > > > > --
>> > > > > > > > Daniel Kulp
>> > > > > > > > [hidden email] <
>> > > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
>> > >
>> > > > >
>> > > > > > -
>> > > > > > > http://dankulp.com/blog
>> > > > > > >
>> > > > > > > > Talend Community Coder - http://coders.talend.com
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > > ------------------------------
>> > > > > > >  If you reply to this email, your message will be added to the
>> > > > > discussion
>> > > > > > > below:
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
>> > > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
>> webservice,
>> > > click
>> > > > > > > here<
>> > > > > >
>> > > > > >
>> > > > > > > .
>> > > > > > > NAML<
>> > > > > >
>> > > > >
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> > >
>> > > > >
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > View this message in context:
>> > > > > >
>> > > > >
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
>> > > > >
>> > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
>> > > > > >
>> > > > >
>> > > > >
>> > > > > ------------------------------
>> > > > >  If you reply to this email, your message will be added to the
>> > > discussion
>> > > > > below:
>> > > > >
>> > > > >
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
>> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
>> > click
>> > > > > here<
>> > >
>> > > > > .
>> > > > > NAML<
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > View this message in context:
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
>> > >
>> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
>> > >
>> > >
>> > > ------------------------------
>> > >  If you reply to this email, your message will be added to the
>> discussion
>> > > below:
>> > >
>> > >
>> >
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
>> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
>> > > here<
>> > >
>> > > .
>> > > NAML<
>> >
>>
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>> > >
>> > >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
>>
>> > Sent from the cxf-dev mailing list archive at Nabble.com.
>> >
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730107.html
>>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
>> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
>> .
>> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734141.html
> Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
Hi,

Now I have a exemple that I can share to reproduce this problem! How is the
first time for me, where I find the instructions to post it on the trunc?

Thank you for your help!

Cedric


2013/6/30 Romain Manni-Bucau [via CXF] <
ml-node+s547215n5730107h89@n5.nabble.com>

> Hi,
>
> can you share a sample failling on our trunk (mvn project would be great,
> you can use tomee-maven-plugin to add/remove libs)? i know some guys uses
> fediz on tomee without issues and if i'm not mistaken fediz uses cxf
> 2.7.x.
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/6/28 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5730107&i=0>>
>
>
> > Hi Romain,
> >
> > I download your link: http://repo1.maven.org/maven2/
> > org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
> > In this zip, I have full geronimo*.jar. When I remove the
> > cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I have
> > always the same error (it's strenge) ??? Or if copy all geronimo*.jar
> > javaee-api-6.0-5.zip, the error stay always the same (see the first
> post)!
> > In TomEE+, do you know if another class use jaxb ?
> >
> > thank you for your help
> >
> > Cedric
> >
> >
> > 2013/6/24 Romain Manni-Bucau [via CXF] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5730107&i=1>>
> >
> > > this class is in cxf-rt-databinding-jaxb but think api are in
> javaee-api
> > > so
> > > you need to remove this jar and add all geronimo api one by one to be
> > able
> > > to replace jaxrs and jaxws ones (this zip
> > >
> > >
> >
> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
> > > help)
> > >
> > > Romain Manni-Bucau
> > > Twitter: @rmannibucau
> > > Blog: http://rmannibucau.wordpress.com/
> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> > > Github: https://github.com/rmannibucau
> > >
> > >
> > >
> > > 2013/6/24 ced_benoit <[hidden email]<
> > http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
> > >
> > >
> > > >
> > > > HI Romain,
> > > >
> > > > I try to update myself tomee like this:
> > > >
> > > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
> > > > cxf-rt-core-2.6.4,...) and I replace them by:
> > > >
> > > > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
> > > cxf-manifest,
> > > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
> > > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
> > > > httpcore-nio-4.2.2).
> > > >
> > > > In the end, I have the result that in my first message.
> > > >
> > > > I have new in cxf and I don't know it is the best thing to do for
> > > update!
> > > > My question in which jar file "org.apache.cxf.jaxb.JAXBDataBinding"
> is
> > > > defined in cxf 2.7.4?
> > > >
> > > > Thank you for your help!
> > > >
> > > > Cedric
> > > >
> > > >
> > > > 2013/6/24 Romain Manni-Bucau [via CXF] <
> > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
>
> > > >
> > > > > hi
> > > > >
> > > > > tomee + cxf 2.7 can't work out of the box (or you have to update
> it
> > > > > yourself) since tomee has to be javaee 6 certified (web profile
> and
> > > wep
> > > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it
> can't
> > > be
> > > > > included (sadly).
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > > 2013/6/24 ced_benoit <[hidden email]<
> > > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
> > >
> > > > >
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > thank for your help!
> > > > > >
> > > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and
> I
> > > have
> > > > > senn
> > > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
> > > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I
> have
> > in
> > > the
> > >
> > > > > > lib of TomEE). But in cxf 2.7.4, I haven't this library? Where
> can
> > I
> > > > > find
> > > > > > it in cxf 2.7.4?
> > > > > >
> > > > > > Thank you for your help!
> > > > > >
> > > > > > Cedirc
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
> > > > > > [hidden email] <
> > http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
> > >
> > > > > >
> > > > > > > FYI this should work on trunk (providing cxf)
> > > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> > > > > > > a écrit :
> > > > > > >
> > > > > > > >
> > > > > > > > This looks like a class loader issue.    Keep in mind, TomEE
> > > > > includes
> > > > > > > CXF
> > > > > > > > already.  Thus, if you are adding CXF to your project, it
> may
> > > end
> > > up
> > >
> > > > > in
> > > > > > > > TomEE twice and then have conflicts.
> > > > > > > >
> > > > > > > > Dan
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
> > > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > I have simple webservice and when I start the server, by
> > > exemple
> > > > > in
> > > > > > > > eclipse,
> > > > > > > > > i have this error come:
> > > > > > > > >
> > > > > > > > > SEVERE: Error deploying CXF webservice for servlet
> > > > > > > > > web.serve.cxf.test.TestWS3
> > > > > > > > >
> org.apache.cxf.service.factory.ServiceConstructionException
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>
> > >
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > Method)
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at java.lang.reflect.Method.invoke(Method.java:601)
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > >
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > >
> > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > > > > > >       at
> > > java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> > >
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at java.lang.Thread.run(Thread.java:722)
> > > > > > > > > Caused by: java.lang.ClassCastException: class
> > > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
> > > > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>
> > >
> > > > >
> > > > > > >
> > > > > > > > >       at
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>
> > >
> > >
> > > > >
> > > > > > >
> > > > > > > > >       ... 36 more
> > > > > > > > >
> > > > > > > > > I use TomEE 7.0.37
> > > > > > > > >
> > > > > > > > > I don't know what is wrong? Is anybody has an idea? I
> checked
> > > my
> > > > > > > > webservice,
> > > > > > > > > i don't find what is wrong.
> > > > > > > > >
> > > > > > > > > thank you for your help
> > > > > > > > >
> > > > > > > > > Cedirc
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > View this message in context:
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > > > > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Daniel Kulp
> > > > > > > > [hidden email] <
> > > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
> > >
> > > > >
> > > > > > -
> > > > > > > http://dankulp.com/blog
> > > > > > >
> > > > > > > > Talend Community Coder - http://coders.talend.com
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >  If you reply to this email, your message will be added to the
> > > > > discussion
> > > > > > > below:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> > > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF
> webservice,
> > > click
> > > > > > > here<
> > > > > >
> > > > > >
> > > > > > > .
> > > > > > > NAML<
> > > > > >
> > > > >
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > >
> > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > View this message in context:
> > > > > >
> > > > >
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> > > > >
> > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > > > >
> > > > >
> > > > >
> > > > > ------------------------------
> > > > >  If you reply to this email, your message will be added to the
> > > discussion
> > > > > below:
> > > > >
> > > > >
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> > click
> > > > > here<
> > >
> > > > > .
> > > > > NAML<
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
> > >
> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > >
> > >
> > > ------------------------------
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> > > here<
> > >
> > > .
> > > NAML<
> >
>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730107.html
>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5734141.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

can you share a sample failling on our trunk (mvn project would be great,
you can use tomee-maven-plugin to add/remove libs)? i know some guys uses
fediz on tomee without issues and if i'm not mistaken fediz uses cxf 2.7.x.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/6/28 ced_benoit <ce...@gmail.com>

> Hi Romain,
>
> I download your link: http://repo1.maven.org/maven2/
> org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
> In this zip, I have full geronimo*.jar. When I remove the
> cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I have
> always the same error (it's strenge) ??? Or if copy all geronimo*.jar
> javaee-api-6.0-5.zip, the error stay always the same (see the first post)!
> In TomEE+, do you know if another class use jaxb ?
>
> thank you for your help
>
> Cedric
>
>
> 2013/6/24 Romain Manni-Bucau [via CXF] <
> ml-node+s547215n5729729h71@n5.nabble.com>
>
> > this class is in cxf-rt-databinding-jaxb but think api are in javaee-api
> > so
> > you need to remove this jar and add all geronimo api one by one to be
> able
> > to replace jaxrs and jaxws ones (this zip
> >
> >
> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
> > help)
> >
> > Romain Manni-Bucau
> > Twitter: @rmannibucau
> > Blog: http://rmannibucau.wordpress.com/
> > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> > Github: https://github.com/rmannibucau
> >
> >
> >
> > 2013/6/24 ced_benoit <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
> >
> >
> > >
> > > HI Romain,
> > >
> > > I try to update myself tomee like this:
> > >
> > > I remove all jar file begin with cxf... (cxf-api-2.6.4,
> > > cxf-rt-core-2.6.4,...) and I replace them by:
> > >
> > > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
> > cxf-manifest,
> > > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
> > > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
> > > httpcore-nio-4.2.2).
> > >
> > > In the end, I have the result that in my first message.
> > >
> > > I have new in cxf and I don't know it is the best thing to do for
> > update!
> > > My question in which jar file "org.apache.cxf.jaxb.JAXBDataBinding" is
> > > defined in cxf 2.7.4?
> > >
> > > Thank you for your help!
> > >
> > > Cedric
> > >
> > >
> > > 2013/6/24 Romain Manni-Bucau [via CXF] <
> > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
> > >
> > > > hi
> > > >
> > > > tomee + cxf 2.7 can't work out of the box (or you have to update it
> > > > yourself) since tomee has to be javaee 6 certified (web profile and
> > wep
> > > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it can't
> > be
> > > > included (sadly).
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/6/24 ced_benoit <[hidden email]<
> > http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
> >
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > thank for your help!
> > > > >
> > > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and I
> > have
> > > > senn
> > > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
> > > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I have
> in
> > the
> >
> > > > > lib of TomEE). But in cxf 2.7.4, I haven't this library? Where can
> I
> > > > find
> > > > > it in cxf 2.7.4?
> > > > >
> > > > > Thank you for your help!
> > > > >
> > > > > Cedirc
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
> > > > > [hidden email] <
> http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
> >
> > > > >
> > > > > > FYI this should work on trunk (providing cxf)
> > > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> > > > > > a écrit :
> > > > > >
> > > > > > >
> > > > > > > This looks like a class loader issue.    Keep in mind, TomEE
> > > > includes
> > > > > > CXF
> > > > > > > already.  Thus, if you are adding CXF to your project, it may
> > end
> > up
> >
> > > > in
> > > > > > > TomEE twice and then have conflicts.
> > > > > > >
> > > > > > > Dan
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
> > > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> > > > > > wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I have simple webservice and when I start the server, by
> > exemple
> > > > in
> > > > > > > eclipse,
> > > > > > > > i have this error come:
> > > > > > > >
> > > > > > > > SEVERE: Error deploying CXF webservice for servlet
> > > > > > > > web.serve.cxf.test.TestWS3
> > > > > > > > org.apache.cxf.service.factory.ServiceConstructionException
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
> >
> >
> > > >
> > > > > >
> > > > > > > >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > Method)
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> > > >
> > > > > >
> > > > > > > >       at java.lang.reflect.Method.invoke(Method.java:601)
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > >
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > >
> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > > > > >       at
> > java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >
> >
> > > >
> > > > > >
> > > > > > > >       at java.lang.Thread.run(Thread.java:722)
> > > > > > > > Caused by: java.lang.ClassCastException: class
> > > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
> > > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
> >
> > > >
> > > > > >
> > > > > > > >       at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
> >
> >
> > > >
> > > > > >
> > > > > > > >       ... 36 more
> > > > > > > >
> > > > > > > > I use TomEE 7.0.37
> > > > > > > >
> > > > > > > > I don't know what is wrong? Is anybody has an idea? I checked
> > my
> > > > > > > webservice,
> > > > > > > > i don't find what is wrong.
> > > > > > > >
> > > > > > > > thank you for your help
> > > > > > > >
> > > > > > > > Cedirc
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > View this message in context:
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > > > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > > > > >
> > > > > > > --
> > > > > > > Daniel Kulp
> > > > > > > [hidden email] <
> > http://user/SendEmail.jtp?type=node&node=5729666&i=2>
> >
> > > >
> > > > > -
> > > > > > http://dankulp.com/blog
> > > > > >
> > > > > > > Talend Community Coder - http://coders.talend.com
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > ------------------------------
> > > > > >  If you reply to this email, your message will be added to the
> > > > discussion
> > > > > > below:
> > > > > >
> > > > > >
> > > > >
> > > >
> >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> > > > > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> > click
> > > > > > here<
> > > > >
> > > > >
> > > > > > .
> > > > > > NAML<
> > > > >
> > > >
> >
> >
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > > >
> >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> > > >
> > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > > >
> > > >
> > > >
> > > > ------------------------------
> > > >  If you reply to this email, your message will be added to the
> > discussion
> > > > below:
> > > >
> > > >
> >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
> > > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> click
> > > > here<
> >
> > > > .
> > > > NAML<
> >
> >
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
> >
> > > Sent from the cxf-dev mailing list archive at Nabble.com.
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
> >  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> > here<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw
> >
> > .
> > NAML<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>

Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
Hi Romain,

I download your link: http://repo1.maven.org/maven2/
org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zip
In this zip, I have full geronimo*.jar. When I remove the
cxf-rt-databinding-jaxb (version 2.6.4) and I start the server, I have
always the same error (it's strenge) ??? Or if copy all geronimo*.jar
javaee-api-6.0-5.zip, the error stay always the same (see the first post)!
In TomEE+, do you know if another class use jaxb ?

thank you for your help

Cedric


2013/6/24 Romain Manni-Bucau [via CXF] <
ml-node+s547215n5729729h71@n5.nabble.com>

> this class is in cxf-rt-databinding-jaxb but think api are in javaee-api
> so
> you need to remove this jar and add all geronimo api one by one to be able
> to replace jaxrs and jaxws ones (this zip
>
> http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
> help)
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2013/6/24 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5729729&i=0>>
>
>
> >
> > HI Romain,
> >
> > I try to update myself tomee like this:
> >
> > I remove all jar file begin with cxf... (cxf-api-2.6.4,
> > cxf-rt-core-2.6.4,...) and I replace them by:
> >
> > the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4,
> cxf-manifest,
> > cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
> > httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
> > httpcore-nio-4.2.2).
> >
> > In the end, I have the result that in my first message.
> >
> > I have new in cxf and I don't know it is the best thing to do for
> update!
> > My question in which jar file "org.apache.cxf.jaxb.JAXBDataBinding" is
> > defined in cxf 2.7.4?
> >
> > Thank you for your help!
> >
> > Cedric
> >
> >
> > 2013/6/24 Romain Manni-Bucau [via CXF] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729729&i=1>>
> >
> > > hi
> > >
> > > tomee + cxf 2.7 can't work out of the box (or you have to update it
> > > yourself) since tomee has to be javaee 6 certified (web profile and
> wep
> > > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it can't
> be
> > > included (sadly).
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/6/24 ced_benoit <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
>
> > >
> > >
> > > > Hi,
> > > >
> > > > thank for your help!
> > > >
> > > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and I
> have
> > > senn
> > > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
> > > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I have in
> the
>
> > > > lib of TomEE). But in cxf 2.7.4, I haven't this library? Where can I
> > > find
> > > > it in cxf 2.7.4?
> > > >
> > > > Thank you for your help!
> > > >
> > > > Cedirc
> > > >
> > > >
> > > >
> > > >
> > > > 2013/6/21 Romain Manni-Bucau [via CXF] <
> > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
>
> > > >
> > > > > FYI this should work on trunk (providing cxf)
> > > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> > > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> > > > > a écrit :
> > > > >
> > > > > >
> > > > > > This looks like a class loader issue.    Keep in mind, TomEE
> > > includes
> > > > > CXF
> > > > > > already.  Thus, if you are adding CXF to your project, it may
> end
> up
>
> > > in
> > > > > > TomEE twice and then have conflicts.
> > > > > >
> > > > > > Dan
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
> > > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I have simple webservice and when I start the server, by
> exemple
> > > in
> > > > > > eclipse,
> > > > > > > i have this error come:
> > > > > > >
> > > > > > > SEVERE: Error deploying CXF webservice for servlet
> > > > > > > web.serve.cxf.test.TestWS3
> > > > > > > org.apache.cxf.service.factory.ServiceConstructionException
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>
>
> > >
> > > > >
> > > > > > >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> > >
> > > > >
> > > > > > >       at java.lang.reflect.Method.invoke(Method.java:601)
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
>
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>
> > >
> > > > >
> > > > > > >       at
> > > > > >
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>
> > >
> > > > >
> > > > > > >       at
> > > > > >
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > > > >       at
> java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
>
> > >
> > > > >
> > > > > > >       at java.lang.Thread.run(Thread.java:722)
> > > > > > > Caused by: java.lang.ClassCastException: class
> > > > > > > org.apache.cxf.jaxb.JAXBDataBinding
> > > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>
> > >
> > > > >
> > > > > > >       at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>
>
> > >
> > > > >
> > > > > > >       ... 36 more
> > > > > > >
> > > > > > > I use TomEE 7.0.37
> > > > > > >
> > > > > > > I don't know what is wrong? Is anybody has an idea? I checked
> my
> > > > > > webservice,
> > > > > > > i don't find what is wrong.
> > > > > > >
> > > > > > > thank you for your help
> > > > > > >
> > > > > > > Cedirc
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > View this message in context:
> > > > > >
> > > > >
> > > >
> > >
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > > > >
> > > > > > --
> > > > > > Daniel Kulp
> > > > > > [hidden email] <
> http://user/SendEmail.jtp?type=node&node=5729666&i=2>
>
> > >
> > > > -
> > > > > http://dankulp.com/blog
> > > > >
> > > > > > Talend Community Coder - http://coders.talend.com
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > ------------------------------
> > > > >  If you reply to this email, your message will be added to the
> > > discussion
> > > > > below:
> > > > >
> > > > >
> > > >
> > >
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> > > > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
> click
> > > > > here<
> > > >
> > > >
> > > > > .
> > > > > NAML<
> > > >
> > >
>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> > >
> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > >
> > >
> > >
> > > ------------------------------
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> > > here<
>
> > > .
> > > NAML<
>
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729729.html
>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5730056.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
this class is in cxf-rt-databinding-jaxb but think api are in javaee-api so
you need to remove this jar and add all geronimo api one by one to be able
to replace jaxrs and jaxws ones (this zip
http://repo1.maven.org/maven2/org/apache/openejb/javaee-api/6.0-5/javaee-api-6.0-5.zipcan
help)

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/6/24 ced_benoit <ce...@gmail.com>
>
> HI Romain,
>
> I try to update myself tomee like this:
>
> I remove all jar file begin with cxf... (cxf-api-2.6.4,
> cxf-rt-core-2.6.4,...) and I replace them by:
>
> the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4, cxf-manifest,
> cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
> httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
> httpcore-nio-4.2.2).
>
> In the end, I have the result that in my first message.
>
> I have new in cxf and I don't know it is the best thing to do for update!
> My question in which jar file "org.apache.cxf.jaxb.JAXBDataBinding" is
> defined in cxf 2.7.4?
>
> Thank you for your help!
>
> Cedric
>
>
> 2013/6/24 Romain Manni-Bucau [via CXF] <
> ml-node+s547215n5729722h54@n5.nabble.com>
>
> > hi
> >
> > tomee + cxf 2.7 can't work out of the box (or you have to update it
> > yourself) since tomee has to be javaee 6 certified (web profile and wep
> > profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it can't be
> > included (sadly).
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/6/24 ced_benoit <[hidden email]<
http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
> >
> >
> > > Hi,
> > >
> > > thank for your help!
> > >
> > > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and I have
> > senn
> > > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
> > > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I have in
the
> > > lib of TomEE). But in cxf 2.7.4, I haven't this library? Where can I
> > find
> > > it in cxf 2.7.4?
> > >
> > > Thank you for your help!
> > >
> > > Cedirc
> > >
> > >
> > >
> > >
> > > 2013/6/21 Romain Manni-Bucau [via CXF] <
> > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
> > >
> > > > FYI this should work on trunk (providing cxf)
> > > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> > > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> > > > a écrit :
> > > >
> > > > >
> > > > > This looks like a class loader issue.    Keep in mind, TomEE
> > includes
> > > > CXF
> > > > > already.  Thus, if you are adding CXF to your project, it may end
up
> > in
> > > > > TomEE twice and then have conflicts.
> > > > >
> > > > > Dan
> > > > >
> > > > >
> > > > >
> > > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
> > > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have simple webservice and when I start the server, by exemple
> > in
> > > > > eclipse,
> > > > > > i have this error come:
> > > > > >
> > > > > > SEVERE: Error deploying CXF webservice for servlet
> > > > > > web.serve.cxf.test.TestWS3
> > > > > > org.apache.cxf.service.factory.ServiceConstructionException
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
> >
> > > >
> > > > > >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> > > >
> > > > > >       at java.lang.reflect.Method.invoke(Method.java:601)
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> >
> > > >
> > > > > >       at
> > > > >
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> >
> > > >
> > > > > >       at
> > > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > > >       at
java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >
> > > >
> > > > > >       at java.lang.Thread.run(Thread.java:722)
> > > > > > Caused by: java.lang.ClassCastException: class
> > > > > > org.apache.cxf.jaxb.JAXBDataBinding
> > > > > >       at java.lang.Class.asSubclass(Class.java:3046)
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
> >
> > > >
> > > > > >       at
> > > > > >
> > > > >
> > > >
> > >
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
> >
> > > >
> > > > > >       ... 36 more
> > > > > >
> > > > > > I use TomEE 7.0.37
> > > > > >
> > > > > > I don't know what is wrong? Is anybody has an idea? I checked my
> > > > > webservice,
> > > > > > i don't find what is wrong.
> > > > > >
> > > > > > thank you for your help
> > > > > >
> > > > > > Cedirc
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > View this message in context:
> > > > >
> > > >
> > >
> >
http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > > >
> > > > > --
> > > > > Daniel Kulp
> > > > > [hidden email] <
http://user/SendEmail.jtp?type=node&node=5729666&i=2>
> >
> > > -
> > > > http://dankulp.com/blog
> > > >
> > > > > Talend Community Coder - http://coders.talend.com
> > > > >
> > > > >
> > > >
> > > >
> > > > ------------------------------
> > > >  If you reply to this email, your message will be added to the
> > discussion
> > > > below:
> > > >
> > > >
> > >
> >
http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> > > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice,
click
> > > > here<
> > >
> > >
> > > > .
> > > > NAML<
> > >
> >
http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> >
> > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the
discussion
> > below:
> >
> >
http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
> >  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> > here<
http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw
>
> > .
> > NAML<
http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> >
>
>
>
>
> --
> View this message in context:
http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
> Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
HI Romain,

I try to update myself tomee like this:

I remove all jar file begin with cxf... (cxf-api-2.6.4,
cxf-rt-core-2.6.4,...) and I replace them by:

the jar file of the cxf 2.7.4  begin with cxf,.. (cxf-2.7.4, cxf-manifest,
cxf-services-sts-core-2.7.4,... + commons-logging-1.1.1,
httpasyncclient-4.0-beta3, httpclient-4.2.1, httpcore-4.2.2 and
httpcore-nio-4.2.2).

In the end, I have the result that in my first message.

I have new in cxf and I don't know it is the best thing to do for update!
My question in which jar file "org.apache.cxf.jaxb.JAXBDataBinding" is
defined in cxf 2.7.4?

Thank you for your help!

Cedric


2013/6/24 Romain Manni-Bucau [via CXF] <
ml-node+s547215n5729722h54@n5.nabble.com>

> hi
>
> tomee + cxf 2.7 can't work out of the box (or you have to update it
> yourself) since tomee has to be javaee 6 certified (web profile and wep
> profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it can't be
> included (sadly).
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/6/24 ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5729722&i=0>>
>
>
> > Hi,
> >
> > thank for your help!
> >
> > In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and I have
> senn
> > that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
> > "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I have in the
> > lib of TomEE). But in cxf 2.7.4, I haven't this library? Where can I
> find
> > it in cxf 2.7.4?
> >
> > Thank you for your help!
> >
> > Cedirc
> >
> >
> >
> >
> > 2013/6/21 Romain Manni-Bucau [via CXF] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729722&i=1>>
> >
> > > FYI this should work on trunk (providing cxf)
> > > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> > http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> > > a écrit :
> > >
> > > >
> > > > This looks like a class loader issue.    Keep in mind, TomEE
> includes
> > > CXF
> > > > already.  Thus, if you are adding CXF to your project, it may end up
> in
> > > > TomEE twice and then have conflicts.
> > > >
> > > > Dan
> > > >
> > > >
> > > >
> > > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
> > http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I have simple webservice and when I start the server, by exemple
> in
> > > > eclipse,
> > > > > i have this error come:
> > > > >
> > > > > SEVERE: Error deploying CXF webservice for servlet
> > > > > web.serve.cxf.test.TestWS3
> > > > > org.apache.cxf.service.factory.ServiceConstructionException
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>
> > >
> > > > >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >       at
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> > >
> > > > >       at java.lang.reflect.Method.invoke(Method.java:601)
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>
> > >
> > > > >       at
> > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>
> > >
> > > > >       at
> > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > >       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > >       at
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> > >
> > > > >       at java.lang.Thread.run(Thread.java:722)
> > > > > Caused by: java.lang.ClassCastException: class
> > > > > org.apache.cxf.jaxb.JAXBDataBinding
> > > > >       at java.lang.Class.asSubclass(Class.java:3046)
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>
> > >
> > > > >       at
> > > > >
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>
> > >
> > > > >       ... 36 more
> > > > >
> > > > > I use TomEE 7.0.37
> > > > >
> > > > > I don't know what is wrong? Is anybody has an idea? I checked my
> > > > webservice,
> > > > > i don't find what is wrong.
> > > > >
> > > > > thank you for your help
> > > > >
> > > > > Cedirc
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > > >
> > > > --
> > > > Daniel Kulp
> > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729666&i=2>
>
> > -
> > > http://dankulp.com/blog
> > >
> > > > Talend Community Coder - http://coders.talend.com
> > > >
> > > >
> > >
> > >
> > > ------------------------------
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> > >  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> > > here<
> >
> >
> > > .
> > > NAML<
> >
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> > >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
>
> > Sent from the cxf-dev mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729722.html
>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729724.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hi

tomee + cxf 2.7 can't work out of the box (or you have to update it
yourself) since tomee has to be javaee 6 certified (web profile and wep
profile + jaxrs). cxf 2.7 already uses api from javaee 7 so it can't be
included (sadly).

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/6/24 ced_benoit <ce...@gmail.com>

> Hi,
>
> thank for your help!
>
> In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and I have senn
> that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
> "cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I have in the
> lib of TomEE). But in cxf 2.7.4, I haven't this library? Where can I find
> it in cxf 2.7.4?
>
> Thank you for your help!
>
> Cedirc
>
>
>
>
> 2013/6/21 Romain Manni-Bucau [via CXF] <
> ml-node+s547215n5729666h18@n5.nabble.com>
>
> > FYI this should work on trunk (providing cxf)
> > Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> > a écrit :
> >
> > >
> > > This looks like a class loader issue.    Keep in mind, TomEE includes
> > CXF
> > > already.  Thus, if you are adding CXF to your project, it may end up in
> > > TomEE twice and then have conflicts.
> > >
> > > Dan
> > >
> > >
> > >
> > > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have simple webservice and when I start the server, by exemple in
> > > eclipse,
> > > > i have this error come:
> > > >
> > > > SEVERE: Error deploying CXF webservice for servlet
> > > > web.serve.cxf.test.TestWS3
> > > > org.apache.cxf.service.factory.ServiceConstructionException
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
> >
> > > >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >       at
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >
> > > >       at
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> > > >       at java.lang.reflect.Method.invoke(Method.java:601)
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> > > >       at
> > > >
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> >
> > > >       at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > > >       at
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> >
> > > >       at
> > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > >       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > >       at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >
> > > >       at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >
> > > >       at java.lang.Thread.run(Thread.java:722)
> > > > Caused by: java.lang.ClassCastException: class
> > > > org.apache.cxf.jaxb.JAXBDataBinding
> > > >       at java.lang.Class.asSubclass(Class.java:3046)
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
> >
> > > >       at
> > > >
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
> >
> > > >       ... 36 more
> > > >
> > > > I use TomEE 7.0.37
> > > >
> > > > I don't know what is wrong? Is anybody has an idea? I checked my
> > > webservice,
> > > > i don't find what is wrong.
> > > >
> > > > thank you for your help
> > > >
> > > > Cedirc
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > > > Sent from the cxf-dev mailing list archive at Nabble.com.
> > >
> > > --
> > > Daniel Kulp
> > > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729666&i=2>
> -
> > http://dankulp.com/blog
> >
> > > Talend Community Coder - http://coders.talend.com
> > >
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
> >  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> > here<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw
> >
> > .
> > NAML<
> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>

Re: [cxf] tomee Error deploying CXF webservice

Posted by ced_benoit <ce...@gmail.com>.
Hi,

thank for your help!

In fact, I have TomEE 1.5.2 and CXF 2.7.4! I must use TomEE and I have senn
that "org.apache.cxf.jaxb.JAXBDataBinding" is used in the jar
"cxf-rt-databinding-jaxb-2.6.4" (2.6.4 is the version that I have in the
lib of TomEE). But in cxf 2.7.4, I haven't this library? Where can I find
it in cxf 2.7.4?

Thank you for your help!

Cedirc




2013/6/21 Romain Manni-Bucau [via CXF] <
ml-node+s547215n5729666h18@n5.nabble.com>

> FYI this should work on trunk (providing cxf)
> Le 21 juin 2013 16:21, "Daniel Kulp" <[hidden email]<http://user/SendEmail.jtp?type=node&node=5729666&i=0>>
> a écrit :
>
> >
> > This looks like a class loader issue.    Keep in mind, TomEE includes
> CXF
> > already.  Thus, if you are adding CXF to your project, it may end up in
> > TomEE twice and then have conflicts.
> >
> > Dan
> >
> >
> >
> > On Jun 21, 2013, at 9:09 AM, ced_benoit <[hidden email]<http://user/SendEmail.jtp?type=node&node=5729666&i=1>>
> wrote:
> >
> > > Hi,
> > >
> > > I have simple webservice and when I start the server, by exemple in
> > eclipse,
> > > i have this error come:
> > >
> > > SEVERE: Error deploying CXF webservice for servlet
> > > web.serve.cxf.test.TestWS3
> > > org.apache.cxf.service.factory.ServiceConstructionException
> > >       at
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
>
> > >       at
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
>
> > >       at
> > >
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
>
> > >       at
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
>
> > >       at
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
>
> > >       at
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
>
> > >       at
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
>
> > >       at
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
>
> > >       at
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
>
> > >       at
> > >
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
>
> > >       at
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
>
> > >       at
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
>
> > >       at
> > >
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
>
> > >       at
> > >
> >
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> > >       at
> > >
> >
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
>
> > >       at
> > >
> >
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
>
> > >       at
> > >
> >
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
>
> > >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >       at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> > >       at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> > >       at java.lang.reflect.Method.invoke(Method.java:601)
> > >       at
> > >
> >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
>
> > >       at
> > >
> >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
>
> > >       at
> > >
> >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> > >       at
> > >
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
>
> > >       at
> > >
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
>
> > >       at
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
> > >       at
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>
> > >       at
> > >
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>
> > >       at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> > >       at
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>
> > >       at
> > >
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>
> > >       at
> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > >       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > >       at
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> > >       at
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> > >       at java.lang.Thread.run(Thread.java:722)
> > > Caused by: java.lang.ClassCastException: class
> > > org.apache.cxf.jaxb.JAXBDataBinding
> > >       at java.lang.Class.asSubclass(Class.java:3046)
> > >       at
> > >
> >
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
>
> > >       at
> > >
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
>
> > >       ... 36 more
> > >
> > > I use TomEE 7.0.37
> > >
> > > I don't know what is wrong? Is anybody has an idea? I checked my
> > webservice,
> > > i don't find what is wrong.
> > >
> > > thank you for your help
> > >
> > > Cedirc
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> >
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > > Sent from the cxf-dev mailing list archive at Nabble.com.
> >
> > --
> > Daniel Kulp
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5729666&i=2> -
> http://dankulp.com/blog
>
> > Talend Community Coder - http://coders.talend.com
> >
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729666.html
>  To unsubscribe from [cxf] tomee Error deploying CXF webservice, click
> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5729652&code=Y2VkLmJlbm9pdEBnbWFpbC5jb218NTcyOTY1MnwxMDYyOTEyMjQw>
> .
> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652p5729720.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Re: [cxf] tomee Error deploying CXF webservice

Posted by Romain Manni-Bucau <rm...@gmail.com>.
FYI this should work on trunk (providing cxf)
Le 21 juin 2013 16:21, "Daniel Kulp" <dk...@apache.org> a écrit :

>
> This looks like a class loader issue.    Keep in mind, TomEE includes CXF
> already.  Thus, if you are adding CXF to your project, it may end up in
> TomEE twice and then have conflicts.
>
> Dan
>
>
>
> On Jun 21, 2013, at 9:09 AM, ced_benoit <ce...@gmail.com> wrote:
>
> > Hi,
> >
> > I have simple webservice and when I start the server, by exemple in
> eclipse,
> > i have this error come:
> >
> > SEVERE: Error deploying CXF webservice for servlet
> > web.serve.cxf.test.TestWS3
> > org.apache.cxf.service.factory.ServiceConstructionException
> >       at
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
> >       at
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
> >       at
> >
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
> >       at
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
> >       at
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
> >       at
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
> >       at
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
> >       at
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
> >       at
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
> >       at
> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
> >       at
> >
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
> >       at
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
> >       at
> >
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
> >       at
> >
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> >       at
> >
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
> >       at
> >
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
> >       at
> >
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >       at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >       at java.lang.reflect.Method.invoke(Method.java:601)
> >       at
> >
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> >       at
> >
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> >       at
> >
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> >       at
> >
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
> >       at
> >
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> >       at
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >       at
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> >       at
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> >       at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> >       at
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> >       at
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> >       at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >       at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >       at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >       at java.lang.Thread.run(Thread.java:722)
> > Caused by: java.lang.ClassCastException: class
> > org.apache.cxf.jaxb.JAXBDataBinding
> >       at java.lang.Class.asSubclass(Class.java:3046)
> >       at
> >
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
> >       at
> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
> >       ... 36 more
> >
> > I use TomEE 7.0.37
> >
> > I don't know what is wrong? Is anybody has an idea? I checked my
> webservice,
> > i don't find what is wrong.
> >
> > thank you for your help
> >
> > Cedirc
> >
> >
> >
> >
> > --
> > View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> > Sent from the cxf-dev mailing list archive at Nabble.com.
>
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
>

Re: [cxf] tomee Error deploying CXF webservice

Posted by Daniel Kulp <dk...@apache.org>.
This looks like a class loader issue.    Keep in mind, TomEE includes CXF already.  Thus, if you are adding CXF to your project, it may end up in TomEE twice and then have conflicts.

Dan



On Jun 21, 2013, at 9:09 AM, ced_benoit <ce...@gmail.com> wrote:

> Hi,
> 
> I have simple webservice and when I start the server, by exemple in eclipse,
> i have this error come:
> 
> SEVERE: Error deploying CXF webservice for servlet
> web.serve.cxf.test.TestWS3
> org.apache.cxf.service.factory.ServiceConstructionException
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
> 	at
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
> 	at
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
> 	at
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> 	at
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
> 	at
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
> 	at
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> 	at
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> 	at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> 	at
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
> 	at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> 	at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.ClassCastException: class
> org.apache.cxf.jaxb.JAXBDataBinding
> 	at java.lang.Class.asSubclass(Class.java:3046)
> 	at
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
> 	... 36 more
> 
> I use TomEE 7.0.37
> 
> I don't know what is wrong? Is anybody has an idea? I checked my webservice,
> i don't find what is wrong.
> 
> thank you for your help
> 
> Cedirc
> 
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> Sent from the cxf-dev mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Re: [cxf] tomee Error deploying CXF webservice

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi

Appears to be a class loading issue, multiple CXF versions may be or 
something else,

Please, ask such questions on CXF users list (where I'm redirecting this 
post)

Thanks, Sergey
On 21/06/13 14:09, ced_benoit wrote:
> Hi,
>
> I have simple webservice and when I start the server, by exemple in eclipse,
> i have this error come:
>
> SEVERE: Error deploying CXF webservice for servlet
> web.serve.cxf.test.TestWS3
> org.apache.cxf.service.factory.ServiceConstructionException
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:232)
> 	at
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:109)
> 	at
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.getDataBinding(AbstractServiceFactoryBean.java:105)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:662)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:638)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:468)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoEndpoint.<init>(PojoEndpoint.java:66)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:43)
> 	at
> org.apache.openejb.server.cxf.pojo.PojoWsContainer.createEndpoint(PojoWsContainer.java:28)
> 	at
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:54)
> 	at
> org.apache.openejb.server.cxf.CxfService.createPojoWsContainer(CxfService.java:79)
> 	at
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:372)
> 	at
> org.apache.tomee.webservices.TomeeJaxWsService.afterApplicationCreated(TomeeJaxWsService.java:54)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at
> org.apache.openejb.observer.ObserverManager$Observer.invoke(ObserverManager.java:145)
> 	at
> org.apache.openejb.observer.ObserverManager.fireEvent(ObserverManager.java:69)
> 	at
> org.apache.openejb.loader.SystemInstance.fireEvent(SystemInstance.java:107)
> 	at
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:1486)
> 	at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:110)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> 	at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.ClassCastException: class
> org.apache.cxf.jaxb.JAXBDataBinding
> 	at java.lang.Class.asSubclass(Class.java:3046)
> 	at
> org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:253)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:220)
> 	... 36 more
>
> I use TomEE 7.0.37
>
> I don't know what is wrong? Is anybody has an idea? I checked my webservice,
> i don't find what is wrong.
>
> thank you for your help
>
> Cedirc
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/cxf-tomee-Error-deploying-CXF-webservice-tp5729652.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>