axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: [Axis2] eager service initialization
Date Tue, 12 Sep 2006 16:25:34 GMT
Try putting this your your service.xml , right under ServiceClass -

 <parameter name="load-on-startup" locked="false">true</parameter>

Forgot about that ... will document this for the upcomming release .

Robert

On 9/12/06, Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:
> Robert,
>
> I did it: only the init() method is called at startup (if the service is
> in application scope), the startUp() is never called.
>
>
> Michele
>
> robert lazarski wrote:
> > Hmm ... I just tested this yesterday ;-) . Please check your
> > environment and follow the instructions in the javadoc.
> >
> > Robert
> >
> > On 9/12/06, Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:
> >> Robert,
> >>
> >> unfortunately it does not work :(.
> >> I've tried with a service deployed in application scope as well as with
> >> a service deployed in request scope, and I found out that the startup is
> >> never called!
> >>
> >> Michele
> >>
> >> robert lazarski wrote:
> >> > Its part of the nightlies under the Service.startUp() interface ...
> >> > just have your service implement it .
> >> >
> >> > Robert
> >> >
> >> > On 9/12/06, Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:
> >> >> Hi all,
> >> >>
> >> >> some time ago somebody raised an issue about eager service
> >> >> initialization (i.e. at system startup). Is there any news about it?
> >> >>
> >> >> Thanks,
> >> >> Michele
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message