The tomcat version replacement would fix the issue that recommends upgrading to tomcat 6.0.43 as well as a few others. With my proposed change, you don't need to care about tomcat anymore and don't even need to have it installed through your distro's repos, the latest, greatest and tested version would always be shipped with the management server .rpm/.deb. This would also prevent different behaviors in different OSes, since each OS packs it's own version of tomcat, with its own bugs :)
On Thu, May 21, 2015 at 6:18 PM, Andrija Panic <andrija.pa...@gmail.com> 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 <rsafons...@gmail.com> 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 <andrija.pa...@gmail.com> > > wrote: > > > > > Thx Rafael, added, restated, but still see issue :( > > > > > > On 21 May 2015 at 17:32, Rafael Fonseca <rsafons...@gmail.com> 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 random > > > number > > > > generation with java in linux, and affects some environments more > than > > > > others, depending on the ammount on enthropy generated in the system. > > 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=file:/dev/./urandom > > > > > > > > > > > > On Thu, May 21, 2015 at 4:03 PM, Andrija Panic < > > andrija.pa...@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 replacing > > > Tomcat > > > > > version AFAIK, as you will see from comments. > > > > > > > > > > > > > > > Thanks, > > > > > Andrija > > > > > > > > > > On 21 May 2015 at 16:01, Rafael Fonseca <rsafons...@gmail.com> > > 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 press > 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.pa...@gmail.com> > > > > > > wrote: > > > > > > > > > > > > > Rafael, > > > > > > > > > > > > > > this SED is also related to the breadcrumb issue we are seeing > in > > > UI > > > > ? > > > > > > > > > > > > > > Thx for inputs :) > > > > > > > > > > > > > > Cheers > > > > > > > > > > > > > > On 21 May 2015 at 15:38, Rafael Fonseca <rsafons...@gmail.com> > > > > wrote: > > > > > > > > > > > > > > > Btw.. if you're worried about latency on the UI, run this and > > you > > > > > will > > > > > > > have > > > > > > > > instant page reloads :) > > > > > > > > > > > > > > > > sed -i -e 's/?t=<%=now%>//' > > > > > > > > /usr/share/cloudstack-management/webapps/client/index.jsp > > > > > > > > > > > > > > > > On Thu, May 21, 2015 at 3:34 PM, Rafael Fonseca < > > > > > rsafons...@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 and > > > > > > > > > /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.pa...@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 and > > > UI... > > > > on > > > > > > > > >> production envioroment. > > > > > > > > >> > > > > > > > > >> We are running Ubuntu 14.04 and CEntos 6.6 stock Tomcat > > > > > versions... > > > > > > > > >> > > > > > > > > >> Cheers > > > > > > > > >> > > > > > > > > >> -- > > > > > > > > >> > > > > > > > > >> Andrija Panić > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > Andrija Panić > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Andrija Panić > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Andrija Panić > > > > > > > > > -- > > Andrija Panić >