axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe" <>
Subject Re: [AXIS2][Deployement] Hot Deployement techniques
Date Wed, 13 Oct 2004 05:51:29 GMT
Hi all;

I sent a mail to tomcat dev list (alexandria-dev@jakarta.apache.) asking how
they handle hot deployment. But I didn't get any reply from them yet.

I red an articles and I found that;

Tomcat continuously scans specific folder to perform hot deployment. So it
is similar to the technique that I have mentioned earlier (thread is running
forever and checking a specific folder is update).

(I am very sorry for delaying to reply, it is because I was busy with my
academic activities )

thank you


----- Original Message -----
From: "Sanjiva Weerawarana" <>
To: <>
Sent: Friday, October 08, 2004 7:54 AM
Subject: Re: [AXIS2][Deployement] Hot Deployement techniques

> To me, hot deployment is a feature for developer convenience
> and not really for production. For developers the race condition
> problem is not a likely thing IMO - do you agree?
> In production, there's indeed one scenario where this could
> occur: if a hosting kind of place allows people to hot
> deploy services .. but in that case the "hot" deployment will
> occur via some remote protocol (like an HTTP POST uploading
> the aar file, for example) and we could make sure that whatever
> we implement for such scenarios do follow some locking to
> prevent race conditions. Others could screw it up, but we can
> document saying that's a requirement of the hot deployment
> engine.
> The other scenario is at server startup time the system loads
> up everything in the deployed services directory (without expecting
> everything to be listed in server-config.wsdd like now that is).
> There too I guess there's potential for race conditions but again
> I don't see it as very likely.
> In any case, we don't need to invent here. Deepal, were you able
> to find out what Tomcat does? What's good enough for Tomcat is
> good enough for us I'd say!
> BTW I'm definitely -1 on making Axis2 JDK 1.5 specific :-).
> Sanjiva.
> ----- Original Message -----
> From: "Steve Loughran" <>
> To: "Axis-Dev" <>
> Sent: Thursday, October 07, 2004 5:04 PM
> Subject: re: [AXIS2][Deployement] Hot Deployement techniques
> > One problem w/ thread monitoring hot-deployment (or other hands-free
> > systems like listening to directory events on an NTFS drive) is race
> > conditions, if >1 file is being updated there is an unstable state half
> > way through.
> >
> > Another approach is to have something that you tickle to force a
> > refresh, or provide a way (JMX?) refresher that can turn the refresh on
> > and off.
> >
> > If Axis2 targets Java1.5 *only* (controversial, I know :), then JMX is
> > built into the distro
> >

View raw message