Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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
Josh Hall is currently offline Josh Hall
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 10:13 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
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 19:37 Go to previous messageGo to next message
Josh Hall is currently offline Josh Hall
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 14:26 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
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 Jul 25 14:22:11 EDT 2014

Powered by FUDForum. Page generated in 0.02071 seconds