WildFly 16 EJB客户端一段时间后无法获取连接

时间:2019-06-21 14:23:17

标签: ejb wildfly-11

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)

0 个答案:

没有答案