Author Topic: b] Could not parse the request and POST data[/b]  (Read 703 times)

Offline anggon

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
b] Could not parse the request and POST data[/b]
« on: January 28, 2020, 01:20:27 AM »
Does anyone know why I miss this error?.We are trying to send some variables and we don't know if there is a limit of characters in a json field

com.genesyslab.studio.backendlogic.GVPAppBackendException: Could not parse the request and POST data
        at com.genesyslab.studio.backendlogic.GVPHttpRequestProcessor.parseRequest(Unknown Source)
        at org.apache.jsp.src.CALLWS_005fTBCRGA002_005fUPSERT_jsp._jspService(CALLWS_005fTBCRGA002_005fUPSERT_jsp.java:351)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /opt/tomcat/tomcatCCES2/temp/upload_192dd7bf_16fe6dc90ac__7ffd_00003537.tmp (No such file or directory)
        at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)
        at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
        at com.genesyslab.studio.backendlogic.GVPHttpRequestProcessor.parseMultiPart(Unknown Source)
        ... 24 more
Caused by: java.io.FileNotFoundException: /opt/tomcat/tomcatCCES2/temp/upload_192dd7bf_16fe6dc90ac__7ffd_00003537.tmp (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:171)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7088
  • Karma: 56330
Re: b] Could not parse the request and POST data[/b]
« Reply #1 on: January 28, 2020, 02:33:12 AM »
Well...hard to tell if you don't share what you are trying to do

Offline hsujdik

  • Sr. Member
  • ****
  • Posts: 356
  • Karma: 14
    • Genesys Brasil
Re: b] Could not parse the request and POST data[/b]
« Reply #2 on: January 28, 2020, 11:19:49 AM »
Also, check if the /tmp mount structure on the server where your tomcat resides has execution and write privileges.

Perhaps this command could help if that is the case:

Code: [Select]
mount -o remount,rw,exec /tmp

Offline anggon

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: b] Could not parse the request and POST data[/b]
« Reply #3 on: January 28, 2020, 05:46:49 PM »
I am trying to send some tempValue to a Backend block to make a request for a web service in a Callflow. The problem is that the variables reach the backend block through a json object and I am skipping that error.
« Last Edit: January 28, 2020, 05:48:50 PM by anggon »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7088
  • Karma: 56330
Re: b] Could not parse the request and POST data[/b]
« Reply #4 on: January 28, 2020, 07:47:37 PM »
Ok... But why?
You can send JSON without problems to a Web Request...
You need to detail further what you are doing... How do you expect us to help for little information you are willing to show? Magic crystal balls ended dinosaurs


Enviado de meu SM-N9600 usando o Tapatalk