|
Re: Chart not displayed on linux (FC 4) [message #513639 is a reply to message #513391] |
Wed, 10 February 2010 18:12 |
|
What browser are you using to view it? Can you change the type to png,
to check and see if it is an SVG viewer error?
Jason
chocai@yahoo.com wrote:
> Hi,
>
> I'm using birt 2.5.0 (everything worked fine when we were running 2.3),
> java 1.6 and tomcat to create a simple report that contains a chart in
> it. The report works perfectly when application is hosted on Windows
> but the image in the chart would not show up when the report is hosted
> on linux (FC4). I look in the temp image directory and the image file
> (.svg) is there under the default /report/images/sessionId/subSessionId
> folder. No error in the log even when it is set to finest. Any idea?
>
> Thanks
|
|
|
|
|
Re: Chart not displayed on linux (FC 4) [message #513721 is a reply to message #513708] |
Wed, 10 February 2010 23:28 |
No real name Messages: 7 Registered: February 2010 |
Junior Member |
|
|
My server started with java.awt.headless turned on and I don't see any error in the log. The image just would not show up .
html image source --> /preview?__sessionId=20100210_171252_006&__imageid=custo m954a64126ba1c68434.svg
-- preview servlet mapping
<servlet-mapping xmlns="http://java.sun.com/xml/ns/j2ee">^M
<servlet-name>EngineServlet</servlet-name>^M
<url-pattern>/preview</url-pattern>^M
</servlet-mapping>
<servlet xmlns="http://java.sun.com/xml/ns/j2ee">^M
<servlet-name>EngineServlet</servlet-name>^M
<servlet-class>org.eclipse.birt.report.servlet.BirtEngineServlet </servlet-class>^M
</servlet>
--log content after running report
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.ReportEngine openReportDesign
FINE: ReportEngine.openReportDesign: name=file:/appl/instances/MYAPP-6.0.0/PORT-80/deploy_myapp/m yapp_custom/reporting/birt/test.rptdesign, designStream=java.io.FileInputStream@a2f61b, options={3}
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.ReportEngine createGetParameterDefinitionTask
FINE: ReportEngine.createGetParameterDefinitionTask: reportRunnable=org.eclipse.birt.report.engine.api.impl.ReportRunnable@af7b3a
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
FINE: EngineTask.setAppContext: context=PARENT_CLASSLOADER=WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e24e2a
;webapplication.projectclasspath=;
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask setLocale
FINE: EngineTask.setLocale: locale=English (United States)
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
FINE: EngineTask.setAppContext: context=PARENT_CLASSLOADER=WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e24e2a
;CHART_RESOLUTION=null;org.eclipse.birt.data.engine.dataset. cache.option=false;org.eclipse.birt.data.engine.cube.inmemor y.size=0;webapplication.projectclasspath=;BIRT_VIEWER_HTTPSE RVET_REQUEST=org.apache.catalina.connector.RequestFacade@187dc25 ;birt.viewer.resource.path=/appl/myapp/apache-tomcat-6.0.16/ webapps/ROOT;
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
FINE: EngineTask.setAppContext: context=PARENT_CLASSLOADER=WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e24e2a
;webapplication.projectclasspath=;BIRT_VIEWER_HTTPSERVET_REQ UEST=org.apache.catalina.connector.RequestFacade@187dc25;
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.ReportEngine createRunAndRenderTask
FINE: ReportEngine.createRunAndRenderTask: reportRunnable=org.eclipse.birt.report.engine.api.impl.ReportRunnable@af7b3a
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
FINE: EngineTask.setAppContext: context=PARENT_CLASSLOADER=WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e24e2a
;webapplication.projectclasspath=;
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask setLocale
FINE: EngineTask.setLocale: locale=English (United States)
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
FINE: EngineTask.setAppContext: context=PARENT_CLASSLOADER=WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@e24e2a
;CHART_RESOLUTION=null;org.eclipse.birt.data.engine.dataset. cache.option=false;org.eclipse.birt.data.engine.cube.inmemor y.size=0;webapplication.projectclasspath=;BIRT_VIEWER_HTTPSE RVET_REQUEST=org.apache.catalina.connector.RequestFacade@187dc25 ;birt.viewer.resource.path=/appl/myapp/apache-tomcat-6.0.16/ webapps/ROOT;
Feb 10, 2010 5:12:52 PM org.eclipse.birt.report.engine.api.impl.EngineTask loggerParamters
FINE: Running the report with paramters:
Feb 10, 2010 5:12:52 PM org.eclipse.birt.data.engine.odaconsumer.Connection setOdaQuerySpec
INFO: Ignoring UnsupportedOperationException thrown by ODA driver (org.eclipse.birt.report.data.oda.jdbc); cannot set query specification before prepare.
|
|
|
Re: Chart not displayed on linux (FC 4) [message #513890 is a reply to message #513721] |
Thu, 11 February 2010 15:25 |
|
Run it again and get the new image src. Try to enter the url and see it
the image is displayed. ei
http://localhost:8080/WebViewer/preview?__sessionId=20100210 _171252_006&__imageid=custo
m954a64126ba1c68434.svg
I wonder if this is a permission issue.
Jason
chocai@yahoo.com wrote:
> My server started with java.awt.headless turned on and I don't see any
> error in the log. The image just would not show up :( .
>
> html image source -->
> /preview?__sessionId=20100210_171252_006&__imageid=custo
> m954a64126ba1c68434.svg
>
> -- preview servlet mapping
> <servlet-mapping xmlns="http://java.sun.com/xml/ns/j2ee">^M
> <servlet-name>EngineServlet</servlet-name>^M
> <url-pattern>/preview</url-pattern>^M
> </servlet-mapping>
>
> <servlet xmlns="http://java.sun.com/xml/ns/j2ee">^M
> <servlet-name>EngineServlet</servlet-name>^M
> <servlet-class>org.eclipse.birt.report.servlet.BirtEngineServlet
> </servlet-class>^M
> </servlet>
>
> --log content after running report
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.ReportEngine openReportDesign
> FINE: ReportEngine.openReportDesign:
> name=file:/appl/instances/MYAPP-6.0.0/PORT-80/deploy_myapp/m
> yapp_custom/reporting/birt/test.rptdesign,
> designStream=mailto:java.io.FileInputStream@a2f61b, options={3}
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.ReportEngine
> createGetParameterDefinitionTask
> FINE: ReportEngine.createGetParameterDefinitionTask:
> reportRunnable=mailto:org.eclipse.birt.report.engine.api.impl.ReportRunnable@af7b3a
>
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
> FINE: EngineTask.setAppContext:
> context=PARENT_CLASSLOADER=WebappClassLoader
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> mailto:org.apache.catalina.loader.StandardClassLoader@e24e2a
> ;webapplication.projectclasspath=;
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setLocale
> FINE: EngineTask.setLocale: locale=English (United States)
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
> FINE: EngineTask.setAppContext:
> context=PARENT_CLASSLOADER=WebappClassLoader
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> mailto:org.apache.catalina.loader.StandardClassLoader@e24e2a
> ;CHART_RESOLUTION=null;org.eclipse.birt.data.engine.dataset.
> cache.option=false;org.eclipse.birt.data.engine.cube.inmemor
> y.size=0;webapplication.projectclasspath=;BIRT_VIEWER_HTTPSE
> RVET_REQUEST=mailto:org.apache.catalina.connector.RequestFacade@187dc25
> ;birt.viewer.resource.path=/appl/myapp/apache-tomcat-6.0.16/ webapps/ROOT;
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
> FINE: EngineTask.setAppContext:
> context=PARENT_CLASSLOADER=WebappClassLoader
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> mailto:org.apache.catalina.loader.StandardClassLoader@e24e2a
> ;webapplication.projectclasspath=;BIRT_VIEWER_HTTPSERVET_REQ
> UEST=mailto:org.apache.catalina.connector.RequestFacade@187dc25;
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.ReportEngine createRunAndRenderTask
> FINE: ReportEngine.createRunAndRenderTask:
> reportRunnable=mailto:org.eclipse.birt.report.engine.api.impl.ReportRunnable@af7b3a
>
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
> FINE: EngineTask.setAppContext:
> context=PARENT_CLASSLOADER=WebappClassLoader
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> mailto:org.apache.catalina.loader.StandardClassLoader@e24e2a
> ;webapplication.projectclasspath=;
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setLocale
> FINE: EngineTask.setLocale: locale=English (United States)
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask setAppContext
> FINE: EngineTask.setAppContext:
> context=PARENT_CLASSLOADER=WebappClassLoader
> delegate: false
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> mailto:org.apache.catalina.loader.StandardClassLoader@e24e2a
> ;CHART_RESOLUTION=null;org.eclipse.birt.data.engine.dataset.
> cache.option=false;org.eclipse.birt.data.engine.cube.inmemor
> y.size=0;webapplication.projectclasspath=;BIRT_VIEWER_HTTPSE
> RVET_REQUEST=mailto:org.apache.catalina.connector.RequestFacade@187dc25
> ;birt.viewer.resource.path=/appl/myapp/apache-tomcat-6.0.16/ webapps/ROOT;
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.report.engine.api.impl.EngineTask loggerParamters
> FINE: Running the report with paramters:
> Feb 10, 2010 5:12:52 PM
> org.eclipse.birt.data.engine.odaconsumer.Connection setOdaQuerySpec
> INFO: Ignoring UnsupportedOperationException thrown by ODA driver
> (org.eclipse.birt.report.data.oda.jdbc); cannot set query specification
> before prepare.
>
|
|
|
|
Re: Chart not displayed on linux (FC 4) [message #513901 is a reply to message #513894] |
Thu, 11 February 2010 11:08 |
|
Try one more time using a chart type of PNG.
Jason
chocai@yahoo.com wrote:
> I tried that and nothing showed either, body with empty <pre> tag. It
> looks like the code goes into some strange block of code that does
> nothing under some weird condition. It would be too much trouble for me
> to set up a linux development environment to debug this :(
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04063 seconds