You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tony Li <le...@gmail.com> on 2007/09/06 17:45:01 UTC

How to set configuration parameters for web service not in aar

We built and released web services as aar files in ..\axis2\WEB-INF\services.

We want to manually change the configuration parameters in web service
without needing to restart the servers.

Is it possible to put configuration parameters at config.xml in
...\axis2\WEB-INF\conf or ...\axis2\WEB-INF\classes and read them into
web services when the web services are running?
So that we can manually change the configuration file content and call
some functions in web services to refresh the configuration parameters
in the services without restart the servers?


Thanks a lot

Tony

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


Re: How to set configuration parameters for web service not in aar

Posted by Deepal Jayasinghe <de...@opensource.lk>.
> We built and released web services as aar files in ..\axis2\WEB-INF\services.
>
> We want to manually change the configuration parameters in web service
> without needing to restart the servers.
>   
you are talking about Axis2 hotupdate.
> Is it possible to put configuration parameters at config.xml in
> ...\axis2\WEB-INF\conf or ...\axis2\WEB-INF\classes and read them into
> web services when the web services are running?
>   
default implementation does not support that , but there are ways of
doing it. One way to do it is to add a custom deployer who listen to a
your file and make the changes . or you could write a thread and
implement that in a such a way that it update the service when some
changes happen to the config.xml

Thanks
Deepal
> So that we can manually change the configuration file content and call
> some functions in web services to refresh the configuration parameters
> in the services without restart the servers?
>
>
> Thanks a lot
>
> Tony
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>   



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