Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » org.xml.sax.SAXParseException: Premature end of file.(Websphere)
org.xml.sax.SAXParseException: Premature end of file. [message #632752] Thu, 14 October 2010 07:30 Go to next message
Josh Hall is currently offline Josh HallFriend
Messages: 31
Registered: October 2010
Member
I've added BIRT to my application by including the components from the sample 'viewer' application into my web application. All works fine when running under Tomcat, however the same app has problems on Websphere 6.1. When attempting to view a report, I get 'org.xml.sax.SAXParseException: Premature end of file.' in a pop-up window. Following the wiki, I've tried setting the class loader policy to PARENT_LAST, however this has not resolved the problem. Are there any suggestions out there?

Cheers.
Re: org.xml.sax.SAXParseException: Premature end of file. [message #632869 is a reply to message #632752] Thu, 14 October 2010 14:13 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Josh,

Take a look at this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=310512

Jason

On 10/14/2010 3:30 AM, Josh wrote:
> I've added BIRT to my application by including the components from the
> sample 'viewer' application into my web application. All works fine when
> running under Tomcat, however the same app has problems on Websphere
> 6.1. When attempting to view a report, I get
> 'org.xml.sax.SAXParseException: Premature end of file.' in a pop-up
> window. Following the wiki, I've tried setting the class loader policy
> to PARENT_LAST, however this has not resolved the problem. Are there any
> suggestions out there?
>
> Cheers.
Re: org.xml.sax.SAXParseException: Premature end of file. [message #632999 is a reply to message #632869] Thu, 14 October 2010 23:37 Go to previous messageGo to next message
Josh Hall is currently offline Josh HallFriend
Messages: 31
Registered: October 2010
Member
Thanks a lot Jason. Using IE works fine. I was using Chrome & I hadn't thought to try another browser, as it was working with Chrome against Tomcat.

I burnt a fair amount of time investigating this one, so it's a great relief to know what the problem is. I commented out the lines of code as per recommendation in the Bug and it also now works with the Chrome/WebSphere combination.

Out of interest, do you have any idea what it is in WebSphere that's resulting in the error?

Thanks again.
Re: org.xml.sax.SAXParseException: Premature end of file. [message #633232 is a reply to message #632999] Fri, 15 October 2010 18:26 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Josh,

I do not but you may want to ask the question in the bugzilla entry.

Jason

On 10/14/2010 7:37 PM, Josh wrote:
> Thanks a lot Jason. Using IE works fine. I was using Chrome & I hadn't
> thought to try another browser, as it was working with Chrome against
> Tomcat.
>
> I burnt a fair amount of time investigating this one, so it's a great
> relief to know what the problem is. I commented out the lines of code as
> per recommendation in the Bug and it also now works with the
> Chrome/WebSphere combination.
>
> Out of interest, do you have any idea what it is in WebSphere that's
> resulting in the error?
>
> Thanks again.
Previous Topic:Table not retrieving data
Next Topic:NullPointer on websphere deployment
Goto Forum:
  


Current Time: Fri Mar 29 04:40:24 GMT 2024

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

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

Back to the top