2 Replies Latest reply on May 4, 2005 6:16 AM by bruno haleblian

    NamingException in MBean

    bruno haleblian Newbie

      Hi,

      MBean Short desc :
      Main goal is to produce JMS messages on a specified Queue as files are uploaded in specified directories. It works fine when deployed on a running jboss but I still experience troubles when JBoss is restarted.

      Troubles:
      1 - ConnectionFactory (JMS) is not yet bound at startup, so I get NamingException.
      2 - Dependencies declared in mbean seem ignored at startup.

      I've tweaked my code to retry getting my connection factory later but'id prefer make shure ConnectionFactory is bound before starting my MBean.

      How can I do that ?
      Thanks