3 Replies Latest reply on Jul 15, 2005 1:50 PM by jaikiran pai

    Lookup of Session Bean from MBean at server startup

    jaikiran pai Master

      Hi,
      I need a startup class, in Jboss 3.2.3, in which i would be invoking a session bean.
      For this i have created a MBean which gets called at server startup. In this MBean, i do a session bean lookup, which FAILS because the bean isnt yet bound. I tried specifying the depends attribute in the MBean declaration, stating the my MBean depends on NamingService. Even this did not work. Is there any way, i can do invocation of a session bean from MBean at server startup?


      Thank you.