ICEpush
  1. ICEpush
  2. PUSH-140

NoClassDefFoundError thrown when application started without mail.jar

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-Beta
    • Component/s: None
    • Labels:
      None
    • Environment:
      server

      Description

      The following exception is thrown when a webapplication is started without mail.jar library in the classpath:
      java.lang.NoClassDefFoundError: javax/mail/MessagingException
      at org.icepush.EmailNotificationProvider$AutoRegister.contextInitialized(EmailNotificationProvider.java:99)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4600)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)
      Caused by: java.lang.ClassNotFoundException: javax.mail.MessagingException
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
      ... 9 more

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25279 Thu Aug 18 16:24:02 MDT 2011 mircea.toma PUSH-140 Update library.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/lib/icepush.jar
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25278 Thu Aug 18 16:18:03 MDT 2011 mircea.toma PUSH-140 Instantiate and use logger in AutoRegister inner-class to avoid side-effects when using the logger declared in the outer-class.
        Files Changed
        Commit graph MODIFY /icepush/trunk/core/src/main/java/org/icepush/EmailNotificationProvider.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: