java.lang.ClassCastException: com.sun.enterprise.deployment.MailConfiguration cannot be cast to javax.mail.Session

Oracle Community | frenchdrip | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    JNDI resource ref for MBean ?

    Oracle Community | 9 years ago | frenchdrip
    java.lang.ClassCastException: com.sun.enterprise.deployment.MailConfiguration cannot be cast to javax.mail.Session

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.enterprise.deployment.MailConfiguration cannot be cast to javax.mail.Session

      at com.ilmn.dam.mbean.Mailer.send()
    2. com.ilmn.dam
      Mailer.send
      1. com.ilmn.dam.mbean.Mailer.send(Mailer.java:59)
      1 frame