Fernando Karnagi’s Weblog

Lotus Connections – Blog Entry failed

Posted in Lotus Connections, Portal by fernandokarnagi on May 16, 2009

Hi Folks,

This week, I found a silly issue in the Lotus Connections. This issue was encountered during the creation of the new blog entry. When I clicked on the “New Entry” link on the Blog feature, it showed the “Unexpected Exception, Blog has encountered and logged an unexpected exception”.

The following is the error as I mentioned

lc1

From the Error Log in SystemOut.log, I saw this message:

[5/14/09 17:49:19:456 SGT] 00000024 WebApp        E   [Servlet Error]-[action]: javax.servlet.jsp.JspException: ServletException in ‘/WEB-INF/jsps/tiles/menu-editor.jsp’: Exception; TEMPLATE_CLASSPATH=templates/menu/menu-tabbed.vm; exception=Unable to find resource ‘templates/menu/menu-tabbed.vm’

As a J2EE developer, I know that the Blog application seems to be unable to load the “templates/menu/menu-tabbed.vm” from the TEMPLATE_CLASSPATH (just realized that LC-Blog uses Roller and Velocity as the core engine)..

Then I saw the original folder structure as follows

lc2

Allright then, now I found the problem and temporary solution.

Copy the <templates> folder to the “classes” folder, as shown below

lc3

Then, I consulted IBM consultant about this, and guess what…, this guy mentioned that this is just caused by the Classloader issue. So the solution is just to restart the Blog application.

After restarting the Blog application, suddenly this issue was solved.

Cheers.

Leave a Reply

You must be logged in to post a comment.