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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > --------------------------------------------------------------------- >> > 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] >> >> > > --------------------------------------------------------------------- > 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
