You are not logged in.

#1 2007-03-01 17:46:29

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

After last update java apps don't work [SOLVED]

After today's update, all java apps stop running without even any error output, like azureus, tomcat, netbeans,... Any ideas?

Last edited by gothicknight (2007-03-05 18:17:42)

Offline

#2 2007-03-02 09:01:49

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

Re: After last update java apps don't work [SOLVED]

I'm running tomcat OK, while being up-to-date with the repositories.

jacman runs fine...

does a basic "java -version" work OK?

Offline

#3 2007-03-02 10:23:40

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

Re: After last update java apps don't work [SOLVED]

root@Zion ~ #  java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Using java -jar IA-jar (a package made previously by me on netbeans) it works flawlessly, but azureus, netbeans,... don't sad

Offline

#4 2007-03-02 10:27:23

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

Re: After last update java apps don't work [SOLVED]

Update:

   I don't know how, but after some reboots, they come back working...  I've only updated today my ati-fglrx and i don't believe that that was the problem.

Offline

#5 2007-03-05 09:38:17

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

Re: After last update java apps don't work [SOLVED]

The problem is the time things take to get loaded, on a AMD Turion 2.0GHz it shouldn't take long as the loadavg is below 1.0. Some apps are loaded some aren't, for example: azureus got loaded, netbeans not.

Last edited by gothicknight (2007-03-05 09:38:50)

Offline

#6 2007-03-05 09:44:36

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

Re: After last update java apps don't work [SOLVED]

OK... they all get loaded, but takes about 10min to load. Any ideas?

Offline

#7 2007-03-05 10:41:51

dale77
Member
From: Down under
Registered: 2007-02-10
Posts: 102
Website

Re: After last update java apps don't work [SOLVED]

Hmmm, does an strace on the long running process show up anything pathological?

Offline

#8 2007-03-05 17:32:58

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

Re: After last update java apps don't work [SOLVED]

--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 5277
waitpid(-1, 0xbff1ee9c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x80756d0, [], 0}, {0x80756d0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "Linux\n", 128)                 = 6
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80762c0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x80762c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7ddd708) = 5278
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x80756d0, [], 0}, {0x80756d0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "/usr/share/netbeans/bin/../platf"..., 128) = 48
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80762c0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 5278
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbff1e8fc, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x80762c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64(".", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
stat64("/bin/sh", {st_mode=S_IFREG|0755, st_size=520868, ...}) = 0
stat64("/bin/sh", {st_mode=S_IFREG|0755, st_size=520868, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7ddd708) = 5284
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80762c0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1,

This is the last thing that appears when the 10 minute "pause"... i can't read anything out of it sad

Offline

#9 2007-03-05 18:17:03

gothicknight
Member
From: Portugal
Registered: 2006-04-08
Posts: 219

Re: After last update java apps don't work [SOLVED]

It seems that iptables was the problem maker, i don't know why i've used this iptables configuration before and all worked fine. But after fw shutdown i've managed to get java apps working just fine again. Sorry for the miss convinient trouble :$

Offline

Board footer

Powered by FluxBB