You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Wendy Smoak <ws...@gmail.com> on 2008/10/13 04:10:57 UTC

A Tomcat bundle for Continuum

I rarely test in Tomcat because it's a pain to set up the data sources
and I'm spoiled with mvn jetty:run and the jetty bundle. :)

I took a stab at making a tomcat bundle, and jasonb on #tomcat pointed
me towards the Embedded class, but I didn't find much documentation on
it.  It's not the same as org.mortbay.start.Main -- it doesn't have a
main method, which upsets the Java Service Wrapper.  I suspect we get
to write one... I did find this blog post [1] which looks useful.

Anyway, it's in the sandbox [2] if anyone would like to help, and I'll
add it to my unfinished projects list... (surely someone has done this
with Tomcat and JSW already??)

[1] http://lacson.name/archives/2004/12/how_to_embed_to.htm
[2] http://svn.apache.org/repos/asf/continuum/sandbox/continuum-tomcat/

-- 
Wendy

Re: A Tomcat bundle for Continuum

Posted by Emmanuel Venisse <em...@gmail.com>.
Yes, I'd download Tomcat, glassfish, Geronimo and configure them to create
bundles.It isn't only for testing but for the documentation too and to
recreate issues sent by users

Emmanuel

On Mon, Oct 13, 2008 at 4:48 PM, Wendy Smoak <ws...@gmail.com> wrote:

> I'm not really clear on "bundled" vs. "embedded" so it's entirely
> possible I'm heading in the wrong direction.  That's why it's in the
> sandbox. :)  How would you go about creating a bundle with the
> standard Tomcat?  Download the zip file from one of the mirrors?  (I
> don't think they deploy the distribution to the Maven repo.)
>
> If it's just for testing, then maybe Cargo and the plugin Don Brown
> wrote to test in multiple appservers would work.
>
> --
> Wendy
>
> On Mon, Oct 13, 2008 at 1:17 AM, Emmanuel Venisse
> <em...@gmail.com> wrote:
> > Why an embedded version?It would be more easy to create a bundle with a
> > standard tomcat and Continuum preconfigured, no?
> >
> > If we do that, we can do it too for Geronimo and Glassfish, so it will be
> > more easy to test them before the release.
> >
> > Emmanuel
>

Re: A Tomcat bundle for Continuum

Posted by Wendy Smoak <ws...@gmail.com>.
I'm not really clear on "bundled" vs. "embedded" so it's entirely
possible I'm heading in the wrong direction.  That's why it's in the
sandbox. :)  How would you go about creating a bundle with the
standard Tomcat?  Download the zip file from one of the mirrors?  (I
don't think they deploy the distribution to the Maven repo.)

If it's just for testing, then maybe Cargo and the plugin Don Brown
wrote to test in multiple appservers would work.

-- 
Wendy

On Mon, Oct 13, 2008 at 1:17 AM, Emmanuel Venisse
<em...@gmail.com> wrote:
> Why an embedded version?It would be more easy to create a bundle with a
> standard tomcat and Continuum preconfigured, no?
>
> If we do that, we can do it too for Geronimo and Glassfish, so it will be
> more easy to test them before the release.
>
> Emmanuel

Re: A Tomcat bundle for Continuum

Posted by Emmanuel Venisse <em...@gmail.com>.
Why an embedded version?It would be more easy to create a bundle with a
standard tomcat and Continuum preconfigured, no?

If we do that, we can do it too for Geronimo and Glassfish, so it will be
more easy to test them before the release.

Emmanuel

On Mon, Oct 13, 2008 at 4:10 AM, Wendy Smoak <ws...@gmail.com> wrote:

> I rarely test in Tomcat because it's a pain to set up the data sources
> and I'm spoiled with mvn jetty:run and the jetty bundle. :)
>
> I took a stab at making a tomcat bundle, and jasonb on #tomcat pointed
> me towards the Embedded class, but I didn't find much documentation on
> it.  It's not the same as org.mortbay.start.Main -- it doesn't have a
> main method, which upsets the Java Service Wrapper.  I suspect we get
> to write one... I did find this blog post [1] which looks useful.
>
> Anyway, it's in the sandbox [2] if anyone would like to help, and I'll
> add it to my unfinished projects list... (surely someone has done this
> with Tomcat and JSW already??)
>
> [1] http://lacson.name/archives/2004/12/how_to_embed_to.htm
> [2] http://svn.apache.org/repos/asf/continuum/sandbox/continuum-tomcat/
>
> --
> Wendy
>