Unable to retrive the uploaded file in Struts

hi i am getting error while retrieving the uploaded file in struts. The code is
struts-config.xml
===========
<form-bean name="GreivanceForm" type="org.apache.struts.validator.DynaValidatorActionForm" >
               <form-property name="compcode" type="java.lang.String" />
               <form-property name="complaintName" type="java.lang.String" />
               <form-property name="category" type="java.lang.String" />
               <form-property name="subcategory" type="java.lang.String" />
               <form-property name="priority" type="java.lang.String" />
               <form-property name="occdate" type="java.lang.String" />
               <form-property name="occtime" type="java.lang.String" />
               <form-property name="desc" type="java.lang.String" />
               <form-property name="comments" type="java.lang.String" />
               <form-property name="onbehalf" type="java.lang.String"/>
               <form-property name="employeeId" type="java.lang.String"/>
               <form-property name="hidSelectedNames" type="java.lang.String"/>
               <form-property name="individual" type="java.lang.String"/>
               <form-property name="compOption" type="java.lang.String" />
               <form-property name="selectedrequestor" type="java.lang.String" />
               <form-property name="file" type="java.lang.String"/>
          </form-bean>
<action path="/helpdesk/GrievanceComplaint"
               type="com.srit.hrnet.helpdesk.grievancemechanism.GrievanceComplaintAction"
               scope="request" name="GreivanceForm"
               input=""
               validate="true"
               parameter="compOption" >
               <forward name="success" path="/helpdesk/GrievanceRedressalMechanism/ComplaintDetails.jsp"/>
               <forward name="showmeetingform" path="/helpdesk/complaint/MeetingDetailsForm.jsp"/>
               <forward name="transconfirm" path="/helpdesk/GrievanceRedressalMechanism/TransConfirm.jsp"/>
               <forward name="ViewCompForm" path="/helpdesk/GrievanceRedressalMechanism/ViewCompForm.jsp"/>
          </action>
and
Actionclass:
========
* Created on Nov 5, 2004
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
package com.srit.hrnet.helpdesk.grievancemechanism;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.StringTokenizer;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages;
import org.apache.struts.action.DynaActionForm;
import org.apache.struts.actions.DispatchAction;
import org.apache.struts.upload.FormFile;
import org.apache.struts.validator.DynaValidatorActionForm;
import org.apache.struts.validator.DynaValidatorForm;
import com.srit.hrnet.components.SequenceCodeGenerator;
import com.srit.hrnet.emp.EmployeeGenTO;
import com.srit.hrnet.emp.courier.CourierMailDAO;
import com.srit.hrnet.emp.courier.CourierMailTO;
import com.srit.hrnet.emp.parameter.ParamMasterTO;
import com.srit.hrnet.helpdesk.SessionValidate;
import com.srit.hrnet.helpdesk.category.CategoryDAO;
import com.srit.hrnet.helpdesk.category.CategoryTO;
import com.srit.hrnet.helpdesk.mails.HDMail;
import com.srit.hrnet.utilities.DateUtilities;
import com.srit.hrnet.helpdesk.complaint.TaskDAO;
import com.srit.hrnet.helpdesk.SessionValidate;
import com.srit.hrnet.helpdesk.grievancemechanism.GrievanceComplaintForm;
public class GrievanceComplaintAction extends DispatchAction{
     public ActionForward submitForm(ActionMapping mapping,
               ActionForm form, HttpServletRequest request,
               HttpServletResponse response)throws ServletException,IOException {  
               String msg=null;
               DynaValidatorActionForm objDyna = (DynaValidatorActionForm)form;
               GrievanceComplaintDAO gcDao= new GrievanceComplaintDAO();
          ActionForward forward = new ActionForward();
//          GrievanceComplaintForm gcForm=(GrievanceComplaintForm)form;
                    String CompId = null;
          try
                         SequenceCodeGenerator seq=new SequenceCodeGenerator("GrievanceMechanism");
                         CompId=seq.generateCode();
               GrievanceComplaintTO gcTO=new GrievanceComplaintTO();
               System.out.println("Inside GrievanceComplaintAction ......");
               String CompName=request.getParameter("complaintName");
               String Category=request.getParameter("category");
               String prority=request.getParameter("priority");
               String dateofocc=request.getParameter("occdate");
               String timeofocc=request.getParameter("occtime");
               String desc=request.getParameter("desc");
               String comments=request.getParameter("comments");
//          String file=request.getParameter("file");
//          String complaintcode = .generateCode();
               System.out.println("Inside insert()::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::");
               System.out.println("Name Of the Complaint name>>>>>>>>>>>>>>"+CompName);
               System.out.println("Name Of the Categoryt>>>>>>>>>>>>>>"+Category);
               System.out.println("Name Of the prority>>>>>>>>>>>>>>"+prority);
               System.out.println("Name Of the dateofocc>>>>>>>>>>>>>>"+dateofocc);
               System.out.println("Name Of the timeofocc>>>>>>>>>>>>>>"+timeofocc);
               System.out.println("Name Of the desc>>>>>>>>>>>>>>"+desc);
               System.out.println("Name Of the comments>>>>>>>>>>>>>>"+comments);
//          System.out.println("Name Of the file>>>>>>>>>>>>>>"+file);
               GregorianCalendar occdate=DateUtilities.getGCDateForString(objDyna.getString("occdate"),((com.srit.hrnet.emp.EmployeeGenTO)request.getSession().getAttribute("LoginUser")).getDateFormat(),'/');
               gcTO.setComplaintCode(CompId);
               gcTO.setComplaintName(CompName);
               gcTO.setCategory(Category);
               gcTO.setPriority(prority);
               gcTO.setOccdate(occdate);
               System.out.println("After Setting date in GTO is>>>>>>>>>>>>>>"+gcTO.getOccdate());
               gcTO.setOcctime(timeofocc);
               gcTO.setDesc(desc);
               gcTO.setComments(comments);
                    HDMail mailComp = new HDMail();
               String errorFlag = null;
               String filePath = ""+objDyna.get("file");// Attachment path
               StringTokenizer st=new StringTokenizer(filePath,".");
               String extension=null;
//               String filename=null;
               String attachmentPath = null;
               while(st.hasMoreTokens())
                    extension=st.nextToken();
//          while(st1.hasMoreTokens()){
//               filename=st1.nextToken();
               System.out.println("Attachment path : "+attachmentPath);
          System.out.println("Extension is.........."+extension);
//          System.out.println("Name of the file is.............."+filename);
          if(filePath != null && filePath.indexOf(".") != -1 && filePath.length()>=5 ){// If attachment exists
//               attachmentPath = filePath.substring(filePath.indexOf(".")+1,filePath.length());// file extension
////               System.out.println("Attachment path : "+attachmentPath);
               if(!extension.equalsIgnoreCase("txt") && !extension.equalsIgnoreCase("htm")
                         &&!extension.equalsIgnoreCase("doc") &&!extension.equalsIgnoreCase("rtf")
                                   &&!extension.equalsIgnoreCase("msg") &&!extension.equalsIgnoreCase("oft")
                                   && !extension.equalsIgnoreCase("xls")){
                    errorFlag = "1"; // if the file is not a valid type (not in the above mentioned extensions)
          gcTO.setAttachmentName(filePath);
          if(errorFlag.equals("1")){
//          String attachmentName = null;
////          String attachmentPath = request.getParameter("agendaAttachment");
//          DynaValidatorForm dyna=(DynaValidatorForm)form;
//                         FormFile file= (FormFile)objDyna.get("file");
//                         //dyna.get("file");      
//          System.out.println("Name of the file after casting....."+file.getFileName());
//                         if(file!=null && file.getFileName()!=null && !file.getFileName().trim().equals("")){
//                              String fileName = null;                         
//                              fileName = file.getFileName();
//                              attachmentName = fileName;
//                              if(validFile(fileName))
//                              writeFile(file,request,fileName);
//                              else
//                                   ActionMessages errors=new ActionMessages();
//                                   errors.add("Err:MsgDesc",new ActionMessage("com.srit.hrnet.helpdesk.complaint.form.fileupload"));                              
//                                   saveErrors(request,errors);                         
////                                   ActionForward map1 = submitSubCategory(mapping,form,request,response);                              
//                                   resetToken(request);     
//                                   saveToken(request);
//                                   return mapping.findForward("ViewCompForm");                              
//                    int recordexists = gcDao.getComplaint(CompId);
//                    if(recordexists == 1){
//                         System.out.println("Calling the update method");
//                         gcDao.updateComplaintDetails(gcTO);     
//                    }else{
                    boolean retVal=gcDao.insert(gcTO);
          if (retVal){
               System.out.println("Record Inserted inside Action.");
               msg = "<font color='blue'>Record Inserted Successfully .</font>";
                         request.setAttribute("status", msg);
          else{
               System.out.println("Unable to insert Record inside Action.");
               msg = "<font color='red'>Unable to insert Record .</font>";
                         request.setAttribute("status", msg);
          else
               System.out.println("Upload a file of extension(.jpg,.gif,.doc,.htm,.xls,.rtf,oft,msg) inside Action.");
               msg = "<font color='red'>Upload a file of extension(.jpg,.gif,.doc,.htm,.xls,.rtf,.oft,.msg) </font>";
                         request.setAttribute("status", msg);
          catch (Exception e) {
               // TODO: handle exception
               System.out.println("Exception Occurred inside insert action....."+e.getMessage());
               e.printStackTrace();
//          else
//               String insStatus="10";
//               System.out.println("Accept:Redirecting due to resubmission");
//               request.setAttribute("transStatus",insStatus);
//               forward =mapping.findForward("transconfirm");
               return mapping.findForward("success");
     public boolean validFile(String fileName){
          if(!fileName.equals("")){     
                    int filelength=fileName.length();
                    int sublength= fileName.indexOf('.');
                    String extension = fileName.substring(sublength+1,filelength);
                    if(extension.trim().equalsIgnoreCase("msg") || extension.trim().equalsIgnoreCase("txt") || extension.trim().equalsIgnoreCase("xls") || extension.trim().equalsIgnoreCase("ppt") || extension.trim().equalsIgnoreCase("jpg") || extension.trim().equalsIgnoreCase("gif")|| extension.trim().equalsIgnoreCase("doc" )|| extension.trim().equalsIgnoreCase("pdf") || extension.trim().equalsIgnoreCase("wmv") || extension.trim().equalsIgnoreCase("zip") || extension.trim().equalsIgnoreCase("jpeg") || extension.trim().equalsIgnoreCase("xml") || extension.trim().equalsIgnoreCase("html") ||extension.trim().equalsIgnoreCase("bmp") ||extension.trim().equalsIgnoreCase("htm") ||extension.trim().equalsIgnoreCase("ppt")||extension.trim().equalsIgnoreCase("oft")||extension.trim().equalsIgnoreCase("csv")){
                    return true;
                    }else{
                    return false;
               return true;
     public int writeFile(FormFile file,HttpServletRequest request,String fileName){
               int retValue = 0;
               String size = (file.getFileSize() + " bytes");
               if(file.getFileSize()>0){
                    //System.out.println("The size of the file is :" + file.getFileSize() + " bytes");
                    String data = null;
                    try {
                         //retrieve the file data
                         String fileTodelete = request.getRealPath("/helpdesk/meetingsagenda/"+fileName);
                         boolean success = (new File(fileTodelete)).delete();
                         //System.out.println("sucess......"+success);          
                         ByteArrayOutputStream baos = new ByteArrayOutputStream();
                         InputStream stream = file.getInputStream();
                         //write the file to the file specified
                         System.out.println("sfsdfkjdsfds "+request.getRealPath("/helpdesk/meetingsagenda/"+fileName));
                         OutputStream bos = new FileOutputStream(request.getRealPath("/helpdesk/meetingsagenda/"+fileName));
                         int bytesRead = 0;
                         byte[] buffer = new byte[8192];
                              while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
                                   bos.write(buffer, 0, bytesRead);
                         bos.close();
                         data =      "The file has been written to \""+ "/helpdesk/meetingsagenda/"+ "\"";
                         System.out.println("data........."+data);
                              //close the stream
                         stream.close();
                    }catch(FileNotFoundException fnfe) {
                              System.out.println("com.srit.hrnet.homepage.fromceo.FromCEOAction.writeFile.Exception :"+ fnfe.toString());
                              fnfe.printStackTrace();
                              //retValue = FORMFILE_FILE_NA;
                    }catch(IOException ioe) {
                              System.out.println("com.srit.hrnet.homepage.fromceo.FromCEOAction.writeFile.Exception :"+ ioe.toString());
                              ioe.printStackTrace();
                              //retValue = FORMFILE_ERR_UPD;
               }//end of try catch:~
               }else{
                    //The file was a not available
                    //retValue = FORMFILE_SIZE_ZERO;
               }//end of if else:~
          //     System.out.println("retValue........."+retValue);
               return retValue;                         
}//end of ComplaintAction
and GrievanceFormTO:(Dummy form bean)
==========
* Created on Nov 4, 2004
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
package com.srit.hrnet.helpdesk.grievancemechanism;
import java.util.GregorianCalendar;
import org.apache.struts.upload.FormFile;
public class GrievanceComplaintTO implements java.io.Serializable {
private String complaintCode;
private String compcode; //complaind Id
private String complaintName;
private String category;
private String priority;
//private GregorianCalendar date;
private FormFile theFile;
private String compOption;
private String desc;
private String comments;
private String status;
private String serviceperson;     //employee who is going to serve the complaint.Applicatble only in case of manual flow.
private String loggedEmpId; //the employee who has logged the complaint
private String applyEmpId; //employee to whom the cmplaint belongs to or owner of the complaint
private String associateComm;
private String associateRating;
private GregorianCalendar occdate;
private String occtime;
private String attachmentName;
     public String getApplyEmpId() {
          return applyEmpId;
     public void setApplyEmpId(String applyEmpId) {
          this.applyEmpId = applyEmpId;
     public String getAssociateComm() {
          return associateComm;
     public void setAssociateComm(String associateComm) {
          this.associateComm = associateComm;
     public String getAssociateRating() {
          return associateRating;
     public void setAssociateRating(String associateRating) {
          this.associateRating = associateRating;
     public String getCategory() {
          return category;
     public void setCategory(String category) {
          this.category = category;
     public String getComments() {
          return comments;
     public void setComments(String comments) {
          this.comments = comments;
     public String getCompcode() {
          return compcode;
     public void setCompcode(String compcode) {
          this.compcode = compcode;
     public String getComplaintName() {
          return complaintName;
     public void setComplaintName(String complaintName) {
          this.complaintName = complaintName;
     public String getCompOption() {
          return compOption;
     public void setCompOption(String compOption) {
          this.compOption = compOption;
     public String getDesc() {
          return desc;
     public void setDesc(String desc) {
          this.desc = desc;
     public String getLoggedEmpId() {
          return loggedEmpId;
     public void setLoggedEmpId(String loggedEmpId) {
          this.loggedEmpId = loggedEmpId;
     public String getOcctime() {
          return occtime;
     public void setOcctime(String occtime) {
          this.occtime = occtime;
     public String getPriority() {
          return priority;
     public void setPriority(String priority) {
          this.priority = priority;
     public String getServiceperson() {
          return serviceperson;
     public void setServiceperson(String serviceperson) {
          this.serviceperson = serviceperson;
     public String getStatus() {
          return status;
     public void setStatus(String status) {
          this.status = status;
     public String getComplaintCode() {
          return complaintCode;
     public void setComplaintCode(String complaintCode) {
          this.complaintCode = complaintCode;
     public void setOccdate(GregorianCalendar occdate) {
          this.occdate = occdate;
     public GregorianCalendar getOccdate() {
          return occdate;
     public String getAttachmentName() {
          return attachmentName;
     public void setAttachmentName(String attachmentName) {
          this.attachmentName = attachmentName;
     public FormFile getTheFile() {
          return theFile;
     public void setTheFile(FormFile theFile) {
          this.theFile = theFile;
but i am getting error
javax.servlet.ServletException: BeanUtils.populate
     org.apache.struts.util.RequestUtils.populate(RequestUtils.java:497)
     org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:798)
     org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:205)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
     org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     com.srit.hrnet.filter.SessionValidateFilter.doFilter(SessionValidateFilter.java:81)
root cause
org.apache.commons.beanutils.ConversionException: Cannot assign value of type 'org.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFile' to property 'file' of type 'java.lang.String'
     org.apache.struts.action.DynaActionForm.set(DynaActionForm.java:424)
     org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1733)
     org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
     org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
     org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)
     org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
     org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
     org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)
     org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:798)
     org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:205)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
     org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     com.srit.hrnet.filter.SessionValidateFilter.doFilter(SessionValidateFilter.java:81)
and my jsp is:
=========
<%@ page language="java" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="TabGenerator" prefix="GenerateTab" %>
<%@ page import="com.srit.hrnet.utilities.DateUtilities"%>
<%@ page import="com.srit.hrnet.components.BasicDAOConstants" %>
<%@ taglib uri="AccessLogin" prefix="GeneralAccess" %>
<%@ taglib uri="iterateTag" prefix="iterateTag" %>
<%@ page import="com.srit.hrnet.components.BasicDAOConstants,com.srit.hrnet.emp.EmployeeGenTO,com.srit.hrnet.helpdesk.grievancemechanism.*"%>
<%@ page import="com.srit.hrnet.tags.*"%>
<html:html locale="true">
<HEAD>
     <TITLE>
               <bean:message key="com.srit.hrnet.helpdesk.complaint.form.title"/>
     </TITLE>
     <META NAME="Generator" CONTENT="EditPlus">
     <META NAME="Author" CONTENT="">
     <META NAME="Keywords" CONTENT="">
     <META NAME="Description" CONTENT="">
<link rel="stylesheet" type="text/css" href="<%= (session.getAttribute("LoginUser") != null ?
                         ((com.srit.hrnet.emp.EmployeeGenTO)session.getAttribute("LoginUser")).getEmpPageStyleSheet() :
                         com.srit.hrnet.components.access.AccessCodes.GLOBAL_STYLESHEET)%>">
<script language="javaScript" src="<%= request.getContextPath()%>/jscript/GlobalValidationScript.js" purpose="include"></script>
<%      
int dateFormat = (session.getAttribute("LoginUser") != null ? ((com.srit.hrnet.emp.EmployeeGenTO)session.getAttribute("LoginUser")).getDateFormat() : 2);
     System.out.println("/reports/training/TRngBaseReport dateFormat = "+dateFormat);
     /* *** get the current date *** */
     java.util.GregorianCalendar gc1 = new java.util.GregorianCalendar();
     int yy = gc1.get(java.util.Calendar.YEAR);
     int mm = gc1.get(java.util.Calendar.MONTH);
     int dd = gc1.get(java.util.Calendar.DATE);     
     mm = mm + 1;
     String mon;
     String day;
     if(dd <= 9)
          day = "0" + java.lang.String.valueOf(dd);
     else
          day = java.lang.String.valueOf(dd);
     if(mm <= 9)
          mon = "0" + java.lang.String.valueOf(mm);
     else
          mon = java.lang.String.valueOf(mm);
     java.lang.String currentDate = "";
     if(dateFormat == 3){
          currentDate = java.lang.String.valueOf(yy+"/"+mon+"/"+day);/* (yyy-mm-dd format) */
     }else if(dateFormat == 1){
          currentDate = java.lang.String.valueOf(mon+"/"+day+"/"+yy);/* (mm-dd-yyy format) */
     }else if(dateFormat == 2){
          currentDate = java.lang.String.valueOf(day+"/"+mon+"/"+yy);/* (dd-mm-yyy format) */
     System.out.println("/reports/training/TRngBaseReport currentDate = "+currentDate);
%>
<script language="javaScript" src="<%= (session.getAttribute("LoginUser")!=null ? ((com.srit.hrnet.emp.EmployeeGenTO)session.getAttribute("LoginUser")).getScriptFile() : "")%>" purpose="include"></script>
<script language="javaScript" src="jscript/CommonDialog.js" purpose="include"></script>
<script language="javaScript" src="jscript/GlobalValidationScript.js"></script>
<script language="javascript">
     var gNow = new Date("<%=currentDate%>");
     function val_complaint()
if(document.GreivanceForm.complaintName.value.length==0)
     alert("Enter Complaint Name");
     document.GreivanceForm.complaintName.focus();
     return false;
if(document.GreivanceForm.category.value =='NA')
     alert("select category");
     document.GreivanceForm.category.focus();
     return false;
if(document.GreivanceForm.priority.value == 'NA')
     alert("select priority");
     document.GreivanceForm.priority.focus();
     return false;
     if(document.GreivanceForm.occdate.value == "")
          alert("Enter Date (dd/mm/yy)");
          document.GreivanceForm.occdate.focus();
          return false;
     else     
     if(document.GreivanceForm.occdate.value>document.GreivanceForm.currentDate.value){
               alert("select Previous or Current date");
               document.GreivanceForm.occdate.focus();
               return false;
     if(document.GreivanceForm.occtime.value == "")
     alert("Select Time of Occurence.");
     document.GreivanceForm.occtime.focus();
     return false;
else
if(!IsValidTime(document.GreivanceForm.occtime.value) )
alert("Enter Valid Time (HH:MM)");
          return false;
     if(document.GreivanceForm.desc.value == "")
     alert("Enter Description");
     document.GreivanceForm.desc.focus();
     return false;
          document.forms[0].compOption.value='submitForm';
          document.forms[0].submit();
          return false;
     function IsValidTime(givenTime)
          var hour = 0;
          var minute = 0;
          var timePat = /^(\d{1,2}):(\d{1,2})?$/;
          var matchArray = givenTime.match(timePat);
          if (matchArray == null)
               alert("Enter Valid Time.");
               return false;
          hour = matchArray[1];
          minute = matchArray[2];
          if(hour==0 && minute==0)
          alert("The Time You Entered is 0:0");
          return false;
          if (hour < 0 || hour > 23)
          alert("Hour must be between 0 and 23");
          return false;
          if (minute<0 || minute > 59)
          alert ("Minute must be between 0 and 59.");
          return false;
          return true;
unction help(url)
     var attributes = 'menubar=no,toolbar=no,location=no,width=625,height=375,resizable=yes';
     var name = 'Help';
     window.open(url,name,attributes);
//return false;
</script>
<script language = "javaScript" src = "<%=request.getContextPath()%>/jscript/CommonDialog.js" purpose = "include"></script>
</HEAD>
<body bgcolor="#FFFFFF" onload="setFocus()">
<GenerateTab:displaytabs tabId="<%=com.srit.hrnet.masters.gui.GUIConstants.HD_GRIEVANCE_REDRESSAL_FORM%>" activeSubTab="0" >
<table align="right">
          <tr>
               <td>
                    <img src="<%=request.getContextPath()%>/images/help.gif" border="0" alt="Help">
               </td>     
          </tr>     
     </table>
     <html:form action="/helpdesk/GrievanceComplaint" enctype="multipart/form-data" method="POST" onsubmit="javascript:return val_complaint()">
     <html:hidden property="compOption" value="submitForm" />
     <html:hidden property="onbehalf"/>
     <html:hidden property="employeeId"/>
     <html:hidden property="hidSelectedNames"/>
     <html:hidden property="selectedrequestor"/>
     <html:hidden property="individual"/>
     <table cellpadding="3" cellspacing="0" align="center" >
          <th align="center" class="tablehead" colspan="2">
          <b> Complaint Form </b>
          </th>
<tr>
               <td colspan="1" class='tablesubhead'>
               <b><bean:message key="com.srit.hrnet.helpdesk.redressal.form.complaintname"/></b><font class="star"> *</font>
               </td>
               <td class='subhead'>
               <html:text property="complaintName" maxlength="99"/>
               </td>
          </tr>
     <tr>
               <td class='tablesubhead' colspan="1"><b><bean:message key="com.srit.hrnet.helpdesk.redressal.form.category"/></b>
               <font class="star">*</font></td>
                    <td class="tableright" property="category" >
                    <iterateTag:iterate propertyName='<%=IterateInterface.ITERATE_HELPDESK_GRIEVANCE_CATEGORY%>' defaultSelected='<%=request.getAttribute("category")==null?null:""+request.getAttribute("category")%>' selectSize='<%=100%>' tabInd='<%="3"%>'>
                    </iterateTag:iterate>
               </td>
          </tr>
          <tr>
               <td class='tablesubhead' colspan="1"><b><bean:message key="com.srit.hrnet.helpdesk.redressal.form.priority"/></b>
               <font class="star">*</font></td>
               <td class="subhead">
                    <iterateTag:iterate propertyName='<%=IterateInterface.ITERATE_HELPDESK_GRIEVANCE_PRIORITY%>' defaultSelected='<%=request.getAttribute("priority")==null?null:""+request.getAttribute("priority")%>' selectSize='<%=100%>' tabInd='<%="3"%>'>
                              </iterateTag:iterate>
               </td>
     </tr>
     <tr>
                         <td class='tablesubhead' colspan=1><b>Date of Occurence</b>
                         <font class="star">*</font> </td>
                         <td class="subhead">     
                         <html:text name="GreivanceForm" property="occdate" maxlength="10"/>
                         <input type="hidden" name="currDate" />
                         <img src="<%= request.getContextPath()%>/images/calendar.jpg" border="0" alt="Calendar" >
                         </td>                         
               </tr>
                              <tr>
                                   <td class='tablesubhead' colspan=1><b>Time of Occurence</b>
                                   <font class="star">*</font></td>
                                   <td class="subhead">     
                                   <html:text name="GreivanceForm" property="occtime" maxlength="10"/> (24 Hrs format)</td>
                         </tr>
                         <tr>
                    <td class="tablesubhead" colspan=1>
                         <b>Description</b>
                         <font class="star">*</font></td>
                                   <td class="subhead">
                                   <html:textarea property="desc" styleClass="formObject" cols="40" rows="4"></html:textarea>
                                   </td>
                    </tr>
               <tr>
          <td class="tablesubhead" colspan=1>
               <b>Comments/Suggestions</b>
          </td>
                         <td class="subhead">
                         <html:textarea property="comments" styleClass="formObject" value="" cols="40" rows="4"></html:textarea>
                         </td>
               </tr>
               <tr>
               <td class="tableleft">
          <b><bean:message key="com.srit.hrnet.helpdesk.redressal.form.attachment"/> </b>
                              </td>
                         <td class="tableright">
                              <html:file property="file" size="18" />
                         </td>
          </tr>
               <tr>
               <td colspan="2" align="center" class="tablesubhead">
               <input type="submit" class="submit" value="Submit" >
                <html:reset property="reset" styleClass="submit" />
               </td>
          </tr>
</table>
     <input type="hidden" name="currentDate" value="<%=currentDate%>">
</html:form>
</GenerateTab:displaytabs>
<html:javascript formName="/SubmitComplaint"/>
</body>
</html:html>
please help me..

VAS_MS wrote:
please help me..First help yourself by posting a clear question
You have far to much code posted and without the use of the correct code tags its almost unreadable.
You have a question about uplaoding files with Struts then get rid of all the junk in your code thats not related to uploading files.
If you have an error then post the relevant information on the error
like
org.apache.commons.beanutils.ConversionException:
Cannot assign value of type 'org.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFile' to property 'file' of type 'java.lang.String'
org.apache.struts.action.DynaActionForm.set(DynaActionForm.java:424)If you had posted only that you would have given enough information, that error says it all you are trying to put your file into a String and its not working.
reread the tutorial/documentation provided and try again
Edited by: pgeuens on 21-mrt-2008 8:04

Similar Messages

  • Unable to see the uploaded file using gos object

    Hi Experts,
    I uploaded the file to server by using the below code. But I am unable to see the uploaded file. Please help me out hot to view the uploaded files (list the file name and view the content) (i want to upload the file by getting the url as input and by clicking the button)
    Code to upload the file.
    DATA: wa_zqtc_gos_request TYPE zqtc_gos_request.
      DATA: l_attachment        TYPE swo_typeid.
      DATA: lo_gos_service      TYPE REF TO cl_gos_document_service.
      obj-objkey  = req_num.
      obj-objtype = objtype.
      CREATE OBJECT lo_gos_service.
      CALL METHOD lo_gos_service->create_attachment
        EXPORTING
          is_object     = obj
        IMPORTING
          ep_attachment = l_attachment.
    I tyied with this to view the files but the attachement link is disabled. (i want to view the files by clicking the icon-GOS icon in tool bar)
      DATA: wa_zqtc_gos_request TYPE zqtc_gos_request.
      DATA: l_attachment        TYPE swo_typeid.
      DATA: lo_gos_service      TYPE REF TO cl_gos_document_service.
      obj-objtype = objtype.
      obj-objkey = req_num.
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Please help me out how to view the file and list.
    thanks & regards
    T.Tamodarane
    Edited by: T.Tamodarane on Oct 23, 2009 9:55 AM
    Edited by: T.Tamodarane on Oct 23, 2009 9:56 AM

    Hi,
    Please post ur thred below:
    PL/SQL
    Regards
    Meher Irk

  • Unable to retrive the back files on comp...

    Hi all,
    i am taking the back up of all the files through the desktop software and it is getting save in one folder named Blackberry. but i am not able to retrieve the files. when i m opening the files ,something 2 is coming, not the readable material. It is coming like....
    Inter@ctive Pager Backup/Restore File
    [1]‡AlarmsBrowser Push OptionsAttachment DataAttachment Options
    MMS Messages....
    guys this is coming wt i hv mentioned above...i want to get back all my text messages...what i hv backed up.....but not able to get it...n one more thing when i m taking back up more than one times ,,,same photos are getting copied that many times..so by this way,,,,i m having so many duplicate ...plz HELP............................

    Hello,
    The backup file (IPD or BBB, depending on your RIM Desktop Software version) is not natively readable by any computer. Rather, it is a proprietary format, intended solely for use as the source of restore, using the RIM Desktop Software, to a BB. But, there are 3rd party readers out in the world that can parse the IPD/BBB file and present the data to you in a readable format...a few seconds on Google will surely reveal some candidates to you. MagicBerry has a good reputation, I've heard.
    I'm not understanding the last bit of what you posted...about duplicate photos. But, what I always advise is to use the Desktop Software to backup your SmartPhone Databases, but not your user data (photos, music, documents, etc.). Rather, what I advise for that is to use Mass Storage Mode and manually copy the contents of both Device and Media Card Memory to your computer as a backup...that way, those items are fully readable as well as you can better control what you keep as backup.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How do I find music that has been uploaded to iTunes from a purchased CD and iTunes is "unable to find the original file?" I no longer have the CD. I have tried all the usual methods of looking in my iTunes library and through Find. No Luck.

    How do I find music that has been uploaded to iTunes from a purchased CD and iTunes is “unable to find the original file?” I no longer have the CD. I have tried all the usual methods of looking in my iTunes library and through Find. No Luck.

    Backup drive?
    Subscribe to iTunes Match?
    If neither of the above and you don't have the CD and can't find your tracks on the computer then they you're stuck.  A file recovery utility will cost $100, plus another $100 for an external drive to which to resue the files, and may not even work.  You can buy a lot of CDs for $200.

  • Unable to install the Novell File Upload extension to upload directories

    Using Firefox 9.0.1 on Windows 7 I'm unable to install the Novell File
    Upload extension to upload directories.
    As per the pop-up help page, I've added
    extensions.install.requireBuiltInCerts in about:config and set it to
    false but that has made no difference, even after restarting the browser.
    I've also tried this with Firefox 9.0.1 on Mac OS X Snow Leopard
    (10.6.8) - unsupported I know - with the same result.
    Do I really have to use Internet Explorer? Urgh!
    Simon
    Novell/SUSE/NetIQ Knowledge Partner
    Do you work with Novell technologies at a university, college or school?
    If so, your campus could benefit from joining the Novell Technology
    Transfer Partner (TTP) program. See novell.com/ttp for more details.

    On 19/01/2012 18:11, craig wilson wrote:
    > You should trust the ZCM CA and the error will go away.
    > It's not expected to get that error.
    > Managed Devices especially will have loads of issues if the ZCM CA is
    > not trusted.
    So, with Firefox, first hitting http://<server>/zenworks/ after install
    displays
    --begin--
    This Connection is Untrusted
    You have asked Firefox to connect securely to <server>, but we can't
    confirm that your connection is secure.
    Normally, when you try to connect securely, sites will present trusted
    identification to prove that you are going to the right place. However,
    this site's identity can't be verified.
    What Should I Do?
    If you usually connect to this site without problems, this error could
    mean that someone is trying to impersonate the site, and you shouldn't
    continue.
    [Get me out of here!]
    > Technical Details
    > I Understand the Risks
    ---end---
    so I click "I Understand the Risks", [Add Exception...] then [Confirm
    Security Exception] at which point http://<server>/zenworks/ correctly
    displays and I can log in. Checking Tools | Options | [View
    Certificates] shows an (Unknown) server certificate for <server> with a
    Permanent lifetime.
    Is that what you mean by trusting the ZCM CA?
    Perhaps this is why Firefox 9.x is not a supported browser though I
    thought that was more to do with Mozilla treating major version numbers
    as minor ones? Gee if only Firefox hadn't automatically upgraded itself
    from 8.x to 9.x!
    Thanks.
    Simon
    Novell/SUSE/NetIQ Knowledge Partner
    Do you work with Novell technologies at a university, college or school?
    If so, your campus could benefit from joining the Novell Technology
    Transfer Partner (TTP) program. See novell.com/ttp for more details.

  • Save an uploaded file in struts 2.0

    Hi
    I am working on the video hosting website where users can upload videos, I am able to save the uploaded file if I give the absolute path in my java file where as when I think it will be a better idea if I can use a relative path, because when I will be uploading the file on the web server than I cant use the absolute path, does any one know how to make the path relative in case of struts ?
         private File upload;
         private String uploadContentType;
         private String uploadFileName;
         private String caption;
         public String execute() throws Exception{
              try {
                   String fullFileName = "c:/projectTest/videosDirectory/sample.avi";
                   File theFile = new File(fullFileName");
                   System.out.println(fullFileName);
                   FileUtils.copyFile(upload, theFile);
              } catch (Exception e) {
                   addActionError(e.getMessage());
                   return INPUT;
              return SUCCESS;
    {code}
    I want the variable fullFileName as "/videosDirectory" so that it can automatically compute the path and save the file. or is there any better way ?
    Any help highly appreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    sid_0404 wrote:
    Hi
    I am working on the video hosting website where users can upload videos, I am able to save the uploaded file if I give the absolute path in my java file where as when I think it will be a better idea if I can use a relative path...Relative to what?
    In file paths, a relative path is relative to the current working directory. And in an application server, the current working directory isn't related to your application (or any of the other applications) in any way. So that's unlikely to be what you want.
    So, relative to what?

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • How do I replace bookmark bar that was lost when a new Mozilla Fox Start page suddenly appeared with a Zone Alarm Community Toolbar, and nothing I have so far tried, working with "Show all Bookmarks", works ("Unable to process the backup file).

    My current version is 6.0.2. A box appeared a few days ago informing me of an update to 7 (x?). I declined for the time being.
    Then a Start Page just showed up missing the bookmark tool bar. I tried to import a bar from another browser. Nothing showed up. Then, I went to "Help". First, I clicked on "About Firefox" where I was informed of an update. This time, I tried it. When I clicked on "Apply Update", I received a message; 'Update could not be installed" despite there being no other Firefox browsers running.
    I went back to "Help" and clicked on "Firefox Help". A page came up with the URL in place, but the page would not load ("Cannot find server at support.mozilla.com"). After several clicks on "Try Again" with the same result, I copied the URL and pasted it into a different browser, from which I am now working.
    Before sending this question, I tried the two procedures ("Manual Backup" and "Restoring From Backup") found on Bookmarks/Show All Bookmarks/Import And Backup/Restore, using both "stored backups" from Mozilla's Profile folder and "Choose a file", as well as Bookmarks/Show ... /Backup. In each case, the response was, "Unable to process the backup file".
    I had previously tried another method I found on Google which involved copying and saving a Mozilla backup file (this is the file I used in the procedure above - "Choose a File") found in the C:/Documents And Settings/.../Profile Folder, then renaming the original file "backup.HTML" and saving it in a folder one level up from its original location. The Bookmark bar was to show up after shutting down and reopening Mozilla - it never happened. I replaced the original backup file.
    It occurred to me to locate the Bookmark File for this browser (Chrome) and using it in the "Choose a File" method, referred to above. But there is no extension included in the file name, and I was afraid to try it.
    I'm out of ideas. Is there something else to try?

    Check that the Bookmarks Toolbar is visible and that the "Bookmarks Toolbar items" is still placed on the Bookmarks Toolbar.
    If the menu bar is hidden then press F10 or hold down the Alt key, that should make the "Menu Bar" appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
    * Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" or other items that are missing in the toolbar palette or on a toolbar then click the "Restore Default Set" button
    See also:
    *http://kb.mozillazine.org/Uninstalling_add-ons
    *http://kb.mozillazine.org/Uninstalling_toolbars

  • Error message: "Unable to open the physical file" when trying to attach AdventureWorks database

    I have searched the internet and this forum and have not found an answer...
    I am trying to install the AdventureWorks database into my single instance of MS SQL Server Express 2005.  I am logged into my machine as an administrator and logged into SQL Server 2005 express 'sa'.  I attempt to run the following script:
    exec sp_attach_db @dbname = N'AdventureWorks',
    @filename1 = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf',
    @filename2 = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_log.ldf'
    The error message I get back is:
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf". Operating system error 5: "5(Access is denied.)".
    The folder "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data" and all the files in it are read-write.  I am 100.0000% certain the files "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf" and "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Log.ldf" exist!  They are the result of running the installation program AdventureWorksDB.msi, which I downloaded from: http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004.
    What do I have to do to install the AdventureWorkds database????

    Hello,
    To try to help you, please, could you give some more informations ?
    - the operating system (XP/Vista), the edition ( Pro/Home...) and the service pack
    - usually, the installer installs the both files in C:\Program Files\Microsoft Sql Server\Samples. Is there any change in the location or have you moved the both files ?
    - could you check with the files explorer , that the 2 files are read-write and not read only( find one file, right-click on it, properties and in the 1st tabpage, you should see a checkbox read-only ( if checked , unchecke it ) ?
    - have you Sql Server Management Studio Express Edition ( at least SP1 ) ?
    If no, download it and use it to attach
    in the object explorer,
    click on your instance to expand it
    right click on databases
    in the contextual menu, click on attach
    in the new form,click on add
    you arrive on a second form : find your file , click on it, and OK
    it's the simplest way to attach ( the sp_-attach_db is complicated to type )
    the error messages are sometimes more clear in SSMSEE than in Sqlcmd
    Try also to attach ( thru SSMSEE or Sqlcmd but in using the windows authentification )
    NB: i hope that you are not trying to attach AdventureWorks on a remote instance and on a remote computer ( it would explain access denied )
    We are waiting for your feedback to try to help you more efficiently
    Have a nice day

  • Problem with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?

    Hello,
    my problem is with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?
    Normally that i followed all instructions from your support site, and that i tried many things, but nothing helped :( !?
    my .json file isn't corrupted cause it was saved on another partition before formatting my OS.
    Please don't tell me that my bookmarks are lost :( cause i had many important things in that bookmarks, on 100.s pages :( ....
    Thanks in advance!
    Sincerely,
    hoho33

    "
    Can you restore that JSON backup in a new profile?
    Did you make sure that it is really a JSON backup and that there is no missing or hidden other file extension?
    A JSON backup starts with: {"title":"","id":1,"dateAdded"
    A HTML backup starts with: <!DOCTYPE NETSCAPE-Bookmark-file-1>
    You can try if you can restore that JSON backup in a new profile.
    Create a new profile as a test to check if your current profile is causing the problems
    See Basic Troubleshooting: Make a new profile
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Please for administration of this support site, make possibility to quote someone's answer, on this way is dificult to answer somebody who wrote some suggestion!
    No, i can't restore JSON backup in new profile, even on fresh installed OS XP SP3, with fresh installation of latest version of firefox!
    MAN I TOLD YOU 10X IT'S 200 % JSON BACKUP FILE!!! I'M NOT IN IT FROM YESTERDAY, I WORK IN IT 12 YEARS!!!
    I tried restoring json backup in new profile, but nothing, i couldn't restore, cause that stupid error from screen shot which i posted again appears !
    Man i'm not totally noob i repeat 2nd time here, and normally that i know to create new profile, and that i tried that, but that didn't help!
    I can't believe that FIREFOX has not good support team, and doesn't care for yours users, this will not give me more reason to use in future firefox
    like borwser, if i don't have good support, and when i have problem like this, to loose all my very important bookmarks and passwords on them, and
    firefox support won't to help me to solve my problem!
    If somebody from firefox support team read this, i can give you Remote desktop access to my computer to try solve this problem, like other serious company
    like HP, Dell , etc. give remote desktop support to their users!
    Corel are you from firefox support team? Please don't write same suggestions, cause i know to read, and i understand well if you write once some suggestion!
    Greetzz

  • HELP! Lost ALL my bookmarks & Bookmark Toolbar is empty. Attempts to restore from the backup files yields an error message that says, "Unable to process the backup file." Have tried opening nearly all 10 existing backups w/same result.

    I was in the midst of a Firefox session w/two windows open. Nothing special about the sites. No fancy javascripts or anything. When I closed the second window and opened the "History, Show all History" pull-down, the Library screen had no data in it.
    I looked for the Bookmarks.html file in my profile and it is missing. I tried renaming an old .bak file from a couple years ago and I can open it as a file and see the text of it displayed but Firefox will not recognize it as and open it as the Backups file.
    Following the directions already posted - using "History, Show all History" then the "Import and Backup, Restore" process - allows Firefox to see all the backups, but trying to restore from any of them yields the "Unable to process the backup file" error message.
    I have re-started my machine from a cold start - twice now.

    The file that stores bookmarks is probably damaged, for details on how to fix that see http://kb.mozillazine.org/Unable_to_process_the_backup_file_-_Firefox

  • Unable to open the downloaded file

    Unable to open the downloaded file:
    Hyperion Enterprise Performance Management System Foundation Services Release 11.1.2.1.0 -> for Windows x86 -> File2
    http://www.oracle.com/technetwork/middleware/performance-management/downloads/hyperion-foundation-1112-086772.html
    Error message -
    Cannot open file: it does not appear to be a valid archive. If you download this file, try downloading the file again.
    Tried many a times and used various unzipping tool.

    do not pause the download in the middle of the download.
    with some download software, you can pause/stop the download in middle and continue.it will corrupt the software.
    else in middle the due to network... it may corrupt.
    check/compare the size with the original bytes mentioned in the oracle software download index size matches your downloaded file size.
    try to download it again.
    Good Luck.

  • How to specify the directory in which we want to store the uploaded files

    Hello !!
    I am using apache commonfile upload for uploading my files.I followed the user guide and tried to run a program,but my problem is I am not able to understand as to how to mention the directory in which the uploaded file will be saved..My code is given below :
    package r;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import org.apache.commons.fileupload.*;
    import org.apache.commons.fileupload.servlet.*;
    import org.apache.commons.fileupload.disk.*;
    import org.apache.commons.io.*;
    import java.lang.Exception;
    public class fileupload extends HttpServlet
         public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException,ServletException
                   // Check that we have a file upload request
                  boolean isMultipart = ServletFileUpload.isMultipartContent(request);
                 System.out.println(isMultipart);
                 if (ServletFileUpload.isMultipartContent(request))
                 // Create a factory for disk-based file items
                   FileItemFactory factory = new DiskFileItemFactory();
                   // Create a new file upload handler
                   ServletFileUpload upload = new ServletFileUpload(factory);
                   // Parse the request
                   try {
                               List items= upload.parseRequest(request);               
                             Iterator iter = items.iterator();
                             while (iter.hasNext())
                                   FileItem item = (FileItem) iter.next();                    
                                 if (item.isFormField()) //NORMAL FORM FIELD
                                 String name = item.getFieldName();
                                  String value = item.getString();
                                  System.out.println(value);                                                             
                                  else
                                 String fileName = item.getName();
                                 System.out.println(fileName);
                                    String contentType = item.getContentType();
                                  File saveTo = new File("/info/upload_files/myFile.jpeg");
                             try
                                       item.write(saveTo);
                                       System.out.println("File written" );                    
                             catch(Exception e)
                                         System.out.println("File not written");
                                   // InputStream fs= item.getInputStream();                    
                                   fileName = FilenameUtils.getName(fileName);
                                    System.out.println(fileName);
                        }//end of try
              catch (Exception e) { }
         public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
                 doGet(request,response);
    The problem is that the control doesn't reach the try statement and I get " File not written" on the console because it enters catch everytime..Please tell me how the path to the directory should be given...Rest of the code is working fine

    No, the problem is that when an Exception is thrown, you ignore it completely and throw away all the information associated with it. That leaves you to guess at what the problem is. So instead of answering your guess at a good question, I'm going to suggest that in all of your catch blocks you put this code:e.printStackTrace();Then you can look at the output in the log file and see what the problem is. Start from there.

  • To Delete the uploaded file in Application Server

    Hi Friends,
    I developed an BSP Application displaying the results from ITAB though Iterator, for which , each row there is feature to upload a particular file in the Application Server, where I stored the file  path into a database table field.  .When I delete the the row, I am successfully get rid of the entire row including the file path.
    My Question.
    1. How to delete the uploaded file of the Application Server ?
    Please mail me in this regard.
    Regards
    CSM Reddy

    Hi,
    you have the keyword and you have the documentation. What is your problem?
    Search in the forums with keyword "delete dataset", there are lots of threads about this.
    Example
    Deletion of dataset in applicaiton server
    deleting file from AL11 Tcode
    Best regards
    Renald

  • When I try to update I get an U44M1I210 error message, "Unable to extract the downloaded files" - help please, applies to latest Indesign, Illustrator and Photoshop CC

    When I try to do a CC update I get an U44M1I210 error message, "Update failed - Unable to extract the downloaded files. Press retry to download again. (U44M1I210)" - help please - re-downloading makes no difference, applies to latest Indesign, Illustrator and Photoshop CC, others seemed to update without problems. I can see the disk image files in AAMUpdater folder but they will not open and come up with "couldn't be opened - resource busy" message.

    Yes Jeff, I did all those several times to no avail.
    I've included a small error snippet from two installs here. In Creative Cloud when updating the Apps, all 3 get to 50%, then the failure occurs. Retrying starts at 50% and fails the same way each time.
    This first one is a segment from the Indesign updater - I have always had the all hard drive folders with read and write privileges allowed and I checked again, this is still the case so I do not know why this particular error message is arising. The second snippet if from the Illustrator update.
    08/21/14 09:27:20:522 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Installer Operation: PayloadUninstaller
    08/21/14 09:27:20:522 | [INFO] |  | OOBE | DE |  |  |  | 25152 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    08/21/14 09:27:20:522 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Session {CB2632B8-D44B-11E3-88A6-77388C8F654B} modify request for AdobeCode: CommonUninstall
    08/21/14 09:27:20:527 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Effective AdobeCode for: CommonUninstall is CommonUninstall
    08/21/14 09:27:20:528 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Payload  8.0.0.15 CommonUninstall: Calling ARKEngine from path /Applications/Utilities/Adobe Application Manager/DECore/DE6/resources
    08/21/14 09:27:20:531 | [INFO] |  | OOBE | DE |  |  |  | 25152 | INSTALLDIR property not found in database
    08/21/14 09:27:20:531 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Beginning un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    08/21/14 09:27:20:531 | [INFO] |  | OOBE | DE |  |  |  | 25152 | UninstallSeq property not found in database
    08/21/14 09:27:20:531 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 1)
    08/21/14 09:27:20:531 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 1)
    08/21/14 09:27:20:531 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 2)
    08/21/14 09:27:20:531 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 2)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB/Extensions". Check and correct folder & parent directory permissions and then try again.(Seq 3)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 3)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 4)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 4)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0". Check and correct folder & parent directory permissions and then try again.(Seq 5)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 5)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 6)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 6)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 7)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 7)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 8)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 8)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP/extensions". Check and correct folder & parent directory permissions and then try again.(Seq 9)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 9)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP". Check and correct folder & parent directory permissions and then try again.(Seq 10)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 10)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 11)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 11)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 12)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 12)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 13)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 13)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014/Plug-Ins". Check and correct folder & parent directory permissions and then try again.(Seq 14)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 14)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 15)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 15)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized/Extensions.localized". Check and correct folder & parent directory permissions and then try again.(Seq 16)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 16)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized". Check and correct folder & parent directory permissions and then try again.(Seq 17)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 17)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 18)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 18)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 19)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 19)
    08/21/14 09:27:20:533 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Completing un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    08/21/14 09:27:20:533 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Physical payload uninstall result:0
    08/21/14 09:27:20:623 | [INFO] |  | OOBE | DE |  |  |  | 24018 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Operation complete. Setting status: 0 =*=*=*=*=*=*=*=*=*=*=*=*=*
    08/21/14 09:27:20:623 | [INFO] |  | OOBE | DE |  |  |  | 24018 | :: END TIMER :: [Payload Operation :CommonUninstall] took 101 milliseconds (0.101 seconds) DTR = 79.2079 KBPS (0.0773515 MBPS)
    08/21/14 09:27:20:624 | [INFO] |  | OOBE | DE |  |  |  | 24018 | User specified overrideFile:
    08/21/14 09:27:20:625 | [INFO] |  | OOBE | DE |  |  |  | 24018 | The csu inventory was not updated for payload  8.0.0.15 CommonUninstall, value of local var is -1
    08/21/14 09:27:20:625 | [INFO] |  | OOBE | DE |  |  |  | 24018 | Calling the ROLLBACK custom action code for pre-remove for payload  8.0.0.15 CommonUninstall
    08/21/14 09:27:20:698 | [INFO] |  | OOBE | DE |  |  |  | 24018 | No operation.  We're done:
    0/22/14 11:18:46:937 | [INFO] |  | OOBE | DE |  |  |  | 77654 | Beginning un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    10/22/14 11:18:46:938 | [INFO] |  | OOBE | DE |  |  |  | 77654 | UninstallSeq property not found in database
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Users/MikeTessersComputer/Library/Preferences/Adobe/dynamiclinkmediaserver". Check and correct folder & parent directory permissions and then try again.(Seq 1)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 1)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Users/MikeTessersComputer/Library/Preferences/Adobe InDesign". Check and correct folder & parent directory permissions and then try again.(Seq 2)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 2)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 3)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 3)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Startup Scripts CC/Adobe Photoshop". Check and correct folder & parent directory permissions and then try again.(Seq 4)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 4)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 9.0/en_US/Extensions". Check and correct folder & parent directory permissions and then try again.(Seq 5)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 5)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 9.0/en_US". Check and correct folder & parent directory permissions and then try again.(Seq 6)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 6)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 9.0". Check and correct folder & parent directory permissions and then try again.(Seq 7)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 7)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB/Extensions". Check and correct folder & parent directory permissions and then try again.(Seq 8)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 8)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 9)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 9)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0". Check and correct folder & parent directory permissions and then try again.(Seq 10)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 10)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign". Check and correct folder & parent directory permissions and then try again.(Seq 11)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 11)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/ro_RO". Check and correct folder & parent directory permissions and then try again.(Seq 12)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 12)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 13)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 13)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/el_GR". Check and correct folder & parent directory permissions and then try again.(Seq 14)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 14)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 15)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 15)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 16)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 16)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP/extensions". Check and correct folder & parent directory permissions and then try again.(Seq 17)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 17)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP". Check and correct folder & parent directory permissions and then try again.(Seq 18)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 18)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 19)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 19)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 20)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 20)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Photoshop CC 2014/Plug-ins". Check and correct folder & parent directory permissions and then try again.(Seq 21)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 21)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Photoshop CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 22)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 22)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014/Plug-Ins". Check and correct folder & parent directory permissions and then try again.(Seq 23)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 23)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014/Plug-Ins". Check and correct folder & parent directory permissions and then try again.(Seq 24)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 24)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 25)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 25)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 26)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 26)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized/Extensions.localized". Check and correct folder & parent directory permissions and then try again.(Seq 27)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 27)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized/Extensions.localized". Check and correct folder & parent directory permissions and then try again.(Seq 28)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 28)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized". Check and correct folder & parent directory permissions and then try again.(Seq 29)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 29)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized". Check and correct folder & parent directory permissions and then try again.(Seq 30)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 30)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 31)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 31)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 32)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 32)
    10/22/14 11:18:46:942 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 33)
    10/22/14 11:18:46:942 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 33)
    10/22/14 11:18:46:942 | [INFO] |  | OOBE | DE |  |  |  | 77654 | Completing un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    10/22/14 11:18:46:942 | [INFO] |  | OOBE | DE |  |  |  | 77654 | Physical payload uninstall result:0
    10/22/14 11:18:47:030 | [INFO] |  | OOBE | DE |  |  |  | 77365 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Operation complete. Setting status: 0

Maybe you are looking for

  • Late 2012 Mac mini upgrade ssd - also install parallels 8 and windows 7

    Late 2012 Mac mini (16gb memory) SSD install - samsung 840 pro 512 gb.  I am looking to install this new SSD as possibly a dual drive setup almong with the stock HDD 500gb in order to: make the system faster (with more storage etc.), possibly use the

  • IPod will connect to computer but not to iTunes (I followed the apple website guide already)

    My iPod touch 4th gen WILL connect to my computer but not iTunes. I ran the diagnostics in iTunes and Apple mobile service is running, iTunes is updated and iTunes says everything is ok EXCEPT it says there is no iPod connected, but my computer says

  • Internal challan no group

    Hi all, client is using 4.6c, now they implementing cin version for india, in that customization of wht, the bank remmittence challan no showing no values when i select the dropdown menu in t.code:j1inbank, upto challan updation working well. i check

  • Value Contract and Quantity Contract in single document type

    Hi All Bussiness requires Value Contract and Quantity Contract in single document type. Updating backwordly to contract on the basis of both and should give error/warning if any one of them (value or quantity) reach to contract target. Can any body w

  • CS2 - Canon iP5200R, A5 printing problem

    Hi, I have an A5 document I would like to print to A5 card. I cannot get it to print how it looks on the screen though, it always prints at the top right hand side of the sheet, with only the bottom and left hand side parts of the image being printed