axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mazzucco (JIRA)" <>
Subject [jira] Updated: (AXIS2-1200) org.apache.axis2.engine.Service interface broken
Date Wed, 20 Sep 2006 09:14:27 GMT
     [ ]

Michele Mazzucco updated AXIS2-1200:

    Attachment: services.xml

Please find attached the sample which shows what described (it's the sample service
slightly modified) together with the configuration file.

> org.apache.axis2.engine.Service interface broken
> ------------------------------------------------
>                 Key: AXIS2-1200
>                 URL:
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: core
>         Environment: win XP sp2, java 1.5.0_03
>            Reporter: Michele Mazzucco
>            Priority: Blocker
>         Attachments:, services.xml
> I'm facing against serious problems with the eager service initialization features provided
by the Service interface (the service is deployed in application scope everything is correct
in services.xml). I'm using the latest nightly build.
> 1 - the 'init' method is called *only* if there's a static initialization elsewhere (i.e.
a static block) -- so I guess the init() method is called *only* when the first request comes,
and not at system startup as described into the documentation (and a service instance is created)
> 2 - the startUp() method is *never* called, even if the <parameter name="load-on-startup"
> parameter is set into services.xml.
> Furthermore, if you set this argument, *2* service instances are created at system startup!.
Again, if a static block is not present, nothing
> happens.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message