Buggy code:
public final class ResourceAdapterActivatorService extends AbstractResourceAdapterDeploymentService implements Service < ResourceAdapterDeployment > { private static final DeployersLogger DEPLOYERS_LOGGER = Logger . getMessageLogger ( DeployersLogger . class , ResourceAdapterActivatorService . ResourceAdapterActivator . class . getName ( ) ) ; private final ClassLoader cl ; private final Connector cmd ; private final IronJacamar ijmd ; private final String deploymentName ; private CommonDeployment deploymentMD ; private BindInfo bindInfo ; private boolean createBinderService = true ; public ResourceAdapterActivatorService ( final Connector cmd , final IronJacamar ijmd , ClassLoader cl , final String deploymentName ) { } public BindInfo getBindInfo ( String jndi ) { } public void setBindInfo ( ContextNames . BindInfo bindInfo ) { } public boolean isCreateBinderService ( ) { } public void setCreateBinderService ( boolean createBinderService ) { } @ Override public void start ( StartContext context ) throws StartException { String pathname = "file:////RaActivator" + ( deploymentName ) ; try { ResourceAdapterActivatorService . ResourceAdapterActivator activator = new ResourceAdapterActivatorService . ResourceAdapterActivator ( context . getChildTarget ( ) , new URL ( pathname ) , deploymentName , new File ( pathname ) , cl , cmd , ijmd ) ; activator . setConfiguration ( getConfig ( ) . getValue ( ) ) ; ClassLoader old = Thread . currentThread ( ) . getContextClassLoader ( ) ; try { Thread . currentThread ( ) . setContextClassLoader ( cl ) ; deploymentMD = activator . doDeploy ( ) ; } finally { Thread . currentThread ( ) . setContextClassLoader ( old ) ; } } catch ( Throwable e ) { unregisterAll ( deploymentName ) ; throw MESSAGES . failedToStartRaDeployment ( e , deploymentName ) ; } String raName = deploymentMD . getDeploymentName ( ) ; <START_BUG> ServiceName raServiceName = ConnectorServices . registerResourceAdapter ( raName ) ; <END_BUG> value = new ResourceAdapterDeployment ( deploymentMD , raName , raServiceName ) ; registry . getValue ( ) . registerResourceAdapterDeployment ( value ) ; managementRepository . getValue ( ) . getConnectors ( ) . add ( value . getDeployment ( ) . getConnector ( ) ) ; context . getChildTarget ( ) . addService ( raServiceName , new ResourceAdapterService ( raName , raServiceName , value . getDeployment ( ) . getResourceAdapter ( ) ) ) . setInitialMode ( ACTIVE ) . install ( ) ; DEPLOYMENT_CONNECTOR_LOGGER . debugf ( "Started<seq2seq4repair_space>service<seq2seq4repair_space>%s" , RESOURCE_ADAPTER_ACTIVATOR_SERVICE ) ; } @ Override public void stop ( StopContext context ) { } @ Override public void unregisterAll ( String deploymentName ) { } public CommonDeployment getDeploymentMD ( ) { } private class ResourceAdapterActivator extends AbstractAS7RaDeployer { private final IronJacamar ijmd ; public ResourceAdapterActivator ( ServiceTarget serviceTarget , URL url , String deploymentName , File root , ClassLoader cl , Connector cmd , IronJacamar ijmd ) { } @ Override public CommonDeployment doDeploy ( ) throws Throwable { } @ Override protected boolean checkActivation ( Connector cmd , IronJacamar ijmd ) { } @ Override protected DeployersLogger getLogger ( ) { } } }

Fix:
ServiceName raServiceName = ConnectorServices . getResourceAdapterServiceName ( raName , null ) ;