Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT not working with IE8 with tomcat, Object expected error
BIRT not working with IE8 with tomcat, Object expected error [message #733657] Wed, 05 October 2011 10:36 Go to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
I installed BIRT with tomcat and trying to test the default reports provided. In IE8 it is giving me error at attached. In Firefox, it is not displaying any report, instead the blank is appearing.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #733746 is a reply to message #733657] Wed, 05 October 2011 14:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

What port do you have tomcat running on? Port 80?
Can you try it on a different port like 8080?

Jason

On 10/5/2011 6:36 AM, shabz wrote:
> I installed BIRT with tomcat and trying to test the default reports provided. In IE8 it is giving me error at attached. In Firefox, it is not displaying any report, instead the blank is appearing.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #733752 is a reply to message #733746] Wed, 05 October 2011 14:59 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Yeah its on 80.
I'll try to run it on 8080 but what may be the reasons for this issue...
Re: BIRT not working with IE8 with tomcat, Object expected error [message #733780 is a reply to message #733752] Wed, 05 October 2011 15:31 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

The viewer uses AJAX and web services to update the frameset. I am
wondering if there is a port conflict. You could try using the preview
mapping instead of the frameset as well. I also noticed in the
screenshot that the image is trying to get to port 8086.

Jason

On 10/5/2011 10:59 AM, shabz wrote:
> Yeah its on 80.
> I'll try to run it on 8080 but what may be the reasons for this issue...
Re: BIRT not working with IE8 with tomcat, Object expected error [message #733847 is a reply to message #733780] Wed, 05 October 2011 19:16 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Thanks Jason for your quick tips,

As of now tomcat 6 is running behind Apache 2, can this be the reason? What changes will be required in Apache in this case?
Re: BIRT not working with IE8 with tomcat, Object expected error [message #733859 is a reply to message #733847] Wed, 05 October 2011 19:45 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

You may need to change the base_url property. Take a look at:
http://www.eclipsezone.com/eclipse/forums/t81144.html

You can also add it to the viewer.properties file I believe.
try something like
base_url=yoururltoapache/birt


Jason

On 10/5/2011 3:16 PM, shabz wrote:
> Thanks Jason for your quick tips,
>
> As of now tomcat 6 is running behind Apache 2, can this be the reason?
> What changes will be required in Apache in this case?
Re: BIRT not working with IE8 with tomcat, Object expected error [message #735691 is a reply to message #733859] Wed, 12 October 2011 14:49 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Thanks Jason,

It is working fine with the changes but only in "preview". Frameset still shows same error.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #735738 is a reply to message #735691] Wed, 12 October 2011 15:23 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you open a bugzilla entry for this? This should work by changing
the base url.

Jason

On 10/12/2011 10:49 AM, shabz wrote:
> Thanks Jason,
>
> It is working fine with the changes but only in "preview". Frameset
> still shows same error.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #752142 is a reply to message #735738] Wed, 26 October 2011 09:37 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Its added.

id=362042
Re: BIRT not working with IE8 with tomcat, Object expected error [message #752453 is a reply to message #752142] Wed, 26 October 2011 11:53 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Now when we have removed Apache and using the tomcat directly, the same issue appears with frameset. Same as in attached file. Preview is fine. OS is RedHat.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #752770 is a reply to message #752453] Wed, 26 October 2011 14:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Did you reset the base url?

Jason


On 10/26/2011 7:53 AM, shabz wrote:
> Now when we have removed Apache and using the tomcat directly, the same
> issue appears with frameset. Same as in attached file. Preview is fine.
> OS is RedHat.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #752774 is a reply to message #752770] Wed, 26 October 2011 14:11 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
yeah, back to default
Re: BIRT not working with IE8 with tomcat, Object expected error [message #752786 is a reply to message #752774] Wed, 26 October 2011 14:14 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Is this the same error?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351036

Jason

On 10/26/2011 10:11 AM, shabz wrote:
> yeah, back to default
Re: BIRT not working with IE8 with tomcat, Object expected error [message #752804 is a reply to message #752786] Wed, 26 October 2011 14:23 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Not exactly, first page doesn't load. After long time it starts loading with same result as attached in this post. Images don't come and with the shown script error. Firefox also keeps on loading, but never shows the report. Same issue in "run" mode as well. "Preveiw mode is fine".
This error is reproducible using the test report also as shown in attached image.

[Updated on: Wed, 26 October 2011 14:23]

Report message to a moderator

Re: BIRT not working with IE8 with tomcat, Object expected error [message #752836 is a reply to message #752804] Wed, 26 October 2011 14:36 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I do not have IE8, but it works fine on my FireFox. I wonder if this is
a permission error.

Jason

On 10/26/2011 10:23 AM, shabz wrote:
> Not exactly, first when page doesn't load. After long time it starts
> loading with same result as attached in this post. Images don't come and
> with the shown script error. Firefox also keeps on loading, but never
> shows the report. Same issue in "run" mode as well. "Preveiw mode is fine".
> This error is reproducible using the test report also as shown in
> attached image.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #752955 is a reply to message #752836] Wed, 26 October 2011 15:27 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
What type of permission you are mentioning? If its working with "preview", permission should be there, right?
Re: BIRT not working with IE8 with tomcat, Object expected error [message #753349 is a reply to message #752955] Wed, 26 October 2011 19:24 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes you are correct. The only real difference between the two /preview
and /frameset is that the frameset uses the AJAX framework that calls a
web service on the web app.

Jason

On 10/26/2011 11:28 AM, shabz wrote:
> What type of permission you are mentioning? If its working with
> "preview", permission should be there, right?
Re: BIRT not working with IE8 with tomcat, Object expected error [message #753357 is a reply to message #753349] Wed, 26 October 2011 19:46 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Do you mean security manager or some ownership issue....
Re: BIRT not working with IE8 with tomcat, Object expected error [message #753358 is a reply to message #753357] Wed, 26 October 2011 19:59 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
Just saw this exception in BIRT logs

ExceptionConverter: ClientAbortException: java.net.SocketException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309)
at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
at com.lowagie.text.pdf.OutputStreamCounter.flush(Unknown Source)
at com.lowagie.text.DocWriter.close(Unknown Source)
at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
at com.lowagie.text.Document.close(Unknown Source)
at org.eclipse.birt.report.engine.emitter.pdf.PDFPageDevice.close(PDFPageDevice.java:166)
at org.eclipse.birt.report.engine.layout.emitter.PageDeviceRender.end(PageDeviceRender.java:142)
at org.eclipse.birt.report.engine.emitter.pdf.PDFRender.end(PDFRender.java:142)
at org.eclipse.birt.report.engine.layout.emitter.PageEmitter.end(PageEmitter.java:63)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.end(LayoutEngine.java:343)
at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.end(CompositeContentEmitter.java:65)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:182)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:929)
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(BirtRunAndRenderActionHandler.java:76)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(EngineFragment.java:318)
at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:76)
at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(BirtEngineServlet.java:120)
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:185)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:741)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:765)
at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:124)
at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:574)
at org.apache.coyote.Response.doWrite(Response.java:560)
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
... 47 more
Re: BIRT not working with IE8 with tomcat, Object expected error [message #753360 is a reply to message #753357] Wed, 26 October 2011 20:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Security manager. Is the site secured? Or is this on your desktop?
Any chance you could try a clean download and a new deploy? If you use
firebug in firefox you should be able to verify that the base href has
the correct value.

Jason

On 10/26/2011 3:46 PM, shabz wrote:
> Do you mean security manager or some ownership issue....
Re: BIRT not working with IE8 with tomcat, Object expected error [message #753361 is a reply to message #753360] Wed, 26 October 2011 20:25 Go to previous messageGo to next message
shabz Missing name is currently offline shabz Missing nameFriend
Messages: 15
Registered: October 2011
Junior Member
It is secured. I'll try to deploy again. Can you give any reference of documentation on this, with mention of security steps. It has to be done on redhat.
Re: BIRT not working with IE8 with tomcat, Object expected error [message #753526 is a reply to message #753361] Thu, 27 October 2011 15:07 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I was referring to this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=182161#c32
I am not certain this is the same issue.

Jason

On 10/26/2011 4:25 PM, shabz wrote:
> It is secured. I'll try to deploy again. Can you give any reference of
> documentation on this, with mention of security steps. It has to be done
> on redhat.
Previous Topic:OutOfMemory exceptions in birt engine
Next Topic:Integration from Eclipse ReportViewer in a Swing application
Goto Forum:
  


Current Time: Tue Apr 16 21:58:34 GMT 2024

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

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

Back to the top