Skip to main content



      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 03:30 Go to next message
Eclipse UserFriend
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 10:13 Go to previous messageGo to next message
Eclipse UserFriend
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 19:37 Go to previous messageGo to next message
Eclipse UserFriend
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 14:26 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 19:38:59 EDT 2025

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

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

Back to the top