Don't know if it helps, but org.apache.avalon.phoenix.launcher.DemonLauncher launches Phoenix from within a VM and it is Phoenix that launches James. So, maybe you could use this as a model for what you wish to do.
-- Steve > -----Original Message----- > From: Johannes Verelst [mailto:[EMAIL PROTECTED] > Sent: 16 July 2003 13:30 > To: James Users List > Subject: Starting james from a java program > > > Hi, > > A long time ago, I wrote a connector between MMBase (an open > source CMS) > and James 2.0a3: emails are stored as nodes in MMBase. For > communication > between MMBase and James, I use RMI (MMbase has an RMI > connector), this > works fine. > > Hoever, I now have the requirement to run both systems in one JVM. > MMBase is started as a webapp by a servlet container (like > Tomcat), and > it should be able to start up James while its initializing. > > Can anybody give me a hint where to start here? Is this > possible at all, > and if so, which jar's do I need to place in my tomcat libdir? > > Kind regards, > > Johannes Verelst > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
