Re: embedding openJMS into tomcat

TJ Greenier <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
I also use OpenJMS with tomcat 5. I use an http connection and deployed the
openjms tunnel servlet to my tomcat webapp. This worked very well for us.

I do have a question though. Currently I start the openJMS server and tomcat
servers seperately using each ones startup script. Has anyone started and
stopped openJMS programmatically? if so, any suggestions? I want to put some
code in a servlet that will start up openJMS when tomcat is started and
shutdown openJMS when tomcat is shutdown. For my project this will be
sufficient, because if tomcat is down then openjms can be down as well. Plus
we are only connecting via http.

Any ideas or thoughts are much appreciated.

Thanks,
TJ

On 9/22/05, Ken M <wgold-WNUMbkg7HQH83n0zhJamUgC/[email protected]> wrote:
>
> Stas -
>
> I use OpenJMS with Tomcat 5 with great results.
>
> I just embed the OpenJMS initialization into my webapp's servlet init()
> and presto chango - OpenJMS in Tomcat.
>
> I'm not sure if there's a way to make Tomcat use OpenJMS directly - as
> Tomcat doesn't really do anything by itself without a web application to
> control.
>
> OpenJMS is a perfect drop-in.
>
> Ken
>
>
> Stas Ostapenko wrote:
>
> >Hi !
> >
> >I'm wery interested in embedding openJMS into Tomcat.There is no docs
> >or some kind of tutorial how its can be done. I'm googling with no
> >results on this topic. Only some articles about using standalone
> >openJMS with Tomcat. Step by step tutorial will be simlpy great.
> >Is it possible to do something similar to Activemq +Tomcat integration
> >(http://activemq.codehaus.org/Tomcat) ?
> >
> >Plese help. Thanks.
> >Regards, Stas.
> >
> >
> >-------------------------------------------------------
> >SF.Net email is sponsored by:
> >Tame your development challenges with Apache's Geronimo App Server.
> >Download it for free - -and be entered to win a 42" plasma tv or your
> very
> >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> >_______________________________________________
> >openjms-user mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/openjms-user
> >
> >
> >
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> openjms-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openjms-user
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.