Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,014
Community Members
 
Community Events
168
Community Groups

Issue while installing fisheye

While installing fisheye 3.0.2 in linux

I am facing the issue

[root@esjirq71 log]# tail -f fisheye.out
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Exception in thread "main" java.lang.ClassFormatError: com.cenqua.fisheye.FishEyeCtl (unrecognized class file version)
at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)

6 answers

[root@esjirq71 bin]# env
HOSTNAME=esjirq71.emea.nsn-net.net
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=10.125.72.96 63698 22
SSH_TTY=/dev/pts/1
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/root
PATH=:/usr/java/jdk1.7.0_60/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
INPUTRC=/etc/inputrc
PWD=/opt/eejira/eejira_5.2/fecru-3.0.2/bin
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/root
LOGNAME=root
SSH_CONNECTION=10.125.72.96 63698 10.135.0.75 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env
OLDPWD=/opt/eejira/eejira_5.2/fecru-3.0.2

What about the env of the user you are starting fisheye as. (I would not recommend running it as root!)

0 votes

It seems indeed like an old version of GCJ being used by FishEye. Perhaps your user and the user running FishEye version have different environment settings, as your java output shows you are using Oracle's HotSpot JRE while FishEye is using GCJ.

Check your environment with env command, ensure JAVA_HOME and PATH variables point to HotSpot java and try starting FishEye again.

Kind regards,

We ran start.sh

but no error was found.

but there is no httpd installed in the server.

Do we have to install?

my java version is

[root@esjirq71 log]# java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

0 votes

What version of Java do you have installed? Have you followed the directions here: https://confluence.atlassian.com/display/FISHEYE/Installing+FishEye+on+Linux+and+Mac

That error suggests either running a really old java, or GNU Java, instead of a Oracle/Sun's Java, or OpenJDK

my java version is

[root@esjirq71 log]# java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events