1 Reply Latest reply on Dec 24, 2013 5:32 AM by ehugonnet

    New missing/unsatisfied dependencies - Jboss 6.1 eap migration from jboss 4.1

    Harish Maridi Newbie

      Hi,

       

      I am trying to migrate my application from Jboss 4.1 to 6.1, I am having below issue.

       

      JBAS014775:New missing/unsatisfied dependencies:
        service jboss.naming.context.java.Mail (missing) dependents: [service jboss.naming.context.java.module.AvMobileServices.AvMobileServices.env.mail.MobilityMailSession, service jboss.naming.context.java.module.AvBlackberrySuite.AvBlackberrySuite.env.mail.MobilityMailSession]

       

      Configuration on jboss-web.xml:

      <jboss-web>

      <ejb-ref>

              <ejb-ref-name>ejb/ESBProxy</ejb-ref-name>

              <jndi-name>AvESBProxyBean/local</jndi-name>

          </ejb-ref>

          <resource-ref>

              <res-ref-name>mail/MobilityMailSession</res-ref-name>

              <jndi-name>java:/Mail</jndi-name>

          </resource-ref>

          <security-domain>java:/jaas/other</security-domain>

      </jboss-web>

       

      I have mail-service.xml which is deployed to deploy folder in 4.1: When I try to deploy same to 6.1 deployments, I am getting PARSE error, so I need to configure this to standalone.xml

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE server>

      <!-- $Id: mail-service.xml 31716 2005-06-01 06:20:43Z starksm $ -->

      <server>

        <mbean code="org.jboss.mail.MailService"

               name="jboss:service=Mail">

          <attribute name="JNDIName">java:/Mail</attribute>

          <attribute name="User">nobody</attribute>

          <attribute name="Password">password</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="pop3.nosuchhost.nosuchdomain.com"/>

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

                <property name="mail.from" value="nobody@nosuchhost.nosuchdomain.com"/>

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

             </configuration>

             <depends>jboss:service=Naming</depends>

          </attribute>

        </mbean>

      </server>

       

      Configuring this mail source in standalone.xml fix the issue? or is there something else that needs to be corrected?

       

      Thanks,

      Harish Maridi