[jboss-jira] [JBoss JIRA] (WFLY-13696) [GSS](7.3.z) UT000065: SSL must be specified to connect to a https URL when using ejb over https

Flavia Rainone (Jira) issues at jboss.org
Thu Jul 23 15:47:27 EDT 2020


Flavia Rainone created WFLY-13696:
-------------------------------------

             Summary: [GSS](7.3.z) UT000065: SSL must be specified to connect to a https URL when using ejb over https
                 Key: WFLY-13696
                 URL: https://issues.redhat.com/browse/WFLY-13696
             Project: WildFly
          Issue Type: Bug
            Reporter: Flavia Rainone
            Assignee: Tomasz Adamski


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

{code}
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)
{code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list