You can deploy it on its own. Just point the deployer to the plan. If using the Admin Console just select "Deploy New" and fill in the plan field (leaving the application/module field empty).
Saw this email.
I'm trying to create a system-wide cluster config as a deployable module
and then reference it from geronimo-web.xml
The deployment descriptor below - should it be packaged as an ejb-jar?
And do you deploy it as an application or as a common-lib?
From: Mike Perham [mailto:email@example.com]
Sent: Wednesday, November 29, 2006 5:16 PM
Subject: Re: Creating a mail session
Thanks, all. The following plan will create a system-wide mail session.
In your J2EE module, you just need to declare a dependency on it.
<gbean name="MailSession" class="org.apache.geronimo.mail.MailGBean">
On 11/27/06, David Carew < firstname.lastname@example.org> wrote:
> Take a look at the WAS CE samples (you can download them from the same
> place you downloaded WAS CE). There's an application called
> PlantsByWebsphere that uses a mail session and has all the required
info in the deployment plan .
> I've tried it before and it has worked for me. HTH
> On 11/27/06, Mike Perham <email@example.com> wrote:
> > I've spent the last few days trying to figure out how to create an
> > system-wide javamail Session for application email usage.
> > I updated the javamail module in config.xml to point to my SMTP
> > server but can't find any documentation on how to create a session
> > based on that config. If someone has a working mail session, could
> > you reply with your plan? I'm using WAS CE 220.127.116.11.
> > mike