3 Replies Latest reply on Dec 14, 2009 11:02 PM by Cedric Neve

    avax.naming.NameNotFoundException: LeanPMMail not bound

    venkat akkineni Newbie

             I am new to seam. I am trying to run an opensource application named LeanPM. I have deployed the application on jboss. Application starts fine. But when I try to register I get the following error brutally thrown at my face.

      Caused by: javax.naming.NameNotFoundException: LeanPMMail not bound

      I understand seam is complaining about the mail session. But all the configuration seems fine. I am lost, could any7 body throw some light on this.

      Here is my*-mail-service.xml deployed on {Jboss_home}/server/default/deploy folder.

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server>
      <!-- $Id: mail-service.xml,v 2005/06/01 06:20:43 starksm Exp $ -->


        <!-- ==================================================================== -->
        <!-- Mail Connection Factory                                              -->
        <!-- ==================================================================== -->

        <mbean code="org.jboss.mail.MailService"
          <attribute name="JNDIName">LeanPMMail</attribute>
          <attribute name="Configuration">
                <property name="mail.store.protocol" value="pop3"/>
                <property name="mail.transport.protocol" value="smtp"/>

                 <property name="mail.user" value="nobody"/>

                <property name="mail.pop3.host" value=""/>

                <property name="mail.smtp.host" value=""/>

                <property name="mail.debug" value="false"/>