-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting WriteBeyondContentLengthException #6
Comments
@johnsmitherpn5: I think i know the cause of this issue. @felixbarny: The reason is probably that the Content-Length HTTP-Header is not recalculated after injecting the stagemonitor html snippet. I'll have a further look at this on sunday. |
@trampi : Thank you for the quick response. Will look forward for the fix. |
@johnsmitherpn5: sorry for the late answer but i haven't found time on sunday or today. However, tomorrow should a pull request be ready. |
@johnsmitherpn5 could you try out the fix?
Then build the project as described here: https://github.com/stagemonitor/stagemonitor#build-locally If you're using maven, all you have to do is to update the version in pom.xml to 0.15.0-SNAPSHOT. |
@felixbarny : Sorry for the delay. Completely tied up in meetings. I am not able to install the fix. We are using maven but when I update the version in pom.xml to 0.15.0-SNAPSHOT getting maven dependency error. I tried git clone also but getting below error...
|
@felixbarny : With http URL
|
I could reproduce the mentioned WriteBeyondContentLengthException. I am working on a solution. |
Further investigations showed that this exception happens in spring petclinic even without stagemonitor. The stagemonitor part however seems to work even with that exception. Unfortunately i can not find any information regarding the WriteBeyondContentLengthException in IBM WebSphere. One last idea: Remove all calls to setContentLength in your application. It is not required. It is just nice to know in large file downloads to indicate the progress and to display the complete file size. |
@trampi : I am able to run petclinic example with stagemonitor on WebSphere. I am getting this issue in our application (spring based web application) and we don't have any setContentLength calls. I found something related to this in the below link. But we are using latest version WebSphere than what they mentioned in the link. Below is the link to download the WebSphere Liberty Profile which is free for development and we are using same. https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/ Also I am not able to download 0.15.0-SNAPSHOT using maven which @felixbarny mentioned. |
I have finally found some time to look at this. The petclinic example runs fine for me on websphere. Do you have any example application that I can use to reproduce your problem? I have just released 0.15.2 in which I set the Content-Length header to -1 if it has already been set and if the widget is injected. That may fix your problem. Would you try out again? |
did any one used / tested the option as mention the above post to fix issue, I am not sure which file we need specify " set the Content-Length header to -1" , Please do share the feedback. |
You don't have to do this manually. Do you encounter simmilar problems? |
Hi, Yes, I do have slimier issue On 27 August 2015 at 13:12, Felix notifications@github.com wrote:
|
Which version of stagemonitor and WebSphere are you using? |
Web sphere Liberty 8.5.5.6 ( App. WAR will drop on dropins path) Thanks & RegardsJanakJanakaraj PALANISAMY | @mail : janakarajp@gmail.com On 27 August 2015 at 14:34, Felix notifications@github.com wrote:
|
This commit should fix the issue: stagemonitor/stagemonitor@96fef8e Releasing 0.17.3 now... |
Hi,
We have an internal Spring framework mvc web application. Which is running on WebSphere 8.5.
I am trying to setup stagemonitor to see the "In Browser Widget". Followed your wiki "Set up stagemonitor with your own Application".
But getting WriteBeyondContentLengthException when I try to access the login page itself. Please see the console log below...
Please let me know if I need to use any specific settings....Thanks.
The text was updated successfully, but these errors were encountered: