We have been developing an application using FreeMarker and Struts within JetSpeed 2 latest CVS.

The first deployment of the portlet we see no issues at all and the pages render. On the redeployment of the portlet, we see the following stacktrace with the portlet stating that is unavailable.

java.lang.ClassCastException
at freemarker.ext.servlet.FreemarkerServlet.createModel(FreemarkerServlet.j ava:482)
at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java: 419)
at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java: 364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc her.java:696)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp atcher.java:585)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat cher.java:510)
at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.invoke (PortletServletRequestDispatcher.java:128)
at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.forwar d(PortletServletRequestDispatcher.java:135)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav a:1056)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr ocessor.java:388)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 231)
at org.apache.portals.bridges.struts.PortletRequestProcessor.process(Portle tRequestProcessor.java:50)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


A restart of Tomcat clears this up but that makes development rather difficult. Any thoughts or recommendations?


----------------------------------------------------------------- Marvin Malkowski Jr. ----------------------------------------------------------------- [EMAIL PROTECTED] http://www.linuxgames.com/ -----------------------------------------------------------------


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to