[ 
http://issues.apache.org/jira/browse/AXIS2-1200?page=comments#action_12439697 ] 
            
Davanum Srinivas commented on AXIS2-1200:
-----------------------------------------

Need to at least doc current design / behavior to downgrade this bug.

thanks,
dims

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

Reply via email to