geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ram me <me.and....@gmail.com>
Subject Java AdventureBuilder application deployment
Date Tue, 03 Jan 2006 13:57:01 GMT
 Hi

I am trying to distribute the Java Adventure Builder into Geronimo1.0,

I have some problem in the distribution of  Order Processing Center (opc)

It shows this error
Unable to set attribute port to ${smtpPort}
org.apache.geronimo.common.DeploymentException: Unable to set attribute port
to ${smtpPort}

How to set the attribute port to Smtp port?

following is a snippet from my opc1.2.3.ear-plan.xml

<gbean name="mail/MailSession" class="org.apache.geronimo.mail.MailGBean">
        <attribute name="host">${smtpHost}</attribute>
        <attribute name="properties">
  mail.from=${smtpFrom}
  mail.smtp.port=${smtpPort}</attribute>
   </gbean>
    <gbean name="mail/MailSession" class="
org.apache.geronimo.mail.SMTPTransportGBean">
        <attribute name="host">${smtpHost}</attribute>
        <attribute name="port">${smtpPort}</attribute>
        <attribute name="from">${smtpFrom}</attribute>
    </gbean>


anything is wrong in above code?

Thanks in Advance
/ram

Mime
View raw message