Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 75672 invoked from network); 21 Oct 2004 23:38:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Oct 2004 23:38:41 -0000 Received: (qmail 39260 invoked by uid 500); 21 Oct 2004 23:38:30 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 38867 invoked by uid 500); 21 Oct 2004 23:38:22 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 38607 invoked by uid 99); 21 Oct 2004 23:38:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.68.1.20] (HELO relay.pair.com) (209.68.1.20) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 21 Oct 2004 16:38:13 -0700 Received: (qmail 765 invoked from network); 21 Oct 2004 23:38:04 -0000 Received: from softdnserror (HELO LANKABOOK) (64.128.20.189) by relay00.pair.com with SMTP; 21 Oct 2004 23:38:04 -0000 X-pair-Authenticated: 64.128.20.189 Message-ID: <060d01c4b7c7$014ee8a0$56a13109@LANKABOOK> From: "Sanjiva Weerawarana" To: "Apache AXIS C User List" References: <20041020011014.73342.qmail@web40603.mail.yahoo.com> Subject: Re: Hot deploying axisC++ Date: Fri, 22 Oct 2004 05:37:59 +0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Wellllll .. why is it not possible to do it with the current design? It seems to me that all we need is one of the following: (1) have the server periodically check the server.wsdd file and see whether it has been changed, or (2) set up a parameter in the server.wsdd file to indicate a dir where we look for subdirs each containing a deploy.wsdd and any needed dlls (or .lib.so files) and then have the server periodically poll that master directory for changes, or (3) introduce a remotely invokeable API (via SOAP, of course) to ask introduce the server to a new deploy.wsdd and maybe the location of where to find the necessary lib files (or even send the libs via SOAP .. subject to all the severe security risks that implies ;-)) It seems to me that that can work with the current design? Sanjiva. ----- Original Message ----- From: "Samisa Abeysinghe" To: "Apache AXIS C User List" Sent: Wednesday, October 20, 2004 7:10 AM Subject: Re: Hot deploying axisC++ > In short, it is not possible to do hot deployment with current design. > However, you could design a new deploy mechanism based on current server.wsdd mechanism. > e.g. let the server.wsdd specify a location/folder where you could drop new deploy files in, and > let the server time to time read those and load if there are any new ones. As I said - you need a > new design around this. > > Samisa... > > --- damitha@opensource.lk wrote: > > > > I'm working on a project to hot deploy axisC++(1.3 beta). > > You mean to hot deploy a new service on Axis c++? > > > > > I need information on how apache looks up the available services, and > > > > You mean how axis c++ server engine looks up the availbale services?. > > Actually the information of your new service should be inserted in > > server.wsdd file. According to the current deployment procedure you then > > need to restart apache. What happens is that When apache load the axisc++ > > module, axisc++ engine is initialized. It will have a memory > > representation of the server.wsdd loaded at that time. When a request come > > that information of the service is utilized to locate and load the > > service. So if any change is done to server.wsdd to allow a new service, > > apache need to be restarted. > > > > how > > > we can add a new service to the runtime environment(like a specific > > > register) so that it won't be necessary to restart the server? > > > > It is not possible to deploy a new service without restarting apache, as > > explained before. Hot deployment means once you put service library and > > descripters in place engine should poll and deploy it automatically, > > right?. So in that case we need to first make engine deploy a service > > without restarting apache. > > > > thanks > > damitha > > > > > > > > > > > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com >