java.lang.NoClassDefFoundError: javax/mail/Authenticator

Oracle Community | 405415 | 9 years ago
  1. 0

    ETL execute not working through DAC client

    Oracle Community | 9 years ago | 405415
    java.lang.NoClassDefFoundError: javax/mail/Authenticator
  2. 0

    A customer reporting a problem where they are using JNDI mail server intergration. However when this is the case the mail jar needs to be available to Tomcat. In their case they where running standalone and hence we could have shipped with the mail jar in the common/lib for this configuration. {code} 2009-10-26 23:22:06,022 http-8080-Processor22 ERROR janek.bogucki 84126x70x1 ubrobb http://jira.studylink.com:8080/secure/admin/SendTestMail.jspa [webwork.dispatcher.ServletDispatcher] Could not execute action java.lang.NoClassDefFoundError: javax/mail/Authenticator at org.apache.naming.factory.MailSessionFactory.getObjectInstance(MailSessionFactory.java:105) at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.atlassian.mail.server.impl.SMTPMailServerImpl.getJndiSession(SMTPMailServerImpl.java:161) at com.atlassian.mail.server.impl.SMTPMailServerImpl.getSession(SMTPMailServerImpl.java:110) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169) at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:88) at webwork.action.ActionSupport.execute(ActionSupport.java:153) {code} We also should update the documentation as well http://confluence.atlassian.com/display/JIRA/Configuring+JIRA+to+Send+SMTP+Mail#ConfiguringJIRAtoSendSMTPMail-CommonProblems An anonymous post has indicate that this is necessary.

    Atlassian JIRA | 7 years ago | Brad Baker [Atlassian]
    java.lang.NoClassDefFoundError: javax/mail/Authenticator
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.NoClassDefFoundError: javax/el/PropertyNotFoundException when I send invalid values to controller

    programask.com | 12 months ago
    java.lang.NoClassDefFoundError: javax/mail/Authenticator
  5. 0

    A customer reporting a problem where they are using JNDI mail server intergration. However when this is the case the mail jar needs to be available to Tomcat. In their case they where running standalone and hence we could have shipped with the mail jar in the common/lib for this configuration. {code} 2009-10-26 23:22:06,022 http-8080-Processor22 ERROR janek.bogucki 84126x70x1 ubrobb http://jira.studylink.com:8080/secure/admin/SendTestMail.jspa [webwork.dispatcher.ServletDispatcher] Could not execute action java.lang.NoClassDefFoundError: javax/mail/Authenticator at org.apache.naming.factory.MailSessionFactory.getObjectInstance(MailSessionFactory.java:105) at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.atlassian.mail.server.impl.SMTPMailServerImpl.getJndiSession(SMTPMailServerImpl.java:161) at com.atlassian.mail.server.impl.SMTPMailServerImpl.getSession(SMTPMailServerImpl.java:110) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169) at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:88) at webwork.action.ActionSupport.execute(ActionSupport.java:153) {code} We also should update the documentation as well http://confluence.atlassian.com/display/JIRA/Configuring+JIRA+to+Send+SMTP+Mail#ConfiguringJIRAtoSendSMTPMail-CommonProblems An anonymous post has indicate that this is necessary.

    Atlassian JIRA | 7 years ago | Brad Baker [Atlassian]
    java.lang.NoClassDefFoundError: javax/mail/Authenticator

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/mail/Authenticator

      at com.siebel.etl.engine.core.ETL.sendEmail()
    2. com.siebel.etl
      EtlExecutionManager$1.run
      1. com.siebel.etl.engine.core.ETL.sendEmail(ETL.java:800)
      2. com.siebel.etl.engine.core.ETL.run(ETL.java:636)
      3. com.siebel.etl.engine.core.ETL.execute(ETL.java:840)
      4. com.siebel.etl.etlmanager.EtlExecutionManager$1.executeEtlProcess(EtlExecutionManager.java:211)
      5. com.siebel.etl.etlmanager.EtlExecutionManager$1.run(EtlExecutionManager.java:165)
      5 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame