10G Problem with HTTPServletRequests

Hi everyone, since we put in 10G we have a strange problem with HTTPServletRequests. We use a number of service servlets for loading images and performing data selections etc... Since we put in 10G the HTTPServletRequests seem to get mixed up so that the data selection servlet does not get its proper request but instead the last requrest that was processed by the image selection servlet.
This is definiteley realted to either a 10G setting that we somehow missed or a 10G bug. When we deploy to the server which runs the old OC4J it works fine and it used to work fine in 9.0.3.
Any ideas would be appreciated.
TIA

Hi everyone, we believe it's a timing issue. We added some logic to dump everything from the HTTPServletRequest to the log which slows down the process. It works much better then and the delay appears to help in getting the proper request to the proper servlet.
Any comments would be appreciated.
TIA

Similar Messages

  • 10g: problem with similar named listeners

    Hi,
    env:
    2 node OEL cluster (not rac, a linux cluster)
    11.2.0.3 GI
    11.2.0.3 and 10.2.0.5 DB's
    The problem seems to be that lsnrctl in 10g is only using the first 12-13 characters of the listener name.
    I have a listener configured with the name listener_prodXXX, when I configure another listener named listener_prodYYY and want to start ist:
    lsnrctl start listener_prodYYY
    TNS-01106: Listener using listener name listener_prodXXX has already been started.
    ps -ef |grep -i listener_prod
    oracle 2784 1 0 13:03 ? 00:00:00 /oracle/product/10.2.0/XXX/bin/tnslsnr listener_prodXXX -inherit
    is there a rule for naming the listeners?
    confused greetings
    Daniel

    Of course I was searching docs/metalink before but couldn't find anything there, so I was asking here.No sign of searching exists in your posts
    If you have only one listener with multiple db's and want to do some maintenance on one of them, how do you avoid user connecting to it?Put the database in restricted session mode
    I don't think its forbidden to use multiple listeners, so if I'm having a problem with the configuration the forum should be the place to ask, isn't it?It is not forbidden to use multiple listeners, but in 999 out of 1000 cases it is not required, and people 'think' they need multiple listeners for the wrong reasons.
    Your post is no exception.
    So, yes, if you want to setup multiple listeners, without apparent and/or sound reasons, I will explain you don't need them/.
    There is nothing wrong about that, isn't it? Many people here 'think' they know Oracle, few have experience and know they do.
    Sybrand Bakker
    Senior Oracle DBA

  • Forms/Designer 10g - problem with attached libraries

    I've problem with forms with attached libraries. All of libraries have removed paths. I can run all forms without any problem on my local application server from Forms Builder 9i or Designer 9i. I added all paths in registry FORMS90_PATH. WORKINGDIRECTORY in formsweb.cfg is blank.
    Unfortunately I can't do it with Developer 10g on second workstation. I added all paths in registry FORMS_PATH. WORKINGDIRECTORY in formsweb.cfg is blank too. When form is running I get ORA-06508. I can't store all files (fmb, fmx, pll, plx etc.) in one folder because I've to use CVS. In this case I can't set any folder in WORKINGDIRECTORY.

    Assuming Forms 10.1.2.x, FMX, MMX, PLX, and OLB files are found based on the value of FORMS_PATH which is set in default.env and not the Registry. This applies to runtime only. The Builder uses the Registry.
    Understand that "runtime" refers to any time a form is displayed in a browser, regardless of whether is was started from the Builder or Application Server.
    Also, be aware that if you have FMX, MMX, or PLX files which were created in older versions they must be recompiled using the 10.1.2 compiler.

  • 10g problem with ports

    Hi, I need some help:
    I have an application running in an application server (JBoss -4.0.3) in a network. It connects to my 10g db (In other network) through a firewall. I know I have port 1521 open, and can do selects but when I try to make an insert from my application I obtain a connection timed out. I have heard that 10g uses as main connection port 1521 and after renegotiates more ports. Is it true? how can I configure this?
    (The same application in developments enviroment (without firewall) works ok)
    Ty in advance
    FRU

    Are you windows? If yes, setting 'USE_SHARED_SOCKETS=TRUE' (control panel ==> SYSTEM) should resolve the port redirection problem. For a detailed description see on metalink:
    Port 1521 opened in firewall yet cannot connect to Oracle Server (ORA-12535,TNS-12203)
    Note:361284.1
    This is an Oracle Net issue, should be independent from the kind of statements. So I'm surprised that 'select' works, but 'insert' does not.
    Werner

  • Oracle 10g - Problem with Date Ranges using Between

    I am keeping track of patients who have not been contacted during a date range. if a nurse adds an event or note and the note is type 1,3,4 then this is a contact. The following works but if the event or note was made on the same day as the report is run, the current contact is not printed. Any help to improve the query and identify the problem would be appreciated. Also, if you add '1' to' n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)' so it is ' n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE) + 1'. It works. What is wrong?
    SELECT upper(symptom_text),
      COUNT(UNIQUE(c.patient_id)) ,
      COUNT(UNIQUE(
      CASE
        WHEN e.eventdate BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)
        OR (n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)
        AND n.note_type_id                                             IN (1,3,4))
        THEN c.patient_id
        ELSE 0
      END)) - 1
    FROM patient c,
      cust_info ci,
      event e,
      note n
    WHERE c.physician_id = 74
    AND c.patient_id      = ci.patient_id
    AND ci.info_type_id    = 32
    AND ci.symptom_text      IS NOT NULL
    AND c.patient_id      = e.patient_id(+)
    AND c.patient_id      = n.pk_id(+)
    AND n.table_name(+)    = 'patient'
    GROUP BY upper(symptom_text)
    ORDER BY DECODE(upper(symptom_text), 'A+', 1, 'A', 2, 'B', 3, 'C', 4, 'D', 5, 99)I suspect the end date is not inclusive. Fields are Date data types. Thanks for any help.

    Hi,
    achtung wrote:
    Understood. Frank was correct. Do you mean about the dates? Is that issue solved now?
    It would help a lot if you posted some sample data (CREATE TABLE and INSERT statements) and the results you want from that data. Simplify as much as possible. For example, if everything involving the e and n tables is working correctly, forget about them for now. Post a question that only invloves the c and ci tables.
    But, additionally, when a record in the cust_info doesn't exist my contact count is inaccurate. How can you explain this conceptually. I understand the query path is checking for this record due to the predicate. Perhaps the query should be redesigned. Thanks for your input!Again, you can see the results, and you know what they should be. Nobody else has that information. Please post some sample data and the results you want from that data.
    In your earlier message you said
    Could there be a problem if a record does not exist in the ci table?The condition:
    AND ci.symptom_text IS NOT NULL
    filters for this right? Maybe this could be part of the problem. why I'm not seeing records when a note is added to a patient's doc. How would this be technically be explained? You're doing a inner join between c and ci:
        AND c.patient_id      = ci.patient_id
        AND ci.info_type_id   = 32
        AND ci.symptom_text   IS NOT NULL ...Rows from c will be included only if there is a row in ci with the same patiend_id: even more, that matching row in ci must also have info_type_id=32 in a non-NULL symptom_text, otherwise, the row from c will be ignored.
    If you want rows from c to be included even if there is no matching row in ci, then do an outer join, like you're already doing with the e and n tables:
      WHERE c.physician_id = 74
        AND c.patient_id         = ci.patient_id (+)
        AND ci.info_type_id (+)  = 32
        AND ci.symptom_text (+)  IS NOT NULL
        AND c.patient_id         = e.patient_id(+)
        AND c.patient_id         = n.pk_id(+)
        AND n.table_name(+)      = 'patient'

  • Interconnect 10g problem with XML which has mixed contents

    I'm having problem to receive a XML message which contains PCDATA and other child element Mixed. Here is the sample DTD. I'm able to create the CV and AV by importing this DTD. But at runtime, if the inbound XML contains PCDATA and other element mixed, it throws error. Any help/ workaround will be appreciated.
    <!ELEMENT VIEW_TRAN_M3 (#PCDATA | PERSON_ID | MP_CODE | STARTDATE | ENDDATE)* >
    <!ELEMENT PERSON_ID ( #PCDATA ) >
    <!ELEMENT MP_CODE ( #PCDATA ) >
    <!ELEMENT STARTDATE ( #PCDATA ) >
    <!ELEMENT ENDDATE ( #PCDATA ) >
    Sample XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE MEALPLAN>
    <VIEW_TRAN_M3>
    ABC123
    <PERSON_ID>12345</PERSON_ID>
    <MP_CODE>1</MP_CODE>
    </VIEW_TRAN_M3>
    Thx
    Saumitra

    Patch Number: 4901802 will fix this problem. Please look at SR Number 4960460.992 for more details.

  • Migration from Access to Oracle 10g (Problem with migration wizard)

    Hi
    I have an access database which I want to migrate to Oracle DB.
    I have created 2 connections.
    1. Access connection with the source database
    2. Oracle connection.
    I have associated the oracle connection to the repository.
    When I go through 'MIGRATION WIZARD' process. I am not able to view the source database file while capturing. Tried it several times.
    Need a help in this
    Regards,
    Arjun
    Edited by: 919650 on Mar 9, 2012 2:47 AM

    Arjun,
    you cannot do an online migration with MS Access as you can do with other foreign datasources. You can only do an offline migration.
    The first step that you need to do is to call the Microsoft Access Exporter. Click on Tools - Migration - Microsoft Access Exporter and chose the exporter of the MS Access version that you are using.
    The exporter creates an xml file for you. After the exporter has finished you can do the migration, click on Tools - Migration - Migrate, but in Step 4 please select "Offline", and then you can select the xml file that the exporter has created. The following steps in the Migration assistant are then doing the migration for you.
    You might also want to read the chapter "Before Migrating From Microsoft Access" in the online help of SQL Developer.
    Regards
    Wolfgang

  • 10g - Problem with PServer CVS

    JDeveloper 9.0.5:
    Configuring CVS to use "Password Server" Access
    (CVSROOT :pserver:user@host:/dir) always brings the following error message:
    internal error: get_cvs_port_number called for invalid connection method (ext): Invalid argument
    Seems to be a bug.
    bye,
    Manfred

    What OS and what version of CVS are you using?
    Thanks.
    Rob

  • Problems with AS 10g and OID

    Hello everyone,
    we got problems with starting OC4J_bi_forms component in AS control.
    database: 10g R2 (10.2.0.1)
    forms and reports: 10g (10.1.2.0.2.)
    designer: 10g (10.1.2.0.2.)
    1. we tried to start component in AS control but we get this error:
    The following components were not started:
    OC4J : home - time out while waiting for a managed process to start
    OC4J : OC4J_BI_Forms - time out while waiting for a managed process to start
    OC4J : OC4J_Portal - time out while waiting for a managed process to start
    For more information, look at the logs using the related link below.
    Related Link Error Logs
    2. then we check the error file that describes problems with OID:
    Error displaying Log Files page. Failed to initialize configuration management user session.. The OracleAS Repository API threw an exception when obtaining the connect string to the Metadata Repository
    Resolution:
    Check the exception thrown by the Repository API for resolution information.
    Some common causes of this problem are as follows:
    OID is not running or unavailable
    the ias.properties file is misconfigured with incorrect OID connection information
    OID permissions are incorrectly defined
    Base Exception:
    oracle.ias.repository.schema.SchemaException
    Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.CommunicationException: server_xy:389 [Root exception is java.net.ConnectException: Connection refused: connect]. Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.CommunicationException: server_xy:389 [Root exception is java.net.ConnectException: Connection refused: connect]
    3. we check the status with opmnctl status, all components are down
    4. then we tried to start components manually with opmnctl stopall/startall
    but the problem isn't solved.
    Any help?

    hello Jacco,
    thank you very much for your help, we are now able to start oc4j_bi_forms.
    We follow your advice, at the end we had to change ODS password with oidpasswd to ias_admin password.
    Now all components are started.
    We now must solve only one problem:
    All AS components are started, but when in Application Server Control we click link for
    J2EE Applications we get this error:
    An error was encountered while loading page. Failed to initialize configuration management user session.. The OracleAS Repository API threw an exception when obtaining the connect string to the Metadata Repository
    Resolution:
    Check the exception thrown by the Repository API for resolution information.
    Some common causes of this problem are as follows:
    OID is not running or unavailable
    the ias.properties file is misconfigured with incorrect OID connection information
    OID permissions are incorrectly defined
    Base Exception:
    oracle.ias.repository.schema.SchemaException
    Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]. Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    Thanks for your help one more time.

  • After Migrating from 10g to 11g Geeting problems with Guided navigations.

    After Migrating from 10g to 11g Geeting problems with Guided navigations and section navigations not working.
    And we are getting the following error <<odbc driver returned an error (SQLExecDirectW)>> where we have used navigations.
    In 10G we have Guided navigation Reports to display the Reports links and intermediate reports for conditionally displaying the Dashboard section(Reports) but after migrating to 11g Guided navigation reports and conditional reports are not working..
    We know that in 11g section navigation replaced with conditions and Guided navigation replaced with action link.. but
    do we need to recreate those reports in actions and condition or is there any work around avoid reworking.

    Hi Both,
    Thanks for the reply ...
    For Guided navigation we are getting like below error:
    Odbc driver returned an error (SQLExecDirectW).
    For Conditional dashboard section we are getting like below error:
    "saw.aViewsToRefresh = [];saw.aViewsToRefresh['d:dashboard~p:1egt6il5utl0uu8n~s:3jsmgfs3c1r4tn7c~n:condition'] = true;saw.aViewsToRefresh['d:dashboard~p:1egt6il5utl0uu8n~s:nos5q43jvjmi643b~n:condition'] = true;"

  • I have been a loyal customer for years and have a hot spot because internet options are very limited in our rural area.  I have stayed with 10G since the beginning.  Most months I don't use the 10G.  Verizon has no problem with me paying for Data I don't

    I have been a loyal customer for years and have a hot spot because internet options are very limited in our rural area.  I have stayed with 10G since the beginning.  Most months I don't use the 10G.  Verizon has no problem with me paying for Data I don't use.  This month my daughter comes home from College and she accidentally uses 24G.....14 over get blind sided with $140.00 in overages.  I called Verizon today......stopped in to the store today......My neighbor told me they waved charges for her one time.  Lots of charges.....But I'm am getting no help.  Not even an offer of a payment plan to help me out.  I went back just 6 months and I have over paid for 19G.....Seems like they would like to help out their loyal customers!!!!     Does anybody have any suggestions on how to deal with them?   We are not wealthy....or I would just pay this and walk away......

    There is a big misconception in what customers believe a cell carrier is obligated to do.
    You pay a set price to use up to that amount of xx data. It makes no difference if you use it to the paid limit or way under. Its like peace of mind when you don't have to worry about a data counter.
    Your daughter used the data, your plan is quite clear of what overage charges are. Why should or would Verizon wireless just forgive the charges because you are a customer? Your daughter used the data, get the money from her. That is the responsible thing to do.
    There is no "I have been a loyal customer so please remove the $120, or $250, or $2,000.00 since I did not mean to use it"
    Your electric company, or gas company or any other company does not remove valid charges. Why should Verizon wireless?
    Just pay the invoice and don't think you are being mistreated because Verizon is a business and not a charity.
    Good Luck

  • Problem with output from  report to excel, calling the report from form 10g

    Hi everyone, I'm having a problem generating a excel from a report, which is called from a form, I'm using Forms 10g. The problem is this: My report has a variable number of columns. These columns appear according to data obtained from the database, these columns are dates, In vesion 6 excel file generated shows the columns one after another starting in column A1 to column CP. I mean that the dates are correlative. But in version 10g the excel file generated shows the same report starting in column A to column T, only shows the 20 dates correlative corresponding to this columns, the rest of the dates are down the excel sheet in groups of 20 dates, it's something, the file in 6i grows across and in 10g grows down the excel sheet. The report (rdf file) is the same in 6i and 10g, I compiled the 6i version to obtain the 10g version. The excel sheet generated in 10g looks like the report was in pdf format, because PDF format, cuts the report in pages and the file grows down, if I generate the report in PDF format it has the same structure excel file in 10g has. I hope yo can help because I have days trying to solve this but I have no succes. If someone could help I could email the excel files generated in two versions. Here I put the code I use to generate the files in 6i and 10g. I have tried with DESFORMAT=SPREADSHEET in 10g but the result is the same. Thanks for your help. Greetings for all.
    Code for version 6i (Works Very well)
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
    cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
         BEGIN
    nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
              BEGIN
              nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
         BEGIN
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';      
              END;
    ELSE
              BEGIN
                        nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');
    END;
    Code for version 10g
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    --byt12122007.sn
    repid REPORT_OBJECT;
         vURL VARCHAR2(500);
         rep_status VARCHAR2(20);
         vJobID VARCHAR2(100);
         v_rep VARCHAR2(100);
    VAR NUMBER;
    w_name_repserv VARCHAR2(30);
    --byt1212007.en
    BEGIN
         --w_name_repserv:=F_OBTIENE_SERVREP;
    w_name_repserv:='repserv';     
    pl_id := Get_Parameter_List('mytmp_params');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('mytmp_params');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
         cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    /*Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );*/
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
    BEGIN
         repid := find_report_object('tdvenrli1577');
    --nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1577');
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
    BEGIN
         repid := find_report_object('tdvenrli1578');      
              --nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1578');
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
    BEGIN
         repid := find_report_object('tdvenrli1576');
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              --nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1576');     
              END;
    ELSE
    BEGIN
         repid := find_report_object('tdvenrli1545');
                        --nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1545');     
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESNAME,nom_arch);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, 'File');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'DELIMITED');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, w_name_repserv);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_OTHER, 'paramform=no');
         v_rep := RUN_REPORT_OBJECT(repid, pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')     LOOP
              rep_status:= report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' THEN
              vJobID := SUBSTR(v_rep, INSTR(v_rep, '_', -1)+1);
              vURL:='/reports/rwservlet/getjobid'||vJobID||'?'||'server='||w_name_repserv;
         END IF;
         WEB.SHOW_DOCUMENT(vURL, '_blank');
         IF NOT form_success THEN
              MESSAGE('Error: PL/SQL held against Button failed to execute');
              RAISE FORM_TRIGGER_FAILURE;
         END IF;
    /*Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');*/
    END;

    There are two problems with your VI.  First, the basic logic of writing/appending to a file (Excel, TDMS, anything) should go something like this:  Open the file, position yourself at the end of the file, then, in the loop, acquire data and write it to the file until you are finished with data acquisition.  When you exit the acquire/write to file loop, then close the file.  In particular, the opening and the closing of the file should not be inside the loop.
    As others have pointed out, writing to Excel might not be optimal, particularly if you are acquiring data at a high rate (and would therefore be writing a lot of data). We actually use Excel in our data acquisition routine, mainly reading from a WorkSheet to get the parameters of a particular stimulus, but also writing the outcome of the response to the stimulus.  As it happens, our "acquisition rate" in this example is on the order of several samples per minute, so there's no problem using Excel (we also sample 16 channels of analog data at 1 KHz -- this gets written as a binary file).
    Second, if you really do want to use Excel, use the (existing) Excel file to which you want to append as the "template" argument of the New Report function.  Then use the Excel Get Last Row function to position yourself at "end of file", as noted above.
    Good Luck.
    Bob Schor

  • JDeveloper 10g video problems with Windows Vista

    Hi,
    I'm using JDev 10g 10.1.3.3 over Windows Vista with Aero active. Since I started using Vista, I have always had problems with JDev. First, the fonts in the JDev panels would mess up and the scrolling would not work well. I made some changes in the way JDev uses the JDK, I don't remember exactly what I did, but I think I made the whole JDev environment to use a newer JDK, which is not engouraged/supported by Oracle. Since then, the scrolling problem was solved. But When I run my app, Aero stops working.
    Is there a way to make JDev 10g work perfectly with Vista?
    (No, I'm not willing to migrate to 11g, for several reasons, so I need to stick to 10g for now).
    Thanks!
    Brian
    Edited by: BrianBraun on Nov 12, 2008 7:08 AM

    Try the various tips on this thread:
    Using JDeveloper on Vista - some tips

  • I have a problem with oracle 10g express edition

    Hello,
    I have just installed oracle 10g express edition and I have a problem with the script editor. I can write anything in the window that appears below buttons undo,redo and find, It is like disabled. I use windows XP, Firefox 2.0 ( I have also tried with Iexplorer and It does not work either). I have javascript enabled.
    anyone knows what is the problem?
    Later,I have installed it in a virtual machine of Windows 2003 Server and It works well but I`d rather use it in my Microsoft XP
    Thank you very much
    Fernando Martínez

    It looks like you can fix this if you replace the codearea.xbl.xml and codearea.iframe.html files in the
    /i/editor folder with files from an Apex 2.2.1 installation - such as the one on apex.oracle.com.
    Since I don't know what the licensing implications are, I will let you figure out the details.

  • Problem with Pro*C reading BLOB field from Oracle 10g

    Hello Experts,
    We have a Pro*c application which is reading the BLOB data fields (a PNG image file) from Oracle data base. It holds the BLOB fields returned from the SQL query into a Unsigned Char structure in Pro*C. The program used work fine on AIX 32 – bit 4.3 and Oracle 8.1 environment.
    Recently, we have upgraded the environment to AIX 64-bit 5.3 and Oracle 10g.Since after the Pro*c program has problem in reading the Blob filed.
    Below is the query we are trying to execute –
    EXEC SQL
    SELECT
    signtre_image, image_file_name_ext
    INTO
    :msipLocalImage INDICATOR :msipLocalImage_i,
    :file_name_ext INDICATOR :file_name_ext_i
    FROM
    dcs_sign
    WHERE
    signtre_nbr = :signtre_nbr;
    Here signtre_image is the BLOB fields and msipLocalImage is a Pro*C structure define as below –
    typedef struct tagSignImage
    long len; /* Image length */
    unsigned char img[1]; /* Pointer to first byte. */
    } MOTS_SIGN_IMAGE;
    The quesry does not give any error or exception message in the Pro*C , program just stops at the point of executing the quesry..When we run the query commenting the BLOB filed it works fine. Also, the query runs good when we run it in the Oracle editor.
    There seems to be problem with the way we are reading the BLOB field in the new Oracle 10g enviromet.
    Does any body have any idea what’s wrong with this query? We really need it to work.
    Any Help will be greatly appreciated.
    Thanks,
    - Rajan Yadav

    Thanks a ton for your response.
    We made the necessary changes as suggested by you.This time we got another flavour of error - SQL Error Code - Inconsistent error while reading BLOB.
    Another thing we noticed is that the data field which we are trying to read is defined as LONG RAW instead of a BLOB in data base.
    Are these two things related in any sense or is there anything else which is causing the error.
    Once again Thanks for your help.
    - Rajan Yadav

Maybe you are looking for

  • XSLT Mapping on ABAP Engine

    Hi All, I am trying to implement an XSLT mapping on the ABAP Engine. I went to the Transformation Workbench(SE80).I have created 4 levels of packages (Structure->Main->then 2 more levels) and  included Package Interface SAI_TOOLS in 'Use Accesses' ta

  • Ipod Nano 4th or 5th generation won't recognize Itunes and shows loading constantly when I am on Nike plus

    My Ipod Nano all of a sudden won't show up on my Imac computer nor will it show up in Itunes.  I use it for running and I use the Nike + software, at the same time the recognition problem occurred when I click on the Nike + on my Ipod Nano it shows t

  • Flash Player Crash in 10.6.5

    Since upgrading to 10.6.5 Flash player repeatedly crashes in all browsers, Safari, Firefox, and Chrome. I've installed the most recent version of Flash player from Adobe, created a new user to test if problem persisted, which it did, removed all othe

  • Using the NAM in a 6513 to monitor RMON on an uplink.

    I should be able to gather and monitor rmon statistics using the NAM. When I go into the NAM's monitor mode and look at port stats I get the following error message: No data available. Possible reasons: - Switch community string not configured proper

  • Please help! Will iWorks Numbers work with XLS or Excel Spreadsheets

    A friend of mine wants me to make her a spreadsheet and I use a PC with MS Office Excel. My question is... Will she be able to use and view a .xls spreadsheet on her new Mac? She has either Iworks Numbers 2008 or 2009. I'm not absolutely sure. I know