5 Replies Latest reply on Jun 21, 2011 8:39 AM by jaikiran pai

    @Resource SessionContext problem

    Atilio Ranzuglia Newbie

      Hi, I can't make this work:

      private @Resource SessionContext ctx;
      System.out.println(ctx); // prints null

      I have tried everything, included setters ang getters, @Resource previous and after "private" keyword, I get always a null reference to the session context

      I'm using JBoss 4.0.3SP1 on Linux