Dealing with Unexpected Exception problem in Roller 3.1 (Unable to Create a new entry)
Recently i had a problem with my Roller 3.1 installation. I configured it correctly as per the install guide (not the Mail part of it -mail.jar and activation.jar. It was not in my $CATALINA_HOME/common/lib directory) but when i create a new Weblog entry, i get a "Unexcepted Exception" screen . Roller wont allow me to add a entry to the newly created weblog .
Solution : Copy both mail.jar and activation.jar and put it in $CATALINA_HOME/common/lib directory
Below is the Tomcat Error log
INFO 2007-05-03 11:42:53,406 PreviewServlet:init - Initializing PreviewServlet
ERROR 2007-05-03 11:47:43,437 StandardWrapperValve:invoke - Servlet.service() for servlet action threw exception
java.lang.NoClassDefFoundError: javax/mail/MessagingException
at java.lang.Class.getDeclaredConstructors0(Native Method)
Thank you, very, very much for your information about copying the activation- and mail.jar to common/lib.
You've saved my day!
Rolf.
Posted by Rolf Sjöström, Sweden. on January 23, 2008 at 01:48 PM PST #