NullPointerException while uploading wrong file in af:inputfile

Hi All,
I am uploading excel sheet data into jspx Page(database table) by using af:inputFile.After uploading file af:inputFile need to be refresh.It is getting refresh for right file(excel file),but it is not refreshing for wrong file upload.
it showing following error.
UIComponent is null
ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2
i had refer frank's blog https://blogs.oracle.com/jdevotnharvest/entry/how_to_reset_adf_faces.
Could any one help on this!!
Thanks in advance!!

here is my jspx source code.
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:h="http://java.sun.com/jsf/html">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document title="ExcelToTable.jspx" id="d1">
<af:messages id="m1"/>
<af:form id="f1" usesUpload="true">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
<f:facet name="center">
<af:panelSplitter id="ps1" orientation="vertical" splitterPosition="146">
<f:facet name="first">
<af:panelFormLayout id="pfl2">
<af:panelLabelAndMessage label="#{bindings.Deptno.hints.label}" id="plam1">
<af:outputText value="#{bindings.Deptno.inputValue}" id="ot1">
<af:convertNumber groupingUsed="false" pattern="#{bindings.Deptno.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.Dname.hints.label}" id="plam2">
<af:outputText value="#{bindings.Dname.inputValue}" id="ot2"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.Loc.hints.label}" id="plam3">
<af:outputText value="#{bindings.Loc.inputValue}" id="ot3"/>
</af:panelLabelAndMessage>
<f:facet name="footer">
<af:panelGroupLayout layout="vertical" id="pgl2">
<af:panelGroupLayout layout="horizontal" id="pgl3">
<f:facet name="separator">
<af:spacer width="10" height="1" id="s1"/>
</f:facet>
<af:commandButton actionListener="#{bindings.First.execute}"
text="First" disabled="#{!bindings.First.enabled}"
partialSubmit="true" id="cb1"/>
<af:commandButton actionListener="#{bindings.Previous.execute}"
text="Previous"
disabled="#{!bindings.Previous.enabled}"
partialSubmit="true" id="cb4"/>
<af:commandButton actionListener="#{bindings.Next.execute}" text="Next"
disabled="#{!bindings.Next.enabled}"
partialSubmit="true" id="cb5"/>
<af:commandButton actionListener="#{bindings.Last.execute}" text="Last"
disabled="#{!bindings.Last.enabled}"
partialSubmit="true" id="cb6"/>
</af:panelGroupLayout>
<af:commandButton text="Submit" id="cb7"/>
</af:panelGroupLayout>
</f:facet>
</af:panelFormLayout>
</f:facet>
<f:facet name="second">
<af:panelCollection id="pc1">
<f:facet name="menus"/>
<f:facet name="toolbar">
<af:toolbar id="t2">
<af:commandButton actionListener="#{bindings.CreateInsert.execute}"
text="InsertRow"
disabled="#{!bindings.CreateInsert.enabled}" id="cb2"
immediate="true"/>
<af:commandButton actionListener="#{bindings.Delete.execute}"
text="DeleteRow"
disabled="#{!bindings.Delete.enabled}" id="cb3"
immediate="true"/>
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table value="#{bindings.EmpView3.collectionModel}" var="row"
rows="#{bindings.EmpView3.rangeSize}"
emptyText="#{bindings.EmpView3.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.EmpView3.rangeSize}" rowBandingInterval="0"
filterModel="#{bindings.EmpView3Query.queryDescriptor}"
queryListener="#{bindings.EmpView3Query.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.EmpView3.collectionModel.selectedRow}"
selectionListener="#{bindings.EmpView3.collectionModel.makeCurrent}"
rowSelection="single" id="t1" partialTriggers="::cb2 ::cb3">
<af:column sortProperty="#{bindings.EmpView3.hints.Empno.name}"
filterable="true" sortable="true"
headerText="#{bindings.EmpView3.hints.Empno.label}" id="c1">
<af:inputText value="#{row.bindings.Empno.inputValue}"
label="#{bindings.EmpView3.hints.Empno.label}"
required="#{bindings.EmpView3.hints.Empno.mandatory}"
columns="#{bindings.EmpView3.hints.Empno.displayWidth}"
maximumLength="#{bindings.EmpView3.hints.Empno.precision}"
shortDesc="#{bindings.EmpView3.hints.Empno.tooltip}" id="it1">
<f:validator binding="#{row.bindings.Empno.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.EmpView3.hints.Empno.format}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.EmpView3.hints.Ename.name}"
filterable="true" sortable="true"
headerText="#{bindings.EmpView3.hints.Ename.label}" id="c2">
<af:inputText value="#{row.bindings.Ename.inputValue}"
label="#{bindings.EmpView3.hints.Ename.label}"
required="#{bindings.EmpView3.hints.Ename.mandatory}"
columns="#{bindings.EmpView3.hints.Ename.displayWidth}"
maximumLength="#{bindings.EmpView3.hints.Ename.precision}"
shortDesc="#{bindings.EmpView3.hints.Ename.tooltip}" id="it2">
<f:validator binding="#{row.bindings.Ename.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.EmpView3.hints.Job.name}" filterable="true"
sortable="true" headerText="#{bindings.EmpView3.hints.Job.label}"
id="c3">
<af:inputText value="#{row.bindings.Job.inputValue}"
label="#{bindings.EmpView3.hints.Job.label}"
required="#{bindings.EmpView3.hints.Job.mandatory}"
columns="#{bindings.EmpView3.hints.Job.displayWidth}"
maximumLength="#{bindings.EmpView3.hints.Job.precision}"
shortDesc="#{bindings.EmpView3.hints.Job.tooltip}" id="it3">
<f:validator binding="#{row.bindings.Job.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.EmpView3.hints.Mgr.name}" filterable="true"
sortable="true" headerText="#{bindings.EmpView3.hints.Mgr.label}"
id="c4">
<af:inputText value="#{row.bindings.Mgr.inputValue}"
label="#{bindings.EmpView3.hints.Mgr.label}"
required="#{bindings.EmpView3.hints.Mgr.mandatory}"
columns="#{bindings.EmpView3.hints.Mgr.displayWidth}"
maximumLength="#{bindings.EmpView3.hints.Mgr.precision}"
shortDesc="#{bindings.EmpView3.hints.Mgr.tooltip}" id="it4">
<f:validator binding="#{row.bindings.Mgr.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.EmpView3.hints.Mgr.format}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.EmpView3.hints.Hiredate.name}"
filterable="true" sortable="true"
headerText="#{bindings.EmpView3.hints.Hiredate.label}" id="c5">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.Hiredate}" id="id1">
<af:convertDateTime pattern="#{bindings.EmpView3.hints.Hiredate.format}"/>
</af:inputDate>
</f:facet>
<af:inputDate value="#{row.bindings.Hiredate.inputValue}"
label="#{bindings.EmpView3.hints.Hiredate.label}"
required="#{bindings.EmpView3.hints.Hiredate.mandatory}"
columns="#{bindings.EmpView3.hints.Hiredate.displayWidth}"
shortDesc="#{bindings.EmpView3.hints.Hiredate.tooltip}"
id="id2">
<f:validator binding="#{row.bindings.Hiredate.validator}"/>
<af:convertDateTime pattern="#{bindings.EmpView3.hints.Hiredate.format}"/>
</af:inputDate>
</af:column>
<af:column sortProperty="#{bindings.EmpView3.hints.Sal.name}" filterable="true"
sortable="true" headerText="#{bindings.EmpView3.hints.Sal.label}"
id="c6">
<af:inputText value="#{row.bindings.Sal.inputValue}"
label="#{bindings.EmpView3.hints.Sal.label}"
required="#{bindings.EmpView3.hints.Sal.mandatory}"
columns="#{bindings.EmpView3.hints.Sal.displayWidth}"
maximumLength="#{bindings.EmpView3.hints.Sal.precision}"
shortDesc="#{bindings.EmpView3.hints.Sal.tooltip}" id="it5">
<f:validator binding="#{row.bindings.Sal.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.EmpView3.hints.Comm.name}" filterable="true"
sortable="true" headerText="#{bindings.EmpView3.hints.Comm.label}"
id="c7">
<af:inputText value="#{row.bindings.Comm.inputValue}"
label="#{bindings.EmpView3.hints.Comm.label}"
required="#{bindings.EmpView3.hints.Comm.mandatory}"
columns="#{bindings.EmpView3.hints.Comm.displayWidth}"
maximumLength="#{bindings.EmpView3.hints.Comm.precision}"
shortDesc="#{bindings.EmpView3.hints.Comm.tooltip}" id="it6">
<f:validator binding="#{row.bindings.Comm.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.EmpView3.hints.Deptno.name}"
filterable="true" sortable="true"
headerText="#{bindings.EmpView3.hints.Deptno.label}" id="c8">
<af:inputText value="#{row.bindings.Deptno.inputValue}"
label="#{bindings.EmpView3.hints.Deptno.label}"
required="#{bindings.EmpView3.hints.Deptno.mandatory}"
columns="#{bindings.EmpView3.hints.Deptno.displayWidth}"
maximumLength="#{bindings.EmpView3.hints.Deptno.precision}"
shortDesc="#{bindings.EmpView3.hints.Deptno.tooltip}"
id="it7">
<f:validator binding="#{row.bindings.Deptno.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.EmpView3.hints.Deptno.format}"/>
</af:inputText>
</af:column>
</af:table>
</af:panelCollection>
</f:facet>
</af:panelSplitter>
</f:facet>
<f:facet name="header"/>
<f:facet name="start">
<af:panelGroupLayout id="pgl1">
<af:panelFormLayout id="pfl1">
<f:facet name="footer">
<af:commandButton text="Upload" id="uploadButton"
actionListener="#{FileProcessor.checkFile}" partialSubmit="true"/>
</f:facet>
<af:inputFile label="EmpFile" id="if1" value="#{FileProcessor.uploadedFile}"
partialTriggers="uploadButton" binding="#{FileProcessor.inputFile}"/>
<af:messages id="m2"/>
</af:panelFormLayout>
</af:panelGroupLayout>
</f:facet>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>
and bean class code is as follows.
package xxorn.model.view;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
import oracle.adf.view.rich.component.rich.input.RichInputFile;
import oracle.adf.view.rich.component.rich.output.RichMessages;
import oracle.adf.view.rich.context.AdfFacesContext;
import org.apache.myfaces.trinidad.model.UploadedFile;
import org.apache.myfaces.trinidad.util.ComponentUtils;
public class FileProcessor {
private CSVtoADFTableProcessor tablecreator;
private UploadedFile uploadedFile;
private String filename;
private long filesize;
private String filecontents;
private String filetype;
private RichMessages errorMsg;
private RichInputFile inputFile;
public FileProcessor() {
public void setUploadedFile(UploadedFile uploadedFile) {
this.uploadedFile = uploadedFile;
this.filename = uploadedFile.getFilename();
this.filesize = uploadedFile.getLength();
this.filetype = uploadedFile.getContentType();
try {
if (filename.endsWith(".csv"))
tablecreator.processCSV(uploadedFile.getInputStream());
else if(filename.endsWith(".xls")){
System.out.println("uploaded file is ********"+uploadedFile);
tablecreator.fileSubmit(uploadedFile.getInputStream());
//tablecreator.WriteXLS(uploadedFile.getInputStream());
else if (filename.endsWith(".xlsx")){
tablecreator.fileSubmitXSSF(uploadedFile.getInputStream());
//wrong file upload
else{
String msg="this is a global message.";
FacesContext ctx =FacesContext.getCurrentInstance();
FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "Please Upload proper file");
ctx.addMessage(null,fm);
} catch (IOException e) {
e.printStackTrace();
public void convertStreamToString(InputStream is) throws IOException {
StringBuilder sb = new StringBuilder();
String line;
BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
while ((line = reader.readLine()) != null) {
sb.append(line).append("\n");
System.out.println(sb.toString());
public UploadedFile getUploadedFile() {
return uploadedFile;
public void setFilename(String filename) {
this.filename = filename;
public String getFilename() {
return filename;
public void setFilesize(long filesize) {
this.filesize = filesize;
public long getFilesize() {
return filesize;
public void setFilecontents(String filecontents) {
this.filecontents = filecontents;
public String getFilecontents() {
return filecontents;
public void setFiletype(String filetype) {
this.filetype = filetype;
public String getFiletype() {
return filetype;
public void setTablecreator(CSVtoADFTableProcessor tablecreator) {
this.tablecreator = tablecreator;
public CSVtoADFTableProcessor getTablecreator() {
return tablecreator;
public void setErrorMsg(RichMessages errorMsg) {
this.errorMsg = errorMsg;
public RichMessages getErrorMsg() {
return errorMsg;
public String checkFile(ActionEvent actionEvent) throws Exception {
// Add event code here...
System.out.println("in upload action event");
/* RichInputFile vTheInputFileComponent = getInputFile();
vTheInputFileComponent.resetValue();*/
FacesContext vFacesContext = FacesContext.getCurrentInstance();
UIViewRoot vUIViewRoot = vFacesContext.getViewRoot();
RichInputFile vTheInputFileComponent =
(RichInputFile)vUIViewRoot.findComponent("if1");
vTheInputFileComponent.resetValue();
AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
adfFacesCtx.addPartialTarget(inputFile);
return null;
public void setInputFile(RichInputFile inputFile) {
this.inputFile = inputFile;
inputFile=null;
public RichInputFile getInputFile() {
return inputFile;
}

Similar Messages

  • Error Raised while uploading Excel file to SAP

    Hi All,
    I am getting error while uploading excel file into SAP using the function module 'TEXT_CONVERT_XLS_TO_SAP'.
    Error Message is UX(893) -  'Excel file & cannot be processed' .
    Please let me know what went wrong.
    Regards,
    Deepthi

    Hi,
    1 .TEXT_CONVERT_XLS_TO_SAP  Funtion module will work if you have installed Microsoft Excel at front end.
    2. Whenyou declare internal table for upload, specify the char only in the strcture ,don't specify any data element or dictionary reference.    If the data element and dictionaly reference is character field then its ok.
    eg.
    types:begin of st_data,
               field1 type char15,
               field2 type char23,
              endif.
    3. Close the excel before you upload
    Hope this might solve your issue.
    Regards
    Aromal R

  • Error while uploading the file from Allpcation server in LSMW-7th step

    Hi Experts,
    what should be the specific CODE PAGE should be maintained while uploading the file from application server in LSMW-7th Step
    Thanks in advance,
    KSR

    Hi
    I mean that there is any seperate CODE PAGE which comes at the bottom of screen while uploading the file from the application server in 7th step.
    Is there any specific CODE PAGE to be maintained...
    Thanks in advance
    Oarsk

  • Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

    Hi All,
    In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
    Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
    3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
    Error within screenshot are : status Code : 409
    status Text :conflict
    For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
    my code is
    function PerformUpload(listName, fileName, listItem, fileData)
        var urlOfAttachment="";
       // var itemId = listItem.get_id();
        urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
        // use the request executor (cross domain library) to perform the upload
        var reqExecutor = new SP.RequestExecutor(appWebUrl);
        reqExecutor.executeAsync({
            url: urlOfAttachment,
            method: "POST",
            headers: {
                "Accept": "application/json; odata=verbose",
                "X-RequestDigest": digest              
            contentType: "application/json;odata=verbose",
            binaryStringRequestBody: true,
            body: fileData,
            success: function (x, y, z) {
                alert("Success!");
            error: function (x, y, z) {
                alert(z);

    Hi,
    THis is common issue if your file size exceeds 
     upload a document of size more than 1mb. worksss well for kb files.
    https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
    or try the below method
    https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Error while uploading .xml file for Customer/Vendor List for Italy

    Hi All,
    We are facing problem while uploading the .xml file in DMEE transaction for the new Customer/Vendor List for Italy.
    We have followed the entire process given in the OSS Note(1090857).
    We have SAP 4.6c and followed the below steps:
    1. Created ID-FI-IT Development class
    2. Added domains
    3. Added Data elements
    4. Tried to upload the given .xml file and got any error saying ".xml file could not be interpreted".
    Also there is a .SAR file mentioned to upload if we receive any errors while uploading .xml file.
    Tried uploading the .SAR file also. STill we are recieving the same Error.
    Can any one of you help us out.
    Thanks in Advance.
    Ramesh

    Ok, we upload .SAR file in this way:
    1. unpack .SAR file with SAPCAR.EXE program. Yuo obtain 2 files
    R492445.P9C and K492445.P9C
    2. put K492445.P9C in directory \SAPMNT\TRANS\COFILES and put R492445.P9C in directory \SAPMNT\TRANS\DATA of your system (DEV, TST or PRD)
    3. Use Tx STMS. If You want create DMEE tree in DEV system, go to DEV import queue. Choose menu Extras | Other requests | Add. Insert P9CK492445 in Transp. request field.
    4. Import the request. This creates the DMEE tree. You don't need ti upload XML file after. You can see the DMEE tree created with Tx DMEE and inserting
    Tree type        UMS1            
    Format tree     IT_CUST_VEN_LIST
    5. after continue follow the note
    I hope this help you
    Roberto

  • Multiple languges used while uploading a file using java appn

    Hi everybody,
    i have a problem with multiple languages , let me clear you the question, i were developing a java application using spring ,hibernate frame works, so i got a problem while uploading a file with chinees language or other
    it was saving with different format other than chiness in the database, can any one help me out ... i need the exact language when i upload the files
    thank you very much

    Santhosh_25 wrote:
    actually i have asked the users for the languages... they told some languages like chinees,japanese,german,french,koriean,spanish,italian,dutch,russsian,englishThat isn't deterministic.
    Again, this is pointless unless it is deterministic.
    But lets say that each language group only uses a single character set.
    And each language group stores their files in a specific directory (or server).
    That allows you to deterministically identify the character set of the file.
    So you can then read each file by using a text reader from the java.io package with the correct encoding set.
    This works because it is determinstic.
    The following will NOT work.
    You have a directory with a bunch of files with completely random content in different languages. There is NO way to write a program that will correctly handle those.
    So, again, the first step before doing anything in java is figuring out how you will differentiate the different files.

  • Error message while upload excel file (with macro) to sap (iw28)

    While upload excel file to sap through iw28, i get error message (vb)
    u2022     i have to say that the excel file contain macro , with out the macro , work fine .
    u2022     The error display just in refresh command.
    the error message :
    Public Sub ALV_CUS_Exit()
    Dim objs As ChartObjects
    Dim obj As ChartObject
    Dim sheet As Worksheet
    Dim r As Range
    For Each sheet In Sheets
    Set objs = sheet.ChartObjects
    For Each obj In objs
    Set r = Sheets("RawData").UsedRange
    obj.Chart.SetSourceData Source:=r
    Next obj
    Next sheet
    End Sub

    hi,
    This is releated to the ABAP coding...There might be some ouput problem in the Abap list viewer...Pls check it with the ABAP consultant...
    Regards
    Priyanka.P

  • How to get full file path while uploading a file in flex Applications

    How to get full file path while uploading a file in flex applications.
    FileReference Object is giving file name and other details but not the actual path.
    Is there any workaround to to get the file path?.
    Thanks

    Why not ask in the Flex forum; it is more likely that someone over there knows.

  • How to upload multiple files using af:inputfile

    Hi,
    I am using J dev 11.1.1.3. I have a requirement wherein i need to upload multiple files using af:inputfile. Can we do in it ADF ? Is there any other work around to implement the same. I have checked previous questions but not able to find proper solution for this.
    Any pointer in this regard is highly helpful.
    Regards,
    Kalyan

    You have to do this your self by either (as vinod said) using a different component (not present in adf) or implementing this:
    1) allow the user to select multiple filenames (somehow)
    2) zip them together
    3) upload the zip
    4) unpack the zip on the server
    5) work with the files
    Timo

  • Jlaunch process using High CPU, while uploading the files in XI system

    Hi,
    we are facing  jlaunch high cpu usage problems, while uploading the files of more than 25MB, in XI system. PIAFUSER is running on PRIV mode and huge java core dumps and heapdumps are  getting generated in server0 node
    error message->  - Out of memory situations running XI
    Exception thrown [Fri Sep 30 13:57:27,855]:Exception thrown by application running in JCo Server
    java.lang.Exception: java.lang.OutOfMemoryError
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:237)
         at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    first , we tested in Quality system, where,we are getting same problems as well.
    SAP Note 146289 - Parameter Recommendations for 64-Bit
    increased em/intial_size_MB  from 512MB to 2 GB and em/global_area_MB value from 96 to 256
    SAP Note 723909 - Java VM settings for J2EE 6.40/7.0
    we added some jvm parameters in confitool
    -Djava.awt.headless=true
    -XX:+UseParNewGC
    -XX:+PrintGCTimeStamps
    Present  JVM values in XQ1 system..
    Xmx  value 3072
    xms  value 2048
    xmn  value 1000
    we have tested JCo RFC's  AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER , connection test was OK.
    We increased parameter com.sap.aii.ib.client.jnlp.j2se.maxheapsize from 512m to 800m
    Please advice me.. how to proceed..
    regards,
    balaram

    Hi Balaram,
    Kindly review below note, Hope it suits.
    716927 - Overview of AIX JVM for NetWeaver 2004 and 7.0 (2004s).
    Regards,
    Mani

  • (409) Conflict Error while uploading the file into Sharepoint library

    Getting the below error while uploading the file into Sharepoint library.
    (409) Conflict. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.File.SaveBinary(ClientContext context, String serverRelativeUrl,
    Stream stream, String etag, Boolean overwriteIfExists
    I have used the below code:
    ClientOM.File.SaveBinaryDirect(clientContext, "/Shared%20Documents/NewDocument.pptx", memoryStream, true);
    Thanks in advance.

    May be issue is with path.
    https://server/ should be there instead of
    subsite path(https://server/path/path)
    in the client context
    Check the below link
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/fbb38b10-1127-48a6-a65f-0301edd766c4/the-remote-server-returned-an-error-409-conflict-error-while-uploading-files-to-sharepoint?forum=sharepointdevelopmentlegacy

  • How to give the unix server path while uploading a file

    Hi All,
    Am very new to this file operations in Oracle.
    here i have a requirement like we need to upload table to unix server using oracle. I have read about File operations in Oracle but in that i did not understand one point like how and where to give the unix server path .. like username@servername and Path where that file needs to be stored.
    I have googled for file operations in oracle.. in that there are asking me to create one object like as follows
    Create or replace directory rtvms2 as 'MYDIR:'
    The MYDIR: i need to use while uploading the file .
    UTL_FILE.FOPEN('MYDIR:','Report.txt','W');
    My Question is how and where should i give my unix server information .?
    and how and in which step oracle connect to unix server and upload the file.?
    Can any one please help me.
    Thanks
    Sree

    you're close...
    (this example shows it for a windows server, but you just replace the windows directory path with a unix server path)
    CREATE OR REPLACE DIRECTORY mydir AS 'c:\myfiles';Note: This does not create the directory on the file system. You have to do that yourself and ensure that oracle has permission to read/write to that file system directory.
    Then, grant permission to the users who require access e.g....
    GRANT READ,WRITE ON DIRECTORY mydir TO myuser;Then use that directory object inside your FOPEN statement e.g.
    fh := UTL_FILE.FOPEN('MYDIR', 'myfile.txt', 'r');Note: You MUST specify the directory object name in quotes and in UPPER case for this to work as it is a string that is referring to a database object name which will have been stored in uppercase by default.
    For security reasons, Oracle requires a directory object and it is that object that points to the actual path (it's up to you to make sure that path is valid and exists on the operating system). Then the object can have read and write permissions given to relevant database users as appropriate i.e. you may want one user to only be able to read files from that location whilst another user can read and write. You still need to ensure operating system level permissions exist for that path for the operating system user under which oracle was installed (on unix that's likely to be an "oracle" user).

  • UCCX 8.0 "Error while uploading the file. Please try again."

    I was on UCCX  version 8.0.2.11003-10 and i was able to upload an script with the same name as an old one (overwrite).
    Upgrade to  UCCX 8.0.2.11004-12 and now I am receiving the error: "Error while uploading the file. Please try again."
    There was a bug CSCth09248 that affected version 7 but supposed to be fixed on version 8 and was fixed on an earlier version. But after moving to a minor patch, problem came back...
    Any ideas?

    Hi,
    I belive the bug was initially opened to fix the issue when uploading script fails when using wizard to configure uccx.
    But now they have re-opened the same bug instead of opened a new one for the issue that you have.
    I looked at the case attached to that bug, case # 617145545. Below is the problem description that customer has which is same as yours and this bug has been re-opened to fix this particular problem.
    When I tried to upload a modified script with an existing file name, the message "script file already exists.
    Overwrite existing script file, continue?" comes up and when I select "OK" then,
    it dispaly Status "Error while uploading the file.  Please try again".
    If I remove an existing file first, it will upload fine.  
    Using UCCX Admin 8.0.2.11004-12 and UCCX Editor 8.0(2.0).
    Thanks
    Ankita

  • Issue while uploading .TIFF file into Standard text using RSTXLDMC

    Hi All,
    We are facing issues while uploading .TIFF file into standard text through program RSTXLDMC.
    Getting the following error.
    TIFF format error: No baseline TIFF 6.0 file.
    The image is a colored one.
    Please provide me solution if anyone has worked in this area.
    Thanks in Advance,
    Anand Raj Kuruba.

    Hi,
    Often this error occurs because the TIFF file you have has been saved with some form of compression.  You need to open in a picture edit program and save as TIFF making sure options are set so there is no compression.
    Andrew

  • Issue while uploading DME file generated from SAP using program RFFOAU_T

    Hi Friends,
    I ran f110 for our australian company code and able to generate DME file for making supplier payments successfully.
    Encountered problem while uploading this file into our Bank Portal, upload is unsuccessful, status is showing as  "Requires Repair u201C
    I called the bank customer service and they told me that ,
    We need to enter in our SAP the Bank ID ,
    We have to enter there : NAB
    Customer service told me that their bank is looking for Bank ID ,
    But canu2019t see it , so the payment is not going through.
    Can you please help me that  where in SAP Bank ID should be entered, so as to upload this file successfully.
    Thanks for your help.
    Regards
    Anil

    Hi Anil,
    While creating House Banks you can find Button called Data Medium Exchange. There is Bank Id field.
    Try it once
    reg
    vishnu

Maybe you are looking for

  • How can I get a document from apple online store with IMEI number on it?

    Hi I got my iPhone stolen, and currently have insurance requesting a document with IMEI number on it, I called apple and they say this doesn't exist? I tried to explain to insurance, but they won't listen. I have sent in packing list, shipping notifi

  • New User - Cannot select drum kit loops

    Hi, I am a trying out GarageBand for the first time and having a lot of fun. However I was following one of the Apple tutorials where I clicked on song writing and had a basic drum track. The tutorial said if you don't like the drum track you can del

  • How can I limit same application only be launched once in one pc

    I designed my first game application. It is a multi-play net chess game, I use RMI to achieved it.But I don't want to any player to open two or more client chess application in their PC(they can cheat in playing by this way).how can I do it? kind jav

  • How does a BlackBerry handheld connect to BES for the first time?

    How does a Blackberry device connect to BlackBerry Enterprise Server (BES) for the first time? Is there a risk that a rogue BlackBerry handheld connects to BES? Thank you in advance!

  • How do I lock my page zoom in new FF3.6?

    I just downloaded the new FF3.6. Big Mistake. I need page zoom to enlarge the page and keep the setting locked for future. The new FF3.6 will not stay locked. I have to manually zoom FF each time I open the browser. How can I keep my page zoom settin