You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tony Dean (JIRA)" <ji...@apache.org> on 2006/07/28 14:14:13 UTC

[jira] Created: (AXIS2-940) Ability to load/init services during container startup

Ability to load/init services during container startup
------------------------------------------------------

                 Key: AXIS2-940
                 URL: http://issues.apache.org/jira/browse/AXIS2-940
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: deployment
    Affects Versions: 1.0
         Environment: n/a
            Reporter: Tony Dean


I think users will want an option (load-on-startup=on|off) to either load scope="application" services on container startup or upon the first request.  I personally would want my service loaded and ready to go before the first request is issued.  Users will certainly be willing to take the hit waiting for the container to initialize rather than during a real-time request.


-- 
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


[jira] Commented: (AXIS2-940) Ability to load/init services during container startup

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-940?page=comments#action_12425196 ] 
            
Davanum Srinivas commented on AXIS2-940:
----------------------------------------

Deepal,

I'd say it should be the following because there is no ServiceContext
or MessageContext setup at startup time.

init(ConfigurationContext)

This is similar to servlets if you specify load-on-startup then
"init(ServletConfig config)" is called.

This would be a one time call only irrespective of scope. What do you think?

-- dims

> Ability to load/init services during container startup
> ------------------------------------------------------
>
>                 Key: AXIS2-940
>                 URL: http://issues.apache.org/jira/browse/AXIS2-940
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 1.0
>         Environment: n/a
>            Reporter: Tony Dean
>
> I think users will want an option (load-on-startup=on|off) to either load scope="application" services on container startup or upon the first request.  I personally would want my service loaded and ready to go before the first request is issued.  Users will certainly be willing to take the hit waiting for the container to initialize rather than during a real-time request.

-- 
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


[jira] Resolved: (AXIS2-940) Ability to load/init services during container startup

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-940?page=all ]

Deepal Jayasinghe resolved AXIS2-940.
-------------------------------------

    Resolution: Fixed

- need to add following parameter into services.xml
 <parameter name="load-on-startup" locked="false">true</parameter>
- and then need to add the following method into service impl class

public void startUp(ConfigurationContext configCytx) {
        
    }

> Ability to load/init services during container startup
> ------------------------------------------------------
>
>                 Key: AXIS2-940
>                 URL: http://issues.apache.org/jira/browse/AXIS2-940
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 1.0
>         Environment: n/a
>            Reporter: Tony Dean
>         Assigned To: Deepal Jayasinghe
>            Priority: Blocker
>
> I think users will want an option (load-on-startup=on|off) to either load scope="application" services on container startup or upon the first request.  I personally would want my service loaded and ready to go before the first request is issued.  Users will certainly be willing to take the hit waiting for the container to initialize rather than during a real-time request.

-- 
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


[jira] Assigned: (AXIS2-940) Ability to load/init services during container startup

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-940?page=all ]

Davanum Srinivas reassigned AXIS2-940:
--------------------------------------

    Assignee: Deepal Jayasinghe

> Ability to load/init services during container startup
> ------------------------------------------------------
>
>                 Key: AXIS2-940
>                 URL: http://issues.apache.org/jira/browse/AXIS2-940
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 1.0
>         Environment: n/a
>            Reporter: Tony Dean
>         Assigned To: Deepal Jayasinghe
>
> I think users will want an option (load-on-startup=on|off) to either load scope="application" services on container startup or upon the first request.  I personally would want my service loaded and ready to go before the first request is issued.  Users will certainly be willing to take the hit waiting for the container to initialize rather than during a real-time request.

-- 
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


[jira] Updated: (AXIS2-940) Ability to load/init services during container startup

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-940?page=all ]

Davanum Srinivas updated AXIS2-940:
-----------------------------------

    Priority: Blocker  (was: Major)

> Ability to load/init services during container startup
> ------------------------------------------------------
>
>                 Key: AXIS2-940
>                 URL: http://issues.apache.org/jira/browse/AXIS2-940
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 1.0
>         Environment: n/a
>            Reporter: Tony Dean
>         Assigned To: Deepal Jayasinghe
>            Priority: Blocker
>
> I think users will want an option (load-on-startup=on|off) to either load scope="application" services on container startup or upon the first request.  I personally would want my service loaded and ready to go before the first request is issued.  Users will certainly be willing to take the hit waiting for the container to initialize rather than during a real-time request.

-- 
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


[jira] Commented: (AXIS2-940) Ability to load/init services during container startup

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-940?page=comments#action_12425197 ] 
            
Davanum Srinivas commented on AXIS2-940:
----------------------------------------

Hi Dims;

When you deploy a service , deploymentEngine does not have access to
configuration context (it has only access to AxisConfiguration). Any way
we have a work  around for the services at the system startup time , but
if some one drop a service at the runtime (service hot deployment) ,
then we can not call that method since there is no way to get access to
configuration context from AxisConfiguratation.

So is that ok if we give this feature only for service which are in the
repository when system startup ?

Thanks
Deepal

> Ability to load/init services during container startup
> ------------------------------------------------------
>
>                 Key: AXIS2-940
>                 URL: http://issues.apache.org/jira/browse/AXIS2-940
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 1.0
>         Environment: n/a
>            Reporter: Tony Dean
>
> I think users will want an option (load-on-startup=on|off) to either load scope="application" services on container startup or upon the first request.  I personally would want my service loaded and ready to go before the first request is issued.  Users will certainly be willing to take the hit waiting for the container to initialize rather than during a real-time request.

-- 
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