tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Deploying JAX-WS/JAX-RS services on TomEE+
Date Wed, 01 Feb 2012 07:03:12 GMT
Hi,

Can you give more details on "it didnt work"?

TomEE support war by default but i think you can put jars or ear in an
"apps" folder (to create at the same level than webapp).

- Romain

Le 1 févr. 2012 06:26, "Isuru Suriarachchi" <isurues@gmail.com> a écrit :

> Hi Romain and David,
>
> Thanks for your support.
>
> So first I tried my .war file with all CXF libs in it. I copied it
> into apache-tomee-plus-1.0.0-beta-2/webapps directory and it worked fine.
> So this is the normal Tomcat behavior.
>
> Then based on David's response, I removed all CXF jars from my webapp and
> copied it into webapps directory. But it didn't work for me.
>
> And also I built the web services sample at [1] using maven and it created
> the a jar file (simple-webservice-1.1-SNAPSHOT.jar). But how can I deploy
> it on TomEE+? Do I need to convert it into a .war file?
>
> So basically these are the questions I've got..
>
> 1. What's the deployment model of TomEE+ for web services? is it deploying
> a .war file in webapps?
> 2. What are the libraries that I have to include in my CXF webapp?
> 3. Is there any document explaining how to deploy a simple web service on
> TomEE+? Or a sample which creates the artifact which can be directly
> deployed on TomEE+?
>
> Thanks,
> ~Isuru
>
> [1] http://openejb.apache.org/examples-trunk/simple-webservice/README.html
>
> On Wed, Feb 1, 2012 at 2:10 AM, David Blevins <david.blevins@gmail.com
> >wrote:
>
> >
> > On Jan 31, 2012, at 3:25 AM, Isuru Suriarachchi wrote:
> >
> > > Hi all,
> > >
> > > I'm new to TomEE+ and I'm trying to deploy a JAX-WS web service on it.
> I
> > > already have a CXF service (.war file) which is working fine on Tomcat.
> > But
> > > as CXF is already embedded in TomEE+, I think there's no need to
> include
> > > CXF jars in my webapp. Is it correct?
> >
> > Correct.  And worth mentioning, if you didn't want to use the web
> services
> > support already provided by TomEE+ you could use plain TomEE which
> doesn't
> > have CXF bundled.
> >
> > Though now that I think of it, we may still try and scan for @WebService
> > and such, so that might be something that can be improved in plain TomEE.
> >
> >
> > -David
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message