question: private boolean checkSetup ( ) { this . txmgr = TransactionManagerImp . getTransactionManager ( ) ; if ( this . txmgr == null ) { try { Hashtable < String , String > env = new Hashtable < String , String > ( ) ; env . put ( Context . INITIAL_CONTEXT_FACTORY , this . initialContextFactory ) ; env . put ( Context . PROVIDER_URL , this . providerUrl ) ; Context ctx = new InitialContext ( env ) ; this . txmgrServer = ( UserTransactionServer ) PortableRemoteObject . narrow ( ctx . lookup ( this . userTransactionServerLookupName ) , UserTransactionServer . class ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; throw new RuntimeException ( getNotFoundMessage ( ) ) ; } if ( this . txmgrServer == null ) throw new RuntimeException ( getNotFoundMessage ( ) ) ; } return this . txmgr != null ; }
target:  Referenceable mechanism requires later setup of txmgr_, otherwise binding into JNDI already requires that TM is running.