-
1. Re: ERROR: Processing of multipart/form-data request failed. java.io.tmpdir..
AJAGURI Mar 14, 2016 1:31 AM (in response to Henning Reineke)Hi Henning,
Could you please provide me the server logs for the time you are getting the error and screenshot of the BPR deployment screen.
Thanks,
Anil
-
2. Re: ERROR: Processing of multipart/form-data request failed. java.io.tmpdir..
Sunil00u177nhlkmcDrB7o1d8 Mar 17, 2016 12:16 AM (in response to Henning Reineke)Please check if you have set Jvm parameter -Djava.io.tmpdir in Application Server as per your requirement.
-
3. Re: ERROR: Processing of multipart/form-data request failed. java.io.tmpdir..
Henning Reineke Mar 24, 2016 5:12 AM (in response to AJAGURI)Sorry for the delayed answer,
here is the screenshot:
In the logfile the tmpdir is set as
INFORMATION Command line argument: -Djava.io.tmpdir=/home/tomcat/temp/
There is no error message in the logs for the failed deployment.
/home/tomcat/temp is writeable for the user tomcat who runs ActiveVOS' tomcat, the directory activevos-reports-work is already written there.
-
catalina_tmpdir.log 207.0 KB
-
-
4. Re: ERROR: Processing of multipart/form-data request failed. java.io.tmpdir..
Akshaye00u16kiz3y9DOSxnB1d8 Jun 3, 2016 6:12 AM (in response to Henning Reineke)Hi Henning
Were you able to resolve this ?
I am also facing the same issue
-
5. Re: ERROR: Processing of multipart/form-data request failed. java.io.tmpdir..
Henning Reineke Jun 8, 2016 3:24 AM (in response to Akshaye00u16kiz3y9DOSxnB1d8)Just today we had this error again at a Linux server with our Designer 9.2.4.1, which was not running as root
A 'sudo find -mtime 0 |grep upload' revealed,
that a directory
./java.io.tmpdir/upload_577dc761_1552f7b58e5__7ffe_00000001.tmp
was created, although environment variable java.io.tmpdir was set.
So it seems to be a bug, that ActiveVos creates and uses literally a directory /java.io.tmpdir/
-
6. Re: ERROR: Processing of multipart/form-data request failed. java.io.tmpdir..
AJAGURI Jun 8, 2016 4:19 AM (in response to Henning Reineke)Hi,
Can you try setting this tmp directory to some other directory and make sure the user who is starting the application server have full permission/read/write on this directory. Also what version of AVOS and what platform you are running AVOS.
Thanks,
Anil
-
7. Re: ERROR: Processing of multipart/form-data request failed. java.io.tmpdir..
Henning Reineke Dec 21, 2018 4:49 AM (in response to Henning Reineke)We just had this problem again at a new installation of ActiveVOS Server Unix 9.2.4.3 at Tomcat on SUSE Linux Enterprise Server 12 SP3. Tomcat does not and should not run as root.
We might have found the reason for using /java.io.tmpdir, that's why this post after almost 3 years.
We have found that in
activevos/WEB-INF/classes/struts.xml
and
activevos/WEB-INF/classes/struts-bpeladmin.xml
is declared:
<constant name="struts.multipart.saveDir" value="java.io.tmpdir" />
We changed those to
<constant name="struts.multipart.saveDir" value="${java.io.tmpdir}" />
and restarted tomcat.
After that the Upload of the BPR worked.