Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2814

Mail description and resource disjunct

    XMLWordPrintable

Details

    Description

      According to the description the attribute "smtp-server" should be a String, but it isn't.

      [standalone@localhost:9999 /] /subsystem=mail/mail-session=java\:jboss\/mail\/Default:read-resource-description
      {
          "outcome" => "success",
          "result" => {
              "description" => "Mail session configuration",
              "head-comment-allowed" => true,
              "tail-comment-allowed" => true,
              "attributes" => {
                  "jndi-name" => {
                      "description" => "JNDI name to where mail session should be bound",
                      "type" => STRING,
                      "required" => true,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "debug" => {
                      "description" => "If this is true the MailSessionConfiguration will be set to debug mode",
                      "type" => STRING,
                      "required" => false,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "smtp-server" => {
                      "description" => "The address of a SMTP Mail Server",
                      "type" => STRING,
                      "required" => false,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "imap-server" => {
                      "description" => "The address of an IMAP Mail Server",
                      "type" => STRING,
                      "required" => false,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  },
                  "pop3-server" => {
                      "description" => "The address of a POP3 Mail Server",
                      "type" => STRING,
                      "required" => false,
                      "access-type" => "read-only",
                      "storage" => "configuration"
                  }
              }
          }
      }
      [standalone@localhost:9999 /] /subsystem=mail/mail-session=java\:jboss\/mail\/Default:read-resource            
      {
          "outcome" => "success",
          "result" => {
              "debug" => "false",
              "jndi-name" => "java:jboss/mail/Default",
              "smtp-server" => {"outbound-socket-binding-ref" => "mail-smtp"}
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

              tomazcerar Tomaž Cerar (Inactive)
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: