Error when the container (wildfly) is shutdown
I'm analyzing an error when the container go in graceful shutdown:
stack trace:
Failed to unregister extension. Contributor: RegistrationInfo: service:org.nuxeo.runtime.datasource.server.contrib to service:org.nuxeo.runtime.datasource; xpoint: datasources: java.lang.UnsupportedOperationException
at org.nuxeo.runtime.jtajca.NuxeoContainer$TransactionManagerWrapper.unregisterNamedXAResourceFactory(NuxeoContainer.java:660)
at org.apache.geronimo.connector.outbound.AbstractConnectionManager.doStop(AbstractConnectionManager.java:184)
at org.nuxeo.runtime.jtajca.NuxeoConnectionManager.doStop(NuxeoConnectionManager.java:159)
And this is the code that throws the exception in org.nuxeo.runtime.jta jca.Nuxeo Container
@Override
public void registerNamedXAResourceFactory(NamedXAResourceFactory factory) {
if (!RecoverableTransactionManager.class.isAssignableFrom(tm.getClass())) {
throw new UnsupportedOperationException();
}
((RecoverableTransactionManager) tm).registerNamedXAResourceFactory(factory);
}
have I a wrong configuration? Thank you in advance
0 votes
0 answers
1413 views