01-18-2017 03:26 AM
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
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.