Dan Rooke
2 post(s)
#723
|
Hi all,
I have downloaded and followed the instruction to install the Mingle server on Ubuntu 7.04. I am getting an issue where running ./MingleServer start causes the output:
danr@Kryten:/var/mingle$ ./MingleServer start Starting MingleServer nohup: appending output to `/home/danr/nohup.out’
And the content of that file:
Exception in thread “main” java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher
I have JDK 1.6 installed via Ubuntu’s package manager, after investigation I have amended the relevant environment variables:
danr@Kryten:/var/mingle$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.00/bin danr@Kryten:/var/mingle$ echo $JAVA_HOME /usr/lib/jvm/java-6-sun-1.6.0.00 danr@Kryten:/var/mingle$ echo $CLASSPATH /var/mingle
Does anyone have any ideas?
|
|
|
Dan Rooke
2 post(s)
#752
|
No takers? I imagine this is an easy fix so please forgive me for asking but I haven’t been able to get anywhere with this.
Could anybody point me in the right direction?
|
|
|
bradx3
3 post(s)
#809
|
I’m having the same trouble Dan. Have you had any luck in the last few weeks?
|
|
|
David Rice
Administrator
156 post(s)
#810
|
Hi All -
These are most likely permissions problems. Here’s what we recommend:
1. Create a standard unix account ( account without any superuser privileges ),eg a user called “mingle” with a dedicated group. ( ie not in a unix group that is shared with other user. ) 2. Protect the home directory of the unix account above with read/write/execute for user/group only ( ie rwxrwx—- ) 3. Install Mingle in the unix account ( step 1 ) ’s home directory 4. Setup “sudoer” access for those users who need to support mingle ( ie user will need to run “sudo su – minlge” to be the mingle user and install/configure/troubleshoot mingle ). 5. If mingle can’t not run on port 80 ( some Unix system has this restriction to not allow user to run application that listen to TCP port below 1024 ), have mingle listen on port, eg 8080. Then setup a Web server, eg Apache, to redirect the request from port 80 to port 8080. Apache can also use for https to encrypt all mingle network traffic.
|
|
|
bradx3
3 post(s)
#811
|
Thanks for the response Dan, but I’m not so sure it’s permissions. I’ve tried a few things – setting up a user as above, running as root, chmoding all to a+rwx, removing gcj off the machine entirely – all with no luck.
Mingle is set to run on port 8080 but doesn’t seem to get to that point. For what it’s worth, Mingle 1.0 worked (and still works fine). I’m going to keep trying and I’ll post in this thread if I find anything.
|
|
|
Matt
1 post
#852
|
I’m also getting the same error installing on Red Hat Enterprise setup the user and group mingle:mingle with mingle installed in /opt/mingle anyone solved this yet? or heard from ThoughtWorks?
|
|
|
WPC
Administrator
18 post(s)
#854
|
Hi, Dan and bradx3 and Matt
I’m doing some investigation on this problem. Can you guys help me to check out the following things?
1. Check file names and sizes under mingle/.install4j. They should be something like this:
wpc$ pwd /var/mingle/.install4j wpc$ ls l total 1496 -rw-r-r— 1 wpc wheel 20666 Nov 6 17:17 MessagesDefault
rw-r-r— 1 wpc wheel 102 Nov 6 17:17 i4jparams.conf
rw-r-r— 1 wpc wheel 730344 May 21 2007 i4jruntime.jar
rw-r-r— 1 wpc wheel 289 Nov 6 17:17 user.jar
2. Check the mingle.properties. Are the port and dataDir all set as you want?
3. If you are using JDK installed by apt-get, try changing to the old ’.bin’ distribution from Sun. Here is the link: http://java.sun.com/javase/downloads/index.jsp. Pick up java6 update3 for linux platform.
|
|
|
bhavinjavia
1 post
#855
|
Hi folks,
I have got the exact same setup (Ubuntu 7.04 and bundled java-6-sun-1.6.0.00, mingle installed under /opt/mingle owned by normal user). It works fine for me. I figured install4J comes bundled with Mingle and the .install4j/i4jruntime.jar gets included in the classpath by the ‘MingleServer’ script.
Dumping my env and console output if it helps investigate the problem.
echo $JAVA_HOME /usr/lib/jvm/java-6-sun-1.6.0.00 bhavin@bhavin:/opt/mingle$ echo $PATH /usr/lib/jvm/java-6-sun-1.6.0.00/bin:/var/lib/gems/1.8/bin:/var/lib/gems/1.8/gems:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/firefox bhavin@bhavin:/opt/mingle$ ./MingleServer start Starting MingleServer /usr/lib/jvm/java-6-sun-1.6.0.00 bhavin@bhavin:/opt/mingle$ nohup: appending output to `nohup.out’
bhavin@bhavin:/opt/mingle$ cat nohup.out The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonhome_bhavin_installed_mingle1.1_MingleServer The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonhome_bhavin_installed_mingle1.1_MingleServer The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonhome_bhavin_installed_mingle1.1_MingleServer The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonhome_bhavin_installed_mingle1.1_MingleServer The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonhome_bhavin_installed_mingle1.1_MingleServer The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonopt_mingle_MingleServer The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonopt_mingle_MingleServer The daemon seems to be running. Exiting. Id file: /tmp/i4jdaemonopt_mingle_MingleServer bhavin@bhavin:/opt/mingle$ ps ax | grep mingle
6724 pts/2 Sl 0:15 /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java -server -Dinstall4j.jvmDir=/usr/lib/jvm/java-6-sun-1.6.0.00 -Dexe4j.moduleName=/opt/mingle/MingleServer -Xmx1024m -XX:MaxPermSize=128m -classpath /opt/mingle/.install4j/i4jruntime.jar:/opt/mingle/vendor/java/activation-1.1.jar:/opt/mingle/vendor/java/ant.jar:/opt/mingle/vendor/java/ChartDirector.jar:/opt/mingle/vendor/java/chartdir_lic.jar:/opt/mingle/vendor/java/commons-pool-1.3.jar:/opt/mingle/vendor/java/core-renderer.jar:/opt/mingle/vendor/java/forms_rt.jar:/opt/mingle/vendor/java/goldspike.jar:/opt/mingle/vendor/java/itext-2.0.5.jar:/opt/mingle/vendor/java/jetty-6.1.5.jar:/opt/mingle/vendor/java/jetty-plus-6.1.5.jar:/opt/mingle/vendor/java/jetty-util-6.1.5.jar:/opt/mingle/vendor/java/jruby-complete.jar:/opt/mingle/vendor/java/minium.jar:/opt/mingle/vendor/java/mysql-connector-java-5.0.5.jar:/opt/mingle/vendor/java/postgresql-8.2-505.jdbc3.jar:/opt/mingle/vendor/java/servlet-api.jar:/opt/mingle/vendor/java/svnkit.jar:/opt/mingle/vendor/java/tagsoup-1.1.3.jar:/opt/mingle/lib/java/jdic.jar:/opt/mingle/lib/java/start.jar:/opt/mingle/lib/java/version.jar com.install4j.runtime.Launcher start com.thoughtworks.mingle.Server false false /opt/mingle/log/stderr.log /opt/mingle/log/stdout.log true true false true true 0 0 20 20 Arial 0,0,0 8 500 version 1_1 20 40 Arial 0,0,0 8 500 -1
6859 pts/2 R+ 0:00 grep mingle bhavin@bhavin:/opt/mingle$
|
|
|
bradx3
3 post(s)
#869
|
Hi, unfortunately I’ve deleted my install of the old version, so I can’t get that information WPC.
For what it’s worth though, the latest release (build 5516) upgraded and worked with no problems. Might be worth a shot for other people having problems on Ubuntu.
|
|
|
Ravi
1 post
#1487
|
Hi, I found one solution that works for me. Edit the MingleServer and look for -Djruby.compile.mode=OFF Change the OFF to ON and try running the server twice/thrice. I dont know why multiple times but it works that way.
italics i@i:/Programs/mingle$ sudo ./MingleServer start [sudo] password for i: Starting MingleServer nohup: appending output to `nohup.out’ i@i:/Programs/mingle$ sudo ./MingleServer start Starting MingleServer i@i:~/Programs/mingle$ nohup: appending output to `nohup.out’ italics
It works second time. I am not too sure if this will affect performance in any way. Things seem to be fine for me.
|
|
|
yang
1 post
#2073
|
Hi guys,
This is a solid ubuntu troubleshooting site, i believe you’ll the answer to your question there. http://www.fixya.com/support/p926113-canonical_ubuntu
God bless Ubuntu.
|
|
|
Tim Whitman
1 post
#2357
|
Has there been any resolution to this thread? It seems to be the most highly-trafficked post here, but no answer! Is there any detail about how to install or configure the JDK on Ubuntu so Mingle knows where to find it?
|
|
|
Mark Moore
2 post(s)
#2373
|
Tim, I didn’t see any posts with your specific issues, so I can’t comment a lot.
Are you asking how to get Mingle running on Ubuntu?
I’m running Mingle 2.0 smooth as ever on a Ubuntu 8.04.1 platform (Xubuntu to be precise).
-Mark
|