Wildf 28.0.0.Final > RESTEASY002375 > UT010029: Stream is closed

741 views
Skip to first unread message

Chace Boris

unread,
Oct 9, 2023, 5:57:07 AM10/9/23
to WildFly
Hello everyone.

I have an issue with file upload using WF 28.0.0.final.
I use restEasy as JAX-RS implementation
I have some JAX-RS resources that receive files 

but i get the following error :
[org.jboss.resteasy.core.providerfactory.DefaultExceptionMapper] (default task-1)
RESTEASY002375: Error processing request POST xxxxxxxx :
java.io.IOException: UT010029: Stream is closed


I'd like to know what causes this error ?

I ran into this solution that do not seem to work :
Edit the standalone.xml file : within the http-listener element, add attributes read-timeout and write-timeout like folowing. 
<http-listener ... read-timeout="600000" write-timeout="600000" ... />

Any help would be welcomed.

James Perkins

unread,
Oct 12, 2023, 4:59:58 PM10/12/23
to WildFly
Hello,
Do you have some example code or a reproducer you could share by chance?

Chace Boris

unread,
Oct 13, 2023, 3:31:31 AM10/13/23
to WildFly
Thanks. 

Actully I am migrating a code base :
- FROM using Jersey + JBoss EAP for deployment
- TO use RESTEasy + Wildfly  for deployment  .
and I wasn't aware of how RESTEasy handles multiparts. 
I finally got where was the issue was, and was able to solve it.

Thanks for the follow up anyways.

VJ REDDY

unread,
Oct 26, 2023, 9:40:14 PM10/26/23
to WildFly
Hi Boris,

I am also running into the same issue with WildFly-26.
What was the cause and also can you please give me the solution??


Thanks,
VJ

James Perkins

unread,
Oct 30, 2023, 2:30:59 PM10/30/23
to WildFly
Hello VJ,
What is the context of your issue? Do you have a stack trace or something else you can share?

Reply all
Reply to author
Forward
0 new messages