Last modified: 2013-07-24 01:28:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53859, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51859 - gitblit: on antinomy jstack from java v6 is missing
gitblit: on antinomy jstack from java v6 is missing
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Highest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 51769
  Show dependency treegraph
 
Reported: 2013-07-23 10:02 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-07-24 01:28 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
example of a jstack attempt using v7 against a v6 vm (1.70 KB, text/plain)
2013-07-23 10:04 UTC, Antoine "hashar" Musso (WMF)
Details

Description Antoine "hashar" Musso (WMF) 2013-07-23 10:02:59 UTC
Java on antinomy.wikimedia.org (host running gitblit) is not properly setup.  The `java` command points to JDK 6 and hence gitblit runs under Java 6.

The `jstack` command points to JDK 7 and cant take trace.  Mark Bergsma attempted to update the alternative to have jstack points to the JDK 6 version but it does not exist.

$ ls -1l /etc/alternatives/java /etc/alternatives/jstack
lrwxrwxrwx 1 root root 46 Jun 25 17:41 /etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
lrwxrwxrwx 1 root root 44 Jun 25 17:47 /etc/alternatives/jstack -> /usr/lib/jvm/java-7-openjdk-amd64/bin/jstack
$

We need jstack 6 to be installed to be able to take stack trace for bug 51769.
Comment 1 Antoine "hashar" Musso (WMF) 2013-07-23 10:04:04 UTC
Created attachment 12929 [details]
example of a jstack attempt using v7 against a v6 vm
Comment 2 Andre Klapper 2013-07-23 12:21:49 UTC
Setting this to Highest due to bug 51769 happening more than once a day currently.
Comment 3 Chad H. 2013-07-23 16:48:32 UTC
Sorted out Java on antimony (thanks Faidon!), everything's running openjdk7 now, no 6 needed.
Comment 4 Antoine "hashar" Musso (WMF) 2013-07-23 19:03:24 UTC
Thank you Chad 8-)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links