From: Jon A. <jon...@du...> - 2009-09-15 20:49:11
|
There are actually several ways that we've handled this scenario in the past on our development servers: 1) give all developers sudo rights to restart tomcat. Of course, you can run into file permission issues if multiple developers are deploying to the same webapps folder. 2) create a single user that owns the tomcat folder recursively and can restart the server (Rutger's suggestion) #2 is probably the easiest to manage but you do lose the ability to see who did what. As a side note, has there been any thought to replacing tomcat with jboss? Jboss allows hot deploys. As far as production servers go: We will be setting up a production server when you guys are ready for it. We usually just give access to the sysadmin on production servers. New versions of the application can be committed to a subversion repo, with a server cronjob sucking down new versions. This gives developers full control to deploy new war files without needing any access to the application server. Of course, if we stick with tomcat I'd need to build in some logic in the cron script to restart tomcat. We've also used rsync using keypairs to sync development and production, though I think the subversion method is a better way to go. I'll be happy to set it up whichever way the group decides. -Jon ------------------------------------------------------- Jon Auman Systems Administrator National Evolutionary Synthesis Center Duke University http:www.nescent.org jon...@ne... ------------------------------------------------------ On Sep 15, 2009, at 3:51 PM, Rutger Vos wrote: > Hi all, > > I think it would be handy to have a separate user on > treebasedb-dev.nescent.org to (re)build the source and (re)launch a > tomcat instance. This way, multiple developers can log in as that user > (say, as to...@tr...) and keep things running if > disaster strikes. We currently have this same functionality on 8ball > by sharing Jin Ruan's login credentials, which is i) goofy; ii) > waiting for an overactive sysadmin to delete that account. Thoughts? > > Rutger > > -- > NOTE: I will soon lose my UBC email address, please start using my > gmail address instead (rut...@gm...) > > Dr. Rutger A. Vos > Department of zoology > University of British Columbia > http://www.nexml.org > http://rutgervos.blogspot.com > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel ------------------------------------------------------- Jon Auman Systems Administrator National Evolutionary Synthesis Center Duke University http:www.nescent.org jon...@ne... ------------------------------------------------------ |