geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahmed <man.geron...@gmail.com>
Subject Re: Hi , how to starta a gbean , when server starts up
Date Fri, 28 Apr 2006 13:23:44 GMT
Thanks Sachin for your quick reply !!!.

Let me try to be more clear .
I am not looking to deploy the gbean manually , What iam interested is
something like this ....
while iam building the server from scratch , i want his gbean to be get
added into the server as a service and when i start the server , it should
be started automatically.

Thanks ,



On 4/28/06, Sachin Patel <sppatel2@gmail.com> wrote:
>
> Hi,
>
> Deploying a service is pretty much done just like you are deploying a
> j2ee application.  Provide a jar and a plan for it.  Take a look at
> geronimo-config-1.1.xsd.  Your dependencies to other configurations
> or jars can be defined in there.  Then using the command line
> deployer your can deploy your service.
>
> deployer deploy /path/to/jar /path/to/plan.xml
>
> Also, I've found it helpful to look at the many examples available in
> the configs directory from the root of the source tree.
>
> Hope that helps.
>
> - sachin
>
>
>
> On Apr 28, 2006, at 6:59 AM, Man wrote:
>
> > Hi ,
> >
> >     I like to clarify few things regarding gbean dependencies here :
> >
> >                   I have a gbean , with some dependencies and i
> > need to start it as a independent service when server starts(i
> > don't wanna it to go as a gbean into other's configurations) .
> >
> >                  can somebody educate me , how to go about having a
> > gbean started when server starts and where do i mention the
> > dependencies for this gbean.
> >
> > With Thanks,
> >
> >
>
>

Mime
View raw message