> -------- Original Message -------- > Subject: Re: [Webware-discuss] MakeAppWorkDir > From: "Hannes Lilljequist" <[EMAIL PROTECTED]> > Date: Thu, September 09, 2004 1:44 am > To: "jose" <[EMAIL PROTECTED]> > Cc: "<[EMAIL PROTECTED]>" > <[EMAIL PROTECTED]>, "'Eric Radman'" > <[EMAIL PROTECTED]> > > I have two questions related to this. (Hope you don't mind if I borrow > your thread...) > > 1. > Say you're serving a number of sites on one server and you need to add > and remove sites as you go along. You've decided that you want one > server instance for each webapp... Is there a way of centralising the > starting and stopping of the appservers? Or do you have to have one > system startup script (as in init.d) for each server instance? > > It seems like with this approach, there's a lot of stuff you need to > keep track of for each new site: Apache virtual host, Appserver port > number, Webkit workdir, startup script (rc/init.d)... Well, maybe > that's just me being lazy - but the multiple-startup-script part seems > awkward to me. > I agree totally, it is messy and can be difficult to keep track of. So far I have set up only two appservers, one is my main one and the second one is a dev one, but I could see how this can get out of hand quickly. Currently at work we are operating under the model where we have a single appserver with muyltiple contexs in it, I am in the process of making each context (or related group of contexes) its own appserver. At work I think I am going to end up with about 4 or 5 app servers running, so there is going to be alot to keep track of.
> > 2. > If you, on the other hand, would place multiple sites under one server > instance, the lib directory could easily become crowded, and there may > also be namespace conflicts... Is there a way to have one lib directory > for each context (other than making subdirectories of lib of course)? > Should i NOT use lib under these circumstances? > > (For example, I wanted to use the wiki app from wiki.w4py.org. It's > designed to be run as a separate webapp, but I thought maybe I could > install it as a context side-by-side with my main site context. I > looked in the lib directory of the wiki and thought: not a good idea.) > > On a side note have you gotton the wiki running? I tried to get it running last night and never got it to run. I am trying to get it running on a windoze box, but I don't think that should cause a problem. Anyway I would really love to hear your experience getting the wiki running Jose > Sorry for the long post. Quite obviously, I'm also a fresh new user of > Webware and Python. Hope someone out there can give me a few hints! > > Regards, > Hannes Lilljequist > > > > 2004-09-09 kl. 07.05 skrev jose: > > > Dear Eric, > > > > Thanks for the confirmation, that's what I thought was going on, I just > > wanted to be sure > > > > Jose > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Eric > > Radman > > Sent: Wednesday, September 08, 2004 6:44 PM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: Re: [Webware-discuss] MakeAppWorkDir > > > > > > On 16:38 Wed 08 Sep , [EMAIL PROTECTED] wrote: > >> Dear Webware group, > >> > >> I've got what I hope is a dumb question, but I would just like to have > > > >> it confirmed. I just recently started using MakeAppWorkDir to create > >> different working apps for my different contexts (up until this point > >> I have just used the main webware install as my working app, but it is > > > >> filled up with to many contexts and I want to organize things a little > > > >> better). > > > > This is also better from a security perspective. > > > >> My question is, in order for all the application servers to run on the > > > >> same machine, I need to have each one listening on a different port > >> correct? > > > > Correct. > > > >> And if so how does this work in a multiuser Linux environment where > >> another user might be running webware on the same port that I just set > > > >> mine to? > > > > This works because once a user's instance of WebKit (or any other app) > > listening on a specific port it's locked, so other users only get an > > error when they try to step on it. If another user knows that you > > stopped your instance of WebKit then they can steal you're port. > > > > -- > > Eric Radman | http://eradman.com > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss