Sunday May 06, 2007

Roller fails to start in Tomcat (after restarting windows)

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 


Wednesday May 02, 2007

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)

About

I'm a Quality Engineer at Sun Microsystems. Here in this blog, you may find information about Software Testing, Portal Server, Virtualization, Web2.0 and Misc Technical topics. The views expressed here are personal and does not reflect that of my employer

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today