3 Replies Latest reply on Dec 14, 2009 11:02 PM by cedneve.cedric.neve.oniryx.be

    avax.naming.NameNotFoundException: LeanPMMail not bound

    vra5107
      Hi

             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 1.5.6.1 2005/06/01 06:20:43 starksm Exp $ -->

      <server>

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

        <mbean code="org.jboss.mail.MailService"
               name="LeanPM:service=Mail">
          <attribute name="JNDIName">LeanPMMail</attribute>
          <attribute name="Configuration">
             <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="10.2.30.203"/>

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

                <property name="mail.debug" value="false"/>
             </configuration>
             <depends>jboss:service=Naming</depends>
          </attribute>
        </mbean>

      </server>