A
anuttka
I have simple tcsh script that executes my java program many times
(about 2000 ech time).
I need it for testing.
After about 300-500 times the script stuck.
I added some printing to stdout, and I find that script stuck, when I
am trying to execute java program, but it never reaches first line at
the main menthod.
I thought maybe the problem at my program, and instead my program I
use this one
public class Untitled1 {
public static void main(String[] args) {
System.out.println("inside java");
}
}
Still, the script is stuck and "inside java" dosen't print.But I get
line thats prints before executing java
when I print ps I get this:
2026 pts/6 00:00:00 bash
8910 pts/6 00:00:00 try.tcsh
17398 pts/6 00:00:00 java
17399 pts/6 00:00:00 java <defunct>
17400 pts/6 00:00:00 java
17401 pts/6 00:00:00 java
17402 pts/6 00:00:00 java
17410 pts/6 00:00:00 java
17411 pts/6 00:00:00 java
32731 pts/6 00:00:00 ps
Any ideas? I can't run test over night because of it.
Thanks in advance
Anna
(about 2000 ech time).
I need it for testing.
After about 300-500 times the script stuck.
I added some printing to stdout, and I find that script stuck, when I
am trying to execute java program, but it never reaches first line at
the main menthod.
I thought maybe the problem at my program, and instead my program I
use this one
public class Untitled1 {
public static void main(String[] args) {
System.out.println("inside java");
}
}
Still, the script is stuck and "inside java" dosen't print.But I get
line thats prints before executing java
when I print ps I get this:
2026 pts/6 00:00:00 bash
8910 pts/6 00:00:00 try.tcsh
17398 pts/6 00:00:00 java
17399 pts/6 00:00:00 java <defunct>
17400 pts/6 00:00:00 java
17401 pts/6 00:00:00 java
17402 pts/6 00:00:00 java
17410 pts/6 00:00:00 java
17411 pts/6 00:00:00 java
32731 pts/6 00:00:00 ps
Any ideas? I can't run test over night because of it.
Thanks in advance
Anna