cancel
Showing results for 
Search instead for 
Did you mean: 

Error when the container (wildfly) is shutdown

Antonio_Pescion
Confirmed Champ
Confirmed Champ

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 REPLIES 0
Getting started

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.