URGENT --  Perofrmance issue while creating Huge XML file

All XML Experts Please Help....Thanks a lot in Advance
We are trying to create a XML file for a huge table.. 5 million rows and the performance is ver very bad.. Can some body help by giving me an idea what what my best approch could be... or what am I doing wrong in in the code below
CREATE OR REPLACE PROCEDURE Sales_1_Generate_Xml IS
temp_clob CLOB;
temp_buffer VARCHAR2(1);
amount BINARY_INTEGER := 1;
position INTEGER := 1;
filehandle utl_file.file_type;
error_number NUMBER;
error_message VARCHAR2(100);
length_count INTEGER;
qryctx dbms_xmlgen.ctxhandle;
BEGIN
qryctx := dbms_xmlgen.newcontext('select /* INDEX UF_SALES(UF_SALES_IX16) */
TRANSACTION_NUMBER     "Transaction_Number",
TRANSACTION_TYPE_ID     "Transaction_Type_ID",
PROCESS_FISCAL_DATE_ID     "Process_Fiscal_Date_ID",
INVOICE_FISCAL_DATE_ID     "Invoice_Fiscal_Date_ID",
ORDER_FISCAL_DATE_ID     "Order_Fiscal_Date_ID",
PROCESS_CALENDAR_DATE_ID     "Process_Calendar_Date_ID",
INVOICE_CALENDAR_DATE_ID     "Invoice_Calendar_Date_ID",
ORDER_CALENDAR_DATE_ID     "Order_Calendar_Date_ID",
CURRENT_TM_ID     "Current_TM_ID",
CUSTOMER_ID     "Customer_ID",
CUSTOMER_TYPE_ID     "Customer_Type_ID",
CUSTOMER_LEVEL_ID     "Customer_Level_ID",
ACCOUNT_TYPE_ID     "Account_Type_ID",
TRADE_CLASS_ID     "Trade_Class_ID",
DISTRIBUTOR_ID     "Distributor_ID",
PRODUCT_ID     "Product_ID",
ORDERED_PRODUCT_ID     "Ordered_Product_ID",
BRAND_TYPE_ID     "Brand_Type_ID",
LABEL_TYPE_ID     "Label_Type_ID",
BRAND_LABEL_ID     "Brand_Label_ID",
PRICED_BY_ID     "Priced_By_ID",
SALES_UOM_ID     "Sales_UOM_ID",
PURCHASING_UOM_ID     "Purchasing_UOM_ID",
PRICING_UOM_ID     "Pricing_UOM_ID",
NET_COST     "Net_Cost",
NPA_S     "NPA_S",
CMA_S     "CMA_S",
NOT_S     "NOT_S",
TOTAL_NATIONAL_ALLOWANCE_S     "Total_National_Allowance_S",
LPA_S     "LPA_S",
LMA_S     "LMA_S",
LOT_S     "LOT_S",
TOTAL_LOCAL_ALLOWANCE_S     "Total_Local_Allowance_S",
TOTAL_ALLOWANCES_S     "Total_Allowances_S",
LPC     "LPC",
LPC_EXTENDED     "LPC_Extended",
LPF     "LPF",
LPF_EXTENDED     "LPF_Extended",
TRUE_COST     "True_Cost",
CDE     "CDE",
LPP     "LPP",
SURCHARGE     "Surcharge",
COMBINED_SURCHARGE     "Combined_Surcharge",
TOTAL_SURCHARGES     "Total_Surcharges",
MARKET_COST     "Market_Cost",
INSIDE_PAD     "Inside_Pad",
SALES_REP_COST     "Sales_Rep_Cost",
SALES_REP_MARGIN     "Sales_Rep_Margin",
SALES_PRICE     "Sales_Price",
SALES_TRUE_MARGIN     "Sales_True_Margin",
NVD     "NVD",
LVD     "LVD",
NID     "NID",
LID     "LID",
TOTAL_VD     "Total_VD",
TOTAL_ID     "Total_ID",
TOTAL_DEVIATIONS     "Total_Deviations",
GP1     "GP1",
GP2     "GP2",
DEVIATED_COST     "Deviated_Cost",
ACTUAL_COST     "Actual_Cost",
SALES_TAX     "Sales_Tax",
QUANTITY_ORDERED     "Quantity_Ordered",
QUANTITY_SHIPPED     "Quantity_Shipped",
QUANTITY_DEVIATED     "Quantity_Deviated",
QUANTITY_SUBBED     "Quantity_Subbed",
UNITS_ORDERED     "Units_Ordered",
EACHES_ORDERED     "Eaches_Ordered",
EACH_CONVERSION_FACTOR     "Each_Conversion_Factor",
UNITS_SHIPPED     "Units_Shipped",
EACHES_SHIPPED     "Eaches_Shipped",
SHIP_WEIGHT     "Ship_Weight",
ACTUAL_GP_DLR     "Actual_GP_Dlr",
TRUE_GP_DLR     "True_GP_Dlr",
LANDED_GP_DLR     "Landed_GP_Dlr",
LANDED_ACTUAL_GP_DLR     "Landed_Actual_GP_Dlr",
INVOICE_GP_DLR     "Invoice_GP_Dlr",
INVOICE_ACTUAL_GP_DLR     "Invoice_Actual_GP_Dlr",
ADJUSTED_ACTUAL_GP_DLR     "Adjusted_Actual_GP_Dlr",
EB_S     "EB_S",
MB_S     "MB_S",
ACTUAL_TM_ID     "Actual_TM_ID",
ACTUAL_TM_NAME     "Actual_TM_Name",
ACTUAL_DSM_ID     "Actual_DSM_ID",
ACTUAL_DSM_NAME     "Actual_DSM_Name",
INVOICE_NUMBER      "Invoice_Number ",
CONTRACT_NUMBER     "Contract_Number",
CUSTOMER_NUMBER     "Customer_Number",
CUSTOMER     "Customer",
PRODUCT_NUMBER     "Product_Number",
MASTER_DISTRIBUTOR_ID     "Master_Distributor_ID",
ORDERED_PRODUCT_NUMBER     "Ordered_Product_Number",
NATIVE_PRODUCT_STATUS     "Native_Product_Status",
NATIVE_PRICED_BY_INDICATOR     "Native_Priced_By_Indicator",
EXTRACTION_TIME     "Extraction_Time"
from uf_sales where distributor_id in (''5139'',
''5140'',
''5145'',
''5150'',
''5160'',
''5175'',
''5180'',
''5210'',
''5220'',
''5230'')
DBMS_XMLGen.setRowTag(qryctx,'Sales_Record');
DBMS_XMLGen.setRowSetTag(qryctx,'Sales_Set');
temp_clob:=dbms_xmlgen.getxml(qryctx);
length_count := dbms_lob.getlength(temp_clob);
dbms_output.put_line('Internal LOB size is: ' || length_count);
filehandle := utl_file.fopen('DATA_EXTRACT','Sales_1.xml','Wb',32767);
WHILE length_count <> 0 LOOP
dbms_lob.read (temp_clob, amount, position, temp_buffer);
--utl_file.put (filehandle, temp_buffer);
utl_file.put_raw(filehandle, utl_raw.cast_to_raw(temp_buffer));
position := position + 1;
length_count := length_count - 1;
temp_buffer := null;
END LOOP;
dbms_output.put_line('Exit the loop');
utl_file.fclose(filehandle);
DBMS_XMLGen.closeContext(qryctx);
dbms_output.put_line('Close the file');
EXCEPTION
WHEN OTHERS THEN
BEGIN
error_number := sqlcode;
error_message := substr(sqlerrm ,1 ,100);
dbms_output.put_line('Error #: ' || error_number);
dbms_output.put_line('Error Message: ' || error_message);
utl_file.fclose_all;
END;
END;
/

OK, so you are writing the file with UTL_FILE. How long is the whole process taking. Have you timed the time taken to generate the temp_clob with the result Vs the time to write the output to a file.

Similar Messages

  • Exception while creating a excel file in BPM 10g

    Hi,
    We are facing following issue while creating an excel file from BPM.
    java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at fuegoblock.net.web.NewJspAjaxController.processMethodInvocation(NewJspAjaxController.java:264) at fuegoblock.net.web.NewJspAjaxController.service(NewJspAjaxController.java:46) at fuego.web.execution.servlet.ServletRedirector$ControllerRedirector.forward(ServletRedirector.java:197) at fuego.web.execution.servlet.ServletRedirector.redirect(ServletRedirector.java:58) at fuego.web.papi.TaskExecutor.processRedirect(TaskExecutor.java:224) at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:104) at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117) at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229) at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Workbook at xobject.Views.ReportingView.exportToExcel(ReportingView.xcdl:9) ... 35 more Caused by: java.lang.ClassNotFoundException: org.apache.poi.ss.usermodel.Workbook at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 36 more
    There is a JSP file which invokes the method of BPM, which inturn creates a excel file.
    In JSP we are calling the method in the following way:
    function exportSelectedItemsToExcel(){
         var url="<f:invokeUrl var='reportingView' methodName='exportToExcel'/>";
         url = url + "&bpmRespContentType=application/vnd.ms-excel";
         var windowHandle = window.open(url,'windowName','width=800, height=600, resizable=1, menubar=1');
    POI jars are used to create the excel.
    Also we recently did the migration and applied a patchset of 10.3.3 on 10.3.2. In the previous verison(10.3.2) it was working perfectly fine. When i am trying to test it on localstudio, it is generating the excel file properly.
    Have any one faced any such issues while migration or any other time?

    Manifests are saved with the .mf file extension. Rename your manifest mainfest.mf.

  • Creating an xml file - urgent

    hi !
    i want to create an xml file frim hierarchical data (n depth) . please advise me how to create xml file using dom and how to write dom elements to disk...

    read the documentation foor DOM it is not hard. You can create root elements, then append children to them, finally you can seralize the DOM Tree you just built

  • XML Parse error while loading an XML file

    HI Folks,
    I was trying to load and XML file into BODS.. The XML file is well-formed and the same when tested in other tools  is getting loaded without any issues..
    I have created a XML-File format with the corresponding XSD..
    But here in BODS it is giving - Parse error
    1) when i try to view the data of the source XML in my dataflow ..it is giving "XML Parser Failed".. and not able to show data..
    2) When I run my job i get the same pares error - with details as under..
    ---> Error here is "Unable to recognize element 'TAB' " or some time is say " Element TAB should be qualified"
    Please guide with this if you have any info..thanks
    I'm pasting the XML source file format here for your reference:--
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
    - <TAB>
    - <items>
    + <CUSTOMER_RECORD>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <NAME_1>ABC</NAME_1>
      <NAME_2>OFM/COMMERCIAL ACCOUNTS</NAME_2>
      <STREET_1>31 CENTER DRIVE MCS2045</STREET_1>
      <STREET_2 />
      <CITY>BETHESDA</CITY>
      <STATE_CODE>MD</STATE_CODE>
      <POSTAL_CODE>20892-2045</POSTAL_CODE>
      <COUNTRY_CODE>US</COUNTRY_CODE>
      <ORDER_BLOCK />
      <ERP_CREATE_DATE>20040610</ERP_CREATE_DATE>
      <ERP_CREATED_BY>DGUPTA</ERP_CREATED_BY>
      <ERP_MODIFY_DATE>20120201</ERP_MODIFY_DATE>
      <ERP_MODIFIED_BY>LWOHLFEI</ERP_MODIFIED_BY>
      <INDUSTRY_CODE>0103</INDUSTRY_CODE>
      <ACCOUNT_GROUP_ID>0001</ACCOUNT_GROUP_ID>
      <SALES_NOTE />
      <ADDRESS_NOTE />
      <CUSTOMER_CLASSIFICATION_CODE>02</CUSTOMER_CLASSIFICATION_CODE>
      <GLN_NUMBER />
      <PREVIOUS_ACCT_NO />
      <ACCOUNT_TYPE />
      <GAG />
      <SDI_ID />
      <HOSP_ID />
      <HIN />
      <DUNS />
      <PO_BOX />
      <POB_CITY />
      <POB_ZIP />
      <PHONE_NUMBER>77777</PHONE_NUMBER>
      <EMAIL_DOMAIN />
      <REQUESTER />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </CUSTOMER_RECORD>
    - <SALES_ORG_DATA>
    + <item>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <SALES_ORG>0130</SALES_ORG>
      <CUSTOMER_GROUP>03</CUSTOMER_GROUP>
      <ORDER_BLOCK_CODE />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </item>
    + <item>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <SALES_ORG>0120</SALES_ORG>
      <CUSTOMER_GROUP>11</CUSTOMER_GROUP>
      <ORDER_BLOCK_CODE />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </item>
      </SALES_ORG_DATA>
      </items>
      </TAB>
      </asx:values>
      </asx:abap>

    Pierre,
    Depending on the object "myLastFile", the method openDlg might not even exist (if the myLastFile object is not a File object, for instance). And I do not see any need for the myLastFile anyhow, as you are presenting a dialog to select a file to open. I recommend using the global ChooseFile( ) method instead. This will give you a filename as string in full path notation, or null when no file was selected in the dialog. I am not sure what your ExtendScript documentation states about the return value for ChooseFile, but if that differs from what I am telling you here, the documentation is wrong. So, if you replace the first lines of your code with the following it should work:
    function openXMLFile ( ) {
        var filename = ChooseFile ( "Choose XML file ...", "", "*.xml", Constants.FV_ChooseSelect );
    While writing this, I see that Russ has already given you the same advice. Use the symbolic constant value I indicated to use the ChooseFile dialog to select a single file (it can also be used to select a directory or open a file - but you want to control the opening process yourself). Note that this method allows you to set a start directory for the dialog (second parameter). The ESTK autocompletion also gives you a fifth parameter "helplink" which is undocumented and can safely be ignored.
    Good luck
    Jang

  • Error while creating an EAR file in 7.1 version

    Hi All,
    While developing an Adapter module in PI 7.1 version, facing a problem while creating an EAR file.
    Using NWDS 7.1 version
    1) Have developed the code compatible to 7.1 version changes which is not throwing any error while compilation
    2) Have given the jndi info in ejb-j2ee-engine.xml
    3) Also entered info in ejb-jar.xml like
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="ejb-jar_ID"
    version="2.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
    <description>EJB JAR description</description>
    <display-name>EJB JAR</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>EncryptModParam</ejb-name>
    <home>com.sap.aii.af.lib.mp.module.ModuleHome</home>
    <remote>com.sap.aii.af.lib.mp.module.ModuleRemote</remote>
    <local-home> com.sap.aii.af.lib.mp.module.ModuleLocalHome</local-home>
    <local>com.sap.aii.af.lib.mp.module.ModuleLocal</local>
    <ejb-class>com.abc.encryption.EncryptModParam</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    Then have clicked on Build project. Its throwing the following error
    Bean Interfaces: Stateless Bean "Encryption" should have atleast one of the following interface pairs: "local" and "localhome", "home" and "remote" or service endpoint interface
    Bean Interfaces: The home interface "com.sap.aii.af.lib.mp.module.ModuleHome" cannot be found in the search path
    Bean Interfaces: The local home interface "com.sap.aii.af.lib.mp.module.ModuleLocalHome" cannot be found in the search path
    Bean Interfaces: The local interface "com.sap.aii.af.lib.mp.module.ModuleLocal" cannot be found in the search path
    Bean Interfaces: The remote interface "com.sap.aii.af.lib.mp.module.ModuleRemote" cannot be found in the search path
    Also I have included the below code in the class file
    @ejbHome <{com.sap.aii.af.lib.mp.module.ModuleHome}>
    @ejbLocal <{com.sap.aii.af.lib.mp.module.ModuleLocal}>
    @ejbLocalHome <{com.sap.aii.af.lib.mp.module.ModuleLocalHome}>
    @ejbRemote <{com.sap.aii.af.lib.mp.module.ModuleRemote}>
    @stateless
    Request to give suggestions to resolve the above problem.
    Thanks in advance.
    Ganesh

    This is what I was looking for: http://maveninjdeveloper.blogspot.com/2012/04/handle-adf-application-maven-ant.html
    It further references:
    - http://docs.oracle.com/cd/E24382_01/user.1112/e17455/deploying_apps.htm#BACIIDEJ
    - http://javaosdev.blogspot.in/2011/12/ojdeploy-documentation-for-tool.html
    The only issue now is that Oracle JDeveloper release 11.1.2.2.0 (version being used) does NOT seem to support Ant while release 11.1.2.1.0 does. This necessitates a further kluge to make things work. The amount of difference between versions of JDeveloper is quite amazing.

  • Issue in Creation of XML file from ABAP data

    Hi,
    I need to create a XML file, but am not facing some issues in creation of XML file, the in the required format.
    The required format is
    -<Header1 1st field= u201CValueu201D 2nd field= u201CValueu201D>
       - <Header2 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 10 fields>
              <Header3 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
              <Header4  1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 4 fields/.>
               <Header5 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
          </Header2>
       </Header1>
    Iu2019m using the call transformation to convert ABAP data to XML file.
    So please anybody can help how to define XML structure in transaction XSLT_TOOL.
    And one more thing, here I need to put the condition to display the Header 3, Header 4, Header 5 values. If there is no record for a particular line item in header 3, 4 & 5, I donu2019t want to display full line items; this is only for Header 3, 4 & 5.
    Please help me in this to get it resolved.

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • Error, while creating a control file

    Hi All,
    DB Version :- SQL*Plus: Release 10.2.0.3.0
    I am in process of carrying out full db refresh from cold backup. I came across with following, while creating a contrl file. strange to see two dbf's has same file_id. Please help me to solve this issue.
    ==
    SQL> @a.sql
    CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 6: '/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf'
    ORA-01110: data file 6: '/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf'
    ===
    hare krishna

    Thanks.. Find below the a.sql contents.
    CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 300
    MAXINSTANCES 1
    MAXLOGHISTORY 58720
    LOGFILE
    GROUP 2 (
    '/data/oracle/LNRATU2/redo01/LNRATU2_redo02a.dbf',
    '/data/oracle/LNRATU2/redo02/LNRATU2_redo02b.dbf'
    ) SIZE 500M,
    GROUP 3 (
    '/data/oracle/LNRATU2/redo01/LNRATU2_redo03a.dbf',
    '/data/oracle/LNRATU2/redo02/LNRATU2_redo03b.dbf'
    ) SIZE 500M
    DATAFILE
    '/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_03.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_04.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_05.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_06.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_07.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_08.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_09.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_10.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_11.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_12.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_13.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_14.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_15.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_16.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_17.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_18.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_19.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_20.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_21.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_22.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_23.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_24.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_25.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_26.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_27.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_28.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_29.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_30.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_03.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_04.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_05.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_06.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_07.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_08.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_09.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_10.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_11.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_12.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_13.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_14.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_15.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_16.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_19.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_DATA01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_INDX01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_LOB01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_quest_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RATEOD_LOB01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_03.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_LOB01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_sysaux_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_system01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_tools_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_UNDOTBS101.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_users_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_31.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_32.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_33.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_34.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_35.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_36.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_37.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_38.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_39.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_40.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_41.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_17.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_18.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_20.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_21.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_22.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_23.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_24.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_25.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_26.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_27.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_28.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_29.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_30.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_31.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_32.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_33.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_34.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_35.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_36.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_37.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_38.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_quest_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RATEOD_LOB01_02.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_03.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_04.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_05.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_04.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_05.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_06.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_07.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_statpack_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_sysaux_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_system01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_tools_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_UNDOTBS1_02.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_users_01.dbf'
    CHARACTER SET WE8ISO8859P1
    hare krishna

  • Need help Take out the null values from the ResultSet and Create a XML file

    hi,
    I wrote something which connects to Database and gets the ResultSet. From that ResultSet I am creating
    a XML file. IN my program these are the main two classes Frame1 and ResultSetToXML. ResultSetToXML which
    takes ResultSet & Boolean value in its constructor. I am passing the ResultSet and Boolean value
    from Frame1 class. I am passing the boolean value to get the null values from the ResultSet and then add those
    null values to XML File. When i run the program it works alright and adds the null and not null values to
    the file. But when i pass the boolean value to take out the null values it would not take it out and adds
    the null and not null values.
    Please look at the code i am posing. I am showing step by step where its not adding the null values.
    Any help is always appreciated.
    Thanks in advance.
    ============================================================================
    Frame1 Class
    ============
    public class Frame1 extends JFrame{
    private JPanel contentPane;
    private XQuery xQuery1 = new XQuery();
    private XYLayout xYLayout1 = new XYLayout();
    public Document doc;
    private JButton jButton2 = new JButton();
    private Connection con;
    private Statement stmt;
    private ResultSetToXML rstx;
    //Construct the frame
    public Frame1() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
    contentPane = (JPanel) this.getContentPane();
    xQuery1.setSql("");
    xQuery1.setUrl("jdbc:odbc:SCANODBC");
    xQuery1.setUserName("SYSDBA");
    xQuery1.setPassword("masterkey");
    xQuery1.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
    contentPane.setLayout(xYLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Frame Title");
    xQuery1.setSql("Select * from Pinfo where pid=2 or pid=4");
    jButton2.setText("Get XML from DB");
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException ex) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(ex.getMessage());
    try {
    con = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
    stmt = con.createStatement();
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    jButton2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton2_actionPerformed(e);
    contentPane.add(jButton2, new XYConstraints(126, 113, -1, -1));
    //Overridden so we can exit when window is closed
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    void jButton2_actionPerformed(ActionEvent e) {
    try{
    OutputStream out;
    XMLOutputter outputter;
    Element root;
    org.jdom.Document doc;
    root = new Element("PINFO");
    String query = "SELECT * FROM PINFO WHERE PID=2 OR PID=4";
    ResultSet rs = stmt.executeQuery(query);
    /*===========This is where i am passing the ResultSet and boolean=======
    ===========value to either add the null or not null values in the file======*/
    rstx = new ResultSetToXML(rs,true);
    } //end of try
    catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    ======================================================================================
    ResultSetToXML class
    ====================
    public class ResultSetToXML {
    private OutputStream out;
    private Element root;
    private XMLOutputter outputter;
    private Document doc;
    // Constructor
    public ResultSetToXML(ResultSet rs, boolean checkifnull){
    try{
    String tagname="";
    String tagvalue="";
    root = new Element("pinfo");
    while (rs.next()){
    Element users = new Element("Record");
    for(int i=1;i<=rs.getMetaData().getColumnCount(); ++i){
    tagname= rs.getMetaData().getColumnName(i);
    tagvalue=rs.getString(i);
    System.out.println(tagname);
    System.out.println(tagvalue);
    /*============if the boolean value is false it adds the null and not
    null value to the file =====================*/
    /*============else it checks if the value is null or the length is
    less than 0 and does the else clause in the if(checkifnull)===*/
    if(checkifnull){ 
    if((tagvalue == null) || tagvalue.length() < 0 ){
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    else{
    users.addContent((new Element(tagname).setText(tagvalue)));
    root.addContent(users);
    out=new FileOutputStream("c:/XMLFile.xml");
    doc = new Document(root);
    outputter = new XMLOutputter();
    outputter.output(doc,out);
    catch(IOException ioe){
    System.out.println(ioe);
    catch(SQLException sqle){

    Can someone please help me with this problem
    Thanks.

  • How to make a bean create an xml file..

    How does one create an xml file from a bean?
    If anyone have the answer, or some sample code I would really apprecciate it!!!
    In advance thanx a lot!!!

    just "wrap" this up in a bean.
    import java.io.*;
    import org.jdom.*;
    import org.jdom.output.*;
    /** Make up and write an XML document, using JDOM
    * @author Ian Darwin, [email protected]
    * @version $Id: DocWriteJDOM.java,v 1.2 2001/11/21 23:08:17 ian Exp $
    public class DocWriteJDOM {
         public static void main(String[] av) throws Exception {
              DocWriteJDOM dw = new DocWriteJDOM();
              Document doc = dw.makeDoc();
              // Create an output formatter, and have it write the doc.
              new XMLOutputter().output(doc, System.out);
         /** Generate the XML document */
         protected Document makeDoc() throws Exception {
                   Document doc = new Document(new Element("Poem"));
                   doc.getRootElement().
                        addContent(new Element("Stanza").
                             addContent(new Element("Line").
                                       setText("Once, upon a midnight dreary")).
                             addContent(new Element("Line").
                                       setText("While I pondered, weak and weary")));
                   return doc;

  • Logminer error while creating a dictionary file

    Hi ,
    I am working on logminer.
    i got the following error while creating a dictionary file :--
    please help me out.
    SQL> show parameter utl_
    NAME TYPE VALUE
    utl_file_dir string $ORACLE_BASE/utl_file/cecms
    SQL> execute dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms');
    BEGIN dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms'); END;
    ERROR at line 1:
    ORA-01336: specified dictionary file cannot be opened
    ORA-29280: invalid directory path
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 928
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2052
    ORA-06512: at line 1
    Asif

    ORA-01336: specified dictionary file cannot be opened
    Cause: The dictionary file or directory does not exist or is inaccessible.
    Action: Make sure that the dictionary file and directory exist and are accessible.
    Probably an issue with the rights on the directories.
    To confirm the same, try writing a sample procedure with UTL_FILE to create a file at this location and capture the error. It will give you more details about the problem.

  • Error while Importing ResourceObject  xml file in Deployment Manager

    Hi Everyone,
    I am getting this error while doing Import of HRPeopleSoftResourceObjects.xml ( A Resource Object xml file) in Deployment Manager. I am doing this step for Authoritative(Trusted Source) Reconciliation.
    Error Says:- Attribute not present in EntityDefination of User :: ExpectedReturnDate.
    ExpectedReturnDate is a UDF (Customize) field. I did Metadata and Sandbox import for this field to create this attribute in OIM. I can see this attribute on User Details screen as well as in User Table in OIM. So, ideally this error should not popup. I have to do this import for Reconciliation.
    I pulled and checked all the xml files like(UserEO.xml.xml, userEO.xml.xml, userVO.xml, UserVO.xml.xml) from oracle.iam.console.identity.self-service.ear_V2.0_metadata1 and found ExpectedReturnDate field is available.
    I am using: OIM Version - Oracle 11g Release 2
    Database version - 11.2.0
    Weblogic version - 10.3
    Please let me know how to resolve this error.
    Appreciate your response and support!
    Warm Regards
    Vijay Kumar

    Appreciate your response Kevin!
    I saw your response today. What you have suggested in your post make perfect sense to me.
    Yesterday, I was able to create Reconciliation profile successfully. No idea how it worked so, didn't updated my post.
    I tried to re-import the UDF, noticed ExpectedReturnDate attribute has little icon in fornt of it on deployment manager screen which says on mouse over "new field". No idea why as I didn't delete it from anywhere, perhaps it didn't get imported properly previously. I stepped ahead and clicked the import button on deployment manager but failed as it was throwing an exception which says udf_usr_expectedReturnDate is available in usr table. That makes sense to me as this column got created in usr table in OIM because of previous import and I didn't delete it either. This raised couple of doubts more as, along with this attribute there were other attributes in the same metadata xml file which were part of previous import and their respective columns were already created in usr table. Then why message poped-up for this field in particular? Anyway I went ahead with the import process.
    Now I stopped all the server (Admin, SOA and OIM) and restarted them again and performed the same steps as mentioned above and this time it worked as expected. UDF file got imported successfully.
    After this I went to Design Console verified all the fields and created the Reconciliation Profile. I checked OIM database and found RA_ProfileName recon tables got created.
    As per your comment, Today I checked the RECON_USER_OLDSTATE table but this table is empty.
    Still I have couple of doubts, if Reconciliation Profile got created it should create the xml file under metadata direcectory(in my case path should be: /apps/Oracle/Middleware/Oracle_IDM1/server/metadata/db). Please correct me if I am wrong? I hope it should be physical file not a logical file.
    Once again thanks for your response!
    Warm Regards
    Vijay Kumar

  • Issues while creating a search project in BCC

    Hi There,
    Migrating the apps from 2007.3 to 10.0.3.Experiencing issues while creating a search project.
    Step #1.In Search Administration,navigating through Project > Global Settings & creating a Content Label named as "Catalog"
    Step #2.Navigating through Project > Create Production Project.Creating a project with Content Set as "CatalogSet"
    Step #3.Adding a Content with this info:
              Content Name: Catalog
              Type of Content : ATG Repository
              IndexingOutputConfig Path : /atg/commerce/search/ProductCatalogOutputConfig
              Host name : localhost
              RMI : 10160 ( RMI port of commerce instance)
         Creating a content & getting the message as New Content "CatalogTest" has been created.
         Issue #1: Content is not displaying in the Content eventhough content has been created successfully.
         Issue #2: Getting error for "Default Text Processing Options"
         You can refer these issues in the attached screenshot "Content-Page-with-error.jpg"
    Step #4.Creating a new TPO as "English" & trying to "Associate Search Project" & getting an error.Refer the attached error log "Associate-Search-Project.log"
    Due to these issues, "Build Index" button is disabled.Did anybody experienced these issues? Any help/comments are appreciated.
    Also attached the full server logs as commerce-server.log & publishing-server.log.
    Since no options for attachment in this forum, I posted the attachment in this link.Please refer it.
    https://groups.google.com/forum/?fromgroups#!topic/atg_tech/csEHi-x3Nyc
    Thanks in advance!
    Mani
    Edited by: user11263665 on Apr 25, 2012 10:38 PM

    We faced the same problem when migrating from 2007 to ATG 10.0.3. The reason this error comes up is because the Search depends on a local customization adapter /atg/searchadmin/adapter/customization/LocalCustomizationDataAdapter which adds English as a language in the text processing options.
    After the migration you need to import the initial ATG search related data into your Search schema. These instructions have been mentioned in the ATG install guide. Here is the extract from the docs.
    Note: The import scripts import data using startSQLRepository. Make sure your JTDataSource and
    FakeXADatasource are configured to permit this in home/localconfig. JTDataSource should automatically
    point to FakeXADataSource. FakeXADataSource should point to the administration database, and
    FaxeXADataSource_production should point to the production database. Note that some product
    installation processes, including Oracle ATG Web Knowledge Manager Self Service, need FakeXADataSource
    pointed at the production database, so you may need to change the FakeXADataSource between installations.
    once you are done with the configurations above, import only the searchadmindata xml into search schema as this imports the LocalCustomizationDataAdapter config information into your search schema. Once this is done, you should be good to index.
    <ATG10dir>\home\bin\startSQLRepository.bat|sh -m SearchAdmin.AdminUI
    -repository /atg/searchadmin/SearchAdminRepository -import
    <ATG10dir>\Search10.1\SearchAdmin\common\data\initial\searchadmindata.
    xml

  • Issue while creating a new web part page (Safeunit.aspx) within a folder located under a Document Library.

    Hi, I am facing an issue while creating a new web part page (Safeunit.aspx) within a folder (Safematic Seal Support Systems) located under a Document Library (Product Information Documents).
    The path I am explaining:
    Going to the Document Library (Product Information Documents) --> now inside that, clicking on a folder (Wet Seal Support
    Systems) --> now inside the folder clicking on another sub-folder (Safematic Seal Support Systems) --> Here I want the web page Safeunit.aspx
    Issue is that when I reach to the required destination, and want to create the web page by clicking on 'Site Action' --> 'Create' --> 'Web Part Page', now while selecting the Document Library name from the drop-down list, I do use 'Product
    Information Documents' since the folder is inside this library only; but that create the page directly under the 'Product Information Documents' library, not under the sub-folder (Safematic Seal
    Support Systems).
    FYI, it is SP2007 version.
    Kindly assist in this. Thanks in advance.

    I see that you have the namespaces reference in your code.
    I think you have changed the NameSpace name of your code to CreateSPFolder, change the reference in all your manifest, and other files to point to the current namespace name. It should help.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

  • Issue while creating connection pool in weblogic using SERVICE NAME

    Found two issues while creating connection pool in weblogic using SERVICE NAME
    1. While running apps from jdeveloper using xxx-jdbc.xml
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    2. Configuriing the jndi in Weblogic server
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:SERVICENAME
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    Problem
    database url is generated based on SID
    eg: jdbc:oracle:thin:@localhost:1521:SID
    Solution
    (generate seperate url for SERVICE NAME)
    jdbc:oracle:thin:@localhost:1521/SERVICENAME
    ------------------------

    It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.

Maybe you are looking for

  • Purchase Order  Print ..?

    Hi Experts, I created a po .i am trying to view the Print preview but i am not getting. because message is not created.  if i create a message manualley i can view print pre view. how to get the message automaticilley create. i did all the  settings

  • AT&T Store - Checking Order Status

    I managed to preorder my iPhone through AT&T's site around 5:45am eastern time; the confirmation email was received about ten minutes afterwards, so I can only assume all is well with my order. Out of curiosity, for those who also ordered from AT&T's

  • How to get the field in table.

    hi Guru, My Requirment is I hava table ZSample. Field: 1.Name 2.Age 3.Class 4.Country. Is it possible to get the field . Bye Coding. And i want store it in a StringTable. Regards Vivekananthan.S

  • Keeping Validations in a user exit

    Hi folks,          I am trying to keep some validations for attachments in ME51N Tcode. Before saving the document, system will check for the attachment.If it is empty it will prompt a error message saying its mandatory.After seeing the message when

  • How can i capture system time in an infoobject

    Hi Can I get the current system time and date into infoobjects?? if yes how?? Regards Sujai