Create Remote Document - error on save

We are developing Java code to publish a content item(Publisher) into KD with the functionality of IDK. For this reason, we create a remote document with the method "IDocumentManager.createRemoteDocument" passing the next parameters:<br><br>
1.Id of a KD's folder<br>
2.DataSourceID = 203<br>
3.Publish URL of the published content item to put into KD<br>
<br>
When we try to call the save method, the application returns the next error:<br>
<br>
null; nested exception is:
java.rmi.RemoteException: -2147203840 - Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/octet-stream</S><S N="PTC_UNIQUE">'Publish URL of the content item'</S></PTBAG>', lDocumentTypeID == 107, pCard == com.plumtree.server.impl.directory.PTCard@6bbd56, bSummarize == false, pProvider == null): -2147203840 - Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><S N="PTC_DOC_ID">application/octet-stream</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_UNIQUE">'Publish URL of the content item'</S></PTBAG>, lDocumentTypeID == 107, pCard == com.plumtree.server.impl.directory.PTCard@6bbd56, bSummarize == false, pProvider == null): -2147203840 - CPTSOAPProvider::AttachToDocument, the document no longer exists: null
<br>
<br>
Can anyone provide any insight on what we are doing wrong here?
<br>
Thank you

i've not done this myself...just guessing:
"location - the location string that will be passed to the remote crawler to indicate which document to retrieve"
doesn't sound like this is looking for the published location. Maybe the publisher location would work? (/folder/folder2_name/content_item_name)
You may be able to sniff the traffic between publisher and the api service to see what is getting sent by publisher when you click on publish to directory through the browser

Similar Messages

  • Create Billing Document Error

    Dear Experts,
    When i am creating billing documents VF01 with reference of delivery dcument number its getting error that is: No Billing Documents were generated. When i saw log error it's telling  Delivery type Zxvz cannot be invoiced with billing type Zxy2. Could you please suggest me where i did worng.
    Thanks in Advance!
    Anjali

    Hi
    Goto VTFL t.code and check that the corresponding to Billing type is assigned to the Delivery type or not.
    Thanks,
    Laxman Aadimulam

  • When i create billing document - error in account determination

    Hi All,
    When i m going for release the accounting document there is an error "Error in account determination: table T030K key 1000 MW4"
    Please give the solution ASAP.
    Thanks,
    Suresh.

    Hi
    Kindly check the below
    1. Go to VF02 EnvironmentAcct determination analysis--Revenue accounts
    2. check the pricing analysis for the tax condition record  on which combination condition record  found
    3.check the validity of the tax condition record  in t code Vk12
    4. check the OB40 t code for the account key  MW4 G/l account maintained or not.
    Regards
    Damu

  • HT5534 I down loaded the new  iwork update. Now when I create a document in pages save it and try to open it later some times the message comes that You need a later version of pages. Some times I don't have that problem.

    I down loaded the new  iwork update. Now when I create a docume

    I hate the new 5.0, and am having the same issue. Because I created or opened and saved several documents in the new 5.0 before I realized how bad it is, I had to figure out how to make them usable again.
    I have both versions of Pages (5.0 and 4.3) in my Dock for now. If a document tells me that it can't be opned by 4.3, I opn 5.0, open the document, EXPORT it in 4.3 with the same name, and overwrite the old document. That usually (big dog willing and the creek don't rise!) gives me access to my work.
    Once I am sure I have no remaining 5.0 douments around, I'll take 5.0 out of the dock.
    It truly is a pain in the ***. Here's the comment I left for Apple –
    I am now attempting to uninstall Pages 5.0 so I can go back to using Pages 4.3. The designers of 5.0 took away (or hid) so many of the functions that I've come to know and trust that I am appalled.
    It is now a kindergarten version of the workhorse I knew and loved. IT EVEN LOOKS like a dumbed-down app now, with cartoon buttons that reflect its audience – people who don't need a sophisticated, customizable publishing tool, who just need simple  icons they can point at LIKE A FAST FOOD CASH REGISTER.
    I'll be using either 4.3 or Word for Mac from here on out.

  • Pages 5.5.1 - Failure to create/open documents - Error message/App shutdown - Help

    Had this problem after updating to the new version.
    I've deleted and re-instaleld the app but the problem still exists.
    Any help would be greatly appreciated.

    Since you have Pages '09 documents it is safe to assume that you own Pages '09.  If you bought it from the App Store you should be able to download it again to your new machine.  If you have the install disks, you can install it on the new machine and the find the updater for it.
    Or you can go to the Apple Store (make an appointment) and get them to install iWork '09 on your machine.  They will do this for free if you can provide any proof that you owned it on your older machine.  They may do it for free anyway.
    As others said, your '09 files should open, so perhaps they were '08 files.  In which case you must open with '09 first.  For this reason Apple will sometimes give you a free version of iWork '09.  If you are not near an Apple Store try phoning them.  No guarantees, but others have reported that Apple sent them a free DVD.
    Worse comes to worse, look to buy it on Amazon or eBay, but try Apple first.

  • When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file"

    When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file".
    Win7 Pro, 64bit
    Acrobat XI Pro, tryal

    Create a one word pdf file. Try converting to word. If that fails, try a complete uninstall, run the cleaner tool, then re-install.
    Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs

  • Error creating accounting document for a credit note

    Hi All,
    I am facing an issue while creating an accounting document for the credit note created.
    The scenario is as follows:
    Created a credit memo --> created credit note --> create accounting document
    While creating accounting document, i'm getting an error message as 'The G/L account XXXXXXXX requires an assignement to CO object'.
    Please let me know why i'm getting this error and how to overcome this issue.
    Thanks,
    Anil Kumar

    While creating accounting document,
      i'm getting an error message
    First of all, I am not clear on your above statement as in normal circumstances, once you generate a credit memo, in bacground an accounting document will also be generated.
    In your case, I believe while saving the credit memo, system throws the error to maintain CO object in which case, do the following:-
    Go to TCode KA02 enter the controlling area, give the G/L acoount No and click on Master data tab.  There  select  "Default Acc Assgmnt" tab  and enter Cost centr and save.
    Next Go to FS00, input the G/L Account and click on Edit Cost Element on top.  There click on Basic Data and for the field CElem category, maintain the required numeric value.  Now select the tab Default Acct Assgnmt and there maintain the required cost center and save.
    thanks
    G. Lakshmipathi

  • Error trying to publish (real time) to delivery: No response from remote execute trying to save assettype [error was -103].

    Hi all,
    I'm trying to publish for first time to a new environment (delivery).
    The light of target destination is green.
    When i click on "inicialize" i get these errors and in the docs i cannot find why or what i have to do.
    Trying to publish asset types during inicialization it returns this error:
    No response from remote execute trying to save assettype [error was -103].
    Looking for the meaning for this i found: No table. What does it mean? Why the tool has not created the table?
    And then, the next error message is shown (all of them are shown in the same screenshot) trying to mirroring. It might have to do with the previos error message... but i have no idea!
    -12011. No response from remote execute trying to save assettype [error was -103]
    sites.log in delivery environment says as follows
    [2014-01-24 12:13:52,496 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SiteCatalog with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    [2014-01-24 12:13:52,527 CET] [ERROR] [.kernel.Default (self-tuning)'] [com.fatwire.logging.cs] ContentServer exception running CS recursively
    COM.FutureTense.Common.ContentServerException: pagename not supplied  Error code:BAD PARAMETER
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.satellite.request] Error accessing the external page with pmd: page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException: (Reading page page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo from co-resident Content Server failed (errno=0).) Error code:GENERIC SERVER ERROR
    [2014-01-24 12:14:06,021 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SystemInfo with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    Does anybody know how to help here?
    Thank you very much.
    Gala

    What SQL server driver are you using, Microsoft's or the jTDS driver (see jTDS JDBC Driver)? It may be worth trying the other.
    Also, can you enable
    com.fatwire.logging.cs=DEBUG
    in log4j.properties and retest, then post the entire resulting sites.log and application server log somewhere for us to see? e.g somewhere like pastebin.com
    Phil

  • An error occurred: Save document failed / An error occurred while saving the document: PATH (HDB 00055)

    Hello Colleagues, I am creating an analysis in build 576, everything goes well, the algorithm calculates the needed values, but when I try to save the analysis, I receive the following error message: "An error occurred: Save document failed / An error occurred while saving the document: <PATH> (HDB 00055)".
    Does anyone know what could cause this error message?
    Thanks a lot for any hint.
    Sergey

    Hi Henry,
    I am using PA 1.0.11 and received this error; any update on this fix for SAP PA. Does this happen for a particular data source.
    I am currently using Excel as source and whenever I try to use this data; I get this even if I move the data to a new file or rename a file. I tried to check the same issue with a different file and it works fine. This file worked fine a day back.
    Please let me know if this is unusual for this version.
    Regards,
    Arvind E

  • Pages V5 COULDN'T AUTO-SAVE DOCUMENT error message

    Why am I getting this error message when I attempt to save a document, duplicate a document, move a document--"Couldn't Auto-Save Document" I cannot save the document. I originally opened this document from the server computer to my laptop, made changes on the laptop at remote office and now I cannot save it, even to a new location on the laptop.

    Hi.
    I was just now suddenly afflicted by this problem.
    Have new macbook pro retina - iOS X 10.9.2.
    Everything is up to date.
    Even Pages is up to date. checked it (of course), as soon as I started getting the error message every time I tried to save. Even tried saving or 'exporting' to Word, PDF...still same message.
    Now...I recall that any time an app is 'acting up' (i.e. not responding the way it should)...it usually means that it either needs updating, or it has some sort of 'bug' to it.
    If it needs updating...then simply update it. I checked that option...and got message that Pages is indeed up to date.
    So...opted to simply 'force quit' pages (as well as quit many other still-open apps that I wasn't using at the moment...to try to cut down on excess memory being used...thinking that may be part of the problem.
    Also...thought that maybe my hard disk was getting rather full...so opted also to move all my music, movies & pictures to an external hard disk to free up internal storage space (by eventually deleting all after first backing up to external hard disk)...and then of course finally freeing up all space by emptying the trash.
    Then...after force quitting pages (and all other non-used apps at the time)...and still before completing the transfer of all those heavy files to an external hard disk...then I re-opened pages to test it...and 'WHOALA!"...it worked just fine!!!
    So...it seems that this was the solution...at least for me at this moment...to simply force quit the renegade app, and then re-start it.
    If that didn't work, I was going to simply shut down the computer...and do a complete re-start. That is another option that often times gives a new look to life for apps which are acting up.
    OK...just thought to put in my two cents-worth here.
    Hope this helps someone else.
    Regards,
    Balqees Mohammed.

  • Error while creating a  Document  in CV01N

    Hi Gurus,
    I am trying to  create  a document through CV01N and  i wnat to attach it to material .
    We have created some Z- Document types and  the  origin for  the  file(source) is picked up from another system.
    Suddenly iam creating an error  File extension type XX  not   allowed  for  work station PDF.
    I can able to  pickup  documents from my Desktop, but  when i try to pull it from the  document  management system by mentioning the URL it  showing me the above error.
    Users are able to create  by  specifying the URL path till last week.But this week they are  facing the above problem
    Can anybody  have any idea of where we missing or  what the error is. Suitable answers will be rewarded
    Thanks in advance
    Regards
    Venkat

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • Error while creating delivary document

    Hi
    i got error while creating delivary document
    "Delevivary documents could not be created"
    Thanks&regards
    kishore kumar

    Hi Kishore,
    Please check the sales order is this relevent for the delivery or not.
    Check the copy control settings between your sales document type and delivery document type in VTLA transaction.
    Check the incompletion log for the sales order.
    I hope it will help you,
    Regards,
    Murali.

  • I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or

    I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured.  File activity incomplete. 1 file(s) or folder(s) were not completed.  Files with errors: 1 /html

    Nobody can tell you anything without knowing exact site and server specs, but I would suspect that naming the folder "html" wasn't the brightest of ideas, since that's usually a default (invisible) folder name existing somewhere on the server and the user not having privileges to overwrite it.
    Mylenium

  • I have been creating a document in numbers on my iPhone and synced to iCloud. Now I cannot open it, and when trying to download via browser I get an error message. How can I recover this document?

    Dear all,
    I have created a document on my iPhone, and stored it on iCloud. I have updated the document both on my iPhone and on my iPad. Now, I cannot open the document on my iPhone anymore, even a reset of the phone did not help. Via iPad I also cannot open the file, and when I try to download it to my PC via icloud.com I get an error message.I suspect that the file has become corrupt as I have updated it on the iPhone while I did not have network connectivity.
    I have two questions:
    1.) Is it possible to recover an earlier version of the file?
    2.) What can I do to prevent this from happening again in the future?
    3.) Does the iPhone sync changes to iCloud in the background or does the application need to be active?
    Thank you,
    Niftan

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

Maybe you are looking for