You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Todd Deshane <to...@gmail.com> on 2012/10/15 15:14:16 UTC

TomEE Plus (the hard way)

Hi All,

In our environment (at least for now), we need to run Tomcat 6.0.35
and add CXF support to our API and apps manually.

Is there any known issues with this configuration? Is there anything I
have to do on the tomcat configuration side to get it to work with
CXF? (In fact, the SpringSecurity sample that comes with CXF works,
but the simple example from the RESTful Java book, doesn't work)

Context to my issue here:
http://cxf.547215.n5.nabble.com/InvocationTargetException-with-RESTful-Java-book-example-td5716534.html

(The above example worked fine on TomEE plus last I checked.)

Any tips on known issues or debugging would be very helpful.

Thanks,
Todd

Re: TomEE Plus (the hard way)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
should be fine with cxf but you'll need to manage your resources without cdi

*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*




2012/10/16 Todd Deshane <to...@gmail.com>

> I really only need tomcat + cxf/jax_rs. If that is all I need will it
> be easy enough to do this with tomcat 6?
>
> Thanks,
> Todd
>
> On Tue, Oct 16, 2012 at 12:54 AM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
> > Hi,
> >
> > We now are integrated with t7 pretty far and t6 support would need a big
> > refactoring.
> >
> > Not sure if integrating openwebbeans in t6+some cxf cdi integration (look
> > openejb-cxf-rs invoker/perrequestprovider) isnt easier today.
> >
> > - Romain
> > Le 16 oct. 2012 03:38, "David Blevins" <da...@gmail.com> a
> écrit :
> >
> >>
> >> On Oct 15, 2012, at 6:14 AM, Todd Deshane <
> >> todd.deshane.excelsior@gmail.com> wrote:
> >>
> >> > Hi All,
> >> >
> >> > In our environment (at least for now), we need to run Tomcat 6.0.35
> >> > and add CXF support to our API and apps manually.
> >> >
> >> > Is there any known issues with this configuration? Is there anything I
> >> > have to do on the tomcat configuration side to get it to work with
> >> > CXF? (In fact, the SpringSecurity sample that comes with CXF works,
> >> > but the simple example from the RESTful Java book, doesn't work)
> >> >
> >> > Context to my issue here:
> >> >
> >>
> http://cxf.547215.n5.nabble.com/InvocationTargetException-with-RESTful-Java-book-example-td5716534.html
> >> >
> >> > (The above example worked fine on TomEE plus last I checked.)
> >> >
> >> > Any tips on known issues or debugging would be very helpful.
> >>
> >> We had support for Tomcat v6 for several years, but it hasn't been tried
> >> at all in the last 1+ year.
> >>
> >> Sounds like you don't have a choice otherwise you'd just use Tomcat 7.
> >>  Not sure how easy it would be to get things working in Tomcat 6.  I
> >> suspect you'd be looking at at least some coding.
> >>
> >>
> >> -David
> >>
> >>
>

Re: TomEE Plus (the hard way)

Posted by Todd Deshane <to...@gmail.com>.
I really only need tomcat + cxf/jax_rs. If that is all I need will it
be easy enough to do this with tomcat 6?

Thanks,
Todd

On Tue, Oct 16, 2012 at 12:54 AM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> Hi,
>
> We now are integrated with t7 pretty far and t6 support would need a big
> refactoring.
>
> Not sure if integrating openwebbeans in t6+some cxf cdi integration (look
> openejb-cxf-rs invoker/perrequestprovider) isnt easier today.
>
> - Romain
> Le 16 oct. 2012 03:38, "David Blevins" <da...@gmail.com> a écrit :
>
>>
>> On Oct 15, 2012, at 6:14 AM, Todd Deshane <
>> todd.deshane.excelsior@gmail.com> wrote:
>>
>> > Hi All,
>> >
>> > In our environment (at least for now), we need to run Tomcat 6.0.35
>> > and add CXF support to our API and apps manually.
>> >
>> > Is there any known issues with this configuration? Is there anything I
>> > have to do on the tomcat configuration side to get it to work with
>> > CXF? (In fact, the SpringSecurity sample that comes with CXF works,
>> > but the simple example from the RESTful Java book, doesn't work)
>> >
>> > Context to my issue here:
>> >
>> http://cxf.547215.n5.nabble.com/InvocationTargetException-with-RESTful-Java-book-example-td5716534.html
>> >
>> > (The above example worked fine on TomEE plus last I checked.)
>> >
>> > Any tips on known issues or debugging would be very helpful.
>>
>> We had support for Tomcat v6 for several years, but it hasn't been tried
>> at all in the last 1+ year.
>>
>> Sounds like you don't have a choice otherwise you'd just use Tomcat 7.
>>  Not sure how easy it would be to get things working in Tomcat 6.  I
>> suspect you'd be looking at at least some coding.
>>
>>
>> -David
>>
>>

Re: TomEE Plus (the hard way)

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

We now are integrated with t7 pretty far and t6 support would need a big
refactoring.

Not sure if integrating openwebbeans in t6+some cxf cdi integration (look
openejb-cxf-rs invoker/perrequestprovider) isnt easier today.

- Romain
Le 16 oct. 2012 03:38, "David Blevins" <da...@gmail.com> a écrit :

>
> On Oct 15, 2012, at 6:14 AM, Todd Deshane <
> todd.deshane.excelsior@gmail.com> wrote:
>
> > Hi All,
> >
> > In our environment (at least for now), we need to run Tomcat 6.0.35
> > and add CXF support to our API and apps manually.
> >
> > Is there any known issues with this configuration? Is there anything I
> > have to do on the tomcat configuration side to get it to work with
> > CXF? (In fact, the SpringSecurity sample that comes with CXF works,
> > but the simple example from the RESTful Java book, doesn't work)
> >
> > Context to my issue here:
> >
> http://cxf.547215.n5.nabble.com/InvocationTargetException-with-RESTful-Java-book-example-td5716534.html
> >
> > (The above example worked fine on TomEE plus last I checked.)
> >
> > Any tips on known issues or debugging would be very helpful.
>
> We had support for Tomcat v6 for several years, but it hasn't been tried
> at all in the last 1+ year.
>
> Sounds like you don't have a choice otherwise you'd just use Tomcat 7.
>  Not sure how easy it would be to get things working in Tomcat 6.  I
> suspect you'd be looking at at least some coding.
>
>
> -David
>
>

Re: TomEE Plus (the hard way)

Posted by David Blevins <da...@gmail.com>.
On Oct 15, 2012, at 6:14 AM, Todd Deshane <to...@gmail.com> wrote:

> Hi All,
> 
> In our environment (at least for now), we need to run Tomcat 6.0.35
> and add CXF support to our API and apps manually.
> 
> Is there any known issues with this configuration? Is there anything I
> have to do on the tomcat configuration side to get it to work with
> CXF? (In fact, the SpringSecurity sample that comes with CXF works,
> but the simple example from the RESTful Java book, doesn't work)
> 
> Context to my issue here:
> http://cxf.547215.n5.nabble.com/InvocationTargetException-with-RESTful-Java-book-example-td5716534.html
> 
> (The above example worked fine on TomEE plus last I checked.)
> 
> Any tips on known issues or debugging would be very helpful.

We had support for Tomcat v6 for several years, but it hasn't been tried at all in the last 1+ year.

Sounds like you don't have a choice otherwise you'd just use Tomcat 7.  Not sure how easy it would be to get things working in Tomcat 6.  I suspect you'd be looking at at least some coding.


-David