Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4818023

RegTest-test java/nio/channels/Selector/SelectorLimit.java failed, win98

XMLWordPrintable

    • tiger
    • x86
    • windows_98
    • Verified



      Name: aaR10208 Date: 02/13/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b16
      Testbase : Regression-test
      Platform[s] : Windows 98
      switch/Mode : -client
      Falling test[s]: java/nio/channels/Selector/SelectorLimit.java

      The test tries to create number of connections which exceed the max connection limit on Win98,
      so the test fails with a reason "No buffer space available (maximum connections reached?)".


      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/nio/channels/Selector/SelectorLimit.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/nio/channels/TestThread.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/nio/channels/TestUtil.java


      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b16/regtest/win32/win98_-client_linux-17/workDir/test/java/nio/channels/Selector/SelectorLimit.jtr

      How to reproduce:
      =================
      Run the following script on Win98 box (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
      JDK=c:/j2sdk1.4.2
      TESTBASE=h:/java/regtest/test
      cp ${TESTBASE}/java/nio/channels/Selector/SelectorLimit.java .
      cp ${TESTBASE}/java/nio/channels/TestThread.java .
      cp ${TESTBASE}/java/nio/channels/TestUtil.java .
      ${JDK}/bin/javac *.java
      ${JDK}/bin/java -showversion SelectorLimit
      --- script end ---

      Script output:
      ==============
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b16)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b16, mixed mode)
                                                                                      
      Exception in thread "main" java.net.SocketException: No buffer space available (maximum connections reached?): connect
              at sun.nio.ch.Net.connect(Native Method)
              at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
              at SelectorLimit.main(SelectorLimit.java:54)

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(15/973)----------
      java.net.SocketException: No buffer space available (maximum connections reached?): connect
      at sun.nio.ch.Net.connect(Native Method)
      at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
      at SelectorLimit.main(SelectorLimit.java:54)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:534)

      JavaTest Message: Test threw exception: java.net.SocketException: No buffer space available (maximum connections reached?): connect
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.net.SocketException: No buffer space available (maximum connections reached?): connect
      result: Failed. Execution failed: `main' threw exception: java.net.SocketException: No buffer space available (maximum connections reached?): connect


      test result: Failed. Execution failed: `main' threw exception: java.net.SocketException: No buffer space available (maximum connections reached?): connect


      Specific machine info:
      ======================
      Hostname: linux-17
      OS: Windows 98


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

            mmcclosksunw Michael Mccloskey (Inactive)
            sundrsunw Sundr Sundr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: