0 Replies Latest reply on Sep 2, 2014 8:36 AM by Thomas Jodes

    resource-ref in a static server module

    Thomas Jodes Newbie

      Hi community, hi all,


      let's assume you've got a static server module "A".

      Inside this module, I use jndi lookups to access any container's resource(s), i.e. a datasource.


      It is possible to code, that the module uses a resource in a static way, quite the same way a WAR deployment for instance uses a datasource declared in its web.xml by "<resource-ref>...</resource-ref>" ?


      Related discussion: Re: JBoss AS 7 shutdown - connection manager closed before WAR deployment stopped


      Thanks in advance !