Menu

#40 jupload tomcat

v1.0_(example)
open
nobody
None
5
2016-08-08
2016-08-08
Anonymous
No

Hi everyone!
I was previously using jupload with tomcat 5.5 and it worked great! Now I was tasked with upgrading tomcat to version 7(7.0.70 to be exact) and found out that jupload no longer works. I havent changed the code one bit .Only thing changed is the tomcat distr,(I even used the same connector definition on server xml)

It looks to me that after jupload start preparing the upload for some reason it redirects to web application root(which in turn gets redirected to protected area of the website which requires a login )In both case user is already loggged in when he goes to jsp page. .So for some strange reason just searches for success string inside the login page which doesnt contain it of course so the error pops up. I am wondering why its redirecting to the web app root in the first place . I thought it might be something to do with timeout issue, changed the default parameter of asyncTimeout to "6000 (this parameter didnt exist in the 5.5 version according to the docs) but still no luck . Are there any major changes in tomcat 7 that might have caused this behavior? I'm attaching debug log m my jsp and servlet pages as well as relevant tomcat connector snippet to this message. Thank you

4 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB