Unable to upload document in oracle blob

In our project it's needed to attach docs in the oracle DB, so that user can read it from the DB through aplication itself.
my project is running on Weblogic 8.1 & jdk 1.4
I am using the following code for uploading 7 downloading.
public static boolean upload(Connection cncDB, int leadID,FormFile myFile,int pageID){
          boolean flag=true;
          ResultSet rslStDB = null;
          PreparedStatement prpStDB = null;
          try{
               byte[] fileData = myFile.getFileData();
               oracle.sql.BLOB blobObj=null;
               if(pageID==1){
               prpStDB=cncDB.prepareStatement("select pitchdoc from m_deal where leadid="+leadID+" and activeflag=1 for update");
               else{
               prpStDB = cncDB.prepareStatement("select scanDocs from t_file_login_ops where leadid='" + leadID + "' for update");
               rslStDB=prpStDB.executeQuery();
               if (rslStDB.next()){
                    blobObj=(oracle.sql.BLOB)rslStDB.getBlob(1);
               OutputStream out=blobObj.getBinaryOutputStream();
               out.write(fileData);
               if(out!=null){out.close();}
     catch (NullPointerException ne) {
          flag=false;
          logger.error("NullPointerException " + ne.getMessage());
     } catch (Exception e) {
          flag=false;
          logger.error("Exception " + e.getMessage());
     } finally {
          // No need to close the connection
          DBConnectionHandler.releaseConnection(null, null, prpStDB);
     return flag;
     * @param selectedLeadID : leadID of the deal
     * @return
     public static byte[] downloadPitchDocs(String selectedLeadID,int pageID) {
     Connection cncDB = null;
     PreparedStatement prpStDB = null;
     ResultSet rslt = null;
     byte[] fileBytes = null;
     logger.info("Given ID In DAO is:" + selectedLeadID);
     try {
     cncDB = DBConnectionHandler.getConnectionDashboard();
     StringBuffer sbQuery = new StringBuffer(500);
     if(pageID==1){
     sbQuery.append("SELECT PITCHDOC from M_DEAL where leadid='" +
     selectedLeadID + "'");
     sbQuery.append(" and activeflag=1");
     prpStDB = cncDB.prepareStatement(sbQuery.toString());
     else{
          sbQuery.append("SELECT scandocs from T_FILE_LOGIN_OPS where leadid="+selectedLeadID+"");
          prpStDB = cncDB.prepareStatement(sbQuery.toString());
     logger.info("DownLoad:" + sbQuery.toString());
     rslt = prpStDB.executeQuery();
     while (rslt.next()) {
     //InboxVO inboxVO = new InboxVO();
     Blob blob = rslt.getBlob(1);
     fileBytes = blob.getBytes(1, (int) blob.length());
     } catch (NullPointerException ne) {
     logger.error("NullPointerException " + ne.getMessage());
     } catch (SQLException se) {
     logger.error("SQLException " + se.getMessage());
     } catch (Exception e) {
     logger.error("Exception " + e.getMessage());
     } finally {
     DBConnectionHandler.releaseConnection(cncDB, rslt, prpStDB);
     return fileBytes;
when i executed the application it's downloading but not uploading. don't know why.............
Please help me, how to upload in blob in weblogic 8.1 with jdk 1.4??????????

Dear Nishad,
Keeping objects in external content repository is not a good idea if there is a possibility that the objects can be transported to another system where they need to be used as well. The transport just copies the link to the new system. So 2 systems then are able to work with same object. When one system changes the object and saves it as the same version then other system will not be able to access it  because it still has the old keys to access the object while the keys have been changed.
Changing the model and saving it basically creates a new PHIO and deletes the old PHIO and object content key is the new PHIO id which is now present only in one system . Hence, the issue in the other system.
You can transport the record model from sandbox to production and then change the repository in sandbox system so that the sandbox system does not access the repository accessed by production system.
If the record model in its current form in sandbox is not required in production( if you need the old record model in production) then please check if there are old versions available for the record model in production system using SRMGS_DOCTOOL OR in any other system(ref: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b067767a-4394-2e10-1bbe-f6ab8ec7331f?QuickLink=index&overridelayout=true&51586852254984 ) . You will need to delete later versions so that the version you need is the current version of the record model( and transport to production if the production does not have old versions either).
Best Regards,
Pragya

Similar Messages

  • Unable to upload document into SharePoint Library

    Hi Guys,
    I am unable to upload the document after updating the meda data field default values.
    Error is
    Error
    The URL 'SharedDocuments/A - Copy (2).docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current
    Web.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: a658472e-d608-4aaa-8f8f-04fedc9a2a0b
    Date and Time: 4/24/2014 2:35:28 PM
    Go
    back to site
    thanks,
    Santhosh G.

    Hi,
    I had updated the default value of the managed metadata field using the below code.
    After that, the library worked well without any issue, you can use the below code to check whether it works.
    TaxonomySession taxonomySession = new TaxonomySession(site);
    TermStore termStore=taxonomySession.TermStores["Managed Metadata Service"];
    Group group=termStore.Groups["Site Collection - sp"];
    TermSet termSet=group.TermSets["Test1"];
    Term term=termSet.Terms["AA"];
    SPList list = web.Lists.TryGetList("1");
    TaxonomyField taxonomyField=list.Fields["MMS"] as TaxonomyField;
    Console.WriteLine("Old Default Value:{0}", taxonomyField.DefaultValue);
    taxonomyField.DefaultValue = "-1" + ";#" + term.Name + "|" + term.Id.ToString().ToLower();
    taxonomyField.Update();
    Console.WriteLine("New Default Value :{0}", taxonomyField.DefaultValue);
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Unable to upload document in KM Content

    Hi all,
             I am uploading documents into KM content by following path Folder> New> Upload. Previously it was working fine but today  the document is not getting uploaded and it is not giving any error message also.
           I followed the path Folder>New>Upload and provided the file name and path. After clicking upload, no message or pop-up is appearing and screen is navigating to KM root screen and the document is also not getting uploaded.
          Any suggestions why this is happening? Please suggest me
    Thanks & Regards
    Pavan

    Hi Pavan,<br>
    Few days back I face the same issue and the SAP note resolve the issue(we have windows as OS).<br>
    So check the following:<br>
    1) the variable "temp" and "tmp" must have the absolute path to the temporary folder( do not use% sign in the path).<br>
    2) If you are creating a seprate ttemporary folder as per note then in the environmental variable keep it's path first , then of oters.<br>
    3) try to give full Full Control on the temporary folder created.
    <br>
    Hope this may help.
    <br>
    _Vishal

  • CANVAS program at Univ of Mary Washington- since 15 September am unable to upload documents via my Mac using Firefox 3.6.23, Mac OS X.4.11. Can you help?

    Canvas is the replacement for Blackboard program for posting study material, group conferencing and messaging to students. Until about 15 September, I was able to upload DOC documents to a Files site for students to read as extra assigned material. On or about that date, I have been blocked from doing that. When I go to upload a document, it starts and then says UPLOAD ERROR. I can still upload if I send the DOC document to a PC computer as an e-mail attachment and then upload it on the PC. The following are the specs of my computer:
    I-Mac Processor PC G4
    Memory 512 SDRAM
    OS X.4.11
    Remaining memory on HD approx 30 Gegs
    Firefox browser my standard) 3.6.23
    Like I say, I was able to use canvas fully until around that date. From our IT Dept, I understand that Canvas works with Firefox 3.5 and above. Can you help me?
    Thank you,
    Chalmers Hood

    Canvas is the replacement for Blackboard program for posting study material, group conferencing and messaging to students. Until about 15 September, I was able to upload DOC documents to a Files site for students to read as extra assigned material. On or about that date, I have been blocked from doing that. When I go to upload a document, it starts and then says UPLOAD ERROR. I can still upload if I send the DOC document to a PC computer as an e-mail attachment and then upload it on the PC. The following are the specs of my computer:
    I-Mac Processor PC G4
    Memory 512 SDRAM
    OS X.4.11
    Remaining memory on HD approx 30 Gegs
    Firefox browser my standard) 3.6.23
    Like I say, I was able to use canvas fully until around that date. From our IT Dept, I understand that Canvas works with Firefox 3.5 and above. Can you help me?
    Thank you,
    Chalmers Hood

  • I am getting error message and unable to upload documents

    Who are these people?  Do they work for Adobe?  How do I get technical support for something I purchased? 

    Two URLs to Adobe's customer support —
    https://www.acrobat.com/misc/en/contact-support.html 
    http://helpx.adobe.com/contact.html
    Be well...

  • Uploading Documents to Another Database Through APEX

    Hi,
    I am trying to find a solution for uploading documents through APEX, but storing them in a database on a different server other than the server where apex is installed.
    I am unable to use DBLINK, because we are needing to pass a BLOB column. We have also looked into the DAD, but it only allows for one database connection for the APEX instance. I am pondering with creating a database connection to the other database when needing to upload a document, but not certain if that is the most efficient way.
    I am wanting to know if there is a way to upload documents (BLOBS) through APEX that is installed on DATABASE A, but store the documents in DATABASE B?
    Thanks,
    Keisha

    Ok...up front warning...this is a bit klugey but, it does work.
    In the APEX database:
    Create the table (with the BLOB column) to which you will upload the documentsWe're going to get them to the remote DB but, for reasons that will become apparent shortly, they need to go here first.
    In the Remote database:
    Create a DB Link to the APEX database.
    Create a Materialized View that selects from table with the the BLOB column in the APEX database
    In the APEX database:
    Create a local synonym that points to the DBMS_REFRESH package in the Remote database.For this example, we'll name the synonym REMOTE_DBMS_REFRESH
    Create a PL/SQL procedure that does the following:
    Upload the document to the APEX database
    Fire the REFRESH method for the MV that you created using REMOTE_DBMS_REFRESH
    Remote the data from the APEX database
    For whatever reason, the restriction to copy LOB data over the link is by passed when using a Materialized View.
    Cheers,
    -Joe

  • Oracle BLOB value to a LC variable

    Hello,
    Is it possible in LC ES2 to coerce oracle blob value to some livecycle variable ?
    When mapping sql query result (column of type BLOB) to a LC variable (of type Document), we receive:
    com.adobe.workflow.datatype.InvalidCoercionException: Cannot coerce object: oracle.sql.BLOB@27e7d6 of type: oracle.sql.BLOB to type: com.adobe.idp.Document
    We have tried mapping to string, binary, Document (, we even desperately hardcoded sql.oracle.BLOB to process XML), but none of this works.
    Is it possible to solve this other way, then following ?
    http://groups.google.com/group/livecycle/browse_thread/thread/6c4b9156b52b71a7
    Thanks.

    My idea is to fetch the BLOB column data as UTF8 (base64) encoded string and then use getDocumentFromBase64 available in ES2.
    I am not sure what syntax is to fetch from ORACLE.
    I have used MySql database and the query is:
    SELECT CONVERT(Blob_Column USING UTF8) as MyBlobDataAsBase64Str FROM myTableName;
    Now using SetValue activity to look like:   myXMLvariable = getDocumentFromBase64(strVariableHoldingBase64Data)
    This case works perfectly without any issues.
    The problems is you should find out the appropriate syntax for ORACLE.
    I was searching about CONVERT() & UNISTR() functions. But i'm unable to evaluate.
    Try by yourself..
    Nith

  • XLS upload via HSODBC. Unable to upload numeric (float) fields

    hi,
    I wrote a program unit with Oracle Forms Builder 10g to upload and read an Excel sheet.
    I created a HSODBC Data link to my DB, and used Excel 2003 to edit the XLS file to upload, and WEBUTIL_FILE_TRANSFER.CLIENT_TO_AS(client_dir_file,'\\server\dir\myfile.xls') to upload.
    My DBLink works and Im able to upload the file. But it seems oracle is unable to upload some fields containing numeric (float) values.
    running DESCRIBE Sheet1$@hsodbc; I got this table structure
    UPLOAD_DATE          DATE
    NUMBER VARCHAR2(32512 CHAR)
    CODE VARCHAR2(32512 CHAR)
    DESCR          VARCHAR2(32512 CHAR)
    SIMILARS FLOAT(49)
    WIDTH VARCHAR2(32512 CHAR)
    HEIGHT VARCHAR2(32512 CHAR)
    HIGH      VARCHAR2(32512 CHAR)
    ITEMS      FLOAT(49)
    fields SIMILARS, WIDTH, HEIGHT, HIGH, ITEMS contain numeric values in float format (ex: 1,00000). When I run
    SELECT * FROM SHEET1$@HSODBC
    I get that WIDTH, HEIGHT, HIGH columns are EMPTY (contain NULL values), while SIMILARS and ITEMS contains not null values.
    I am sure that the \\server\dir\myfile.xls contains not null values for WIDTH, HEIGHT, HIGH fields! I tried to change cells format before upload, setting them to FLOAT, but I got no results!
    Please help me, how can I do to change cell format in order to obtain a correct upload?

    E.C.
    there is a mistake in the subject. As I said in my thread, the upload works and the uploaded file contains all values. My problem is that I am "unable to READ" the numeric values stored in VARCHAR2 fields.

  • Sharepoint 2013 Upload documents error

    I have users in Europe that are unable to upload their documents to Sharepoint, we hare just going LIVE with Sharepoint and have come across this issue, any help would be appriciated.
    [Forced due to logging gap, cached @ 02/14/2014 09:11:11.46, Original Level: Verbose] No data was found on the incoming client request 
    02/14/2014 09:11:11.94  OWSTIMER.EXE (0x1968)                    0x2EC8 SharePoint Foundation          Monitoring                   
     nasq Medium   Entering monitored scope (Timer Job job-timer-locks). Parent No 78936543-e4ec-46d1-9fa4-eb2e7f0314d7
    02/14/2014 09:11:11.94  OWSTIMER.EXE (0x1968)                    0x2EC8 SharePoint Foundation          Logging
    Correlation Data       xmnv Medium   Name=Timer Job job-timer-locks 6c1d749c-98f4-c091-4b50-af9d33019692
    02/14/2014 09:11:11.94  OWSTIMER.EXE (0x1968)                    0x31BC SharePoint Foundation          Monitoring                   
     nasq Medium   Entering monitored scope (Timer Job MySite-Instantiation-Interactive-Request-Queue). Parent No f6d5da03-0759-484f-8dbf-35e450f84783
    02/14/2014 09:11:11.94  OWSTIMER.EXE (0x1968)                    0x31BC SharePoint Foundation          Logging
    Correlation Data       xmnv Medium   Name=Timer Job MySite-Instantiation-Interactive-Request-Queue 6c1d749c-98f4-c091-4b50-a1097818c997
    02/14/2014 09:11:11.94  OWSTIMER.EXE (0x1968)                    0x31BC SharePoint Portal Server       Personal Site Instantiation  
     aj58q Medium   <LogTimerJobInstance> Starting timer My Site Instantiation Interactive Request Queue (e94a6caa-b0f5-4897-b489-585ca50c7803) for web application: SP-MySite.hosting.scottwilson.com. Function: MySiteInstantiationJob:Execute 6c1d749c-98f4-c091-4b50-a1097818c997
    02/14/2014 09:11:11.94  OWSTIMER.EXE (0x1968)                    0x31BC SharePoint Portal Server       Personal Site Instantiation  
     aj58r Medium   <LogTimerJobInstance> Finishing on timer My Site Instantiation Interactive Request Queue (e94a6caa-b0f5-4897-b489-585ca50c7803) for web application: SP-MySite.hosting.scottwilson.com.  Function: MySiteInstantiationJob:Execute 6c1d749c-98f4-c091-4b50-a1097818c997
    02/14/2014 09:11:11.94  OWSTIMER.EXE (0x1968)                    0x31BC SharePoint Foundation          Monitoring                   
     b4ly Medium   Leaving Monitored Scope (Timer Job MySite-Instantiation-Interactive-Request-Queue). Execution Time=5.7581 6c1d749c-98f4-c091-4b50-a1097818c997
    02/14/2014 09:11:11.96  w3wp.exe (0x3860)                        0x45E8 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Render Ribbon.). Parent SharePointForm Control Render 6c1d749c-48d6-c091-4b50-a738b7f35b33
    02/14/2014 09:11:11.96  w3wp.exe (0x3860)                        0x45E8 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Render Ribbon.). Execution Time=3.7351 6c1d749c-48d6-c091-4b50-a738b7f35b33
    02/14/2014 09:11:11.96  w3wp.exe (0x3860)                        0x45E8 SharePoint Server Search       Query                        
     dn4s High     FetchDataFromURL start at(outside if): 1 param: start 6c1d749c-48d6-c091-4b50-a738b7f35b33
    02/14/2014 09:11:12.00  w3wp.exe (0x3860)                        0x45E8 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http:///SitePages/Home.aspx?AjaxDelta=1&isStartPlt1=1392369075368)).
    Execution Time=545.3983 6c1d749c-48d6-c091-4b50-a738b7f35b33
    02/14/2014 09:11:12.02  w3wp.exe (0x3860)                        0x1B68 SharePoint Foundation        
     Request Management             aeboc High     [Forced due to logging gap, cached @ 02/14/2014 09:11:11.46, Original Level: Verbose] No data was found on the incoming
    client request 6c1d749c-48d6-c091-4b50-a738b7f35b33
    02/14/2014 09:11:12.02  w3wp.exe (0x3860)                        0x1B68 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (SPRoutingReverseProxy Get Response). Execution Time=554.6085 6c1d749c-48d6-c091-4b50-a738b7f35b33
    02/14/2014 09:11:12.02  w3wp.exe (0x3860)                        0x2090 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http:///SitePages/Home.aspx?AjaxDelta=1&isStartPlt1=1392369075368)).
    Execution Time=561.8352 6c1d749c-48d6-c091-4b50-a738b7f35b33
    02/14/2014 09:11:12.05  OWSTIMER.EXE (0x1968)                    0x2EC8 SharePoint Foundation          Monitoring                   
     b4ly Medium   Leaving Monitored Scope (Timer Job job-timer-locks). Execution Time=106.8584 6c1d749c-98f4-c091-4b50-af9d33019692
    02/14/2014 09:11:12.14  w3wp.exe (0x31D8)                        0x3928 SharePoint Server Search       Query                        
     ac3iq High     Ims::EndPoints: old: net.tcp://BA-SHA-001/EA323E/QueryProcessingComponent1/ImsQueryInternal;, new: net.tcp://BA-SHA-001/EA323E/QueryProcessingComponent1/ImsQueryInternal; 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Projects - SharePointServerSearch(SP-SearchService-PRD_0_Portal_Content)\Transactions
    Completed. instanceHandle: 3. 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Projects - SharePointServerSearch(SP-SearchService-PRD_0_Portal_Content)\Transactions
    In Progress. instanceHandle: 3. 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Projects - SharePointServerSearch(SP-SearchService-PRD_0_Portal_Content)\Transactions
    in filters. instanceHandle: 3. 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Projects - SharePointServerSearch(SP-SearchService-PRD_0_Portal_Content)\Transactions
    Started. instanceHandle: 3. 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Projects - SharePointServerSearch(SP-SearchService-PRD_0_Portal_Content)\Transactions
    Delayed. instanceHandle: 3. 
    02/14/2014 09:11:13.06  w3wp.exe (0x3860)                        0x3FDC SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (POST:http://_layouts/15/inplview.aspx?List={52D82E91-4033-4877-B596-83F8711AC2ED}&View={91DA3981-73EA-4FB8-A4A2-A8231E6F1AB1}&ViewCount=15&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView)).
    Parent No 
    02/14/2014 09:11:13.06  w3wp.exe (0x3860)                        0x3FDC SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (POST:http:///_layouts/15/inplview.aspx?List={52D82E91-4033-4877-B596-83F8711AC2ED}&View={91DA3981-73EA-4FB8-A4A2-A8231E6F1AB1}&ViewCount=15&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView) 6d1d749c-d83a-c091-4b50-ad3a9739452b
    02/14/2014 09:11:13.06  w3wp.exe (0x3860)                        0x3FDC SharePoint Foundation        
     Request Management             ai2q3 High     Reached maximum number of failed machines based on ping results for this routing group 6d1d749c-d83a-c091-4b50-ad3a9739452b
    02/14/2014 09:11:13.06  w3wp.exe (0x3860)                        0x3FDC SharePoint Foundation        
     Request Management             adc7u Medium   Mapping URI from 'http:///_layouts/15/inplview.aspx?List={52D82E91-4033-4877-B596-83F8711AC2ED}&View={91DA3981-73EA-4FB8-A4A2-A8231E6F1AB1}&ViewCount=15&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView'
    to 'http://BA-SHA-001/Projects/Spain/Bilbao/SP-BIL-13002/_layouts/15/inplview.aspx?List=%7B52D82E91-4033-4877-B596-83F8711AC2ED%7D&View=%7B91DA3981-73EA-4FB8-A4A2-A8231E6F1AB1%7D&ViewCount=15&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView' 6d1d749c-d83a-c091-4b50-ad3a9739452b
    02/14/2014 09:11:13.06  w3wp.exe (0x3860)                        0x26B4 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (POST:http:///_layouts/15/inplview.aspx?List=%7B52D82E91-4033-4877-B596-83F8711AC2ED%7D&View=%7B91DA3981-73EA-4FB8-A4A2-A8231E6F1AB1%7D&ViewCount=15&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView)).
    Parent No 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Content Plugin - SharePointServerSearch(a37d97d0-48e7-4b6f-a8aa-7c342d7f1f9c-crawl-0
    -Regular Crawl)\Items Ready. instanceHandle: 4. 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Content Plugin - SharePointServerSearch(a37d97d0-48e7-4b6f-a8aa-7c342d7f1f9c-crawl-0
    -Continuous Crawl)\Items Ready. instanceHandle: 5. 
    02/14/2014 09:11:13.06  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Content Plugin - SharePointServerSearch(a37d97d0-48e7-4b6f-a8aa-7c342d7f1f9c-crawl-0
    -Regular Crawl)\Items Submitted. instanceHandle: 4. 
    02/14/2014 09:11:13.08  mssearch.exe (0x0BEC)                    0x1F4C SharePoint Server            
     Unified Logging Service        9saa Unexpected OpenQuery Failed with status ID: 0x800007d0. QueryPath: \Search Gatherer Content Plugin - SharePointServerSearch(a37d97d0-48e7-4b6f-a8aa-7c342d7f1f9c-crawl-0
    -Continuous Crawl)\Items Submitted. instanceHandle: 5. 
    02/14/2014 09:11:13.08  w3wp.exe (0x3860)                        0x26B4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (POST:http:///_layouts/15/inplview.aspx?List=%7B52D82E91-4033-4877-B596-83F8711AC2ED%7D&View=%7B91DA3981-73EA-4FB8-A4A2-A8231E6F1AB1%7D&ViewCount=15&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView) 6d1d749c-d83a-c091-4b50-ad3a9739452b
    02/14/2014 09:11:13.08  w3wp.exe (0x3860)                        0x26B4 SharePoint Foundation        
     Authentication Authorization   agb9s Medium   Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\user, ClaimsCount=52 6d1d749c-d83a-c091-4b50-ad3a9739452b

    Hi CliveWightman,
    i checked the logs, and seems from the logs it is not when upload happens, but when create new folder. please let me know if it is true.
    based from the log: "list doesn't exist", this should be indicate a server side error, but from you previous testing, it looks like a client side issue (IE8). please help to clarify if should this is a server side or client side.
    if should this is a client side, then only at specific client machine or specific application that run in the client machine only that able to reproduce the issue, you can try also to install higher IE, such as IE 9 or 10 to try if should this is client
    issue.
    Please use below command to export the schema of good library and problematic one. Make a comparison between 2 schemas
    $site=get-spsite URL
    $web=$site.openweb(“sitename”)
    $list=$web.lists[“ListName”]
    $list.SchemaXml >>C:\1.xml
    and please check IE add-ons, verify if "STSUPLD.UPLOADCTL" is enabled.
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Retrieve XMLP documents directly from BLOB fields in E1; Tools Release 8.97

    Hi,
    I want to be able to retrieve XML Publisher reports (PDF, RTF, HTML) directly from the database BLOB fields in EnterpriseOne. Instead of making users manually save each report to get a soft-copy of the report, I wanted to be able to retrieve the reports from a BLOB field, create a new external file for it, and open the file with the related editor (MS Word, Adobe, IE, etc.).
    We are on Oracle 10g, and I was able to get a file populated with some BLOB data for a particular RTF file. However, when I try to open the file in MS Word, all I get is junk.
    Does anyone know if JDE stores these documents differently into BLOB fields than standard?
    Here is the code I used using PL/SQL...
    DECLARE
    xmlstr BLOB;
    warn VARCHAR2(400);
    v_file Utl_File.file_type;
    line_buf RAW(32767);
    maxbufsize BINARY_INTEGER := 32767;
    amount BINARY_INTEGER;
    offset BINARY_INTEGER;
    dir varchar2(50) := 'XMLP_DIR';
    filename varchar2(50) := 'JPARK_TEST.rtf';
    bsize NUMBER;
    BEGIN
    v_file := utl_file.fopen(dir,filename,'wb',maxbufsize);
    SELECT xorpdxpblb INTO xmlstr FROM sy812.F95631 WHERE xorpdorgud = '2115630440008e-SMNQTWZCFI-YEKRWCIOUA';
    --SELECT xdrpdubblb INTO xmlstr FROM sy812.F95630 WHERE xdrpduogud = '21080156900001-SMNQTWZCFI-ORORNYFSYJ';
    bsize := dbms_lob.getLength(xmlstr);
    dbms_output.put_line(bsize);
    amount := maxbufsize;
    offset := 1;
    WHILE (offset<bsize) LOOP
    DBMS_LOB.read(xmlstr,amount,offset,line_buf);
    utl_file.put_raw(v_file,line_buf, TRUE);
    offset := offset+amount;
    --utl_file.fflush(v_file);
    --Dbms_Output.put_line(offset);
    END LOOP;
    utl_file.fclose(v_file);
    EXCEPTION
    WHEN OTHERS THEN
    UTL_FILE.FCLOSE_ALL;
    DBMS_OUTPUT.PUT_LINE('WHEN OTHERS');
    dbms_output.put_line(substr(sqlerrm,1,254));
    END;

    the database and blob fields are identical. In the 11i (eBusiness suite) we would store this information in fnd_lobs.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • Unable to upload the updated/modified Report template (rtf file) in siebel

    Hi,
    I am unable to upload the updated/modified Report template (rtf file) if already exists in the local database.
    Initially I have uploaded a rtf template, generated xliff, registered it and can view the report from the registered view. Later I have made few changes to the rtf template, in the reports template view, I have uploaded this. When i run the report in the registered view, I am able to see the earlier version and it doesnt show me the updated changes.
    I am using 8.1.1.3 siebel and BIP 10.1.3.3.1 on local.
    Looking at the metalink found "How To Upload Modified RTF Template Files In The Siebel Application For BI Publisher Reporting [ID 1136418.1]" which is related to server but I am working on local database
    Please find attached the template, xml file. can you please look into this and update me ASAP
    Thanks,
    RV

    Hi,
    Not able to find Report - Standard templates or Report - Custom templates view in Administration - BIP reports in Siebel 8.1.1.3?
    We have applied 8.1.1.3 patch on 8.1.1.0
    below are the steps followed
    Reports are not generated after 8.1.1.3 patch installtion.
    we have also followed to below steps mentioned for this issue in oracle support.
    "In order to resolve this behavior it is necessary to ensure that the 8.1.1.3 FixPack has been applied to the Siebel Tools installation. This will provide an additional .zip file in the REPPATCH folder of the Siebel Tools installation. Once this has been done please then follow the configuration steps as documented :
    change sysprefix to X_ before sif import and chage back to SBL_ after sif import.
    1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
    2) Import the 4 SIF files in the following order:
    S_XMLP_REP_TMPL_02112010.sif
    SBL_XMLP_REPORT_SELECTION_FLG.sif
    Report Template BC.sif
    Report Template Registration Applet.sif
    3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
    Once the above steps have been completed the Selected Record flag will appear in the Report Template Registration views."
    we still not able to generated able to generate reports even after following above steps.
    Thanks
    Sean

  • Error while deploying the taskproject through jdeveloper- Unable to upload

    Hello,
    I implemented a sample process with a BPEL and Human task. am not able to deploy the taskproject through jdeveloper. getting the below in deployment log
    [01:11:57 PM] Wrote Web Application Module to C:\JDeveloper\mywork\VacationRequestHF\VacationRequestTaskFlow\deploy\VacationRequestTaskFlow.war
    [01:11:59 PM] Deploying Application...
    [01:12:32 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\151679\LOCALS~1\Temp\VacationRequestTaskFlow.war' for the application 'VacationRequestTaskFlow' could not be loaded to the server 'http://uxunt460:7101/bea_wls_deployment_internal/DeploymentService'.
    Server returned HTTP response code: 500 for URL: http://uxunt460:7101/bea_wls_deployment_internal/DeploymentService
    [01:12:32 PM] See server logs or server console for more details.
    [01:12:32 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\VacationRequestHF\VacationRequestTaskFlow\deploy\VacationRequestTaskFlow.war' to 't3://uxunt460:7101'
    [01:12:33 PM] #### Deployment incomplete. ####
    [01:12:33 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer).
    I tried to search in Server logs but no luck not sure whether the way am looking is right or wrong also i dont know where these details are present in server console.
    Am a beginner in SOA., so may be thse questions look pretty amateur but help regarding this will be truly appreciated.
    Thank You,
    Bilal

    Hello,
    I implemented a sample process with a BPEL and Human task. am not able to deploy the taskproject through jdeveloper. getting the below in deployment log
    [01:11:57 PM] Wrote Web Application Module to C:\JDeveloper\mywork\VacationRequestHF\VacationRequestTaskFlow\deploy\VacationRequestTaskFlow.war
    [01:11:59 PM] Deploying Application...
    [01:12:32 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\151679\LOCALS~1\Temp\VacationRequestTaskFlow.war' for the application 'VacationRequestTaskFlow' could not be loaded to the server 'http://uxunt460:7101/bea_wls_deployment_internal/DeploymentService'.
    Server returned HTTP response code: 500 for URL: http://uxunt460:7101/bea_wls_deployment_internal/DeploymentService
    [01:12:32 PM] See server logs or server console for more details.
    [01:12:32 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\VacationRequestHF\VacationRequestTaskFlow\deploy\VacationRequestTaskFlow.war' to 't3://uxunt460:7101'
    [01:12:33 PM] #### Deployment incomplete. ####
    [01:12:33 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer).
    I tried to search in Server logs but no luck not sure whether the way am looking is right or wrong also i dont know where these details are present in server console.
    Am a beginner in SOA., so may be thse questions look pretty amateur but help regarding this will be truly appreciated.
    Thank You,
    Bilal

  • Error - "Exception during parsing of upload document"

    Hi,
    I am getting following error when trying to upload data with my custom integrator:
    "The upload process has completed with errors. Press Close to return to the document and fix the errors.
    Upload processing did not complete
    Exception during parsing of upload document"
    My custom integrator was created for UPDATE mode with view AP_HOLDS_V and Release_Holds API. I also added Standalone Query (to limit downloaded data to not released holds and user releaseable). Layout contains only API parameters fields (however I had some context fields, but error message was the same then).
    I am quite new to Web ADI and I still don't have full understanding, maybe someone can also answer following questions:
    - what is mapping needed for? is this to map view/table fields with the layout field?
    - how does integrator know which layout field should be mapped with parameters of API?
    - is there no web adi template to modify columns assigned to interface? is this only possible with UPDATE commands?
    - where is bne log file stored?
    I would appreciate if someone can help. I was even debugging VBA macro to see if that error is on client or server side, but it looks like it is on the server side.
    Regards
    Piotr

    Any idea what this error message means?
    6/20/12 5:45 AM CRITICAL ERROR BneUploader::Exception - going to tollback
    6/20/12 5:45 AM ERROR BneAsyncUploadPage.renderPage Error trying to check whether the job will be importing.
    6/20/12 5:45 AM ERROR BneAsyncUploadPage.renderPage Parameter value is not a Boolean.
    6/20/12 5:46 AM ERROR BneAsyncUploadPage.renderPage Error trying to check whether the job will be importing.
    6/20/12 5:46 AM ERROR BneAsyncUploadPage.renderPage Parameter value is not a Boolean.
    6/20/12 5:46 AM ERROR BneAsyncUploadPage.renderPage Error trying to check whether the job will be importing.
    6/20/12 5:46 AM ERROR BneAsyncUploadPage.renderPage Parameter value is not a Boolean.
    6/20/12 5:46 AM CRITICAL ERROR BneUploader.processUpload(), fatal exception: java.lang.ArrayIndexOutOfBoundsException: 8
    6/20/12 5:46 AM CRITICAL ERROR java.lang.ArrayIndexOutOfBoundsException: 8
         at oracle.apps.bne.integrator.upload.BneRefPLSQLUpload.setupColumnNameMapping(BneRefPLSQLUpload.java:531)
         at oracle.apps.bne.integrator.upload.BneRefPLSQLUpload.preparePLSQLStatement(BneRefPLSQLUpload.java:371)
         at oracle.apps.bne.integrator.upload.BneRefPLSQLUpload.doUpload(BneRefPLSQLUpload.java:249)
         at oracle.apps.bne.integrator.upload.BneSAXUploader.processDeepestLevel(BneSAXUploader.java:2320)
         at oracle.apps.bne.integrator.upload.BneSAXUploader.startElement(BneSAXUploader.java:1178)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:175)
         at oracle.apps.bne.integrator.upload.BneUploader.processUpload(BneUploader.java:309)
         at oracle.apps.bne.integrator.upload.BneAbstractUploader.processUpload(BneAbstractUploader.java:117)
         at oracle.apps.bne.integrator.upload.async.BneAsyncUploadThread.run(BneAsyncUploadThread.java:141)
    Edited by: PiotrekJ on 22-Jun-2012 01:59

  • MDS-00521 - error while reading the document  in Oracle ADF at Runtime

    Hi All,
    we are using Jdeveloper Version : Oracle JDeveloper 11g 11.1.1.5.0
    we are getting below error message while opening the page at run time.
    MDS-00521 : error while reading the document app1/screen1.jsff from metadata repository.
    MDS-00569 : unable to read document app1/screen1.jsff from file "D:Oracle/Middleware11115_1/user_projects/domains/j2eeprd1/servers/app1j2eeprd1/.....
    WEB-INF/Lib/ADFViewControllerapp1.jar!/app1/screen1.jsff
    Note : we disable 1) Enable User Customizations and 2) Enable seeded customization in Project properties -> ADF View
    can you please help us to resolve this issue.!
    Thanks,

    This seems issue with MDS schema. You can try two things:
    - Restart everything again (database and admin server as well)
    - If above doesn't solve you problem. then there must problem while creating schema using RCU. Run RCU utility again, drop and recreate schema and reconfigure OIM.
    This is what I suspect. Other experts can jump in with better solution.
    regards,
    GP

  • Storing PDF and Word document in oracle database

    any idea, how to store PDF and word document using oracle database.
    thanks

    The common approach is store as BLOB in database, use DBMS_LOB package to handle the loading and reading, sample script source asktom
    Also check this thread in Asktom
    SQL> create table demo
      2  ( id        INT PRIMARY KEY,
      3    theBlob   blob,
      4    dummy_col VARCHAR2(1)
      5  )
      6  /
    Table created.
    SQL> -- --------------------------------------------------------------
    SQL> -- Load a PDF file into a BLOB field and compress the BLOB.
    SQL> -- --------------------------------------------------------------
    SQL> declare
      2      l_blob    blob;
      3      l_bfile   bfile;
      4 
      5  begin
      6      insert into demo (id, theBLOB) values ( 1, empty_blob() )
      7      returning theBlob into l_blob;
      8 
      9      l_bfile := bfilename( 'BLOB_DIR', 'Test.PDF' );
    10      dbms_lob.fileopen( l_bfile );
    11 
    12      dbms_lob.loadfromfile( l_blob,
    13                             l_bfile,
    14                             dbms_lob.getlength( l_bfile ) );
    15 
    16      UPDATE demo
    17      SET    theBlob = utl_compress.lz_compress(l_blob, 6)
    18      WHERE  id = 1;
    19  -- If you don't want compress the LOB just update directly
    20      dbms_lob.fileclose( l_bfile );
    21      COMMIT;
    22  end;
    23  /
    PL/SQL procedure successfully completed

Maybe you are looking for

  • Creation of a Multi-Year Product Roadmap in Project 2010

    I am looking to see if I can efficiently create a product roadmap using Project 2010.  For a given business unit in our corporation I have product categories and under those categories I have products and/or projects I want to show on a timeline.  I

  • SQL and Excel File

    HII, I am trying to develop an SQL query that will produce an Excel File that can be posted on a WEB site for x amount of transaction. I would like to know which ways are there in which I can do this tast. If anyone has a suggestion that would be gre

  • How to write attributes to a .stp file in Adobe 3D Reviewer?

    Hello All, I am trying to import a .stp file into Adobe 3D Reviewer and I need to write attributes to this file. I am using VB (.NET 4.0) for this purpose. I imported the Adobe 3D Reviewer Object Library reference and am trying to make use of the Add

  • I hate FileVault - I can't get rid of it

    I had to restore my laptop system running 10.4.11 due to problems with files disappearing associated with FileVault. After I restored it, I turned OFF Filevault. It did its thing and it all worked. No sparseimage any longer.I also fixed all permissio

  • [Mega 180] Media Center III with Hauppauge PVR250

    Hi We have a problem to get the TV card installied in MSI Media Center III deluxe. The TV card (Hauppauge PVR 250) works very well with the Hauppauge WinTV Software - but there seems to be no way to integrate the tuner card in Media Center. We procee