You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Rick Bullotta <ri...@burningskysoftware.com> on 2010/03/22 21:51:54 UTC
Hosting Vysper in a web app
Has anyone tried to launch/host Vysper from inside a container such as
Tomcat? We've done this successfully with ActiveMQ, and would like to do
the same with Vysper so that we can easily control the server's lifecycle
and monitor/control it from within a common container. It might also be
cool if at some future point Vysper could be made available as an OSGI
bundle.
Rick
RE: Hosting Vysper in a web app
Posted by Rick Bullotta <ri...@burningskysoftware.com>.
Thanks, Bernd.
I'm an OSGI noob, but willing to learn. I think the trick with "OSGI-izing"
will be carefully considering some of the current dependencies and which of
them are currently available as bundles as well (e.g. Jackrabbit).
-----Original Message-----
From: Bernd Fondermann [mailto:bf_jak@brainlounge.de]
Sent: Monday, March 22, 2010 5:02 PM
To: dev@mina.apache.org
Subject: Re: Hosting Vysper in a web app
Rick Bullotta wrote:
> Has anyone tried to launch/host Vysper from inside a container such as
> Tomcat? We've done this successfully with ActiveMQ, and would like to do
> the same with Vysper so that we can easily control the server's lifecycle
> and monitor/control it from within a common container.
Should be easy going with the code you find in the main method here
http://svn.apache.org/repos/asf/mina/sandbox/vysper/trunk/server/core/src/ma
in/java/org/apache/vysper/xmpp/server/ServerMain.java
(given you don't have a security manager running preventing you from
binding to port 5221)
> It might also be
> cool if at some future point Vysper could be made available as an OSGI
> bundle.
Certainly. Are you volunteering? :-)
Bernd
Re: Hosting Vysper in a web app
Posted by Bernd Fondermann <bf...@brainlounge.de>.
Rick Bullotta wrote:
> Has anyone tried to launch/host Vysper from inside a container such as
> Tomcat? We've done this successfully with ActiveMQ, and would like to do
> the same with Vysper so that we can easily control the server's lifecycle
> and monitor/control it from within a common container.
Should be easy going with the code you find in the main method here
http://svn.apache.org/repos/asf/mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java
(given you don't have a security manager running preventing you from
binding to port 5221)
> It might also be
> cool if at some future point Vysper could be made available as an OSGI
> bundle.
Certainly. Are you volunteering? :-)
Bernd