Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13696

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    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)
      

      Attachments

        Issue Links

          Activity

            People

              tadamski@redhat.com Tomasz Adamski
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: