Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-553

Testsuite running on openjdk is missing class javax.crypto.JceSecurity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.6.1
    • Testing
    • None

      All tests of test group jdbcresources01_mssqlserver_jndi are failing due to next error:

      Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
      at javax.crypto.KeyGenerator.nextSpi(KeyGenerator.java:310)
      at javax.crypto.KeyGenerator.<init>(KeyGenerator.java:140)
      at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:191)
      at sun.security.ssl.JsseJce.getKeyGenerator(JsseJce.java:240)
      at sun.security.ssl.RSAClientKeyExchange.<init>(RSAClientKeyExchange.java:108)
      at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:593)
      at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
      at sun.security.ssl.Handshaker.processLoop(Handshaker.java:533)
      at sun.security.ssl.Handshaker.process_record(Handshaker.java:471)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:904)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1116)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1143)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1127)
      at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1394)
      at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1204)
      at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(SQLServerConnection.java:1054)
      at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:758)
      at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnectionInternal(SQLServerDataSource.java:578)
      at com.microsoft.sqlserver.jdbc.SQLServerPooledConnection.createNewConnection(SQLServerPooledConnection.java:67)
      at com.microsoft.sqlserver.jdbc.SQLServerPooledConnection.<init>(SQLServerPooledConnection.java:43)
      at com.microsoft.sqlserver.jdbc.SQLServerXAConnection.<init>(SQLServerXAConnection.java:27)
      at com.microsoft.sqlserver.jdbc.SQLServerXADataSource.getXAConnection(SQLServerXADataSource.java:51)
      at com.arjuna.ats.internal.jdbc.IndirectRecoverableConnection.createConnection(IndirectRecoverableConnection.java:431)
      at com.arjuna.ats.internal.jdbc.IndirectRecoverableConnection.getConnection(IndirectRecoverableConnection.java:298)
      at com.arjuna.ats.internal.jdbc.ConnectionImple.getConnection(ConnectionImple.java:704)
      at com.arjuna.ats.internal.jdbc.ConnectionImple.registerDatabase(ConnectionImple.java:806)
      at com.arjuna.ats.internal.jdbc.ConnectionImple.createStatement(ConnectionImple.java:162)
      at org.jboss.jbossts.qa.JDBCResources01Setups.Setup02.main(Setup02.java:94)

      See Hudson job http://hudson.qa.jboss.com/hudson/view/JBossTS/job/jbossts-testsuite-matrix/jdk=openjdk,label=RHEL5_x86_64/

              Unassigned Unassigned
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: