Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5584

Naming context read-only during SAR deployment

XMLWordPrintable

      During the #start() #stop() method of a legacy SAR the naming context is read only. The problem seems to be that org.jboss.as.service.AbstractService.invokeLifecycleMethod(Method) only sets the thread context class loader and does not do WritableServiceBasedNamingStore.pushOwner

      http://stackoverflow.com/questions/12419234/how-to-bind-an-object-to-jndi-in-jboss-7-from-mbean-naming-context-is-read-onl

            pmarscha Philippe Marschall
            pmarscha Philippe Marschall
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: