Forum Discussion
nikolovmiroslav
12 years agoNew Contributor
Hi Michaell,
I have done more tests and debuging and now I have a clear view of the problem.
My server is JBossWS-CXF-stack.
I have two services, for uploading and downloading files with attachments in WS.
On upload everything is ok, even for a file with size 1.09GB.
But, on download, in sopaUI i receive "Error getting response; null"
On server side, I have a message from SpringSecurity: "[org.springframework.security.web.context.HttpSessionSecurityContextRepository] Failed to create a session, as response has been committed. Unable to store SecurityContext."
It is caused from "java.lang.illegalstateexception cannot create a session after the response has been committed"
I do not know, why original session is lost and it fails to get new one.
It is very strange why upload is working, but download not.
Regards,
Miroslav
I have done more tests and debuging and now I have a clear view of the problem.
My server is JBossWS-CXF-stack.
I have two services, for uploading and downloading files with attachments in WS.
On upload everything is ok, even for a file with size 1.09GB.
But, on download, in sopaUI i receive "Error getting response; null"
On server side, I have a message from SpringSecurity: "[org.springframework.security.web.context.HttpSessionSecurityContextRepository] Failed to create a session, as response has been committed. Unable to store SecurityContext."
It is caused from "java.lang.illegalstateexception cannot create a session after the response has been committed"
I do not know, why original session is lost and it fails to get new one.
It is very strange why upload is working, but download not.
Regards,
Miroslav
Related Content
- 13 years ago
Recent Discussions
- 22 days ago