WildFly 16 EJB клиент Не удалось установить соединение через некоторое время - PullRequest
0 голосов
/ 21 июня 2019

WildFly 16 EJB-клиент Не удалось получить проблему с соединением, если время превышает 50 секунд. Если операция завершается через 50 секунд, проблем нет. Вот ошибка:

Caused by: javax.transaction.SystemException: WFTXN0021: Failed to acquire a connection for this operation
    at org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionPeer.begin(RemotingRemoteTransactionPeer.java:212)
    at org.wildfly.transaction.client.RemoteTransaction.setLocation(RemoteTransaction.java:222)
    at org.jboss.ejb.protocol.remote.EJBClientChannel.writeTransaction(EJBClientChannel.java:557)
    at org.jboss.ejb.protocol.remote.EJBClientChannel.processInvocation(EJBClientChannel.java:367)
    ... 12 more
Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
    at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:368)
    at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
    at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:506)
    at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:495)
    at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
    at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
    at org.xnio.IoUtils$2.execute(IoUtils.java:71)
    at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
    at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
    at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
    at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:495)
    at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:434)
    at org.jboss.remoting3.UncloseableEndpoint.getConnectedIdentity(UncloseableEndpoint.java:52)
    at org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionPeer.getPeerIdentity(RemotingRemoteTransactionPeer.java:87)
    at org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionPeer.begin(RemotingRemoteTransactionPeer.java:209)
...