Derby
  1. Derby
  2. DERBY-1728

Test derbynetmats/testSecMec fails with message: security mechanism '8' not supported

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.2.1.6, 10.3.1.4
    • Component/s: Network Server
    • Labels:
      None
    • Environment:
      Linux SLES 9 - IBM JDK 131 SR10

      Description

      Testing of 10.2.1.0 beta on SLES 9 and IBM JDK 1.3.1 SR10 fails with many diffs. Might be related to the problem listed in DERBY-1496 (message format differences?) however most lines of the DIFF report the following message that is NOT reported in 1496: security mechanism '8' not supported.

      A few messages for reference:

                      • Diff file derbyall/derbynetmats/DerbyNet/derbynetmats/testSecMec.diff
          • Start: testSecMec jdk1.3.1 DerbyNet derbynetmats:derbynetmats 2006-08-15 15:03:14 ***
            10a11
            > T9: jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat:user=neelima;password=le
            e;securityMechanism=8; - EXCEPTION security mechanism '8' not supported
            23a25,26
            > # jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat:user=calvin;password=hobbe
            s;securityMechanism=8; - EXCEPTION security mechanism '8' not supported
            > TEST_DS (user=calvin;password=hobbes,securityMechanism=8)EXCEPTION testSecurityMechanism() sec
            urity mechanism '8' not supported
            31a35,36
            > # jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat:user=calvin;securityMechan
            ism=8; - EXCEPTION security mechanism '8' not supported
            > TEST_DS (user=calvin,securityMechanism=8)EXCEPTION testSecurityMechanism() security mechanism
            '8' not supported

      — ABOUT 50 LINES SKIPPED –

      187a223,224
      > # jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat:password=hobbes;securityMe
      chanism=8; - EXCEPTION security mechanism '8' not supported
      > TEST_DS (password=hobbes,securityMechanism=8)EXCEPTION testSecurityMechanism() security mechan
      ism '8' not supported
      195a233,234
      > # jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat:;securityMechanism=8; - EX
      CEPTION null userid not supported
      > TEST_DS (,securityMechanism=8)EXCEPTION testSecurityMechanism() security mechanism '8' not sup
      ported
      197 del
      < Testing with derby.drda.securityMechanism=INVALID_VALUE
      198 del
      < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMec
      hanism.
      199 del
      < -----
      200 del
      < Testing with derby.drda.securityMechanism=
      201 del

      ---- ABOUT 80 lines removed –

      > Test USRSSBPWD_with_BUILTIN - derby.drda.securityMechanism=STRONG_PASSWORD_SUBSTITUTE_SECURITY
      > Turning ON Derby BUILTIN authentication
      > EXCEPTION getConnectionWithSecMec() security mechanism '8' not supported
      > -----
      > Testing with derby.drda.securityMechanism=INVALID_VALUE
      > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for derby.drda.securityMec
      hanism.
      > -----
      > Testing with derby.drda.securityMechanism=
      > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, , for derby.drda.securityMechanism.
      > Completed testSecMec
      Test Failed.

          • End: testSecMec jdk1.3.1 DerbyNet derbynetmats:derbynetmats 2006-08-15 15:03:55 ***

        Issue Links

          Activity

          Hide
          Sunitha Kambhampati added a comment -

          I think this is related to DERBY-528 checkin, the jcc masters have not been updated. There is an existing jira for updating the masters for jcc2.6 and jcc2.8. DERBY-1695.

          Were you using JCC2.6 or JCC2.8?

          Show
          Sunitha Kambhampati added a comment - I think this is related to DERBY-528 checkin, the jcc masters have not been updated. There is an existing jira for updating the masters for jcc2.6 and jcc2.8. DERBY-1695 . Were you using JCC2.6 or JCC2.8?
          Hide
          Francois Orsini added a comment -

          That is correct.

          I would appreciated if someone could update these master output files...It looks like Stan was able to run the tests and not get into the timeout issue (see DERBY-1695). Thanks.

          Show
          Francois Orsini added a comment - That is correct. I would appreciated if someone could update these master output files...It looks like Stan was able to run the tests and not get into the timeout issue (see DERBY-1695 ). Thanks.
          Hide
          Stan Bradbury added a comment -

          So I guess it is no surprise that this failure happened on other platforms as well (Win 2003 Server using JVM 1.5)? See the 10.2 Platform test page for more info ( http://wiki.apache.org/db-derby/TenTwoPlatformTesting )

          Here is the Derby environment I was testing with in all environments:

          --------- Derby Information --------
          JRE - JDBC: J2SE 1.3 - JDBC 2.1
          [/local1/102beta1/lib/derby.jar] 10.2.1.0 beta - (430903)
          [/local1/102beta1/lib/derbytools.jar] 10.2.1.0 beta - (430903)
          [/local1/102beta1/lib/derbynet.jar] 10.2.1.0 beta - (430903)
          [/local1/102beta1/lib/derbyclient.jar] 10.2.1.0 beta - (430903)
          [/local1/AdtlTstJars/db2jcc_license_c.jar] 2.6 - (90)
          [/local1/AdtlTstJars/db2jcc.jar] 2.6 - (90)

          Show
          Stan Bradbury added a comment - So I guess it is no surprise that this failure happened on other platforms as well (Win 2003 Server using JVM 1.5)? See the 10.2 Platform test page for more info ( http://wiki.apache.org/db-derby/TenTwoPlatformTesting ) Here is the Derby environment I was testing with in all environments: --------- Derby Information -------- JRE - JDBC: J2SE 1.3 - JDBC 2.1 [/local1/102beta1/lib/derby.jar] 10.2.1.0 beta - (430903) [/local1/102beta1/lib/derbytools.jar] 10.2.1.0 beta - (430903) [/local1/102beta1/lib/derbynet.jar] 10.2.1.0 beta - (430903) [/local1/102beta1/lib/derbyclient.jar] 10.2.1.0 beta - (430903) [/local1/AdtlTstJars/db2jcc_license_c.jar] 2.6 - (90) [/local1/AdtlTstJars/db2jcc.jar] 2.6 - (90)
          Hide
          Sunitha Kambhampati added a comment -

          This issue was resolved with fix for DERBY-1695.

          Show
          Sunitha Kambhampati added a comment - This issue was resolved with fix for DERBY-1695 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Stan Bradbury
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development