Dear Patrick,
        I've successfully built and tested Inline-Java-0.33 on an SGI
Origin 2000 system using the Java2 SDK 1.3.1. It tests out just fine
when run by a single user.  However, when multiple users try it, it
fails with all sorts of protocol errors.  The following output
resulted when I tried running "make test" twice.
        Our SGI system has 32 CPU's, so these tests do run in
parallel.
        Do you have any plans to modify the JVM server process to
spawn a separate processes for each connection request? Thanks. --Bob

gaia root 105 >>make test
        PERL_DL_NONLAZY=1 /stf/sys/bin/perl -Iblib/arch -Iblib/lib 
-I/stf/sys/perl/lib/5.6/IP27-irix-o32-multi -I/stf/sys/perl/lib/5.6 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01_init..............
J2SDK version is 1.3.1
t/01_init..............ok                                                    
t/02_primitives........ok                                                    
t/03_objects...........ok                                                    
t/04_members...........ok                                                    
t/05_arrays............Can't receive packet from JVM: Connection reset by peer at 
blib/lib/Inline/Java/Protocol.pm line 280
INIT failed--call queue aborted.
Lost connection with Java virtual machine at blib/lib/Inline/Java.pm line 1107
t/05_arrays............dubious                                               
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-50
        Failed 50/50 tests, 0.00% okay
t/06_static............Can't open server socket on port 7890: Address already in use
Can't receive packet from JVM: Connection reset by peer at 
blib/lib/Inline/Java/Protocol.pm line 280
INIT failed--call queue aborted.
Lost connection with Java virtual machine at blib/lib/Inline/Java.pm line 1107
t/06_static............dubious                                               
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
t/07_polymorph.........Can't receive packet from JVM: Connection reset by peer at 
blib/lib/Inline/Java/Protocol.pm line 280
INIT failed--call queue aborted.
Lost connection with Java virtual machine at blib/lib/Inline/Java.pm line 1107
t/07_polymorph.........dubious                                               
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
        Failed 22/22 tests, 0.00% okay
t/08_study.............Can't unlink file 
'/cxfs/stf/sys/src/Inline-Java-0.33/_Inline_test/build/study_a55d/InlineJavaServer.java':
 



 at blib/lib/Inline/Java/Portable.pm line 72
INIT failed--call queue aborted.
t/08_study.............dubious                                               
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
t/09_usages............ok                                                    
t/10_1_shared_alone....ok                                                    
t/10_2_shared_start....
A problem was encountered while attempting to compile and install your Inline
Java code. The command that failed was:
  "/usr/java2v131_02/bin/javac" InlineJavaServer.java t10.java > cmd.out 2>&1

The build directory was:
/cxfs/stf/sys/src/Inline-Java-0.33/_Inline_test/build/t10

The error message was:


To debug the problem, cd to the build directory, and inspect the output files.

 at t/10_2_shared_start.t line 30
BEGIN failed--compilation aborted at t/10_2_shared_start.t line 30, <DATA> line 59.
t/10_2_shared_start....dubious                                               
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t/10_3_shared_use......ok                                                    
t/10_4_shared_stop.....FAILED test 1                                         
        Failed 1/4 tests, 75.00% okay
t/10_5_shared_fork.....ok                                                    
t/10_6_shared_sim......ok 5/8Can't receive packet from JVM: Connection reset by peer 
at blib/lib/Inline/Java/Protocol.pm line 280
 at t/10_6_shared_sim.t line 61
 at t/10_6_shared_sim.t line 61
t/10_6_shared_sim......dubious                                               
        Test returned status 131 (wstat 33536, 0x8300)
DIED. FAILED tests 6-8
        Failed 3/8 tests, 62.50% okay
t/11_exceptions........ok                                                    
t/12_callbacks.........
A problem was encountered while attempting to compile and install your Inline
Java code. The command that failed was:
  "/usr/java2v131_02/bin/javac" InlineJavaServer.java _12_callbacks_t_85a3.java > 
cmd.out 2>&1

The build directory was:
/cxfs/stf/sys/src/Inline-Java-0.33/_Inline_test/build/_12_callbacks_t_85a3

The error message was:


To debug the problem, cd to the build directory, and inspect the output files.

 at t/12_callbacks.t line 0
INIT failed--call queue aborted.
t/12_callbacks.........dubious                                               
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 1-20
        Failed 20/20 tests, 0.00% okay
Failed Test           Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/05_arrays.t          255 65280    50   50 100.00%  1-50
t/06_static.t          255 65280    10   10 100.00%  1-10
t/07_polymorph.t       255 65280    22   22 100.00%  1-22
t/08_study.t           255 65280     9    9 100.00%  1-9
t/10_2_shared_start.t    1   256     4    4 100.00%  1-4
t/10_4_shared_stop.t                 4    1  25.00%  1
t/10_6_shared_sim.t    131 33536     8    3  37.50%  6-8
t/12_callbacks.t         1   256    20   20 100.00%  1-20
Failed 8/17 test scripts, 52.94% okay. 119/309 subtests failed, 61.49% okay.
*** Error code 2 (bu21)

========================================================================

I did turn on SHARED_JVM mode, but it still failed.

+--------------------------------+-------------------------------+
| Robert E. Bruccoleri, Ph.D.   | Phone: 609 818 7251            |
| Research Fellow               | Fax:   609 818 3100            |
| Applied Genomics              | email: [EMAIL PROTECTED]            |
| Bristol-Myers Squibb Company  | Ship:  Room 3A-023,            |
| Mail: HW3-0.03, P.O. Box 5400 |   311 Pennington-Rocky Hill Rd |
|   Princeton, NJ 08543-5400    |   Pennington NJ 08534          |
+-------------------------------+--------------------------------+

Reply via email to