Error while opening the XML file

Hi all,
i'am trying to download data from internal table to XML file with root node and its
corresponding child nodes.i have written the program in this way.
tables: mara.
include bcciixml_decl.
include bcciixml_impl.
parameters: p_matnr like mara-matnr.
start-of-selection.
data: piXML          type ref to if_ixml,
        pDocument      type ref to if_ixml_document,
        pStreamFactory type ref to if_ixml_stream_factory,
        pIStream       type ref to if_ixml_istream,
        pParser        type ref to if_ixml_parser,
        pNode          type ref to if_ixml_node,
        pText          type ref to if_ixml_text,
        string         type string,
        count          type i,
        index          type i,
        totalSize      type i,
        dsn(40)        type C,
        xstr           type xstring.
  types: begin of it_mara,
            matnr like mara-matnr,
            ernam like mara-ernam,
            aenam like mara-aenam,
            vpsta like mara-vpsta,
        end of it_mara.
data: itab_mara type table of it_mara.
select matnr ernam aenam vpsta from mara into table itab_mara where
       matnr =  p_matnr.
types: begin of xml_line,
        data(256) type X,
      end of xml_line.
data: xml_table type table of xml_line.
parameters: filename like rlgrap-filename.
pixml = cl_ixml=>create( ).
*-- create the initial document
  pDocument = pixml->create_document( ).
  pStreamFactory = pixml->create_stream_factory( ).
*-- create an input stream for the table
*pIStream = pStreamFactory->create_istream_itable( table = xml_table
                                                 size  = totalSize ).
  pParser = piXML->create_parser( stream_factory = pStreamFactory
                                  istream        = pIStream
                                  document       = pDocument ).
data: pOStream type ref to if_ixml_ostream.
pOStream = pStreamFactory->create_ostream_itable( table = xml_table ).
call method pDocument->render( ostream   = pOStream ).
*-- how many bytes were written to the table?
totalSize = pOStream->get_num_written_raw( ).
*-- write the XML document back to the frontend
concatenate filename '.out' into filename.
condense filename no-gaps.
CALL FUNCTION 'WS_DOWNLOAD'
     EXPORTING
          BIN_FILESIZE            = totalSize
          FILENAME                = filename
          FILETYPE                = 'BIN'
     TABLES
          DATA_TAB                = itab_mara
     EXCEPTIONS
          OTHERS                  = 11
IF SY-SUBRC <> 0.
ENDIF.
*-- print the whole DOM tree as a list...
pNode = pDocument.
perform print_node using pNode.
      FORM print_node                                               *
form print_node using value(pNode) type ref to if_ixml_node.
  data: indent      type i.
  data: pText       type ref to if_ixml_text.
  data: string      type string.
  indent  = pNode->get_height( ) * 2.
  case pnode->get_type( ).
    when if_ixml_node=>co_node_element.
      string = pNode->get_name( ).
      write: at /indent '<', string, '> '.
    when if_ixml_node=>co_node_text.
       pText ?= pNode->query_interface( ixml_iid_text ).
       if pText->ws_only( ) is initial.
        string = pNode->get_value( ).
        write: at /indent string.
       endif.
  endcase.
  pNode = pNode->get_first_child( ).
  while not pNode is initial.
     perform print_node using pNode.
     pNode = pNode->get_next( ).
  endwhile.
endform.
but when open the XML file which i created on the desktop it shows the following error.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'file:///C:/Documents and Settings/anilda/Desktop/sim...
how to rectify this error.
Regards,
satish.

You are going to need to provide more details about this shell script file you are executing and the environment it is in. Beyond being on a Windows box, you have provided none of those details.
If the SQL statement will execute cleanly in SQLDeveloper but not your script, then the issue lies in the script. How do you know the error is that SQL statement? Can your script even "select * from dual;" successfully?
Also, SQLDeveloper (which I don't use) may contain its own libraries for accessing the DB. You probably should consider upgrading to a SQL*Plus client that is at least the same version or later as your database.
Note:
As I recall, xmlgen in 9.2 is now a synonym for dbms_xmlgen. You should change the package name accordingly [url http://docs.oracle.com/cd/B10501_01/appdev.920/a96612/d_xmlge2.htm#1010709]dbms_xmlgen.getXML

Similar Messages

  • BYMONTHDAY is causing the error while opening the ics file in outlook when event is exported from SharePoint Calendar

    Hi All,
              I am trying to parse the SharePoint recurrence data to get the RRULE for the ics file the RRULE parsed works fine for Yearly and Daily but it causes error when opening the ics file for the Monthly and
    weekly recurrence recurrence. I have opened the ics file in the notepad and observed that the BYDAY and BYMONTHDAY causes the problem. If I remove the tag the file opens fine but with wrong recurrence pattern.
    Any help will be appreciated.
    Regards
    Ajeet
    Ajeet

    Ajeet,
    I see that this is an extremely old post, but I thought I would refresh it with a bit more info.
    I wish I had found this post a few days ago.  I realized the same thing as well.  I don't quite understand the reasoning behind requiring the by day date must be the same as  the event date.  Another thing with rrecurrence is that if
    you pick a day of the week for a recurrence (i.e. Friday), then the start date must also occur on a Friday (I am just casting it as the first Friday of the month).
    I have come into this same issue with the BYMONTHDAY.  I am currently working on trying to configure an .ICS file to allow for multiple monthly recurrences, but it appears Outlook does not support multiple days within an event (determined by trying
    to create an even in Outlook and picking the recurrence option).  It seems that you are only allowed to have an event on (for example) every Friday of each month, or the (x) day of each month.  You cannot set any other occurrences of any other day
    within the same ICS file.  Hopefully someone else will find this information useful.
    Cheers,
    Tracy

  • Getting error while running the XML file using XML Publisher Desktop

    Hi all,
    We have successfully loaded the XML file using XML Publisher Desktop. But when we preview the same using PDF format we are getting the following error.
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
    FOProcessor setLocale: en-us
    java.lang.NullPointerException
         at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
         at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
         at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
         at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
         at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
         at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         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:149)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Thanks in Advance.
    Sudeep.

    This is BI related. You will get a quicker answer from the BI Publisher forum
    BI Publisher

  • WebInterface Server - Error while opening the PDF file

    Hello,
    We are using webinterface to display the MSDS genearated.
    Our customers use the link provided to them for displaying the msds.
    We imported a few MSDS ( CG36 ), which are in PDF format & displayed successfully on the webinterface server.
    However the newly generated MSDS ( Create Report ) from SAP EH&S system are not getting displayed on the webinterface server. We are getting following error message:
    Error reading resulitng document from filesystem. Class:
    COM.td.ehswww.results.EhsDocument.
    Method:getResolvedDocument().This error could have been caused by a misconfigured filter.ini.
    We checked and found that the filter.ini file is same on both quality & production system.
    We are able to generate & display the report successfully on quality webinterface server.
    Problem only appears on the production webinterface server.
    We also tried to search for the SAP notes on this issue.
    But we could not find out any relevant note for our issue.
    Any help in this regarding is highly appreciated.
    Thanks & Regards,
    Aarohi

    Hello Sebastian,
    Thank you very much for your help.
    We checked on both quality & production webinterface server.
    The Tomcat service is not executed with any specific user.
    The system is working fine on quality , we are getting errors only on the production.
    We also identified a strange behavior on the production web interface server.
    We are able to see files under following menu path:
    There are error files getting generated.
    I guess these error files are getting generated while converting the rtf file to pdf file.
    The resultant PDF file is not getting generated and hence system is giving the error on the webpage.
    Can you guide us as to why these error files are getting generated .? What can be the root cause of this issue.? and How to prevent this.?
    Again thanks a lot for your help.
    Best Regards,
    Aarohi

  • Error while running the XML file using XML Publisher Desktop

    Hi All,
    We have successfully loaded the XML file using XML Publisher Desktop.But when we try to preview it using the PDF format we are getting the following error.
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
    FOProcessor setLocale: en-us
    java.lang.NullPointerException
         at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
         at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
         at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
         at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
         at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
         at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
         at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         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:149)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Any pointers will be of great help.
    Thanks in Advance
    Sudeep.


    I had a similar error which when I searched, came up with this thread.
    My issue was resolved after I discovered that my RTF template was not really RTF. It was sill in MS Word DOC format. This was discovered by reviewing two templates in NOTEPAD. The MS-DOC files have a lot of "special" characters in them. My RTF was not really RTF.
    After doing a SAVE AS - RTF format, then the preview worked as expected.
    Just Sharing...
    --Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error while downloading the xml file

    i am having a internal table which contains data in xml format but i am unable to download the data into local system by using 'GUI_DOWNLOAD' fn. module
    its error its showing is as :
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    A name contained an invalid character. Error processing resource 'file:///D:/XX.XML'. Line 4, Position 4
    MOD/><RPTSX/><MANDT/><SYPSY/><SYSID/><SAPRL/></T682><T682><KVEWE>A</KV...

    hello Durairaj,
    i am fwd the code go thru it and check why the xml file is not downloading,
    and after downloading the file i want that file to be in displayed in  .pdf.
    REPORT  ZCCSV_TO_XML.
    DATA : BEGIN OF TABLE OCCURS 0,
            TABNAME(15) TYPE C,
           END OF TABLE.
    DATA : BEGIN OF HEADER_NAMTAB OCCURS 0,
            NAMTAB TYPE STRING,
           END OF HEADER_NAMTAB.
    DATA : BEGIN OF CONVERT_ITAB_TO_XML OCCURS 0,
            FIELDNAME(255) TYPE C,
           END OF CONVERT_ITAB_TO_XML .
    DATA : BEGIN OF CONVERT_XML_TO_ITAB OCCURS 0,
            FIELDNAME(255) TYPE C,
           END OF CONVERT_XML_TO_ITAB.
    DATA DREF TYPE REF TO DATA.
    DATA TNAME LIKE DD02L-TABNAME.
    DATA BEGIN OF ZDFIES OCCURS 0.
            INCLUDE STRUCTURE DFIES.
    DATA END OF ZDFIES.
    DATA: xml_out TYPE string .
    DATA: xml_TO_ITAB TYPE string .
    data : wa_indx type indx.
    DATA : DETAIL(30).
    DATA : DATA1 TYPE STRING.
    DATA : COMMA . "VALUE ','.
    DATA : DBTAB1(15) TYPE C.
    FIELD-SYMBOLS: <ITAB> TYPE ANY TABLE,
                   <WA>    TYPE ANY,
                    <WA1> TYPE ANY .
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME,
                       SKIP 1.
    PARAMETERS : SPOOL    RADIOBUTTON GROUP rad1 DEFAULT 'X',
                 CSV      RADIOBUTTON GROUP rad1 ,
                 XMLTOPDF RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN : SKIP 1,
                       END OF BLOCK b1.
        TABLE-TABNAME = 'T681'.
        APPEND TABLE.
        TABLE-TABNAME = 'T682'.
        APPEND TABLE.
      IF SPOOL = 'X'.
       PERFORM SPOOL.
      ELSEIF CSV = 'X'.
        PERFORM CSV.
      ELSEIF XMLTOPDF = 'X'.
        PERFORM XMLTOPDF.
      ENDIF.
    *&      Form  CSV
    form CSV .
    LOOP AT TABLE.
      dbtab1 = TABLE-TABNAME.
      TNAME = dbtab1.
      PERFORM GETFIELDS.
      LOOP AT HEADER_NAMTAB.
       WRITE: HEADER_NAMTAB-NAMTAB, COMMA.
      ENDLOOP.
      PERFORM GET_DETAIL_LIST.
    ENDLOOP.
    endform.                    " CSV
    form XMLTOPDF .
    LOOP AT TABLE.
      PERFORM GET_DETAIL_LIST.
    ENDLOOP.
    endform.                    " XMLTOPDF
    GETTING THE HEADER OF THE TABLE                                     *
    FORM GETFIELDS.
      REFRESH HEADER_NAMTAB.
      CALL FUNCTION 'GET_FIELDTAB'
       EXPORTING
           LANGU              = SY-LANGU
           ONLY               = SPACE
           TABNAME            = TNAME
           WITHTEXT           = 'X'
       TABLES
           FIELDTAB           = ZDFIES
       EXCEPTIONS
           INTERNAL_ERROR      = 01
           NO_TEXTS_FOUND      = 02
           TABLE_HAS_NO_FIELDS = 03
           TABLE_NOT_ACTIV     = 04.
      CASE SY-SUBRC.
        WHEN 0.
          LOOP AT ZDFIES.
            HEADER_NAMTAB-NAMTAB = ZDFIES-SCRTEXT_M.
            APPEND HEADER_NAMTAB.
          ENDLOOP.
        WHEN OTHERS.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           WITH  SY-SUBRC.
      ENDCASE.
    ENDFORM.                  " GETFIELEDS
    *&      Form  GET_DETAIL_LIST
    form GET_DETAIL_LIST .
      CREATE DATA DREF TYPE STANDARD TABLE OF (TABLE)
                                WITH NON-UNIQUE DEFAULT KEY.
      ASSIGN DREF->* TO <ITAB> .
      SELECT * FROM (TABLE) INTO TABLE <ITAB>.
      CALL TRANSFORMATION ('ID')
      SOURCE tab = <ITAB>[]
      RESULT XML xml_out.
    Convert to TABLE
    CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
    EXPORTING
    i_string = xml_out
    i_tabline_length = 100
    TABLES
    et_table = CONVERT_ITAB_TO_XML.
    Download
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    filetype = 'ASC'
    filename = 'D:\XX.XML'
    TABLES
    data_tab = CONVERT_ITAB_TO_XML
    endform.

  • Error while validating the xml file

    Hello All,
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setValidating(false);
    DocumentBuilder db = dbf.newDocumentBuilder();
    doc = db.parse(new ByteArrayInputStream(xmlString.getBytes()));
    In this code even though I have set the validation of instance of DocumentBuilderFactory to false it still tries to validate the xml file using the dtd. How do I avoid the validation of the xml file by the dtd file ?.
    Is anybody having any suggestions for that ?.
    Help needed urgently.
    Thanks and regards,
    Sachin

    Thanks for the prompt help. Is there any other way instead of removing the DTD line ?. Because the xml is coming as a string and removing the dtd and then adding it will unneccesary hamper performance. Do you any other way in which even though I don't remove the line I get the output without removing the dtd line ?.
    thanks and regards,
    Sachin

  • Error while encrypting the xml file using asymmetric cipher...pls help

    i am encryption the xml file using asymmetric cyper....
    in one class , i am generating private key and public key using "RSA" algorithm..using 1024 byte initialization...
    it is generating properly...
    and after that in second class i am encrypting the xml file using "DESede" algorithm and i am using public key of above class..
    but i am getting exceptione :
    java.security.InvalidKeyException: Invalid key length: 162 bytes
    at com.sun.crypto.provider.DESedeCipher.engineGetKeySize(DashoA6275)
    at javax.crypto.Cipher.init(DashoA6275)
    at XmlEncryption.getEncryptedData(XmlEncryption.java:147)
    at XmlEncryption.encryptCompleteXmlFile(XmlEncryption.java:123)
    at demoXmlEncApp.simulateBookSellersEnd(demoXmlEncApp.java:72)
    at demoXmlEncApp.main(demoXmlEncApp.java:29)
    so, what is that ?
    i want to use RSA algo for key generatiion and DESede for cipher initialization .
    is there any site for where source code of xml file encryption using asymmetric cipher is available?
    pls, help me.....

    Sachin,
    What sabre150 is trying to explain to you, is that encrypting data (such as an XML file) is a 2-step process. In the first step, you generate a symmetric key (such as DES, 3DES, AES) and encrypt your file with this key (and the appropriate mode and padding).
    In order to ensure that your encrypted data cannot be decrypted by unauthorized individuals, you now need to protect the symmetric key. Encrypting your symmetric key with another symmetric key does not solve the problem, since you have a chain of symmetric keys that need to be encrypted into infinity.
    Cryptographers solve this problem by encrypting the symmetric key with an asymmetric key, such as as RSA. To perform this second step, you generate an RSA key-pair, encrypt the symmetric key you generated in step 1 with the Public key of the RSA key-pair, and give the recipient of the encrypted XML file, access to the Private key of the RSA key-pair as well as the encrypted symmetric key.
    The recipient, then uses the RSA Private key to decrypt the symmetric key first, and then uses the "plaintext" symmetric key to decrypt the XML file.
    What sabre150 was also attempting to explain to you, is the traditional way of transporting an encrypted "blob" that consists of data + symmetric key. With a modern key-management system, combining the two would be unnecessary.

  • Error while opening the xml request in excel format

    hi,
    I have created xml report for existing standard report.
    It is working fine in PDF format.
    But if try to open in excel, if i click view output, new windows appears and immediately disappearing.
    please tell me what to do for this problem.
    thanks in advance.

    If the page is running fine for other OU and giving error only for one OU then it means there is some setup issue.
    Either some profile value is not set for that particular responsibility whereas it is set for others
    or there is some setup missing at OU level.

  • I am getting error while converting the xml file to pdf

    Hi all,
    I am getting the error
    "Runtime exception when processing target-field mapping /ns0:MT_payment_rec/payment_rec/companycode; root message: Exception:[ExceptionConverter: java.io.IOException: The document has no pages.] in class com.sap.xi.tf._MM_Payment_Advice_ method calculate[a, com.sap.aii.mappingtool.tf7.rt.Context@2e0d7679]"
    I followed below  blog for converting xml to pdf
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1940
    in this blog they mentioned source & target path, but I read the values directly Through sender communication channel with out giving the source and target path in udf(calling the java code from imported archive, and excuted for converting xml to pdf file),
    but i am getting above error,
    Is there any possibility to return the converted pdf values to target field through udf
    Pls help me.

    Hi
    Can u tell us what is the function of the UDF in your case ?
    Apart from Converting the given input xml to pdf output, I dont see there is any other functionality within the UDF .. and  the XMLTOPDF Class requires the two inputs to be passed when it is instantiated in the code
    and now if you don't pass those parameters, it's going to throw an IO exception
    Regards
    Krishna

  • Error while opening the installation file

    when i run my installation file, and click 'run', the following error appears: "the program can't start because MSVCR100.dll is missing from your computer. try reinstalling the program to fix this problem". what do i do?

    Hi,
    Can you pls. let us know which installer are you using (Reader/Acrobat). List down the exact steps that you are following.
    Also let us know the answer of the following queries:
    1. OS version and Language
    2. CPU architecture
    3. Installer downloaded and language
    You can download the Adobe Reader installer from the following link.
    http://get.adobe.com/reader/enterprise/
    Thanks,
    Vinod

  • Error while opening the file store file "WLS_DIAGNOSTICS000000.DAT".....

    I have a WL 9.2.1 running on Sun solaris o/s .....it is failing to start thowing the following exception
    <Mar 19, 2009 5:21:17 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was a
    n error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:44)
    at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:107)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS0
    00000.DAT"
    at weblogic.store.io.file.Heap.open(Heap.java:166)
    at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:85)
    at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:350)
    at weblogic.store.PersistentStoreManager.createFileStore(PersistentStoreManager.java:202)
    at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:61)
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:42)
    ... 4 more
    Caused by: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:213)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:103)
    at weblogic.store.io.file.Heap.open(Heap.java:164)
    ... 9 more
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
    at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
    at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:51)
    at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:138)
    at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)
    at weblogic.store.io.file.StoreFile.open(StoreFile.java:142)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:95)
    ... 10 more
    i went ahead and checkd the file and the privs on the file they look correct -rw-r--r-- ...but when i just restart it ..it starts with no errors the next time......What could be the issue.....please help
    Then only reason i could think of is the size of the file is 35MB now...is this the problem....if yes....is there a way to automaticaly rotate this file ....

    The root cause appears to be right in the stack trace:
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11I think this indicates that either the file was either locked (because another instance of WebLogic had it opened), or that the file was unavailable for some reason. WebLogic locks files as a safety precaution to prevent misconfigured setups (multiple domains sharing the same directory and store name) from attempting to share the same file.
    I don't think that this message necessarily means there is a file corruption.
    As for rotation, the file store automatically adds new files as needed (I think its 1 file for every 2GB of data). The "diagnostics" file store is generated by the optional diagnostics feature, and I think that this feature has options for controlling the amount of stored data.
    Tom

  • "The server is unavailable this is offline copy of the server workbook" error while opening the sharepoint library file

    Hi Techys,
    can you give me the suugestions for below error in sharepoint 2010.
    Error: "The server is unavailable this is offline copy of the server workbook" error while opening the sharepoint library file.
    User having the contribute permission.
    as a admin i can open the document without any error.
    user wants to open the document via online and VPN connection.
    while the user seeing the document info the below error is indicationg .
    Offline Copy, Work book is readonly Mode.
    The server is unavailable this is offline copy of the server workbook" error while opening the sharepoint library file which was upto date.
    Many Thanks,
    Madhu

    Make sure that the user is able to access workstream from the site collection through VPN. If the user is able to access already, try to download the file locally and see if the data is getting loaded and upload again.
    --Cheers

  • Getting 'Out of memory' error while opening the file. I have tried several versions of Adobe 7.0,9.0,X1. It is creating issue to convert PDF into TIFF. Please provide the solution ASAP

    Hello All,
    I am getting 'Out of memory' error while opening the file. I have tried several versions of Adobe 7.0,9.0,X1.
    Also, it is creating issue to convert PDF into TIFF. Please provide the solution ASAP.

    I am using Adobe reader XI. When i open PDF it gives "OUT of memory" error after scrolling PDF gives another alert "Insufficient data for an image". after clicking both alerts it loads full data of PDF. It is not happening with all PDFs. couple of PDFs are facing this issue. Because of this error my software is not able to print these PDFS into TIFF. My OS in window7*64. I tried it on win2012R2 and XP. Same issue is generating there.
    It has become critical issue for my production.

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

Maybe you are looking for

  • WebService Automated Activity in BPM - How to transport WSDL to Test/Prd

    Hi, I am using a webservice in BPM, This webservice is based on BRM. It is hosted on DEV and i am consuming it with its WSDL whose url has DEV host/port. My questions, How would i change when I should move whole BPM piece. I know i will do the same w

  • Attachment two or more PDF's in a mail

    When I create a message and I want to attach more than one document (not photos) in a single email, how I can do? Eg. I want to send two PDF's in a mail. Cuando creo un mensaje y quiero anexar más de un documento (que no sean fotos) en un mismo corre

  • Monitor resolution troubles

    After connecting a Samsung P2450 monitor to my MacBook, Late 2009 model, the maximum resolution the system will allow me to choose is 1024 x 768. The monitor is capable of full 1080p. I have searched everywhere to no avail. Help please! I am running

  • Find the program name

    hi, I have to find the program name which can let me know a field which exists in different custom program... Can anyone guide me please. Its bit urgent ~~Guduri

  • Not reading DVDs and superdrive quits unexpectedly

    ummm my macbook pro has been acting super weird lately. Every time restart or turn it on or something, it tells me 'superdrive had quit unexpectedly.' Now I can't watch any DVDs or anything. any time I stick a DVD or CD in the drive, it spins, stops,