Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0FFF18E4E for ; Thu, 21 May 2015 23:44:31 +0000 (UTC) Received: (qmail 90954 invoked by uid 500); 21 May 2015 23:44:31 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 90900 invoked by uid 500); 21 May 2015 23:44:31 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 90888 invoked by uid 99); 21 May 2015 23:44:31 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2015 23:44:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B73E91A396D for ; Thu, 21 May 2015 23:44:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id l7WttmgbYw_e for ; Thu, 21 May 2015 23:44:24 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id C8D19204F2 for ; Thu, 21 May 2015 23:44:23 +0000 (UTC) Received: by oihd6 with SMTP id d6so2187942oih.2 for ; Thu, 21 May 2015 16:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TMI1ZzfpmtAZKd7vGvyJQdV4JaJSu+qBvuLyA9T8Utk=; b=Yr0oZ7wT6b9982hYVGa9WvzqtLSFOFC5RkCf51vzCJyaaiCdoadKu8touSXrhm/Tks KwkcG40pWTr7TBRIAnTpFxAix0tpW4dadlIlHRBmEXrBgN0DsRTnt8bfFfl4zj3dh69l qkA6Ch2dbzBGzLt0rfR1+v5+duyeYlbXDRha6yo794w843qF6/QWy90IVTyaHfIgJGEj 9rqzegqhrH4ahz2vjHwh1pXpgCgZjOzN4bVj3H6QNjOLsmWQR6SQQp3tgSHc1JmnMU1d 2X9bwFE9iPzpzmtl9isdtiWyLdxalcK1RgnQxSU/RVgOFLeJQBOrLWgMoWVw6ppyq8Ub RmMg== MIME-Version: 1.0 X-Received: by 10.182.44.199 with SMTP id g7mr4408305obm.28.1432251812107; Thu, 21 May 2015 16:43:32 -0700 (PDT) Received: by 10.76.33.169 with HTTP; Thu, 21 May 2015 16:43:32 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 May 2015 01:43:32 +0200 Message-ID: Subject: Re: Upgrade Tomcat procedure [to avoid latency/UI bug] From: Rafael Fonseca To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a11c2e6c07d6cc20516a01c67 --001a11c2e6c07d6cc20516a01c67 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've placed a patch in the JIRA issue for the breadcrumbs problem :) On Thu, May 21, 2015 at 6:18 PM, Andrija Panic wrote: > Ah, didnt notice workarround was was related to first issue... > > As for the first issue, I dont experience it anymore (for whatever reason= - > I did no changes really on OS side, expcet upgading ACS from 4.3.0/1 to > 4.3.2). > Yes, I was just testing the breadcrumb stuff - and started this thread > because of that - sorry if I was not clear on this... > > But this Tomcat version replacement - is also related to the first issue = ? > > > Thanks for taking the time! > > Cheers > > On 21 May 2015 at 18:08, Rafael Fonseca wrote: > > > Hi Andrija, > > > > This was a possible workaround for the first problem in that jira issue= , > to > > clarify: > > > > Are you still experiencing the first issue? > > Were you testing just for the second issue (breadcrumbs) ? > > > > I'll see if I can reproduce the breadcrumbs problem if I have the time = :) > > > > RF > > > > On Thu, May 21, 2015 at 5:45 PM, Andrija Panic > > wrote: > > > > > Thx Rafael, added, restated, but still see issue :( > > > > > > On 21 May 2015 at 17:32, Rafael Fonseca wrote: > > > > > > > Hi again Andrija, > > > > > > > > I saw on that issue that upgrading to tomcat 6.0.43 doesn't seem to > fix > > > the > > > > issue for you, perhaps you can try another approach :) > > > > I've seen a similar problem where there is no response from the > > > management > > > > server (taking from a few seconds to quite a few minutes, depending > on > > > the > > > > environment). The issue i spotted is a well know problem with rando= m > > > number > > > > generation with java in linux, and affects some environments more > than > > > > others, depending on the ammount on enthropy generated in the syste= m. > > VMs > > > > suffer from this the most... > > > > > > > > Can you add this to the JAVA_OPTS to the > > > > /etc/cloudstack/management/tomcat6.conf and retest? > > > > > > > > -Djava.security.egd=3Dfile:/dev/./urandom > > > > > > > > > > > > On Thu, May 21, 2015 at 4:03 PM, Andrija Panic < > > andrija.panic@gmail.com> > > > > wrote: > > > > > > > > > Hi Rafael, thx for clarification :) > > > > > > > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-7907 > > > > > > > > > > check the second issue here - this is officialy fixed by replacin= g > > > Tomcat > > > > > version AFAIK, as you will see from comments. > > > > > > > > > > > > > > > Thanks, > > > > > Andrija > > > > > > > > > > On 21 May 2015 at 16:01, Rafael Fonseca > > wrote: > > > > > > > > > > > Hi Andrija, > > > > > > > > > > > > No.. this sed is unrelated to any breadcrumb issue, can you > > > ellaborate > > > > on > > > > > > that one? :) > > > > > > This sed just makes the page reload instantly whenever you pres= s > F5 > > > on > > > > > the > > > > > > UI, instead of taking as long as the first load. > > > > > > > > > > > > On Thu, May 21, 2015 at 3:57 PM, Andrija Panic < > > > > andrija.panic@gmail.com> > > > > > > wrote: > > > > > > > > > > > > > Rafael, > > > > > > > > > > > > > > this SED is also related to the breadcrumb issue we are seein= g > in > > > UI > > > > ? > > > > > > > > > > > > > > Thx for inputs :) > > > > > > > > > > > > > > Cheers > > > > > > > > > > > > > > On 21 May 2015 at 15:38, Rafael Fonseca > > > > wrote: > > > > > > > > > > > > > > > Btw.. if you're worried about latency on the UI, run this a= nd > > you > > > > > will > > > > > > > have > > > > > > > > instant page reloads :) > > > > > > > > > > > > > > > > sed -i -e 's/?t=3D<%=3Dnow%>//' > > > > > > > > /usr/share/cloudstack-management/webapps/client/index.jsp > > > > > > > > > > > > > > > > On Thu, May 21, 2015 at 3:34 PM, Rafael Fonseca < > > > > > rsafonseca@gmail.com> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Hi Andrija, > > > > > > > > > > > > > > > > > > Those sort of problems will no longer affect anyone when = my > > PR > > > > gets > > > > > > > > > merged: https://github.com/apache/cloudstack/pull/238 > > > > > > > > > In the meanwhile, if you want to run tomcat 6.0.43 in any > > > distro, > > > > > > just > > > > > > > do > > > > > > > > > the following: > > > > > > > > > > > > > > > > > > - Download > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.43/bin/apache-tomcat-= 6.0.43.tar.gz > > > > > > > > > - Uncompress to some folder > > > > > > > > > - Change links on /usr/share/cloudstack-management/lib an= d > > > > > > > > > /usr/share/cloudstack-management/bin to point to the > location > > > of > > > > > the > > > > > > > > > version you just decompressed. > > > > > > > > > - All done! :) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, May 21, 2015 at 3:05 PM, Andrija Panic < > > > > > > > andrija.panic@gmail.com> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > >> Hi, > > > > > > > > >> > > > > > > > > >> Im wondering if anyone have clean procedure of upgrading > > stock > > > > > > Tomcat > > > > > > > to > > > > > > > > >> supported version 6.0.43, to avoid the latency issues an= d > > > UI... > > > > on > > > > > > > > >> production envioroment. > > > > > > > > >> > > > > > > > > >> We are running Ubuntu 14.04 and CEntos 6.6 stock Tomcat > > > > > versions... > > > > > > > > >> > > > > > > > > >> Cheers > > > > > > > > >> > > > > > > > > >> -- > > > > > > > > >> > > > > > > > > >> Andrija Pani=C4=87 > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > Andrija Pani=C4=87 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Andrija Pani=C4=87 > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Andrija Pani=C4=87 > > > > > > > > > -- > > Andrija Pani=C4=87 > --001a11c2e6c07d6cc20516a01c67--