1 Reply Latest reply on Sep 10, 2012 3:57 PM by pmm

    Naming context read-only during ResourceAdapter#start()/#stop()

    pmm

      I have a custom ResourceAdapter that tries to bind JNDI values in #start(BoostrapContext) and unbind them in #stop(). However this does not work I get a

       

      java.lang.UnsupportedOperationException: JBAS011859: Naming context is read-only

      My understanding was that the naming context is writable during deployment but the exception happens during the deyployment of the RAR. Is this the expected behavior or an oversight?