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 Davide Romanini <d....@cineca.it> on 2005/07/21 15:49:13 UTC
Automatic deploy of services on a cluster
Hi,
I'm writing web services using Axis. Each time I modify my code, I
create a new jar file, put it in WEB-INF/lib and then use AdminClient to
deploy my .wsdd.
This works fine when the server is only one (my local machine or test
environment). But the production environment is a cluster of 6 machines
in load balancing, with shared file system. That means that if I run
AdminClient, the server-config.wsdd is correctly updated and seen by all
six tomcat instances, but really only one machine (the one answered me
when I ran AdminClient) effectively published the service.
I'm also not sure if the AdminClient simply change the
server-config.wsdd file or actually reload my new classes. If it don't,
it means that I actually need to reload the axis context in each single
tomcat instance! How can I deploy in such environment in a fast way?
Thanks in advance,
bye,
Davide Romanini
Re: Automatic deploy of services on a cluster
Posted by Davanum Srinivas <da...@gmail.com>.
run "org.apache.axis.utils.Admin" to generate the server-config.wsdd
and put that into your shared file system.
-- dims
On 7/21/05, Davide Romanini <d....@cineca.it> wrote:
> Hi,
>
> I'm writing web services using Axis. Each time I modify my code, I
> create a new jar file, put it in WEB-INF/lib and then use AdminClient to
> deploy my .wsdd.
>
> This works fine when the server is only one (my local machine or test
> environment). But the production environment is a cluster of 6 machines
> in load balancing, with shared file system. That means that if I run
> AdminClient, the server-config.wsdd is correctly updated and seen by all
> six tomcat instances, but really only one machine (the one answered me
> when I ran AdminClient) effectively published the service.
>
> I'm also not sure if the AdminClient simply change the
> server-config.wsdd file or actually reload my new classes. If it don't,
> it means that I actually need to reload the axis context in each single
> tomcat instance! How can I deploy in such environment in a fast way?
>
> Thanks in advance,
>
> bye,
> Davide Romanini
>
>
--
Davanum Srinivas -http://blogs.cocoondev.org/dims/