JDev 10g r3: Problems with migrationg

Hi, All!
There is a situation: i have a project made in JDev 10g R2. By unknown the project file (jpr) cannot be converted to new project format. Because i need to create new project and add all files (web.xml, faces-config.xml, JSPs, .java) to new empty project. But when i select in project properties directories where my files take place, IDE coolects all of them in one category and skip xml files. How should i correct recreate my web-project?
Thanks.

It's not actually good suggestion, I think you can create new project, and then create the new file with the same name with the old one and copy the old and paste it to the new one. It will take time a little bit longer but I'm sure it will work.
good luck
fox

Similar Messages

  • 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

  • 6i - 10G migration problem with sdo_geometry.srid

    I'm migrating a forms application from 6i to 10G and Forms Builder 10G fails to compile a form. The statement it's having a problem with is this:
        update nbg_redline_element r set r.geometrie.sdo_srid =p_srid;The error I get is an internal error:
    Error 801, at line 0, column 0
    Internal error [60513]
    Seems Forms 10G can't handle geometry types which 6i could.
    Do I have to move this code to the server of is there another way to handle this?
    Rene

    I'm migrating a forms application from 6i to 10G and Forms Builder 10G fails to compile a form. The statement it's having a problem with is this:
        update nbg_redline_element r set r.geometrie.sdo_srid =p_srid;The error I get is an internal error:
    Error 801, at line 0, column 0
    Internal error [60513]
    Seems Forms 10G can't handle geometry types which 6i could.
    Do I have to move this code to the server of is there another way to handle this?
    Rene

  • JDev 10g starting Problem

    Hi,
    when I liked to start my JDev 9.0.5 (the compled package) on Windows2003 it comes the following error:
    "Couldn't initialize VM: java/lang/NoClassDefFoundError: java/lang/System
    Fatal internal error: I/EX"
    I have set the JDK_HOME to his JDK without take place :(
    What can I do?
    JDev 9.0.3 runs perfect.
    Sebastian

    Hi,
    excuse my poor english.
    I use the VM that comes with JDev 10g.
    Now I run it with SUN 1.4.2 (SetJavaHome set to it) and it work.
    But not with OJVM :(
    I have no .jdev_jdk file in my JDev directory ...
    little Question: How can I run "memory profile" in 10g in 9i it work
    Best regards
    Sebastian

  • ORA-12952 and Oracle 10g XE problem with migration to 11g XE

    Hi, all
    My DB (Oracle 10g XE) reach storage limit. I have tried to migrate to 11g XE version but unsuccessful.
    For migration I used next manual: http://download.oracle.com/docs/cd/E17781_01/install.112/e18803/toc.htm#XEINW136
    expdp returned next error:
    Processing object type DATABASE_EXPORT/SCHEMA/CLUSTER/INDEX
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.CREATE_OBJECT_ROWS while calling FORALL [TABLE]
    ORA-12952: The request exceeds the maximum allowed database size of 4 GB
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 116
    ORA-06512: at "SYS.KUPW$WORKER", line 6248
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2D6F0304 14916 package body SYS.KUPW$WORKER
    2D6F0304 6300 package body SYS.KUPW$WORKER
    2D6F0304 5638 package body SYS.KUPW$WORKER
    2D6F0304 2145 package body SYS.KUPW$WORKER
    2D6F0304 6861 package body SYS.KUPW$WORKER
    2D6F0304 1262 package body SYS.KUPW$WORKER
    285BD50C 2 anonymous block
    Next I have tried to garbage some information from DB but I got some as "UNDO cannot get next block" error.
    What else can I do to migrate the data from 10g with limitation problem to 11g?
    Thank You in advance.

    There is output from SQL:
    "OWNER"; "TABLESPACE_NAME"; "COUNT(*)"; "SIZE_MB"
    "A1"; "USERS"; "899"; "3995,9375"
    "SYS"; "SYSTEM"; "980"; "323,1875"
    "FLOWS_020100";"SYSAUX"; "658"; "297,625"
    "SYS"; "SYSAUX"; "626"; "151,125"
    "XDB"; "SYSAUX"; "753"; "84,5"
    "SYSTEM";"SYSTEM"; "259"; "31,75"
    "SYS"; "UNDO"; "10"; "20,25"
    "MDSYS"; "SYSTEM"; "96"; "12,25"
    "SYSTEM";"SYSAUX"; "109"; "6,8125"
    "CTXSYS";"SYSAUX"; "74"; "4,625"
    "D1"; "USERS"; "14"; "3,5625"
    "DBSNMP";"SYSAUX"; "25"; "1,5625"
    "HR"; "USERS"; "25"; "1,5625"
    "FLOWS_FILES";"SYSAUX"; "7"; ",5"
    "OUTLN"; "SYSTEM"; "8"; ",5"
    "TSMSYS";"SYSAUX"; "4"; ",25"
    1. When I tried to delete some old data from USERS dataspase by some PROCEDURE I got the next error:
    ERROR at line 1:
    ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDO'
    This problem I solved. PROCEDURE generate huge buffer for transaction. Therefore I deleted the old data by small pieces.
    After I have deleted the old data the Application start to comunicate with database without ORA-12952 error.
    2. I've reduced the size of SYSAUX (http://remidian.com/oracle/purging-sysaux-tablespace-purging-awr-reports.html) down to 94%
    3. I has SYSTEM tablespace 100% full. When I've tried to resize the SYSTEM table up I got the ORA-12952. Then I've increased the SYSTEM table size by 1M. In such way I got additional 9Mb for the SYSTEM tablespace (from 360Mb to 369Mb 98%). Is any other way to reduce of the SYSTEM tablespace filling?
    4. Next (http://wiki.oracle.com/page/Data+Pump+Export+%28expdp%29+and+Data+Pump+Import%28impdp%29)
    on the step: $ expdp system/<password> DIRECTORY=expdp_dir DUMPFILE=expfull.dmp FULL=y LOGFILE=expfull.og
    i got the error:
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.CREATE_OBJECT_ROWS while calling FORALL [TABLE]
    ORA-12952: The request exceeds the maximum allowed database size of 4 GB
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 116
    ORA-06512: at "SYS.KUPW$WORKER", line 6248
    There is my last state of the tablespace filling:
    "Tablespace"; "Size (MB)"; "Free (MB)"; "% Free"; "% Used"
    "UNDO"; "500"; "411,6875"; "82"; "18"
    "SYSAUX"; "570"; "31,5"; "6"; "94"
    "USERS"; "4180"; "178,875"; "4"; "96"
    "SYSTEM"; "369"; "1,25"; "0"; "100"
    "TEMP"; "291"; "0"; "0"; "100"

  • Weblogic 10g - Startup problem with authentication

    I installed Weblogic 10g (latest release) and change the default password for weblogic user from the weblogic console, then I restarted the Oracle Weblogic server, but when It try to start give me an error:
    starting weblogic with Java version:
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
    Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
    Starting WLS with line:
    C:\PROGRA~1\Java\JDK16~1.0_0\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
    eshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m -Xverify:none -da -Dplatfor
    m.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\server -Dweblogic.home=C:\
    bea\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev=
    -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea\patch_w
    ls1030\profiles\default\sysext_manifest_classpath;C:\bea\patch_cie660\profiles\d
    efault\sysext_manifest_classpath -Dweblogic.Name=examplesServer -Djava.security.
    policy=C:\bea\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    <09/09/2008 03:43:16 PM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebL
    ogic Server with Java HotSpot(TM) Client VM Version 10.0-b23 from Sun Microsyste
    ms Inc.>
    <09/09/2008 03:43:17 PM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic
    Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
    <09/09/2008 03:43:19 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server stat
    e changed to STARTING>
    <09/09/2008 03:43:19 PM PDT> <Info> <WorkManager> <BEA-002900> <Initializing sel
    f-tuning thread pool>
    <09/09/2008 03:43:19 PM PDT> <Notice> <Log Management> <BEA-170019> <The server
    log file C:\bea\wlserver_10.3\samples\domains\wl_server\servers\examplesServer\l
    ogs\examplesServer.log is opened. All server side log events will be written to
    this file.>
    <09/09/2008 03:43:23 PM PDT> <Notice> <Security> <BEA-090082> <Security initiali
    zing using security realm myrealm.>
    <09/09/2008 03:43:23 PM PDT> <Critical> <Security> <BEA-090402> <Authentication
    denied: Boot identity not valid; The user name and/or password from the boot ide
    ntity file (boot.properties) is not valid. The boot identity may have been chang
    ed since the boot identity file was created. Please edit and update the boot ide
    ntity file with the proper values of username and password. The first time the u
    pdated boot identity file is used to start the server, these new values are encr
    ypted.>
    <09/09/2008 03:43:23 PM PDT> <Critical> <WebLogicServer> <BEA-000386> <Server su
    bsystem failed. Reason: weblogic.security.SecurityInitializationException: Authe
    ntication denied: Boot identity not valid; The user name and/or password from th
    e boot identity file (boot.properties) is not valid. The boot identity may have
    been changed since the boot identity file was created. Please edit and update th
    e boot identity file with the proper values of username and password. The first
    time the updated boot identity file is used to start the server, these new value
    s are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot i
    dentity not valid; The user name and/or password from the boot identity file (bo
    ot.properties) is not valid. The boot identity may have been changed since the b
    oot identity file was created. Please edit and update the boot identity file wit
    h the proper values of username and password. The first time the updated boot id
    entity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.do
    BootAuthorization(Unknown Source)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
    itialize(Unknown Source)
    at weblogic.security.service.SecurityServiceManager.initialize(Unknown S
    ource)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    >
    <09/09/2008 03:43:24 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server stat
    e changed to FAILED>
    <09/09/2008 03:43:24 PM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical s
    ervice failed. The server will shut itself down>
    <09/09/2008 03:43:24 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server stat
    e changed to FORCE_SHUTTING_DOWN>
    Stopping PointBase server...
    PointBase server stopped.
    I tried almost everything in these links:
    https://support.bea.com/application_content/product_portlets/support_patterns/wls/AuthenticationErrorsStartingWLSPattern.html#Why_does_the_problem_occur_
    http://forums.bea.com/thread.jspa?threadID=600017775
    Also I tried to recovery the password but nothing works.
    Please I really need help.

    Hi all, I've the same problem...not resolved yet...may you help me, please?
    Silvia
    Starting e managed server from admin console, through node manager:
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.

  • Standby data Gurad 10g switchover problem with application

    Hi!
    I'm working on oracle 10g and try to make standby datagurad with same dbname eg. if my primary database name is orcl then my standby database should be orcl with same location because one of mine application is accepting only orcl not standbyorcl.
    Because when I'm doing switchover to standby database application not able to read standbyorcl and application result through error and close.
    Could any one help me to make init.ora parameter for primary and standinit.ora for standby with same database name.
    Amit Kumar

    You should use an Application Service instead of the standard Database Service in the first place to take care of Role Changes in your Data Guard configuration properly.
    Look here for an example:
    http://uhesse.wordpress.com/oracle-database-ha-architecture/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Oracle database 10g connectivity problem with Report Builder

    Hi,
    I need to amend a .rdf report and am using the dev10g. I can't connect the test database from report builder.
    It is getting the error like :
    "ORA-12154 : TNS: could not resolve service name".
    I can connect the database from sql*plus, Toad etc. Also It's giving me the response when I run the TNSPING command with the database name.
    Could someone advise me that how can I resolve this problem?
    Thanks,

    set the TNS_ADMIN variable point to the correct tnsnames.ora file
    or try the note mentioned in http://www.alexyscorp.com/products.htm
    Lastly try opening a command line/dos prompt, set the TNS_ADMIN variablea and start the reports builder from commandline
    Rajesh

  • Jdev 10g with 9iAS

    I have seen that others have ask about a whitepaper in metalink on hoe to get a project developed in JDev 10g to work with 9iAS(9.0.2). But i can not find any answers!!!
    Can anyone direct me to the link? Or does anyone know the list of Libraries need to install to get this to work.
    Does it work at all???
    /Jens

    Hello
    Did you found the paper? Can you please provide the link?
    Thanks
    Chrigel

  • Problems with JDev 11g using JBOSS and ANT

    Hi,
    I'm trying to migrate to JDev 11g with JBoss ( version 7.X ) as the AppServer
    With JDev 10g all works fine with JBoss, even the Remote Debug, all OK
    here is the problems I have :
    1) ANT
    JDev doesn't save my ANT settings
    every time I launch ANT : Run Ant Target - I must set the Advance settings
    JDev 10g I only need to do that once, the settings are saved but not in the 11g, why ?
    2) persistence
    I get this error when deploying to JBoss
    16:34:50,967 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBA
    S015870: Deploy of deployment "prod_v0.0.1_iDigital.menu.ear" was rolled back wi
    th failure message {"JBAS014771: Services with missing/unavailable dependencies"
    => ["jboss.persistenceunit.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp
    .war#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceun
    it.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp.war#InfraModel\"jboss.na
    ming.context.java.jdbc.stdDS]","jboss.persistenceunit.\"prod_v0.0.1_iDigital.men
    u.ear#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceu
    nit.\"prod_v0.0.1_iDigital.menu.ear#InfraModel\"jboss.naming.context.java.jdbc.s
    tdDS]"]}
    it seems that is something related to dependencies not well configured during build stage of the EAR, but with 10g works fine
    BTW, I can't run my project with WebLogic either, gives this error :
    <5/Abr/2013 18H27m BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1365182860563' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'iDigital.menu'.>
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    can someone give me a clue ?
    thanks
    Edited by: FernandoLeite on Apr 5, 2013 10:31 AM

    I can't say many about the ant stuff, but have you tried to put the parameters in a property file and use this to get the parameters to ant?
    The reason you can't run the application on WLS is that you have not installed the adf runtime on your wls. The error 'application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].' points to this.
    Timo

  • Param binding with Struts and JDev 10G

    This comes from a post in UIX forum. I transcribe the complete text. Can someone help me? Thanks in advance.
    Params in queries with Jdev 10g Sep 22, 2003 11:50 PM
    Reply
    I had a working UIX App and used the null event to setting parameters for my query but using 10g doesn't work. I tried setWhereClause in my application module class, calling it from the data action, but i get an error (index out of bounds). If I try "setWhereClause", it works fine but it's veeeeery slow (I think the query first fechs all rows). I need something that before getting rows, initialize the query (my view object is defined with an empty where clause, because the queries will be defined in runtime via a Emp_ID). Of course, there is and index on emp_id. Help me, please...
    Re: Params in queries with Jdev 10g ( In Reply To : Params in queries with Jdev 10g ) Sep 24, 2003 12:37 AM
    Reply
    Hi, this is my code using BC4J and the null event in the uix page. This worked fin with Jdev 9.0.3.
    public static EventResult EstableceParametros(BajaContext bc,
    Page page, PageEvent event)
    String exp;
    DatosUsuario dat = DatosUsuario.getDatosUsuario(bc);
    exp=dat.sId_Expediente;
    ApplicationModule am=ServletBindingUtils.getApplicationModule(bc);
    ViewObject vo=ServletBindingUtils.getViewObject(bc);
    vo.setWhereClauseParam(0,exp);
    return new EventResult(page);
    Now, I have removed the where clause from the viewobject and using dataAction I do this:
    protected void initializeRequestParameters(DataActionContext actionContext)
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    super.initializeRequestParameters(actionContext);
    HttpServletRequest req=actionContext.getHttpServletRequest();
    String evento=req.getParameter("event");
    DatosUsuario dat = DatosUsuario.getDatosUsuario(req);
    String exp=dat.sId_Expediente;
    BindingContext bc=actionContext.getBindingContext();
    DCDataControl dc= bc.getContext(req).getDefaultDataControl();
    Object misdatos=dc.getDataProvider();
    Elendil am=(Elendil)misdatos;
    am.ParamAnotacionExp(exp);
    In my application module class:
    public void ParamAnotacionExp(String idexpediente)
    AnotacionExpViewImpl vo=getAnotacionExpView1();
    * if (idexpediente.equals(""))
    vo.setWhereClause("centro = centro and id_expediente like " + "'%'");
    else
    vo.setWhereClause("centro = centro and id_expediente = " + idexpediente);
    vo.executeQuery();
    //(1) vo.setWhereClauseParam(1,idexpediente);
    vo.setWhereClause("id_expediente = " + idexpediente);
    vo.executeQuery();
    If I use I get a null pointer, so I removed the where clause from the view object.
    Than you very much.
    Re: Params in queries with Jdev 10g ( In Reply To : Re: Params in queries with Jdev 10g ) Sep 26, 2003 3:52 PM
    Reply
    Juanma -
    I finally found time to put together a test case, but unfortunately I wasn't able to reproduce the problem. Here is what I tried:
    - In JDev 9.0.3, I created a simple BC4J data model based on the Scott schema - with a single ViewObject for the Emp table.
    - I modified the EmpView query to include the following bind variable in the where clause:
    WHERE Emp.SAL < :1
    - I used the uiXML Browse & Edit Form wizard to create some simple uiXML/BC4J pages.
    - I added the following event handler to View1.uix:
    <event name="null">
    <bc4j:findRootAppModule name="EmpView1AppModule">
    <bc4j:findViewObject name="EmpView1">
    <method class="events.TestEvents" method="doNull"/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    TestEvents.doNull() looks like this:
    public static EventResult doNull(
    BajaContext context,
    Page page,
    PageEvent event)
    ViewObject vo = ServletBindingUtils.getViewObject(context);
    vo.setWhereClauseParam(0, "5000");
    return new EventResult(page);
    - When I run View1.uix in the embedded OC4J server, I can see that the EmpView VO is restricted based on the criteria specified in the call to ViewObject.setWhereClauseParam() in my null event handler. Only employees with salaries less than 5000 are displayed.
    - Next, I made a copy of my entire workspace and copied it into my jdev10g/jdev/mywork directory.
    - I then imported the workspace into 10g, allowing the UIX files to be converted to EL, and also allowing the BC4J model definition to be updated.
    - Finally, I try running again in 10g - everything works as expected.
    So, the good news is that this stuff should still work in 10g. The bad news is that it is going to take some more work for us to nail down exactly why this isn't working for your application. The best place to start would probably be for us to take a look at the null pointer exception that you are seeing - so please post the stack trace when you can.
    Thanks,
    Andy
    Re: Params in queries with Jdev 10g ( In Reply To : Params in queries with Jdev 10g ) Sep 28, 2003 11:05 PM
    Reply
    Andy, excuse me for the repost.
    If I try the way you explain, it worked fine, but the problem is that I'm also convertint to struts. In the data action, I have overriden this:
    protected void initializeRequestParameters(DataActionContext actionContext)
    There I try to set the params:
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    //super.initializeRequestParameters(actionContext);
    HttpServletRequest
    // If I uncomment the line super..., the result is the same.
    req=actionContext.getHttpServletRequest();
    String evento=req.getParameter("event");
    DatosUsuario dat = DatosUsuario.getDatosUsuario(req);
    String exp=dat.sId_Expediente;
    BindingContext bc=actionContext.getBindingContext();
    DCDataControl dc= bc.getContext(req).getDefaultDataControl();
    Object misdatos=dc.getDataProvider();
    Elendil am=(Elendil)misdatos;
    am.ParamAnotacionExp(exp);
    In my viewobject, I have this where clause:
    anotacionexp.id_expediente = :1
    Then, in my ApplicationModule class:
    public void ParamAnotacionExp(String idexpediente)
    AnotacionExpViewImpl vo=getAnotacionExpView1();
    vo.setWhereClauseParam(1,idexpediente);
    //vo.setWhereClauseParam(0,idexpediente); With 0, the result is the same.
    vo.executeQuery();
    And when I run, I get this:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ArrayIndexOutOfBoundsException, msg=0
    at oracle.jbo.JboException.<init>(JboException.java:343)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(Abs tractRemoteApplicationModuleImpl.java:4658)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(Abst ractRemoteApplicationModuleImpl.java:4854)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgReque st(AbstractRemoteApplicationModuleImpl.java:3449)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntri es(AbstractRemoteApplicationModuleImpl.java:3630)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage (AbstractRemoteApplicationModuleImpl.java:2975)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(Abs tractRemoteApplicationModuleImpl.java:1639)
    at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:59 86)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemot eApplicationModuleImpl.java:1608)
    at oracle.jbo.server.remote.colo.ServerApplicationModuleImpl.doMessage(ServerAppli cationModuleImpl.java:245)
    at oracle.jbo.common.colo.ColoApplicationModuleImpl.doMessage(ColoApplicationModul eImpl.java:102)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.PooledRequestHandler.doMessage(PooledRequestHandler.ja va:70)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:998)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:1012)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendWorkingSetRequests(Applicati onModuleImpl.java:3049)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendRequest(ApplicationModuleImp l.java:1041)
    at oracle.jbo.client.remote.ApplicationModuleImpl.riInvokeExportedMethod(Applicati onModuleImpl.java:5255)
    at galadriel.client.ElendilClient.ParamAnotacionExp(ElendilClient.java:21)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java)
    at oracle.jbo.common.ws.WSProxy.invokeMethod(WSProxy.java:120)
    at oracle.jbo.common.ws.WSProxy.invoke(WSProxy.java:90)
    at $Proxy3.ParamAnotacionExp(Unknown Source)
    at controller.AnotacionesDataAction.initializeRequestParameters(AnotacionesDataAct ion.java:63)
    at oracle.adf.controller.struts.actions.DataAction.executeImpl(DataAction.java:104 )
    at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:69)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor .java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java: 65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 16)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 20)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatch er.java:610)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletReques tDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.j ava:784)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResou rcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:536)
    ## Detail 0 ##
    java.lang.ArrayIndexOutOfBoundsException: 0
    at oracle.jdbc.dbaccess.DBDataSetImpl._getDBItem(DBDataSetImpl.java:323)
    at oracle.jdbc.dbaccess.DBDataSetImpl._createOrGetDBItem(DBDataSetImpl.java:566)
    at oracle.jdbc.dbaccess.DBDataSetImpl.setNullBindItem(DBDataSetImpl.java:1878)
    at oracle.jdbc.driver.OraclePreparedStatement.setNull(OraclePreparedStatement.java :1190)
    at oracle.jbo.server.ViewRowSetImpl.bindParameters(ViewRowSetImpl.java:1436)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:576)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java: 2946)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:553)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:612 )
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:594)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:2890)
    at galadriel.ElendilImpl.ParamAnotacionExp(ElendilImpl.java:111)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(Abs tractRemoteApplicationModuleImpl.java:4636)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(Abst ractRemoteApplicationModuleImpl.java:4854)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgReque st(AbstractRemoteApplicationModuleImpl.java:3449)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntri es(AbstractRemoteApplicationModuleImpl.java:3630)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage (AbstractRemoteApplicationModuleImpl.java:2975)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(Abs tractRemoteApplicationModuleImpl.java:1639)
    at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:59 86)
    at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemot eApplicationModuleImpl.java:1608)
    at oracle.jbo.server.remote.colo.ServerApplicationModuleImpl.doMessage(ServerAppli cationModuleImpl.java:245)
    at oracle.jbo.common.colo.ColoApplicationModuleImpl.doMessage(ColoApplicationModul eImpl.java:102)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.PooledRequestHandler.doMessage(PooledRequestHandler.ja va:70)
    at oracle.jbo.client.remote.ApplicationModuleImpl.doMessage(ApplicationModuleImpl. java:5233)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:998)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendServiceMessage(ApplicationMo duleImpl.java:1012)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendWorkingSetRequests(Applicati onModuleImpl.java:3049)
    at oracle.jbo.client.remote.ApplicationModuleImpl.sendRequest(ApplicationModuleImp l.java:1041)
    at oracle.jbo.client.remote.ApplicationModuleImpl.riInvokeExportedMethod(Applicati onModuleImpl.java:5255)
    at galadriel.client.ElendilClient.ParamAnotacionExp(ElendilClient.java:21)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java)
    at oracle.jbo.common.ws.WSProxy.invokeMethod(WSProxy.java:120)
    at oracle.jbo.common.ws.WSProxy.invoke(WSProxy.java:90)
    at $Proxy3.ParamAnotacionExp(Unknown Source)
    at controller.AnotacionesDataAction.initializeRequestParameters(AnotacionesDataAct ion.java:63)
    at oracle.adf.controller.struts.actions.DataAction.executeImpl(DataAction.java:104 )
    at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:69)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor .java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java: 65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 16)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java: 20)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatch er.java:610)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletReques tDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.j ava:784)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResou rcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:536)
    I'm sure I'm doing somthing wrong, but don't know what. Thank you for your help.
    Re: Params in queries with Jdev 10g ( In Reply To : Re: Params in queries with Jdev 10g ) Sep 29, 2003 5:24 PM
    Reply
    Juanma -
    Not sure what would cause this JboException... Could you try posting to the JDev forum - I'm guessing the BC4J folks might be more familiar with this error...
    Andy

    Check out:
    Setting the view's where clause at runtime

  • 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

Maybe you are looking for

  • Changes to business rules in EAS not reflecting in planning

    Hi Friends, One of my client is facing the issue issue.Could anyone help on the issue. When a new business rule is created or changed in EAS, the changes are not reflected in Planning. A stop and restart of the service is required to see the new busi

  • Disable ajaxcommandLink?

    hi, HtmlAjaxCommandLink firstRecord = new HtmlAjaxCommandLink (); any one help me how to disable this commandLink for first,next,previous, and last record......help me any how to do..

  • The Aduio Encoding Problem

    I came up against this sometime ago with a few iM projects that I sent to iDVD (spinning beachball, long wait for audio encoding, etc.) I kept up with threads on here talking about possible problems with CBR MP3's and it seemed to centre around iDVD

  • Exception when declaring params as in out in procedure

    Hello, I am getting an exception like java.lang.NullPointerException at oracle.jdbc.driver.T4CNamedTypeAccessor.unmarshalOneRow(T4CNamedTypeAccessor.java:136) at oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:791) at oracle.jdbc.driver.T4CTTIr

  • Unlock all the phone cards my iPhone 2G Apple

    Unlock all the phone cards my iPhone 2G Apple Who has for me an Apple e-mail address where I can report to unlock my iphonefor all phone cards? Thanks in advance for your efforts, I remain with the best wishes from Vechta, GERMANY Jürgen Rodekohr Rod