Jump to content
Software FX Community

ChartFX in websphere Portlet


nithy
 Share

Recommended Posts

Hi,

I am evaluating ChartFX to be used in a portlet application, but, chart.getHtmlTag("600","400","PNG"); seems to be not working, All the APIs seems to be

accepting only Http objects, and portlet seems to be having portlet objects,

which means, I am not able to bring the graph in my portlet. Can anyone suggest any workaround or is there a proper API for

portlet to achieve this. I  am using a trial version of ChartFX. I posted similar query in the support section, with no reply yet.

 its urgent, otherwise, we need to figure out for someother graph tools.

Thanks

Nithy

Link to comment
Share on other sites

Hi Gabriel,

  It works perfectly in normal JSP in "Application server", but the same when I put into a porlet and run in a " Portal Server " it doesnt work, No image is created, and protlet error comes. Is it anything to do with the Portlet request and Http request or context issues ?

 

Thanks

Nithy

Link to comment
Share on other sites

Hi Gabriel,

I am using a JSF portlet. 

I am creating the chart object as below,

ChartServer chart1 =

new ChartServer(httpContext,httpRequest,httpResponse);

// Passing ServletContext, and HttpServletRequest,... should i pass portletRequest and response instead, I tried that too, but the method doesnt accept it.

 The error comes at the place where i have this code

String fileName = chart1.getHtmlTag("600","400","_Image"); // This is not creating the image physically

System.out.println(

"File Name :"+fileName);

//chart1.getHtmlTag("600","400","PNG"); // This also gives the same error

Below is the exception

[6/13/07 16:10:22:125 SGT] 175c8657 SystemErr R java.lang.NullPointerException

[6/13/07 16:10:22:125 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Base.RegLicense.xyXw(Unknown Source)

[6/13/07 16:10:22:125 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Base.RegLicense.VvXw(Unknown Source)

[6/13/07 16:10:22:125 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Internet.Server.ChartCore.xyvz(Unknown Source)

[6/13/07 16:10:22:125 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Internet.Server.Chart.$Xww(Unknown Source)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Internet.Server.Chart.y$ww(Unknown Source)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Internet.Server.Chart.YZYw(Unknown Source)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Internet.Server.Chart.yxww(Unknown Source)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at SoftwareFX.internal.ChartFX.Internet.Server.Chart.vxww(Unknown Source)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at SoftwareFX.ChartFX.Chart.getHtmlTag(Unknown Source)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at SoftwareFX.ChartFX.ChartServer.getHtmlTag(Unknown Source)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at org.apache.jsp._ChartFXTest._jspService(_ChartFXTest.java:221)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:364)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:700)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:798)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1030)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.faces.context.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:445)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:68)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)

[6/13/07 16:10:22:141 SGT] 175c8657 SystemErr R at com.ibm.faces.webapp.FacesGenericPortlet.doRender(FacesGenericPortlet.java:347)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.faces.webapp.FacesGenericPortlet.doView(FacesGenericPortlet.java:378)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.faces.webapp.FacesGenericPortlet.doDispatch(FacesGenericPortlet.java:293)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.pe.pc.std.core.PortletServlet.dispatch(PortletServlet.java:212)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.pe.pc.std.core.PortletServlet.doGet(PortletServlet.java:154)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:248)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1030)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:230)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:141)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.pe.pc.std.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:161)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:421)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:102)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.pe.pc.PortletContainer.renderPortlet(PortletContainer.java:95)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.PortletHolder.render(PortletHolder.java:87)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:151)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at org.apache.jsp._Control._jspService(_Control.java:1870)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:364)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:700)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:798)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1025)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.skins.Default.render(Default.java:70)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:75)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.elements.Component.render(Component.java:906)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.elements.Control.render(Control.java:210)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.Composition.render(Composition.java:2747)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at org.apache.jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:106)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:364)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:700)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:798)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1025)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)

[6/13/07 16:10:22:156 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.skins.Default.render(Default.java:70)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:75)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.elements.Component.render(Component.java:906)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.elements.SingleEntryContainer.render(SingleEntryContainer.java:207)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.tags.CompositionRenderTag.doStartTag(CompositionRenderTag.java:318)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at org.apache.jsp._LayeredContainer._jspService(_LayeredContainer.java:1175)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:364)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:700)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:798)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1025)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.skins.Default.render(Default.java:70)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:75)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.elements.Component.render(Component.java:906)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.composition.elements.SingleEntryContainer.render(SingleEntryContainer.java:207)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.tags.CompositionRenderTag.doStartTag(CompositionRenderTag.java:318)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at org.apache.jsp._Home._jspService(_Home.java:93)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:364)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:700)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:798)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1025)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.screens.Default.render(Default.java:73)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:64)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.tags.ScreenRenderTag.doStartTag(ScreenRenderTag.java:69)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at org.apache.jsp._Default._jspService(_Default.java:5396)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:364)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:700)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:798)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1025)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.themes.Default.render(Default.java:129)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:71)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:817)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.engine.Servlet.doGet(Servlet.java:484)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:186)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1021)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)

[6/13/07 16:10:22:172 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:198)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)

[6/13/07 16:10:22:188 SGT] 175c8657 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

 

Link to comment
Share on other sites

Hi, Chart FX for Java should work with no problems in  this scenario, but it seems that is not able to find the license.  One quick test to do would be to change the httpContext in the constructor by the pageContext:

ChartServer chart1 = new ChartServer(pageContext,request,response); <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

If you are still getting the exception,technicall support will take over this issue for further debuging.

 

testchart.zip

Link to comment
Share on other sites

Hi,

I tried with pageContext and its not working either, and yes, initially I too suspected, it might be due to a license issue, but i am using only the trial version, and chartFX works in other environments, like jsp and struts.

I also tried to run the same code in a struts portlet, and it works fine, but the same chartFX code doesnt work in JSF portlet. As we are developing an application for our client who will be using chartFX with JSF portlet, it would be great if we get some technical support from your side for the same. Please let us know if chartFX cannot be run in JSF portlet, so that we would recommend for struts portlet instead. Thanks.

Nithy

Link to comment
Share on other sites

I believe it is not finding the license, in wich case it doesn't matter with type of license it is. 

I'm working to set up a a testing environment similar to yours, it will be great if you can send me a small sample app to deploy, so we can reproduce the issue quick and go directly to debugging. Send it to support@softwarefx.com to te attention of Gabriel Albano.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...