| Summary: | The viewing session is not available or has expired or org.eclipse.birt.report.service.api.ReportServiceException | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Missing name <ihorowit> |
| Component: | BIRT | Assignee: | Gang Liu <hustlg> |
| Status: | VERIFIED WORKSFORME | QA Contact: | Xiaodan Wang <xwang> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier, hustlg |
| Version: | unspecified | ||
| Target Milestone: | 3.7.0 | ||
| Hardware: | Other | ||
| OS: | other | ||
| Whiteboard: | |||
|
Description
Missing name
Could you please tell me on which version of BIRT you find this issue? Viewer Version : 2.6.1
Engine Version: 2.6.1
JRE version: 1.6.0_17
Notes:
We created a sticky Virtual ip in our load balancer that always resolves to one server and that fixes the issue mainly.
We're running SunOS 5.10 and SunOne 6.
I don't know if you officially support that configuration.
The sticky ip is not ideal. We'd prefer to use the load balancer properly.
There seems to be an old report document that doesn't get overwritten. Are they stored anywhere decides the documents directory. Could a shared tmp directory cause an issue? Sometimes restarting web servers causes the one that had been working, to throw the error and the one that had been throwing errors to work properly.
The errors we get vary from the one above to
"Stale NFS"
This one below and others. Thanks for your help.
java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
at sun.print.UnixPrintServiceLookup.getDefaultPrintService(UnixPrintServiceLookup.java:503)
at sun.print.UnixPrintServiceLookup.refreshServices(UnixPrintServiceLookup.java:186)
at sun.print.UnixPrintServiceLookup.getPrintServices(UnixPrintServiceLookup.java:170)
at sun.print.UnixPrintServiceLookup.getPrintServices(UnixPrintServiceLookup.java:358)
at sun.print.UnixPrintServiceLookup.getPrintServices(UnixPrintServiceLookup.java:445)
at javax.print.PrintServiceLookup.getServices(PrintServiceLookup.java:359)
at javax.print.PrintServiceLookup.lookupPrintServices(PrintServiceLookup.java:105)
at org.eclipse.birt.report.utility.PrintUtility.findPrinters(PrintUtility.java:248)
at org.apache.jsp.webcontent.birt.pages.dialog.PrintReportServerDialogFragment_jsp._jspService(PrintReportServerDialogFragment_jsp.java:96)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:457)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:351)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:792)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:548)
at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)
at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)
at org.apache.jsp.webcontent.birt.pages.dialog.DialogContainerFragment_jsp._jspService(DialogContainerFragment_jsp.java:106)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:457)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:351)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:792)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:548)
at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)
at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)
at org.apache.jsp.webcontent.birt.pages.layout.SidebarFragment_jsp._jspService(SidebarFragment_jsp.java:76)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:457)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:351)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:792)
at org.apache.catalina.core.ApplicationDispatcher.doInclude
If need create multiple Report Engine on the same machine, user should set an individual OSGi configuration folder for each Report Engine, also should copy the config.ini file to each configuration folder.
If all Report Engine share the same configuration folder, Class loading failure may occurs.
Sample Code:
EngineConfig config = new EngineConfig( );
....
HashMap osgiProperties = new HashMap();
osgiProperties .put("osgi.configuration.area", configFolder);
config.setOSGiConfig(map);
Platform.startup( config );
....
Could you please try this solution?
In this case, user should set an individual OSGi configuration folder for each Report Engine. Thanks Gang, We are working around by running on a single server. We never created multiple instances on the same machine. We have a NFS file system that is shared by separate machines. We will look at this further if the load becomes too much for the single machine. We don't use OSGI. You can close this if you wish. Thanks for your help. Set as Verified. |