Sunday May 06, 2007

I restarted my Windows machine and after restart, Tomcat couldnt start the Roller Instance . The roller.log under $Tomcat_Home/logs directory shows the below error

ERROR 2007-05-07 10:33:41,859 JDBCExceptionReporter:logExceptions - Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused: connect'.
** BEGIN NESTED EXCEPTION **
java.net.ConnectException
MESSAGE: Connection refused: connect
STACKTRACE:
java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)

 

Solution : Quite Simple , Start the MySQL service and Now try to start your Roller instance from Tomcat

Start >> Settings >> Control Panel >> Administrative Tools >> Services >> "Look for MySQL service name" >> Start MySQL service 


Thursday May 03, 2007

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)

This blog copyright 2009 by thekkadath