axis-java-dev mailing list archives

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

Michele Mazzucco updated AXIS2-1200:
------------------------------------

    Attachment: services.xml
                MyService.java

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: http://issues.apache.org/jira/browse/AXIS2-1200
>             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: MyService.java, 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"
locked="false">true</parameter>
> 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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message