From: Vladimir G. <vla...@du...> - 2009-12-16 18:39:35
|
I hope we can agree that what Jon suggests is worthwhile doing. I also hope we can do one more thing alongside this: move whatever settings are currently specified in treebase-core/src/main/resources/ jdbc.properties out of the WAR file and into tomcat configuration. This should enable deploying the same WAR in multiple installations and make everyone's life much easier. --VG On Dec 16, 2009, at 1:22 PM, Jon Auman wrote: > I suggest that treebase-dev be configured to run from the treebase > account on the server. I think all the developers have the login info > for that user. I further suggest > > CATALINA_HOME : /home/treebase/tomcat > Tomcat can run from this location with default ports (8080, for web, > for example) as long as the 6666 instance is not running (which uses > some of the non-web interface default ports) > > The environment for this user should be setup from scratch instead of > copied over from an existing user's home dir. I need to be able to > programatically recreate this environment on the staging and > production server, so I'll need instructions on how to set everything > up. I think those instructions currently exist except for some > mesquite issues. > > Once that is setup, I'll create an initd script that starts tomcat on > startup of the server. All developers will be able to start and stop > that instance of tomcat as well. > > Before I left fro parental leave, I created both a staging and a > production environment like this for Vladimir. > > BTW, I tired to start Rutger's instance of tomcat with sudo this > morning and was not able to because it needed some environment > variables to start. Will this be necessary on production? I would > prefer not. I usually put those variables in tomcat5.conf or in the > catalina.sh script. > > Ok, I'll probably check email again tonight or tomorrow. > > -Jon > > > > On Dec 16, 2009, at 12:18 PM, Rutger Vos wrote: > >> http://treebasedb-dev.nescent.org:6666/treebase-web is up and running >> again, though the mesquite runtime issue is still not resolved. I >> fixed the compile time issue by putting the dependency on >> treebase-2.01.tb.jar back in the pom.xml (and committed this). >> >> I just got an email from Wayne suggesting a programmatic way to tell >> mesquite its location at runtime, I still have to try this. >> >> I am quite happy to "reconfigure" my account by sharing my login >> credentials with Youjun and Vladimir off-list (or is there a better >> way to do this)? >> >> I thought Youjun was capable locally of building and deploying the >> war >> (while talking to the remote db). I certainly can so I don't *have* >> to >> use the rv...@tr... account to get any work done. >> Vladimir, if you do an update on your end, will the source now build >> on your system? The complaints about mesquite.lib.* missing should go >> away. >> >> Rutger >> >> On Wed, Dec 16, 2009 at 5:07 PM, Hilmar Lapp <hl...@ne...> >> wrote: >>> Rutger - >>> >>> it looks like at this point we do not have a second deployment- >>> capable >>> installation on treebase-dev, and I get the sense that no one has >>> one local >>> to their lap/desktop either. >>> >>> Since Jon is on parental leave, can you reconfigure your account so >>> that it >>> can function as the shared developer account for now until Jon gets >>> a minute >>> to create that? >>> >>> Also, given that we want to do development work on the web- >>> application in >>> parallel, I'd consider it high priority that we work out local >>> deployments >>> of the web-application on the developers' own machines. Vladimir >>> seems to be >>> almost there - what is missing right now? >>> >>> -hilmar >>> >>> On Dec 16, 2009, at 11:22 AM, Rutger Vos wrote: >>> >>>> Didn't we talk about this already, that we wanted to create a >>>> shared >>>> developer account or group so that we're all talking about the same >>>> environment with the same configuration? I'm not sure what the best >>>> way would be to set this up. >>>> >>>> On Wed, Dec 16, 2009 at 4:16 PM, Hilmar Lapp <hl...@ne...> >>>> wrote: >>>>> >>>>> Except that that person can't remain Rutger. -hilmar >>>>> On Dec 16, 2009, at 11:01 AM, youjun guo wrote: >>>>> >>>>> Now I kind of understand, once other developers finish a task and >>>>> pass >>>>> the >>>>> testing on their own environment, just submit the code to >>>>> sourceforg, >>>>> Rutger >>>>> will be the person who redeploy the new code. >>>>> >>>>> Thanks >>>>> >>>>> Youjun >>>>> >>>>> On Wed, Dec 16, 2009 at 10:47 AM, Vladimir Gapeyev <vga...@ne... >>>>>> >>>>> wrote: >>>>>> >>>>>> http://treebase-dev.nescent.org:6666/treebase-web is the only >>>>>> common >>>>>> TreeBase instance I am aware of. I presumed everyone had their >>>>>> own >>>>>> local >>>>>> tomcats for development purposes -- that's what I have been >>>>>> trying to >>>>>> set up >>>>>> for myself for the past two days... >>>>>> --Vladimir >>>>>> >>>>>> On Dec 16, 2009, at 10:40 AM, youjun guo wrote: >>>>>> >>>>>> Do you know which Tomcat server is assigned for all the TreeBASE >>>>>> developers? >>>>>> >>>>>> Youjun >>>>>> >>>>>> On Wed, Dec 16, 2009 at 10:20 AM, Vladimir Gapeyev >>>>>> <vga...@ne...> >>>>>> wrote: >>>>>>> >>>>>>> On Dec 16, 2009, at 10:02 AM, Vladimir Gapeyev wrote: >>>>>>> >>>>>>> On Dec 15, 2009, at 6:23 PM, youjun guo wrote: >>>>>>> >>>>>>> Vladimir, >>>>>>> >>>>>>> Do you know why I cannot access the treebase-web @ >>>>>>> treebase-dev.nescent.org:6666? I saw the home page flash and >>>>>>> gone. >>>>>>> >>>>>>> Youjun >>>>>>> >>>>>>> The server itself is up: http://treebase-dev.nescent.org/. My >>>>>>> first >>>>>>> guess that 6666 is down due to Rutger's ongoing experimentation >>>>>>> with >>>>>>> Mesquite. (The same reasons I could not set up my deployment >>>>>>> yesterday?) >>>>>>> I'll try to find and check the logs. >>>>>>> >>>>>>> Il'' take the last one back: according to the notes Jon gave >>>>>>> me, 6666 >>>>>>> starts from Rutger's homedir, to which only he has access. >>>>>>> --Vladimir >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> This SF.Net email is sponsored by the Verizon Developer Community >>>>> Take advantage of Verizon's best-in-class app development support >>>>> A streamlined, 14 day to market process makes app distribution >>>>> fast and >>>>> easy >>>>> Join now and get one step closer to millions of Verizon customers >>>>> http://p.sf.net/sfu/verizon-dev2dev >>>>> _______________________________________________ >>>>> Treebase-devel mailing list >>>>> Tre...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/treebase-devel >>>>> >>>>> -- >>>>> =========================================================== >>>>> : Hilmar Lapp -:- Durham, NC -:- informatics.nescent.org : >>>>> =========================================================== >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> This SF.Net email is sponsored by the Verizon Developer Community >>>>> Take advantage of Verizon's best-in-class app development support >>>>> A streamlined, 14 day to market process makes app distribution >>>>> fast and >>>>> easy >>>>> Join now and get one step closer to millions of Verizon customers >>>>> http://p.sf.net/sfu/verizon-dev2dev >>>>> _______________________________________________ >>>>> Treebase-devel mailing list >>>>> Tre...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/treebase-devel >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Dr. Rutger A. Vos >>>> School of Biological Sciences >>>> Philip Lyle Building, Level 4 >>>> University of Reading >>>> Reading >>>> RG6 6BX >>>> United Kingdom >>>> Tel: +44 (0) 118 378 7535 >>>> http://www.nexml.org >>>> http://rutgervos.blogspot.com >>> >>> -- >>> =========================================================== >>> : Hilmar Lapp -:- Durham, NC -:- informatics.nescent.org : >>> =========================================================== >>> >>> >>> >>> >> >> >> >> -- >> Dr. Rutger A. Vos >> School of Biological Sciences >> Philip Lyle Building, Level 4 >> University of Reading >> Reading >> RG6 6BX >> United Kingdom >> Tel: +44 (0) 118 378 7535 >> http://www.nexml.org >> http://rutgervos.blogspot.com >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast >> and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> 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... > ------------------------------------------------------ > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel |