Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19511

[GSS](7.3.z) WEJBHTTP-47 - UT000065: SSL must be specified to connect to a https URL when using ejb over https

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.3.1.GA
    • Fix Version/s: 7.3.4.GA
    • Component/s: EJB
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide
      1. Install JBoss
      2. unzip -d $JBOSS_HOME/ simple-xa-recovery-reproducer.zipĀ 
      3. Start JBoss with $JBOSS_HOME/bin/standalone.sh -Djavax.net.ssl.trustStore=./standalone/configuration/application.keystore -Djavax.net.ssl.trustStorePassword=password -DRecoveryEnvironmentBean.periodicRecoveryPeriod=10
      Show
      Install JBoss unzip -d $JBOSS_HOME/ simple-xa-recovery-reproducer.zipĀ  Start JBoss with $JBOSS_HOME/bin/standalone.sh -Djavax.net.ssl.trustStore=./standalone/configuration/application.keystore -Djavax.net.ssl.trustStorePassword=password -DRecoveryEnvironmentBean.periodicRecoveryPeriod=10
    • QE Test Coverage:
      +

      Description

      UT000065: SSL must be specified to connect to a https URL when using ejb over https

      There is an XA Recovery Issue when EJB over HTTPS is used.
      If an XA transaction fails, when the server is restarted it will find the standalone/data/ejb-xa-recovery files to recover, and the xa recovery runs it will hit this exception below.

      ./bin/standalone.sh -Djavax.net.ssl.trustStore=./standalone/configuration/application.keystore -Djavax.net.ssl.trustStorePassword=password -DRecoveryEnvironmentBean.periodicRecoveryPeriod=10

      cat standalone/data/ejb-xa-recovery/20005_00000000000000000000ffffc0a80141066cd6715eb1b1420000001131_00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      https://localhost:8443/wildfly-services

      14:38:10,855 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception ARJUNA016099: Unknown error code:0: javax.transaction.xa.XAException: UT000065: SSL must be specified to connect to a https URL
      	at org.wildfly.httpclient.transaction.HttpRemoteTransactionPeer.recover(HttpRemoteTransactionPeer.java:107)
      	at org.wildfly.transaction.client.SubordinateXAResource.recover(SubordinateXAResource.java:213)
      	at org.wildfly.transaction.client.SubordinateXAResource.recover(SubordinateXAResource.java:209)
      	at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoveryFirstPass(XARecoveryModule.java:634)
      	at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:226)
      	at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:171)
      	at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:770)
      	at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:382)
      Caused by: java.io.IOException: UT000065: SSL must be specified to connect to a https URL
      	at io.undertow.client.http.HttpClientProvider.connect(HttpClientProvider.java:72)
      	at io.undertow.client.http.HttpClientProvider.connect(HttpClientProvider.java:60)
      	at io.undertow.client.UndertowClient.connect(UndertowClient.java:137)
      	at org.wildfly.httpclient.common.HttpConnectionPool.runPending(HttpConnectionPool.java:151)
      	at org.wildfly.httpclient.common.HttpConnectionPool.getConnection(HttpConnectionPool.java:83)
      	at org.wildfly.httpclient.common.HttpTargetContext.sendRequest(HttpTargetContext.java:142)
      	at org.wildfly.httpclient.transaction.HttpRemoteTransactionPeer.recover(HttpRemoteTransactionPeer.java:73)
      	... 7 more
      
      14:38:20,860 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016009: Caught:: java.lang.NullPointerException
      	at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoverySecondPass(XARecoveryModule.java:738)
      	at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:519)
      	at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:270)
      	at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:816)
      	at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:382)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tomekadamski Tomasz Adamski
                  Reporter:
                  bmaxwell Brad Maxwell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: