Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Re: Running BIRT performance tests

Hi,

I can now run the perf tests successfully using the source from head.
I think the problem was the xerces plugin in my environment. I had
downloaded this plugin project for building BIRT viewer. When I
unchecked this plugin (from list of plugins in the Eclipse run
application window) and ran the test, all cases passed.

I hope this is okay.

Thanks,
Deepa


On 1/22/07, Deepa Remesh <dremesh@xxxxxxxxx> wrote:
Hi,

I tried to run the performance tests in
org.eclipse.birt.test.performance using the instructions specified in
org.eclipse.birt.test.performance.readme file. I could get the html
cases (case-1threads-html, case-10threads-html) working but I get the
following linkage error for the pdf case:

Begin, Thread[name="RenderAll", id="0"] report[Corporation.rptdesign]
Exception in thread "RenderAll" java.lang.LinkageError: loader
constraints violated when linking org/w3c/dom/css/CSSValue class

It looks like I have some mismatch in the jars containing above class
but I have not been able to figure a way out. I built the source and
ran the test from the same Eclipse environment. I am using BIRT 2.2M4
build and source from the head. From what I see, in the BIRT
environment, this class can be present in xml-apis.jar in
org.apache.xerces plugin and also part of jdk. But so far, I have not
been able to sort the jar dependency to get the pdf case working.

I would appreciate if someone can help me to sort this out.

Thanks,
Deepa

-----------------------------------------------------------------------------------------------------------------------------------
Stack trace
-----------------------------------------------------------------------------------------------------------------------------------
Begin, Thread[name="RenderAll", id="0"] report[Corporation.rptdesign]
Exception in thread "RenderAll" java.lang.LinkageError: loader
constraints violated when linking org/w3c/dom/css/CSSValue class
        at org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRender.newPage(PDFEmitter.java:635)
        at org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRender.startContainer(PDFEmitter.java:569)
        at org.eclipse.birt.report.engine.layout.area.impl.ContainerArea.accept(ContainerArea.java:64)
        at org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter.startPage(PDFEmitter.java:112)
        at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.startPage(CompositeContentEmitter.java:285)
        at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.endPage(PDFPageLM.java:281)
        at org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(PDFPageLM.java:204)
        at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layoutReport(PDFReportLayoutEngine.java:56)
        at org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEngine.layout(PDFReportLayoutEngine.java:72)
        at org.eclipse.birt.report.engine.api.impl.RenderTask$InnerRender.render(RenderTask.java:434)
        at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:540)
        at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:350)
        at org.eclipse.birt.test.performance.RenderThread.run(RenderThread.java:181)



Back to the top