Hi,
I am trying to integrate IBM ILog in combination with ICEfaces into my Liferay Portal. Before I tried to use ILog and ICEfaces as standalone application and it worked nice.
But if I add the portlet specification to my application it doesn't work anymore. Firebug shows me the following ClassCast Exception while trying to receive the ILog servlet for rendering the chart.
Code:
java.lang.ClassCastException: com.liferay.portlet.PortletContextImpl cannot be cast to javax.servlet.ServletContext
com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:108)
com.icesoft.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:89)
ilog.views.faces.internalutil.IlvFacesContextFactory.createFacesContext(Unknown Source)
ilog.views.faces.internalutil.IlvFacesContextFactory.getFacesContext(Unknown Source)
ilog.views.gantt.faces.dhtml.servlet.IlvFacesGanttServletSupport.getFacesContext(Unknown Source)
ilog.views.gantt.faces.dhtml.servlet.IlvFacesGanttServletSupport.handleRequest(Unknown Source)
ilog.views.gantt.servlet.IlvGanttServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
ilog.views.faces.IlvFacesController.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Any hints ?
best regards
Fabian