title: Liferay: [SecurityPortletContainerWrapper:630] Reject process action
body: <p>I'm trying to upload file in Liferay, and I tired went I upload "large" file size (more than 2MB). With log</p>
  
  <blockquote>
    <p>[SecurityPortletContainerWrapper:630] Reject process action</p>
  </blockquote>
  
  <pre><code>&lt;%@ include file="/init.jsp"%&gt;
  &lt;portlet:actionURL var="intergrateURL" name="intergrate" /&gt;
  &lt;aui:form method="post" action="&lt;%=intergrateURL.toString() %&gt;" 
  enctype="multipart/form-data"&gt;
       &lt;aui:input name="messagContent1" /&gt;
       &lt;aui:input name="messagContent2" /&gt;
       &lt;aui:input name="uploadFileHere" type="file"/&gt;
       &lt;aui:button value="submit" type="submit"/&gt;
  &lt;/aui:form&gt;
  </code></pre>
  
  <p>Portlet Action:</p>
  
  <pre><code>public class IntergratePortlet extends MVCPortlet {
  
  public void intergrate(ActionRequest actionRequest,
          ActionResponse actionResponse) {
  
      UploadPortletRequest uploadPortletRequest = PortalUtil
              .getUploadPortletRequest(actionRequest);
  
      String messageContent1 = uploadPortletRequest.getFullFileName("uploadFileHere");
      String messageContent2 = ParamUtil.getString(actionRequest,
              "messagContent2");
  
      InputStream fileInputStream = null;
      byte[] fileByteArray; 
  
      MessageContentBean messageContentBean = new MessageContentBean();
  
      messageContentBean.setMessageContent1(messageContent1);
      messageContentBean.setMessageContent2(messageContent2);
  
      try {
          fileInputStream = uploadPortletRequest.getFileAsStream("uploadFileHere");
          fileByteArray = ReceiveMessage.convertInputStreamToByteArray(fileInputStream);
          messageContentBean.setFileMessage(fileByteArray);
      } catch (IOException e) {
          e.printStackTrace();
      }
      SendJmsMessage sendJmsMessage = new SendJmsMessage();
      sendJmsMessage.doSendMessage("103.74.121.22", messageContentBean);
      // sendJmsMessage.doSendMessage("127.0.0.1", messageContentBean);
  }
  </code></pre>
  
  <p>}</p>