Error opening external DTD 'book.dtd'

I know this may be something simple, but can't get it to work. I have a local (on my local network) dtd file that I'm trying to use for validation on my xml file.
My first two lines in the xml are:
<?xml version="1.0" ?>
<!DOCTYPE book SYSTEM "D:\tmp\book.dtd">
When trying to parse it in Java, I get the exception thrown of:
Error opening external DTD 'book.dtd'.
I checked, and the file has full permissions for read and write, and it is in the directory specified.
How can I use an external dtd file on my local network for my DTD validation?
Thanks in advance!
null

Try using PUBLIC instead of SYSTEM.
Oracle XML Team

Similar Messages

  • Error opening external DTD 'Segnatura.dtd' using dbms_xmlsave.insertXML

    I've been trying to insert a document in a table. All works fine
    if the xml doesn't contains the doctype element!
    If I add the row
    <!DOCTYPE Segnatura SYSTEM "Segnatura.dtd">
    to my xml I get the error:
    oracle.xml.sql.OracleXMLSQLException: Error opening external DTD
    'Segnatura.dtd'.
    If I specify all the path "file:///temp/Segnatura.dtd" the insert
    works, but I don't want to do in that way beacause I don't want
    to modify the original xml that i'm inserting!
    In the package dbms_xmlsave I have no ways to change the
    basedir/baseurl
    or to setValidationMode to false like in xmlparser package.
    Is there any way to solve this problem??
    Thank's in advance
    Mauro
    This is an example scratch of my xml doc:
    <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    <!DOCTYPE Segnatura SYSTEM "Segnatura.dtd">
    <Segnatura versione="2001-05-07"
    xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="it">
    </Segnatura>

    Hy Steven, thank's for your attention.
    I'm not using the xsql servlet.
    I'm reading an xml file coming from the file system and I want to
    import it in the db using a java stored proc.
    I also have the dtd file (Segnatura.dtd) but I don't know where
    to put in on the server.
    If I run my java program and I put Segnatura.dtd in the execution
    classpath on the program the xml is loaded fine.
    If I load the stored proc in the db then I don't know where to
    put the dtd. Do I have to put the directory containing the dtd in
    the server classpath and the restart the db maibe?
    thank's
    mauro

  • Error opening external DTD

    I get the error above when doing the following
    import oracle.xml.parser.v2.DOMParser;
    public class testXML

    I do not know how do you pass the JDK compiler.Typos in the transcription process. I was more interested in showing my approach rather than precise code (apologies).
    Actual code below - less 2 methods I have not changed.
    Andrew
    =======================
    import java.net.URL;
    import org.w3c.dom.Node;
    import org.w3c.dom.Element;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.NamedNodeMap;
    //import oracle.xml.parser.v2.DOMParser;
    //import oracle.xml.parser.v2.XMLDocument;
    import java.io.*;
    import org.xml.sax.*;
    import org.apache.xerces.parsers.DOMParser;
    public class DOMSample
    static public void main(String[] argv)
    try
    if (argv.length != 1)
    // Must pass in the name of the XML file.
    System.err.println("Usage: java DOMSample <xml file>");
    System.exit(1);
    // Get an instance of the parser
    DOMParser parser = new DOMParser();
    // Oracle's Way - gives an error "Error opening external DTD"
    // Set various parser options: validation on,
    // warnings shown, error stream set to stderr.
    // parser.setErrorStream(System.err);
    // parser.setValidationMode(DOMParser.DTD_VALIDATION); <-- deprecated ??
    // parser.showWarnings(true);
    // Parse the document
    // System.out.println("Parsing XML document and do DTD Validation...");
    // System.err.println("Parser version " + parser.getReleaseVersion());
    // parser.parse(DemoUtil.createURL(argv[0]));
    // My way - using Xerces - works, using an input source with Oracle way also fails
    File file = new File ("c:\\temp2\\javFilterDat.xml");
    InputSource is = new InputSource( new FileReader(file));
    is.setSystemId("file:/c:"+ System.getProperty("file.separator") +
    "temp2");
    parser.parse(is);
    // Obtain the document.
    Document doc = parser.getDocument();
    // Print document elements
    System.out.print("The elements are: ");
    printElements(doc);
    // Print document element attributes
    System.out.println("The attributes of each element are: ");
    printElementAttributes(doc);
    catch (Exception e)
    System.out.println(e.toString());

  • ORA-20100: Error occurred while parsing:Error opening external DTD ( Asap)

    Hi I'm using domsample example. And I have written the program. The xml file at the starting has this string"<!DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd">", from which I'm getting error -"ORA-20100: Error occurred while parsing: Error opening external DTD".
    I'm new to xml could you please help me to solve this problem. I assume this is related to DTD for which I need to set base path. But I'm not sure how to do it? I'm getting this xml file through CLOB which I'm able to parse until an extent. where in between got this error.
    Here is my partial code:
    l_doc_id := rec_xml_data.id;
    l_xml_parser := xmlparser.newParser;
    xmlparser.setValidationMode(l_xml_parser, FALSE);
    xmlparser.parseCLOB(l_xml_parser,rec_xml_data.l_xml_data);--PARSING THE CLOB WHICH CONTAINS XML FILE
    l_xml_doc := xmlparser.getDocument(l_xml_parser);
    xmlparser.freeParser(l_xml_parser);
    l_nodelist := xmldom.getElementsByTagName(l_xml_doc, '*');
    l_length := xmldom.getLength(l_nodelist);
    -- loop through elements
    FOR l_rec_xml in 0..l_length-1
    LOOP
    l_node := xmldom.item(l_nodelist, l_rec_xml);
    -- dbms_output.put(xmldom.getNodeName(n) || ' ');
    -- get the text node associated with the element node
    l_nodename:=xmldom.getNodeName(l_node);
    l_node := xmldom.getFirstChild(l_node);
    IF (xmldom.isNull(l_node) = false) THEN
    IF xmldom.getNodeType(l_node) = xmldom.TEXT_NODE THEN
    IF l_nodename = 'purchase-order-number' THEN
    l_po_num:=NULL;
    l_po_num:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Purchaser Order Num : '||l_po_num);
    END IF;
    from here onwards I get the string values
    Now I don't know where to set the DTD basepath or baseurl. I need it asap.
    Regards,
    Naveen.

    The version which I'm working on is 10.2.0.4.
    XML File---
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd">
    <MobileInventoryResponse>
    <message>
    <message-header>
    <message-id>16244182</message-id>
    <transaction-name>ship-advice</transaction-name>
    <partner-name>cbeyond</partner-name>
    <source-url>http://www.brightpoint.com</source-url>
    <create-timestamp>20080826150709</create-timestamp>
    <response-request>1</response-request>
    </message-header>
    <ship-advice>
    <header>
    <customer-id>297859</customer-id>
    <shipment-information>
    <ship-first-name>RA_13Aug_1</ship-first-name>
    <ship-last-name>MIND</ship-last-name>
    <ship-address1>test</ship-address1>
    <ship-city>test</ship-city>
    <ship-state>VA</ship-state>
    <ship-post-code>22102-4931</ship-post-code>
    <ship-country-code>US</ship-country-code>
    <ship-phone1>0040726335068</ship-phone1>
    <ship-email>[email protected]</ship-email>
    <ship-via>FX01</ship-via>
    <ship-request-date>20080826</ship-request-date>
    <ship-request-warehouse>CBY1</ship-request-warehouse>
    </shipment-information>
    <purchase-order-information>
    <purchase-order-number>380928</purchase-order-number>
    <account-description />
    <purchase-order-amount>0.0</purchase-order-amount>
    <currency-code>USD</currency-code>
    </purchase-order-information>
    <order-header>
    <customer-order-number>0002759</customer-order-number>
    <customer-order-date>20080826</customer-order-date>
    <order-sub-total>19.0</order-sub-total>
    <order-discount>0.0</order-discount>
    <order-tax1>0.0</order-tax1>
    <order-tax2>0.0</order-tax2>
    <order-tax3>0.0</order-tax3>
    <order-shipment-charge>18.0</order-shipment-charge>
    <order-total-net>0.0</order-total-net>
    <order-status>Completed</order-status>
    <order-type />
    <brightpoint-order-number>35028788</brightpoint-order-number>
    <warehouse-id>CBY1</warehouse-id>
    <ship-date>20080826</ship-date>
    </order-header>
    </header>
    <detail>
    <line-item>
    <line-no>1</line-no>
    <item-code>SKU1</item-code>
    <universal-product-code>0</universal-product-code>
    <ship-quantity>1.0</ship-quantity>
    <unit-of-measure>EA</unit-of-measure>
    <serial-list>
    <serial-numbers>
    <esn>TIMI000013</esn>
    </serial-numbers>
    </serial-list>
    <line-status />
    <base-price>0.0</base-price>
    <line-discount>0.0</line-discount>
    <line-tax1>0.0</line-tax1>
    <line-tax2>0.0</line-tax2>
    <line-tax3>0.0</line-tax3>
    <bill-of-lading>929406733828</bill-of-lading>
    <scac>FX01</scac>
    </line-item>
    </detail>
    </ship-advice>
    <transactionInfo>
    <eventID>16244182</eventID>
    </transactionInfo>
    </message>
    </MobileInventoryResponse>
    XML FILE END--------------------
    MY PROGRAM IS AS BELOW---
    get_eai_data_prc( x_ret_code OUT NUMBER
    ,p_debug_flag IN VARCHAR2
    IS
    --Local Variables
    l_xml_parser xmlparser.Parser;
    l_xml_doc xmldom.DOMDocument;
    l_xml_data CLOB;
    l_nodelist xmldom.DOMNodeList;
    l_length NUMBER := 0;
    l_num_cnt NUMBER := 0;
    l_node xmldom.DOMNode;
    l_docelem DBMS_XMLDOM.DOMElement; -- XML DOM element.
    l_nodeValue VARCHAR2(30); -- Text value of the node.
    l_nodename VARCHAR2(100);
    l_po_num VARCHAR2(150);
    l_account_desc VARCHAR2(150);
    l_cust_ord VARCHAR2(150);
    l_ship_date VARCHAR2(150);
    l_item_code VARCHAR2(150);
    l_ship_qty VARCHAR2(150);
    l_esn VARCHAR2(150);
    l_cust_channel_type VARCHAR2(150);
    l_cust_grp_acct VARCHAR2(150);
    l_max_doc_id NUMBER;
    l_doc_id NUMBER;
    l_market_id VARCHAR2(150);
    l_record_id VARCHAR2(30);
    TYPE l_esn_table IS TABLE OF VARCHAR2(30)
    INDEX BY BINARY_INTEGER;
    l_data l_esn_table;
    --CURSOR TO GET XML DATA FROM EAI
    CURSOR cur_xml_data(p_doc_id VARCHAR2)
    IS
    SELECT id
         ,document l_xml_data
    FROM tds_xml_store_temp
    WHERE id >= id ;
    BEGIN
    FOR rec_xml_data IN cur_xml_data(l_max_doc_id)
    LOOP
    l_doc_id := rec_xml_data.id;
    l_xml_parser := xmlparser.newParser;
    xmlparser.setValidationMode(l_xml_parser, FALSE);
    xmlparser.parseCLOB(l_xml_parser,rec_xml_data.l_xml_data);
    l_xml_doc := xmlparser.getDocument(l_xml_parser);
    xmlparser.freeParser(l_xml_parser);
    l_nodelist := xmldom.getElementsByTagName(l_xml_doc, '*');
    l_length := xmldom.getLength(l_nodelist);
    -- loop through elements
    FOR l_rec_xml in 0..l_length-1
    LOOP
    l_node := xmldom.item(l_nodelist, l_rec_xml);
    -- dbms_output.put(xmldom.getNodeName(n));
    -- get the text node associated with the element node
    l_nodename:=xmldom.getNodeName(l_node);
    l_node := xmldom.getFirstChild(l_node);
    IF (xmldom.isNull(l_node) = false) THEN
    IF xmldom.getNodeType(l_node) = xmldom.TEXT_NODE THEN
    IF l_nodename = 'purchase-order-number' THEN
    l_po_num:=NULL;
    l_po_num:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Purchaser Order Num : '||l_po_num);
    END IF;--purchase-order-number
    IF l_nodename = 'account-description' THEN
    l_account_desc :=NULL;
    l_account_desc := xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'customer-channel-type' THEN
    l_cust_channel_type:=NULL;
    l_cust_channel_type:= xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'customer-group-account' THEN
    l_cust_grp_acct := NULL;
    l_cust_grp_acct := xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'customer-order-number' THEN
    l_cust_ord:=NULL;
    l_cust_ord:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Customer Order NUm : '||l_cust_ord);
    END IF;--customer-order-number
    IF l_nodename = 'ship-date' THEN
    l_ship_date:=NULL;
    l_ship_date:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Ship Date : '||to_date(l_ship_date,'YYYY-mm-dd'));
    END IF;--ship-date
    IF l_nodename = 'item-code' THEN
    l_item_code:=NULL;
    l_item_code:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Item Code : '||l_item_code);
    END IF;--item-code
    IF l_nodename = 'esn' THEN
    l_esn:=NULL;
    l_num_cnt := l_num_cnt + 1;
    l_esn:=xmldom.getNodeValue(l_node);
    l_data(l_num_cnt) := l_esn;
    -- dbms_output.put_line('Serial Num : '||l_esn);
    END IF;--esn
    IF l_nodename = 'market-id' THEN
    l_market_id := NULL;
    l_market_id := xmldom.getNodeValue(l_node);
    END IF;
    IF l_nodename = 'ship-quantity' THEN
    l_ship_qty:=NULL;
    l_ship_qty:= xmldom.getNodeValue(l_node);
    -- dbms_output.put_line('Ship Quantity : '||l_ship_qty);
    END IF;--ship-quantity
    END IF;--xmldom.TEXT_NODE
    END IF;
    END LOOP;--l_rec_xml
    FOR j in l_data.first..l_data.last
    LOOP
    INSERT INTO cbey_shipment_int_stg( purchase_order_number
    ,account_description
    ,customer_order_number
    ,ship_date
    ,item_code
    ,ship_quantity
    ,esn
    ,customer_channel_type
    ,customer_group_account
    ,market_id
    ,eai_xml_doc_id
    ,record_status
    ,record_id
    VALUES
    ( l_po_num
    ,l_account_desc
    ,l_cust_ord
    ,to_date(l_ship_date,'YYYY-mm-dd')
    ,l_item_code
    ,l_ship_qty
    ,l_data(j)
    ,l_cust_channel_type
    ,l_cust_grp_acct
    ,l_market_id
    ,l_max_doc_id
    ,'NEW'
    ,CBEY_RECORD_ID_SEQ_S.nextval
    END LOOP;--j
    UPDATE cbey_interface_run_log
    SET request_id = l_conc_req_id
    ,lastrun_date = SYSDATE
    ,doc_id = rec_xml_data.id
    WHERE program_id = 'SHIPMENT_INT'
    AND doc_id =l_max_doc_id;
    l_data.delete;
    l_num_cnt :=0;
    END LOOP; --rec_xml_data
    COMMIT;
    END of the Procedure--------------------------
    Now if I load the xml file without the this :- <!DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd">
    it works well. But it gives error when this particular thing is there.
    Regards,
    Naveen
    Edited by: MAN on Oct 17, 2008 7:28 AM

  • Unable to open external list : Error : Unable to render the data. If the problem persists, contact your web server administrator.

    Hi,
    Please note we are using SQL Server 2008 for sharepoint. Does it matter for this issue?
    Please help.
    Thanks.

    Hi,
    According to your post, my understanding is that you failed to open external list.
    Please change the External Content’s connection properties’ Authentication Mode to BDC identity.
    Then launch the SharePoint 2013 Management Shell and run the PowerShell commands to remove the error.
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/69d937e6-f4a3-40e0-b57f-67cddb4ed12e/sharepoint-2013-unable-to-render-the-data-if-the-problem-persists-contact-your-web-server?forum=sharepointcustomization
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported".

    What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported". What does that mean? I am trying to drag libraries (with metadata) to external HD...wondering what the best way to do that is?

    Kirby Krieger wrote:
    Hi Shane.  Not much in the way of thoughts - - but fwiw:
    How is the drive attached?
    Can you open large files on the drive with other programs?
    Are you running any drive compression or acceleration programs (some drives arrive with these installed)?
    Can you reformat the drive and try again?
    Hi Kirby,
    I attached the UltraMax Plus with a USB cable. The UltraMax powers the cable so power is not an issue. I can open other files. Also, there is 500GB of files on the drive so I cannot re-format it. Although, I noted I could import the entire Aperture Library. However, I do not want to create a duplicate on my machine because that would be defeating the purpose of the external drive.
    Thanks,
    Shane

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • I accidentally unplugged an external drive where I keep my photos and got this: There was an error opening the database for the library "/Volumes/iTunes LaCie/Aperture Library 2.aplibrary".

    My external drive accidently unplugged and I got this message:  There was an error opening the database for the library “/Volumes/iTunes LaCie/Aperture Library 2.aplibrary”.
    Can someone help?  My external drive is called "iTunes LaCie"
    THANKS!!
    I already repaired the disk...

    Open Aperture while holding down the option and command keys and run Repair Library

  • Hi. I can't open an e-book I've bought. The error message is E_LIC_ALREADY_FULFILLED_BY_ANOTHER_USER

    Hi. I can't open an e-book I've bought.
    first I've  managed to open it but without log-in ( Ihad forgotten my password), but, as i didn't manage to download the e-book on my e-reader, i've log-in, and tried to re-open it and the, it didn't open.The error message is E_LIC_ALREADY_FULFILLED_BY_ANOTHER_USER.
    Thank you if you had the same problem you managed to solve
    Fleur M

    Hi Shreya,
    That answer seems to work in purchased books but in my case I dont know who is the ebook provider in lebrary.  I asked library people and they did not give me any contact to reset the activation.  I will try again to find out that contact. I was wondering if there is any way at our side so we can fix this.  Probably there is nothing. Thanks anyway.

  • Link error: Failed to open external module

    Newbie question #2... I'm in chapter 5 of the tutorial, just added the button to calculate min and max values of the sinewave. I get two link errors when I try to run the program.
    2 Project link errors:
     Failed to open external module
     Failed to open external module
    If I comment out the MaxMin1D function and fudge the min and max values the program runs.
    Any ideas?
    The function I added is as follows which appears  to be identical to the sample in the tutorial.
    int CVICALLBACK FindMaxMin (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        ssize_t min_index;
        double min;
        ssize_t max_index;
        double max;
    //    max = 5;
    //    min = 3;
        switch (event)
            case EVENT_COMMIT:
                MaxMin1D(sine, 100, &max, &max_index, &min, &min_index);
                SetCtrlVal(panelHandle, PANEL_MAX, max);
                SetCtrlVal(panelHandle, PANEL_MIN, min);            
                break;
            case EVENT_RIGHT_CLICK:
                break;
        return 0;

    I searched for analysis.h, found it and copied it to the same folder as sample1.c and the program now links and runs.
    I'm wondering if I'm missing something in the configuration (not smart enough to know where to search)???
    Thanks

  • I am trying to open a downloaded book and it says: Error! Check Activation

    I am trying to open a downloaded book and it says: Error! Check Activation

    For this problem, you need to deauthorize and authorize ADE again.
    Launch ADE
    Help -> Erase authorization.
    ADE will be deauhorized.
    Now again AUTHORIZE ADE
    Help-> authorize computer.
    Error will be fixed !!

  • Only ibooks opened, with the book, then button publish, at the validation stage one only i see  : warning error saving application

    only ibooks opened, with the book, then button publish, at the validation stage one only i see  : warning error saving application

    Search the discussion groups or read more of teh  threads in the list...  this  problem has been rasied many times in teh last  few days and the "cures" are many and varied.

  • Pro 9 Users Receive "There was an error opening this document. The file is damaged and could not be repaired."

    Users with Adobe Acrobat 9 Pro (Windows XP) are not able to open PDFs created on the server. They receive the error message:
    “There was an error opening this document. The file is damaged and could not be repaired.”
    Even if the users save to disk and try to re-open, the error still occurs.
    This error did not surface in our QA testing because we were testing with Adobe Acrobat Reader 8. What can the difference be? Is there additional information that I can look for in order to troubleshoot this?
    Thank you for looking at my post. Please provide guidance in trying to resolve this issue.
    Elsa

    So, I'm not sure how much this will help but if you save the pdf AHW_Test_05112009xx.pdf and open it in a text editor, and go all the way down to the bottom where the %%EOF marker is, it looks as if the html page is getting appended to the end of the pdf. I recieved the "This file was damaged..." error in Adobe 7.1.0 when trying to open it but if you remove the html at the end, it opens up just fine.
    It appears that whatever's appending the html to the end is causing the issue.
    Below is what the file looks like near the end after the EOF:
    startxref
    400771
    %%EOF
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head><title>
        Gartner for IT Executives
    </title>

  • Error on External Serrvice Configuration Page NW 20047s SP10

    Hi All,
    I am working on CAF developement. I was trying to develop an CAF application using External Service. I used SAP ECC 5.0 server to import a RFC functional module. It was successfully imported in NWDS. Also it got successfully deployed on the Server NW2004s SP10. But when i opened external service configuration page -> service registery it gave me a null pointer exception.
    To solve the problem, i removed the RFC functional module from NWDS and
    re-deployed the same application, but the error is still there.
    One solution i got is to undeploy the application from the server. After doing this I was able to get the External service configuration page -> service registery without any error. BUT WHEN I DEPLOY THE SAME APPLICATION REMOVING THE RFC THE ERROR IS COMMING AGAIN.
    I think there must be some entry on the server which stores the External services imported on the NW 2004s server.
    Please Help. ITS VERY URGENT
    thanks in advance,
    Regards,
    Sheetal

    I am not using date in my program. Follwing is my error.
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.sap.caf.mp.mmr.adapter.ServiceDefinitionTypeConverter.convertExternalInterface(ServiceDefinitionTypeConverter.java:507)
        at com.sap.caf.mp.mmr.adapter.MMServiceRetrievalAdapter.getExternalInterfaces(MMServiceRetrievalAdapter.java:547)
        at com.sap.caf.mp.mmr.ejb.MMServiceRetrievalAdapterCallerBean.getExternalInterfaces(MMServiceRetrievalAdapterCallerBean.java:158)
        at com.sap.caf.mp.mmr.ejb.MMServiceRetrievalAdapterCallerLocalLocalObjectImpl0_0.getExternalInterfaces(MMServiceRetrievalAdapterCallerLocalLocalObjectImpl0_0.java:477)
        at com.sap.caf.mp.core.data.service.DataServiceBridge.getExternalServices(DataServiceBridge.java:201)
        ... 47 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:12:34[UTC], changelist=421181, host=pwdfm101), build date: Thu Dec 28 17:06:00 GMT+05:30 2006
    J2EE Engine 7.00 patchlevel
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_12-b03, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Fri Jan 12 09:47:51 GMT+05:30 2007 (Java Time: 1168575471082)
    Web Dynpro Code Generation Infos
    sap.com/cafUIconfiguration
    SapDictionaryGenerationCore 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:52:59[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:53:17[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:58:51[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0010.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:50:36[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0010.20061002110156.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:55:32[UTC], changelist=419397, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    SapWebDynproGenerationCore 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:59:00[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.RuntimeException: com.sap.caf.rt.exception.CAFBaseRuntimeException: Exception in method getExternalInterfaces.
         at com.sap.caf.wd.services.registry.VwOverview.loadServices(VwOverview.java:661)
         at com.sap.caf.wd.services.registry.VwOverview.wdDoInit(VwOverview.java:133)
         at com.sap.caf.wd.services.registry.wdp.InternalVwOverview.wdDoInit(InternalVwOverview.java:275)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:789)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:752)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.caf.rt.exception.CAFBaseRuntimeException: Exception in method getExternalInterfaces.
         at com.sap.caf.mp.core.data.service.DataServiceBridge.getExternalServices(DataServiceBridge.java:208)
         at com.sap.caf.wd.services.registry.VwOverview.loadServices(VwOverview.java:657)
         ... 46 more
    Caused by: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method getExternalInterfaces.
         at com.sap.caf.mp.mmr.ejb.MMServiceRetrievalAdapterCallerLocalLocalObjectImpl0_0.getExternalInterfaces(MMServiceRetrievalAdapterCallerLocalLocalObjectImpl0_0.java:493)
         at com.sap.caf.mp.core.data.service.DataServiceBridge.getExternalServices(DataServiceBridge.java:201)
         ... 47 more
    Caused by: java.lang.NullPointerException
         at com.sap.caf.mp.mmr.adapter.ServiceDefinitionTypeConverter.convertExternalInterface(ServiceDefinitionTypeConverter.java:507)
         at com.sap.caf.mp.mmr.adapter.MMServiceRetrievalAdapter.getExternalInterfaces(MMServiceRetrievalAdapter.java:547)
         at com.sap.caf.mp.mmr.ejb.MMServiceRetrievalAdapterCallerBean.getExternalInterfaces(MMServiceRetrievalAdapterCallerBean.java:158)
         at com.sap.caf.mp.mmr.ejb.MMServiceRetrievalAdapterCallerLocalLocalObjectImpl0_0.getExternalInterfaces(MMServiceRetrievalAdapterCallerLocalLocalObjectImpl0_0.java:477)
         ... 48 more
    Thanks and regards,
    sheetal

  • "There was an error opening the database for the library "~/Pictures/Apert"

    Hey everyone,
    There's already another discussion thread about this at the link below, but the problem was never actually resolved. http://discussions.apple.com/thread.jspa?threadID=2343014&tstart=0&messageID=116 67261#11667261
    So I stumbled across this problem where Aperture 3 will display the following error when opening the image library.
    There was an error opening the database for the library “~[path]/Aperture Library.aplibrary”.
    One user suggested navigating to the actual library, and ⌘⌥-clicking the library to open it with the Aperture Library First Aid dialog. This however, did not work for me. I still received the error messages upon ⌘⌥-clicking the library.
    Here's a little hack I discovered for those of you still struggling. It doesn't fix the problem (leaves quite a large dent remaining actually), but hopefully someone can cultivate what little I discovered.
    ⌥-click Aperture (not the library)
    You should get to the library selection dialog box. Create a new library (bottom right corner) and remember the location of the new library. Put a few random pictures in the new one.
    Close Aperture
    ⌃-click both the old and new libraries and "Show Package Contents."
    Open the folder "Database" in both libraries.
    Cross check the folders to see if the old library is missing files that are in the new library. If your old library is missing some files (mine was), drag the missing files from the new library to the old one.
    Close both folders.
    ⌘⌥-click the old library.
    NOW, I got the Aperture Library First Aid dialog.
    Rebuild the library (3rd option)
    Wait a while.
    Aperture should open up with a folder named "Recovered Folder." Within this folder will be a SINGLE project named "Recovered Project" with ALL the images from your old library. There may be a few albums there too, but mine were all empty so it didn't matter in my case. To my knowledge, I lost all the adjustments I performed too.
    This is as far as I got. I have much of my library backed up, so I only needed to copy the most recent photos into the backup. I am NOT reorganizing and re-editing pictures in this one!
    As Aperture is a photo-organizing and photo-editing software, I understand that this by no means fixes the problem, since you lose all organization and editing. But it enables one to at least view the images lost. Hopefully a more knowledgable hacker else can figure out how to fix this completely. Unfortunately, I simply don't have the time to continue messing with this.
    Good luck to anyone else having issues! I understand the frustration you must be facing, its freaky having years worth of images simply disappear! After this incident, I'm definitely going to configure Time Machine to perform more frequent backups, since my latest backup was already a couple weeks old.

    Hey All,
    To my horror I have a similar problem and your solution didn't seem to help. To be specific, I get the error:
    "There was an error opening the database for the library “~/Pictures/Aperture Library_2.aplibrary" Everytime I try to run Aperture. This happened because my Apple computer shut off completely (due to bad battery) while importing photos from a memory card.
    I've tried "option + command" while clicking the aperture application and that gave me the same error message without any other option except to quit the program. I tried "option + command" and clicked the library package but that didn't work either. I tried creating a new aperture library, opening it which I did successfully, and then switching to my main one but that didn't work.
    Does anyone know away to get it to work again and have the edits still there?
    I'm a professional photographer and have thousands of photos or so in the library so this is distressing. The master files for the photos are located on an external hard drive, but I'm not sure how to access them in aperture. Are all the edits on the photographs are in the external hard drive or the aperture library. Is there any other way to resolve this issue without losing the edits?
    Does apple have a support number I can call? Any help would be greatly appreciated!!

Maybe you are looking for

  • HT3290 Video will not import after updating my iMovie from '09 to '11

    I updated my imovie '09 to '11 and now my video files from my camcorder JVC (model GZ_MG330HU) will not import.  The video files show up in my iMovie library but when I try to create a project or movie and then share what I have created the files are

  • Playing video from iPad to TV

    I bought the AV cable at the Apple store yesterday and tried it out. I can play video from the Video app, the Netflix app, and the YouTube app without a problem. But I can't play anything from the ABC app or the Hulu Plus app (the free stuff - I'm no

  • No external images in Outlook 2013 & no internet access in Internet Explorer 11

    I use a an automatic configuration script http://XXXXukproxy.internal.XXXXXXXX.com/proxy.pac I also use a combination of 2 VPNs through Avaya VPN Client or Cisco AnyConnect Secure Mobility Client. When I'm connected to the VPN with the Avaya VPN Clie

  • OBIEE in Unix and accessing Metadata Layer via Windows

    Hi, I'm new in OBIEE. I have installed OBIEE in Unix Environment. But how to access the metadata layer (.rpd file) via Windows (Administration Module)? Please help me. Thanks Raj

  • FI & CO tables

    can any body give me finance tables in r/3 and controlling tables in r/3... please