You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Elena Medvedeva <em...@redhat.com> on 2013/08/30 16:45:27 UTC
Example of configuring jetty runtime for CXF
Hello,
I am trying to configuring jetty runtime for CXF as described in the following link:
http://cxf.apache.org/docs/jetty-configuration.html
I want to created osgi bundle for JBoss Fuse, in which cxf webservice will run on jetty server, but unfortunately when I deploy it to fuse there are exception.
Can you, please, provide some working example?
Best regards,
Elena Medvedeva
Re: Example of configuring jetty runtime for CXF
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
As you deploy CXF endpoint into OSGi container, so we recommend to use CXF http-osgi(leverage the OSGi http Service provided by pax web) transport, in this case to configure jetty you need configure the etc/jetty.xml.
Btw, as you are using JBoss FUSE, so you better post related question on JBoss FUSE forum[1]
[1]https://community.jboss.org/en/jbossfuse
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋
On 2013-8-30, at 下午10:45, Elena Medvedeva wrote:
> Hello,
>
> I am trying to configuring jetty runtime for CXF as described in the following link:
> http://cxf.apache.org/docs/jetty-configuration.html
>
> I want to created osgi bundle for JBoss Fuse, in which cxf webservice will run on jetty server, but unfortunately when I deploy it to fuse there are exception.
> Can you, please, provide some working example?
>
> Best regards,
> Elena Medvedeva
RE: Example of configuring jetty runtime for CXF
Posted by Andrei Shakirin <as...@talend.com>.
Hi Elena,
Not sure that it really helps, but some working samples of CXF service in OSGi environment you can find in Talend tutorials:
https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/dev-guide-wsdl-first
https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/dev-guide-java-first
They are deployable into Karaf container with OSGi equinox engine.
You can at least look into projects sources and maven builds.
What kind of exceptions you have on JBoss Fuse?
Regards,
Andrei.
> -----Original Message-----
> From: Elena Medvedeva [mailto:emedvede@redhat.com]
> Sent: Freitag, 30. August 2013 16:45
> To: users@cxf.apache.org
> Subject: Example of configuring jetty runtime for CXF
>
> Hello,
>
> I am trying to configuring jetty runtime for CXF as described in the following
> link:
> http://cxf.apache.org/docs/jetty-configuration.html
>
> I want to created osgi bundle for JBoss Fuse, in which cxf webservice will run
> on jetty server, but unfortunately when I deploy it to fuse there are
> exception.
> Can you, please, provide some working example?
>
> Best regards,
> Elena Medvedeva