From: Mattison W. <mat...@ne...> - 2012-08-07 13:38:49
|
I haven't started to set up load balancing - we are still on a single tomcat server for now. On Tue, Aug 7, 2012 at 9:28 AM, Shyket, Harry <har...@ya...> wrote: > Could this be an issue with the move to load balancing? It could be that > it is creating new session ids moving from logged out to logged in and vice > versa. That may send it off to a different TreeBASE instance. > > > > If so, then we should consider moving the session data to the database. > > > > Harry Shyket > > Digital Media Specialist > > Yale University Peabody Museum > > ph. 203-436-9428 > > har...@ya... > > > > From: William Piel [mailto:wil...@ya...] > Sent: Sunday, August 05, 2012 9:17 AM > To: NESCent Issue Tracker (help) > Cc: TreeBASE devel; Michael Jones > Subject: [Treebase-devel] TreeBASE malfunction > > > > > > Something bizarre seems to be happening to TreeBASE -- it was not a problem > as late as 7/30, but it seems to be a problem as of 8/5. I'm not sure what > happened between 7/30 and 8/5, but I'm now getting the following new > symptoms: > > > > - Normally, when I click the "log out" link, I can log out. Now it still > behaves as though I'm logged in even after clicking "log out". > > > > - With the "Submit" button, I am normally required to log in, and then after > successfully logging in I'm normally directed to a list of my existing > submissions. Now after logging in I'm immediately presented with the login > screen again. (but if I click the "Search" button I'm offered a > "Submissions" tab, so I can get to this that way). > > > > - Normally, if I'm logged in and I click the "Citations" link, I get to see > the citation metadata for my submission, now I get another "log in" screen > regardless of the fact that I'm already logged in. > > > > Emptying my local cache and blocking browser caching does not solve the > problem. Switching from Safari to FireFox, Camino, etc, also solves nothing. > > > > My sense is that this problem comes from server-side caching that's gone out > of control. The only caching we should do is for links that pull data, e.g.: > > > > http://purl.org/phylo/treebase/phylows/study/TB2:S1000?format=nexml > > http://purl.org/phylo/treebase/phylows/study/TB2:S1000?format=nexus > > http://purl.org/phylo/treebase/phylows/matrix/TB2:M553?format=nexus > > http://purl.org/phylo/treebase/phylows/matrix/TB2:M553?format=nexml > > http://purl.org/phylo/treebase/phylows/tree/TB2:Tr4105?format=nexus > > http://purl.org/phylo/treebase/phylows/tree/TB2:Tr4105?format=nexml > > > > … which I think means redirecting to URLs that look like: > > > > /treebase-web/search/downloadAStudy.html > > /treebase-web/search/study/anyObjectAsRDF.rdf > > /treebase-web/search/study/summary.html > > /treebase-web/search/downloadANexusFile.html > > /treebase-web/search/downloadAMatrix.html > > /treebase-web/search/downloadATree.html > > /treebase-web/search/downloadAnAnalysisStep.html > > > > But we don't want it to cache these: > > > > http://treebase.org/treebase-web/search/studySearch.html > > http://treebase.org/treebase-web/search/treeSearch.html > > http://treebase.org/treebase-web/search/matrixSearch.html > > http://treebase.org/treebase-web/search/taxonSearch.html > > > > .. because the results are unstable. Also, we don't want to cache the user > and admin pages, such as these: > > > > http://treebase.org/treebase-web/user/submissionList.html > > http://treebase.org/treebase-web/user/citationForm.html > > (etc) > > > > or these: > > > > http://treebase.org/treebase-web/admin/administrationPage.html > > http://treebase.org/treebase-web/admin/readyStateStudies.html > > (etc) > > > > bp > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel > -- Mattison Ward NESCent at Duke University 2024 W. Main Street, Suite A200 Durham, NC 27705-4667 919-668-4585 (desk) 919-668-4551 (alternate) 919-668-9198 (fax) |