Skip to main content



      Home
Home » Archived » BIRT » Several questions after two weeks of development
Several questions after two weeks of development [message #227909] Mon, 19 March 2007 10:28 Go to next message
Eclipse UserFriend
Last two weeks I spent to develop custom datasource/datasets and design a
sample report. I don't need to publish my report but it should work in
Eclipse runtime.

So I have several question:

1 - why a jump by hyperlink takes so much time? It come up to time for
generating whole report. I have a single page HTML and can't understand
where viewer spent it. A profiler shows that most of time viewer do
"layout" - it is so strange because whole page already has been rendered.

2 - Is it possible to persist a report to HTML file with could be shown in
bowser without BIRT enviroment?

3 - I have tried to out my report to PDF but had an error :
root cause java.lang.LinkageError: loader constraint violation: when
resolving interface method
" org.eclipse.birt.report.engine.content.IStyle.getProperty(I) Lorg/w3c/dom/css/CSSValue; "
the class loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
class, org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter$PDFRen der, and
the class loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved
class, org/eclipse/birt/report/engine/content/IStyle, have different Class
objects for the type org/w3c/dom/css/CSSValue used in the signature
at
org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.newPage(PDFEmitter.java:652)
at
org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.startContainer(PDFEmitter.java:585)
....

I have found similar case in
http://dev.eclipse.org/mhonarc/lists/birt-dev/msg07002.html with a solution
to trow out the xerces plugin. As result of applying this solution a lot
modules could not start but I got ability to see my report in PDF format. I
guess should be some less destructive sollution.
Re: Several questions after two weeks of development [message #228145 is a reply to message #227909] Mon, 19 March 2007 12:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Kirill A. Balod wrote:
> Last two weeks I spent to develop custom datasource/datasets and design a
> sample report. I don't need to publish my report but it should work in
> Eclipse runtime.
>
> So I have several question:
>
> 1 - why a jump by hyperlink takes so much time? It come up to time for
> generating whole report. I have a single page HTML and can't understand
> where viewer spent it. A profiler shows that most of time viewer do
> "layout" - it is so strange because whole page already has been rendered.
>
> 2 - Is it possible to persist a report to HTML file with could be shown in
> bowser without BIRT enviroment?
>
> 3 - I have tried to out my report to PDF but had an error :
> root cause java.lang.LinkageError: loader constraint violation: when
> resolving interface method
> " org.eclipse.birt.report.engine.content.IStyle.getProperty(I) Lorg/w3c/dom/css/CSSValue; "
> the class loader (instance of
> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
> class, org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter$PDFRen der, and
> the class loader (instance of
> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved
> class, org/eclipse/birt/report/engine/content/IStyle, have different Class
> objects for the type org/w3c/dom/css/CSSValue used in the signature
> at
> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.newPage(PDFEmitter.java:652)
> at
> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.startContainer(PDFEmitter.java:585)
> ...
>
> I have found similar case in
> http://dev.eclipse.org/mhonarc/lists/birt-dev/msg07002.html with a solution
> to trow out the xerces plugin. As result of applying this solution a lot
> modules could not start but I got ability to see my report in PDF format. I
> guess should be some less destructive sollution.
>
>
What version of BIRT are you using?
1 - How is the hyperlink built? verify that the rptdocument is not
getting overwritten if you are linking to it.

2 - Yes this is possible with the engine. This capability is not in the
BIRT Viewer though. Take a look at this example to see how to deploy the
engine in a servlet.
http://wiki.eclipse.org/index.php/Servlet_Example
Within the engine you can set an output filename instead of a stream.
I assume you want to do this in regards to question 1, where you then
could use the hyperlink editor to link directly to an html file.

3 - What install of BIRT did you use? The allinone?

Jason
Re: Several questions after two weeks of development [message #228192 is a reply to message #228145] Mon, 19 March 2007 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for fast reply,

Ups, BIRT version is 2.2M5 (see full description of configuration below)

> 1 - How is the hyperlink built?
- hyperlink built as "Internal bookmark" is chosen, URI value is
'row["Name"]'

> verify that the rptdocument is not getting overwritten if you are linking
> to it.
- how can I do it?

> 3 - What install of BIRT did you use? The allinone?

Configuration is:

eclipse-SDK-3.3M5eh-win32.zip
birt-report-framework-sdk-2.2M5.zip
emf-sdo-xsd-SDK-2.3.0M5.zip
emft-query-SDK-1.1M5.zip
emft-transaction-SDK-1.1M5.zip
emft-validation-SDK-1.1M5.zip
GEF-ALL-3.3M5.zip
GMF-sdk-2.0M5.zip
mdt-ocl-SDK-1.1M5.zip
uml2-SDK-2.1M5.zip

jre1.5.0_09

itext-1.4.6.jar

All extensions are linked to eclipse. If all extensions are installed all
together with eclipse - result the same. To get PDF I tried to "View report
as PDF" and ""View report in Web Viewer"->"Print as PDF" both failed. Full
exception:

19.03.2007 20:42:02 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask
doRun
SEVERE: Error happened while running the report.
java.lang.LinkageError: loader constraints violated when linking
org/w3c/dom/css/CSSValue class
at
org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.newPage(PDFEmitter.java:652)
at
org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.startContainer(PDFEmitter.java:585)
at
org.eclipse.birt.report.engine.layout.area.impl.ContainerAre a.accept(ContainerArea.java:64)
at
org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter.startP age(PDFEmitter.java:110)
at
org.eclipse.birt.report.engine.emitter.CompositeContentEmitt er.startPage(CompositeContentEmitter.java:284)
at
org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.endPage( PDFPageLM.java:293)
at
org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(P DFPageLM.java:216)
at
org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layoutReport(PDFReportLayoutEngine.java:61)
at
org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layout(PDFReportLayoutEngine.java:78)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:203)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:125)
at
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
Source)
at
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
Source)
at
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
Source)
at
org.eclipse.birt.report.presentation.aggregation.layout.RunF ragment.doService(Unknown
Source)
at
org.eclipse.birt.report.presentation.aggregation.layout.Fram esetFragment.service(Unknown
Source)
at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(Unknow n
Source)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)



"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:etmfcr$3mg$1@utils.eclipse.org...
> Kirill A. Balod wrote:
>> Last two weeks I spent to develop custom datasource/datasets and design a
>> sample report. I don't need to publish my report but it should work in
>> Eclipse runtime.
>>
>> So I have several question:
>>
>> 1 - why a jump by hyperlink takes so much time? It come up to time for
>> generating whole report. I have a single page HTML and can't understand
>> where viewer spent it. A profiler shows that most of time viewer do
>> "layout" - it is so strange because whole page already has been rendered.
>>
>> 2 - Is it possible to persist a report to HTML file with could be shown
>> in bowser without BIRT enviroment?
>>
>> 3 - I have tried to out my report to PDF but had an error :
>> root cause java.lang.LinkageError: loader constraint violation: when
>> resolving interface method
>> " org.eclipse.birt.report.engine.content.IStyle.getProperty(I) Lorg/w3c/dom/css/CSSValue; "
>> the class loader (instance of
>> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
>> class, org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter$PDFRen der,
>> and the class loader (instance of
>> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved
>> class, org/eclipse/birt/report/engine/content/IStyle, have different
>> Class objects for the type org/w3c/dom/css/CSSValue used in the signature
>> at
>> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.newPage(PDFEmitter.java:652)
>> at
>> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.startContainer(PDFEmitter.java:585)
>> ...
>>
>> I have found similar case in
>> http://dev.eclipse.org/mhonarc/lists/birt-dev/msg07002.html with a
>> solution to trow out the xerces plugin. As result of applying this
>> solution a lot modules could not start but I got ability to see my report
>> in PDF format. I guess should be some less destructive sollution.
> What version of BIRT are you using?
> 1 - How is the hyperlink built? verify that the rptdocument is not getting
> overwritten if you are linking to it.
>
> 2 - Yes this is possible with the engine. This capability is not in the
> BIRT Viewer though. Take a look at this example to see how to deploy the
> engine in a servlet.
> http://wiki.eclipse.org/index.php/Servlet_Example
> Within the engine you can set an output filename instead of a stream.
> I assume you want to do this in regards to question 1, where you then
> could use the hyperlink editor to link directly to an html file.
>
> 3 - What install of BIRT did you use? The allinone?
>
> Jason
Re: Several questions after two weeks of development [message #228208 is a reply to message #228192] Mon, 19 March 2007 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Kirill A. Balod wrote:
> Thanks for fast reply,
>
> Ups, BIRT version is 2.2M5 (see full description of configuration below)
>
>> 1 - How is the hyperlink built?
> - hyperlink built as "Internal bookmark" is chosen, URI value is
> 'row["Name"]'
>
>> verify that the rptdocument is not getting overwritten if you are linking
>> to it.
> - how can I do it?
>
>> 3 - What install of BIRT did you use? The allinone?
>
> Configuration is:
>
> eclipse-SDK-3.3M5eh-win32.zip
> birt-report-framework-sdk-2.2M5.zip
> emf-sdo-xsd-SDK-2.3.0M5.zip
> emft-query-SDK-1.1M5.zip
> emft-transaction-SDK-1.1M5.zip
> emft-validation-SDK-1.1M5.zip
> GEF-ALL-3.3M5.zip
> GMF-sdk-2.0M5.zip
> mdt-ocl-SDK-1.1M5.zip
> uml2-SDK-2.1M5.zip
>
> jre1.5.0_09
>
> itext-1.4.6.jar
>
> All extensions are linked to eclipse. If all extensions are installed all
> together with eclipse - result the same. To get PDF I tried to "View report
> as PDF" and ""View report in Web Viewer"->"Print as PDF" both failed. Full
> exception:
>
> 19.03.2007 20:42:02 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask
> doRun
> SEVERE: Error happened while running the report.
> java.lang.LinkageError: loader constraints violated when linking
> org/w3c/dom/css/CSSValue class
> at
> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.newPage(PDFEmitter.java:652)
> at
> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.startContainer(PDFEmitter.java:585)
> at
> org.eclipse.birt.report.engine.layout.area.impl.ContainerAre a.accept(ContainerArea.java:64)
> at
> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter.startP age(PDFEmitter.java:110)
> at
> org.eclipse.birt.report.engine.emitter.CompositeContentEmitt er.startPage(CompositeContentEmitter.java:284)
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.endPage( PDFPageLM.java:293)
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(P DFPageLM.java:216)
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layoutReport(PDFReportLayoutEngine.java:61)
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layout(PDFReportLayoutEngine.java:78)
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:203)
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:125)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.layout.RunF ragment.doService(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.layout.Fram esetFragment.service(Unknown
> Source)
> at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(Unknow n
> Source)
> at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
> at java.lang.Thread.run(Unknown Source)
>
>
>
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:etmfcr$3mg$1@utils.eclipse.org...
>> Kirill A. Balod wrote:
>>> Last two weeks I spent to develop custom datasource/datasets and design a
>>> sample report. I don't need to publish my report but it should work in
>>> Eclipse runtime.
>>>
>>> So I have several question:
>>>
>>> 1 - why a jump by hyperlink takes so much time? It come up to time for
>>> generating whole report. I have a single page HTML and can't understand
>>> where viewer spent it. A profiler shows that most of time viewer do
>>> "layout" - it is so strange because whole page already has been rendered.
>>>
>>> 2 - Is it possible to persist a report to HTML file with could be shown
>>> in bowser without BIRT enviroment?
>>>
>>> 3 - I have tried to out my report to PDF but had an error :
>>> root cause java.lang.LinkageError: loader constraint violation: when
>>> resolving interface method
>>> " org.eclipse.birt.report.engine.content.IStyle.getProperty(I) Lorg/w3c/dom/css/CSSValue; "
>>> the class loader (instance of
>>> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
>>> class, org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter$PDFRen der,
>>> and the class loader (instance of
>>> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved
>>> class, org/eclipse/birt/report/engine/content/IStyle, have different
>>> Class objects for the type org/w3c/dom/css/CSSValue used in the signature
>>> at
>>> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.newPage(PDFEmitter.java:652)
>>> at
>>> org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter$PDFRen der.startContainer(PDFEmitter.java:585)
>>> ...
>>>
>>> I have found similar case in
>>> http://dev.eclipse.org/mhonarc/lists/birt-dev/msg07002.html with a
>>> solution to trow out the xerces plugin. As result of applying this
>>> solution a lot modules could not start but I got ability to see my report
>>> in PDF format. I guess should be some less destructive sollution.
>> What version of BIRT are you using?
>> 1 - How is the hyperlink built? verify that the rptdocument is not getting
>> overwritten if you are linking to it.
>>
>> 2 - Yes this is possible with the engine. This capability is not in the
>> BIRT Viewer though. Take a look at this example to see how to deploy the
>> engine in a servlet.
>> http://wiki.eclipse.org/index.php/Servlet_Example
>> Within the engine you can set an output filename instead of a stream.
>> I assume you want to do this in regards to question 1, where you then
>> could use the hyperlink editor to link directly to an html file.
>>
>> 3 - What install of BIRT did you use? The allinone?
>>
>> Jason
>
>
>
1 - You do not have to verify this if you are using an internal bookmark
(if you ever need to set the Window->preferences->report design->preview
always use external browsers to true and look at the url for __overwrite
=true).
The internal Bookmark should be very fast.
can you post the report?

3 - Can you log a bug for this. I did not have this problem with the
allinone.


Jason
Re: Several questions after two weeks of development [message #228567 is a reply to message #228208] Tue, 20 March 2007 11:28 Go to previous messageGo to next message
Eclipse UserFriend
"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:etmjnt$e0q$1@utils.eclipse.org...
> 1 - You do not have to verify this if you are using an internal bookmark
> (if you ever need to set the Window->preferences->report design->preview
> always use external browsers to true and look at the url for __overwrite
> =true).
> The internal Bookmark should be very fast.
> can you post the report?
>
> 3 - Can you log a bug for this. I did not have this problem with the
> allinone.
>
>
> Jason
1 - Report is attached. But it is using custom datasources with I have
implemented.
2 - Bug submited.


Re: Several questions after two weeks of development [message #228682 is a reply to message #228567] Tue, 20 March 2007 13:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Kirill A. Balod wrote:
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:etmjnt$e0q$1@utils.eclipse.org...
>> 1 - You do not have to verify this if you are using an internal bookmark
>> (if you ever need to set the Window->preferences->report design->preview
>> always use external browsers to true and look at the url for __overwrite
>> =true).
>> The internal Bookmark should be very fast.
>> can you post the report?
>>
>> 3 - Can you log a bug for this. I did not have this problem with the
>> allinone.
>>
>>
>> Jason
> 1 - Report is attached. But it is using custom datasources with I have
> implemented.
> 2 - Bug submited.
>
>
I wrote a sample report that uses expressions like you did.
I noticed that when using the WebViewer the bookmark drill happened
very fast. But when using the /run mapping it was slow (Which is what
happens when you preview in HTML (one html page)). As a work around you
can modify your web.xml from

<servlet-mapping>
<servlet-name>ViewerServlet</servlet-name>
<url-pattern>/run</url-pattern>
</servlet-mapping>

To


<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/run</url-pattern>
</servlet-mapping>

I will submit a bug on this behavior.

Jason
Re: Several questions after two weeks of development [message #228863 is a reply to message #228682] Wed, 21 March 2007 07:00 Go to previous messageGo to next message
Eclipse UserFriend
Thanks a lot.

"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:etp4gi$5r2$1@utils.eclipse.org...
> Kirill A. Balod wrote:
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:etmjnt$e0q$1@utils.eclipse.org...
>>> 1 - You do not have to verify this if you are using an internal bookmark
>>> (if you ever need to set the Window->preferences->report design->preview
>>> always use external browsers to true and look at the url for __overwrite
>>> =true).
>>> The internal Bookmark should be very fast.
>>> can you post the report?
>>>
>>> 3 - Can you log a bug for this. I did not have this problem with the
>>> allinone.
>>>
>>>
>>> Jason
>> 1 - Report is attached. But it is using custom datasources with I have
>> implemented.
>> 2 - Bug submited.
> I wrote a sample report that uses expressions like you did.
> I noticed that when using the WebViewer the bookmark drill happened very
> fast. But when using the /run mapping it was slow (Which is what happens
> when you preview in HTML (one html page)). As a work around you can
> modify your web.xml from
>
> <servlet-mapping>
> <servlet-name>ViewerServlet</servlet-name>
> <url-pattern>/run</url-pattern>
> </servlet-mapping>
>
> To
>
>
> <servlet-mapping>
> <servlet-name>EngineServlet</servlet-name>
> <url-pattern>/run</url-pattern>
> </servlet-mapping>
>
> I will submit a bug on this behavior.
>
> Jason
Re: Several questions after two weeks of development [message #228904 is a reply to message #228682] Wed, 21 March 2007 08:57 Go to previous messageGo to next message
Eclipse UserFriend
I have changed <servlet-mapping> as you mentioned.
In internal viewer (tab preview) bookmark stoped work at all. The same
behavior when I use external browser IE7 or FireFox (IE7 also reports error:
"line 1, char 1, code 0 Erorr:Object expected" )
Best Kirill.

"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:etp4gi$5r2$1@utils.eclipse.org...
> Kirill A. Balod wrote:
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:etmjnt$e0q$1@utils.eclipse.org...
>>> 1 - You do not have to verify this if you are using an internal bookmark
>>> (if you ever need to set the Window->preferences->report design->preview
>>> always use external browsers to true and look at the url for __overwrite
>>> =true).
>>> The internal Bookmark should be very fast.
>>> can you post the report?
>>>
>>> 3 - Can you log a bug for this. I did not have this problem with the
>>> allinone.
>>>
>>>
>>> Jason
>> 1 - Report is attached. But it is using custom datasources with I have
>> implemented.
>> 2 - Bug submited.
> I wrote a sample report that uses expressions like you did.
> I noticed that when using the WebViewer the bookmark drill happened very
> fast. But when using the /run mapping it was slow (Which is what happens
> when you preview in HTML (one html page)). As a work around you can
> modify your web.xml from
>
> <servlet-mapping>
> <servlet-name>ViewerServlet</servlet-name>
> <url-pattern>/run</url-pattern>
> </servlet-mapping>
>
> To
>
>
> <servlet-mapping>
> <servlet-name>EngineServlet</servlet-name>
> <url-pattern>/run</url-pattern>
> </servlet-mapping>
>
> I will submit a bug on this behavior.
>
> Jason
Re: Several questions after two weeks of development [message #228946 is a reply to message #228904] Wed, 21 March 2007 10:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Kirill A. Balod wrote:
> I have changed <servlet-mapping> as you mentioned.
> In internal viewer (tab preview) bookmark stoped work at all. The same
> behavior when I use external browser IE7 or FireFox (IE7 also reports error:
> "line 1, char 1, code 0 Erorr:Object expected" )
> Best Kirill.
>
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:etp4gi$5r2$1@utils.eclipse.org...
>> Kirill A. Balod wrote:
>>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>>> news:etmjnt$e0q$1@utils.eclipse.org...
>>>> 1 - You do not have to verify this if you are using an internal bookmark
>>>> (if you ever need to set the Window->preferences->report design->preview
>>>> always use external browsers to true and look at the url for __overwrite
>>>> =true).
>>>> The internal Bookmark should be very fast.
>>>> can you post the report?
>>>>
>>>> 3 - Can you log a bug for this. I did not have this problem with the
>>>> allinone.
>>>>
>>>>
>>>> Jason
>>> 1 - Report is attached. But it is using custom datasources with I have
>>> implemented.
>>> 2 - Bug submited.
>> I wrote a sample report that uses expressions like you did.
>> I noticed that when using the WebViewer the bookmark drill happened very
>> fast. But when using the /run mapping it was slow (Which is what happens
>> when you preview in HTML (one html page)). As a work around you can
>> modify your web.xml from
>>
>> <servlet-mapping>
>> <servlet-name>ViewerServlet</servlet-name>
>> <url-pattern>/run</url-pattern>
>> </servlet-mapping>
>>
>> To
>>
>>
>> <servlet-mapping>
>> <servlet-name>EngineServlet</servlet-name>
>> <url-pattern>/run</url-pattern>
>> </servlet-mapping>
>>
>> I will submit a bug on this behavior.
>>
>> Jason
>
>
I am using IE6 and I did not get this error. Where did you make the
change? BTW did you try the bookmarks with the webviewer? I also
logged a bug for this yesterday.

Jason
Re: Several questions after two weeks of development [message #229324 is a reply to message #228946] Thu, 22 March 2007 03:05 Go to previous messageGo to next message
Eclipse UserFriend
I have changed it in
org.eclipse.birt.report.viewer_2.2.0.v20070208\birt\WEB-INF\ web.xml
I tried the bookmarks every where it possible. Look like
"javascript:catchBookmark" is not recognized.

"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:etrf2e$mh0$1@utils.eclipse.org...
> Kirill A. Balod wrote:
>> I have changed <servlet-mapping> as you mentioned.
>> In internal viewer (tab preview) bookmark stoped work at all. The same
>> behavior when I use external browser IE7 or FireFox (IE7 also reports
>> error: "line 1, char 1, code 0 Erorr:Object expected" )
>> Best Kirill.
>>
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:etp4gi$5r2$1@utils.eclipse.org...
>>> Kirill A. Balod wrote:
>>>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>>>> news:etmjnt$e0q$1@utils.eclipse.org...
>>>>> 1 - You do not have to verify this if you are using an internal
>>>>> bookmark
>>>>> (if you ever need to set the Window->preferences->report
>>>>> design->preview
>>>>> always use external browsers to true and look at the url for
>>>>> __overwrite
>>>>> =true).
>>>>> The internal Bookmark should be very fast.
>>>>> can you post the report?
>>>>>
>>>>> 3 - Can you log a bug for this. I did not have this problem with the
>>>>> allinone.
>>>>>
>>>>>
>>>>> Jason
>>>> 1 - Report is attached. But it is using custom datasources with I have
>>>> implemented.
>>>> 2 - Bug submited.
>>> I wrote a sample report that uses expressions like you did.
>>> I noticed that when using the WebViewer the bookmark drill happened
>>> very fast. But when using the /run mapping it was slow (Which is what
>>> happens when you preview in HTML (one html page)). As a work around you
>>> can modify your web.xml from
>>>
>>> <servlet-mapping>
>>> <servlet-name>ViewerServlet</servlet-name>
>>> <url-pattern>/run</url-pattern>
>>> </servlet-mapping>
>>>
>>> To
>>>
>>>
>>> <servlet-mapping>
>>> <servlet-name>EngineServlet</servlet-name>
>>> <url-pattern>/run</url-pattern>
>>> </servlet-mapping>
>>>
>>> I will submit a bug on this behavior.
>>>
>>> Jason
>>
>>
> I am using IE6 and I did not get this error. Where did you make the
> change? BTW did you try the bookmarks with the webviewer? I also logged
> a bug for this yesterday.
>
> Jason
Re: Several questions after two weeks of development [message #229583 is a reply to message #229324] Thu, 22 March 2007 12:58 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Kirill A. Balod wrote:
> I have changed it in
> org.eclipse.birt.report.viewer_2.2.0.v20070208\birt\WEB-INF\ web.xml
> I tried the bookmarks every where it possible. Look like
> "javascript:catchBookmark" is not recognized.
>
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:etrf2e$mh0$1@utils.eclipse.org...
>> Kirill A. Balod wrote:
>>> I have changed <servlet-mapping> as you mentioned.
>>> In internal viewer (tab preview) bookmark stoped work at all. The same
>>> behavior when I use external browser IE7 or FireFox (IE7 also reports
>>> error: "line 1, char 1, code 0 Erorr:Object expected" )
>>> Best Kirill.
>>>
>>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>>> news:etp4gi$5r2$1@utils.eclipse.org...
>>>> Kirill A. Balod wrote:
>>>>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>>>>> news:etmjnt$e0q$1@utils.eclipse.org...
>>>>>> 1 - You do not have to verify this if you are using an internal
>>>>>> bookmark
>>>>>> (if you ever need to set the Window->preferences->report
>>>>>> design->preview
>>>>>> always use external browsers to true and look at the url for
>>>>>> __overwrite
>>>>>> =true).
>>>>>> The internal Bookmark should be very fast.
>>>>>> can you post the report?
>>>>>>
>>>>>> 3 - Can you log a bug for this. I did not have this problem with the
>>>>>> allinone.
>>>>>>
>>>>>>
>>>>>> Jason
>>>>> 1 - Report is attached. But it is using custom datasources with I have
>>>>> implemented.
>>>>> 2 - Bug submited.
>>>> I wrote a sample report that uses expressions like you did.
>>>> I noticed that when using the WebViewer the bookmark drill happened
>>>> very fast. But when using the /run mapping it was slow (Which is what
>>>> happens when you preview in HTML (one html page)). As a work around you
>>>> can modify your web.xml from
>>>>
>>>> <servlet-mapping>
>>>> <servlet-name>ViewerServlet</servlet-name>
>>>> <url-pattern>/run</url-pattern>
>>>> </servlet-mapping>
>>>>
>>>> To
>>>>
>>>>
>>>> <servlet-mapping>
>>>> <servlet-name>EngineServlet</servlet-name>
>>>> <url-pattern>/run</url-pattern>
>>>> </servlet-mapping>
>>>>
>>>> I will submit a bug on this behavior.
>>>>
>>>> Jason
>>>
>> I am using IE6 and I did not get this error. Where did you make the
>> change? BTW did you try the bookmarks with the webviewer? I also logged
>> a bug for this yesterday.
>>
>> Jason
>
>
If you use the internal browser this fails? When you preview do you use
an external browser? Have you tried this in the deployed version of BIRT?

Jason
Previous Topic:Viewer Integration - URL problems..
Next Topic:access to dataset before it is used by a report element
Goto Forum:
  


Current Time: Mon Nov 10 13:25:55 EST 2025

Powered by FUDForum. Page generated in 0.06319 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top