After upgradation from Oracle 9i to Oracle 10g,one proc is throwing error

recently upgraded from Oracle 9i to Oracle 10g. We have some Oracle procedures which are not working in Oracle 10g.
A section of code from one of the procedures looks somewhat like the code below:
Declare
Cursor c_matched_records (…..) is
Select a.field 1, b.field2
From table1 a, table2 b
Where a.field3=b.field1
FOR UPDATE;
BEGIN
For records in c_matched_records
LOOP
-- Continue processing
-- Update records
COMMIT;
END LOOP;
END;This section of the code throws out the following error in Oracle 10g
ORA-01002: fetch out of sequence during PUT outputFile file
However this code was working fine in Oracle 9i.
please help me with this?
Thanks

I believe you are lucky that the pl/sql is okay in Oracle 9i. How about remove the commit statement? Why do you need it in the loop. I look up metalink. You may refer to article ID 257914.1

Similar Messages

  • Issue  after upgrade from oracle 10.2.0.4 to 11g (11.1.0.6.0)

    hello
    After upgrade to 11g we have problem with dbms_workload_replay package it has error Error(1): PLS-00753: malformed or corrupted wrapped unit in body and can't be compiled . It is wrapped so we can't find error. We run utlrp.sql but no results.
    Any idea ??
    THX

    Then it looks similar to bug 6651232
    May I suggest you get in touch with Oracle support for this?

  • The optimizer changed after upgrade from 8i to 10g

    I have upgraded my Oracle database from 8i (8.1.7.3) to 10g (10.2.0.3). After upgraded, there's some SQLs are with performance issue that the response time is very slow. The SQL can run very fast (around 1 seconde) in the pre-upgrade environment. Also, after generating the execution plan, there's different from the original enivronment (8i) which the query using some full table scan instead of index scan originally used in 8i.
    The optimizer_mode of 8i is RULE and it's CHOOSE when upgraded.
    My questions are:
    1. Do I have any init.ora parameters setting in 10g environment which differ from 8i?
    2. What method of analyzing tables is appropriate to use in 10g? Will this affect the performance like my case?
    Thanks,
    Wai

    Please have a look to following threads:
    Re: Optimizer Statistics collection after upgrade from 8i to 10R2
    Re: DB upgrade from oracle 8.1.7 to oracle 10.2.0.2

  • Sorting issue after upgrade from 9i to 10g

    Dear all,
    It is found that the sorting behavior is different after upgrade from 9i to 10g.
    In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
    After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
    Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
    Thanks for your help,
    M.T.

    903714 wrote:
    Dear all,
    It is found that the sorting behavior is different after upgrade from 9i to 10g.
    In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
    After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
    Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
    Thanks for your help,
    M.T. This is expected behavior in 10g. Oracle will not order the dataset for you unless and until you explicitly specify it.
    So without using order by clause in 10g, oracle doesn't guarantee that rows will be ordered.
    To go back to old behavior like 9i, you can set a workaround by
    alter session set "_newsort_enabled"=false;
    Also see MOS - Order Of Data Retrieval Differs after upgrading 9i To 10g [ID 456707.1]

  • After upgrade from 10.2.0.1 to 10.2.0.4 enterprise manager not working

    after upgrade from 10.2.0.1 to 10.2.0.4
    on windows enterprise manager is not working
    Edited by: 830525 on Mar 24, 2012 9:44 AM

    F:\Documents and Settings\hakem>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://M1C3:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleor
    cl service is starting..........................................................
    The OracleDBConsoleorcl service could not be started.
    A service specific error occurred: 1.
    More help is available by typing NET HELPMSG 3547.
    F:\Documents and Settings\hakem>NET HELPMSG 3547
    A service specific error occurred: ***.
    EXPLANATION
    A service-specific error occurred.
    ACTION
    Refer to the Help or documentation for that service to determine the problem.
    that's what happen while trying to start db console

  • Error after upgrading from SOA 10.1.3.1 to 10.1.4.1 (commons-loging.jar)

    After upgrading from SOA 10.1.3.1 to 10.1.4.1 , I cant run any Struts 1 pages from my web application.
    I used to have "commons-logging-1.0.4.jar" under j2ee\<INSTANCE_NAME>\applib, and it worked fine before the upgrade, but after I upgraded I get this exception in the application log
    11/02/20 18:50:17.31 ClientWeb: Error initializing servlet
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2315)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    at com.evermind.server.Application.getHttpApplication(Application.java:586)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable
    Log constructor [Ljava.lang.Class;@1c06a6d for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError
    : org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang
    .Class;@1c06a6d for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category
    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
    at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:209)
    ... 20 more
    Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1c06a6d for org.apache
    .commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
    ... 24 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
    at java.lang.Class.getConstructor0(Class.java:2640)
    at java.lang.Class.getConstructor(Class.java:1629)
    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
    ... 25 more
    11/02/20 18:50:17.31 ClientWeb: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4857)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    at com.evermind.server.Application.getHttpApplication(Application.java:586)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    11/02/20 18:50:17.31 ClientWeb: 10.1.3.4.0 Started
    11/02/20 18:51:35.906 ClientWeb: Servlet error
    javax.servlet.ServletException: Error instantiating servlet 'action'. Servlet class org.apache.struts.action.ActionServlet not found
    in web-application ClientWeb
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.servletClassNotFound(HttpApplication
    .java:4886)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4852
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4754
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication
    .java:2978)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
    .java:738)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler
    .java:221)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
    .java:303)
    at java.lang.Thread.run(Thread.java:595)
    I tried moving this jar inside my war module, but problem still occures.
    However, if I removed the jar "commons-loging.jar" from "OracleAS_1\webservices\lib", everything works fine!
    Any ideas how to solve this problem??

    It is an old post, but I want to add and ask something anyway:
    I had the same problem and solved it through similar steps (didn't get the same errors and added the log4j to my project also) but don't you have the navigation problem?
    Now that I have deployed the application the first page that appears after launching the application is my Home.jspx which is not the same page that comes up when I use embedded OC4J to run the application. The Home.jspx is blank and when I enter a link manually:
    http://farbod:8888/TestApp/faces/pages/Employees.jspx
    instead of http://farbod:8888/TestApp/faces/pages/Home.jspx
    I get this error:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    I also tried changing the initial address throughout the application:
    <% response.sendRedirect("faces/pages/Home.jspx"); %>
    but I still get the above error.
    Thanks,
    Farbod

  • Issue in iSupplier Portal after upgrade from 12.1.1 to 12.1.3

    Hi
    After upgrade to 12.1.3, I am getting 'java.lang.NullPointerException' error when I navigate to Oracle iSupplier Portal -> 'Purchase Order' tab. I have pasted the error text below. I have also noted down the errors below, which were reported during the upgrade (since I don't know if they are connected to this issue, and could not fixed as yet).
    Environment_
    1. Oracle EBS = 12.1.3 (upgraded from 12.1.1)
    2. OS = OEL 5.7
    Any help will be really appreciated. Thanks.
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:616) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at OA.jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at OA.jspService(_OA.java:221) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) ## Detail 0 ## java.lang.NullPointerException at oracle.apps.pos.orders.webui.PosVpoMainCO.processRequest(PosVpoMainCO.java:151) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at OA.jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at OA.jspService(_OA.java:221) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at oracle.apps.pos.orders.webui.PosVpoMainCO.processRequest(PosVpoMainCO.java:151) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431) at OA.jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395) at OA.jspService(_OA.java:221) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619)
    Background of Upgrade*
    Following errors were reported during upgrades but we continued upgrade since they could not be fixed. There are several Invalid objects in the DB that starts with OKC but they still remain even after I tried to recompile them through 'adadmin' or through SQL prompt or 'frmcmp' command (as stated below).
    frmcmp module=%AU_TOP%/resource/OKEKAULN.pll userid=APPS/APPS output_file=%AU_TOP%/resource/OKEKAULN.plx module_type=library batch=no compile_all=special
    I beleive OKC schema is related to 'Oracle Contracts' module.
    The following Oracle Forms objects did not generate successfully:
    au resource OKEKAULN.pll
    au resource OKEDTSFM.pll
    au resource OKEKAUWB.pll
    au resource OKLCSAST.pll
    au resource OKLCSEQX.pll
    au resource OKLCSASD.pll
    au resource OKSPMSCH.pll
    au resource OKSAUCVT.pll
    au resource OKSAUDET.pll
    au resource OKCEXPOR.pll
    au resource OKCKSRCH.pll
    au resource OKSAUBLG.pll
    An error occurred while generating Oracle Forms library files.

    Thanks for replying. I have already applied the mega patch 9239090 to upgrade to 12.1.3. The metalink notes you have given refers to patches released prior to patch 9239090. How to check whether the new patch will not overwrite the one I have already applied and will not conflict with it? Will it be automatically taken care by 'adpatch' utility?adpatch should take care of that and it should not overwrite any file if the file version you have is higher than the one delivered by the patch.
    Thanks,
    Hussein

  • ERROR upload: Error in uploadXMLFiles after upgrading from 10.2.0.4

    After upgrading from 10.2.0.1 to 10.2.0.4 on a newly installed Oracle server, I could not use dbconsole any more. It would not display the login page at http://myserver:1158/em. I tried different browser IE, FireFox, and Chrome. It is the same. Then I checked the %ORACLE_HOME/{server_sid}/sysman/log/emagent.trc and found this errors in it:
    2010-02-04 14:11:45 Thread-2552 WARN command: Job Subsystem Timeout set at 600 seconds
    2010-02-04 14:11:45 Thread-2552 WARN upload: Upload manager has no Failure script: disabled
    2010-02-04 14:11:45 Thread-2552 WARN upload: Recovering left over xml files in upload directory
    2010-02-04 14:11:45 Thread-2552 WARN upload: Recovered 0 left over xml files in upload directory
    2010-02-04 14:11:45 Thread-2552 WARN metadata: Metric collectSnapshot does not have any data columns
    2010-02-04 14:11:46 Thread-2552 WARN metadata: Metric Disk_Path does not have any data columns
    2010-02-04 14:11:46 Thread-2552 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
    2010-02-04 14:11:50 Thread-352 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds.
    I tried emctl secure, upload, start and stop many times. It is still the same. It is a new server and a new database. Any idea?
    TIA!

    I did not change password. It is not password issue.
    According to Oracle support,
    1) the error "2010-02-04 14:11:50 Thread-352 ERROR upload: Error in uploadXMLFiles. Trying again in 60.00 seconds" can be ignored.
    2) The error: 2010-02-05 02:52:19 Thread-3864 ERROR util.files: nmeufile_remove D:/oracle/product/10.2.0/db_1/orsvp04.OCTAGONRESEARCH.COM_vp/sysman/recv\00000000365.lk: Error in lfidlb. Error = 0 (No error)
    could be because I used "emctl start agent" , which are not allowed command for DBconsole. The correct one is "emctl start dbconsole"
    Thanks for your input!

  • Issue with VO extension after upgrading from 11i to R12

    Hi All,
    We are facing issue with VO extension after upgrading from 11i to R12(12.1.3).
    Most of the cases we are facing issue as given below,
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 21 with java object of type java.lang.Boolean due to java.sql.SQLException.
    Please help me out to resolve this issue.
    Any help/suggestion will highly appreciate.
    Thanks & Regards,
    Sunita

    Hi Gyan,
    Thanks for the response.
    There is one attribute has added in VO query.
    In VO.xml file ViewAttribute definition is as given below,
    <ViewAttribute
    Name="DisplayApproveButton"
    IsUpdateable="false"
    IsQueriable="true"
    IsPersistent="false"
    Type="java.lang.Boolean"
    ColumnType="NUMBER"
    AliasName="DisplayApproveButton"
    Expression="xxh_invoice_approval_pkg.check approval(invoice_id)"
    SQLType="BIT" >
    </ViewAttribute>
    Thanks & Regards,
    Sunita

  • Getting WWC-50003 after upgrading from 10.1.2 to 10.1.4

    after upgrading from 10.1.2 to 10.1.4, I no longer can create any portlets from "Additional Portlet Builders" such as Calendar, Chart, Hierarchy, etc. When I try to define the portlete, I get WWC-50003 error msg.
    I have opened SR with Oracle and they still haven't solved my problem.
    Hope someone can help with this issue.
    -Steve

    Are you using HTML Page Skins? We were having the same problem in Page Groups that were using HTML Page Skins. We solved the issue by adding #PAGE.STYLE# and #PAGE.BASE# to the <HEAD> area of the HTML Page Skin.
    Good Luck!
    Mark

  • ORA-12541: TNS:no listener after upgrading from 11.1.0.6 to 11.1.0.7

    After upgrading from 11.1.0.6 to 11.1.0.7, I get the error: ORA-12541: TNS:no listener.
    I have attached my tnsnames.ora, listener.ora and my sqlnet.log.
    I have tried deleting the listener and re-adding it and I get the same error.
    I have tried adding a new database and it errored at 97% because it couldn’t connect to the listener, but still seemed to create the database.
    Any suggestions would be appreciated
    <b>My tnsnames.ora file:</b>
    # tnsnames.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    <b>my listener.ora file:</b>
    # listener.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    <b>my sqlnet.log:</b>
    Fatal NI connect error 12514, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=tebxjt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=C:\Oracle\product\11.1.0\db_1\jdk\jre\bin\java.exe)(HOST=tebxjt)(USER=739179))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
    Time: 21-JUL-2010 16:53:37
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0

    Hi,
    What is your ORACLE_SID name of your database. Have you checked in given above output there is two things:
    1.
    Service "orcl.us.oracle.com" has 1 instance(s).
    Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
    Service "orcl_XPT.us.oracle.com" has 1 instance(s).
    Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    The status BLOCKED is coming instead of READY
    2. From
    +"+
    +my listener.ora file:+
    +# listener.ora Network Configuration File: C:\Oracle\product\11.1.0\db_1\network\admin\listener.ora+
    +# Generated by Oracle configuration tools.+
    +LISTENER =+
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = tebxjt)(PORT = 1521))+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))+
    +)+
    +)+
    Here what i feel complete linstner.ora should be have two parts one LISTENER and another SID_LIST_LISTENER :
    LISTENER =
    (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
         (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))     
    SID_LIST_LISTENER=
    (SID_LIST=
         (SID_DESC=
                   #BEQUEATH CONFIG
    (GLOBAL_DBNAME=salesdb.mycompany)
    (SID_NAME=sid1)               
    (ORACLE_HOME=/private/app/oracle/product/8.0.3)
    In your case SID_LIST_LISTENER part is missing.
    In this part you have to set SID_NAME and ORACLE_HOME value of new 11g home.
    Hope this will help you.
    Regards
    Rajinder

  • V('APP_USER) after upgrade from 3.1 to 3.2

    Thread [v(APP_USER) after upgrade from 3.0 to 3.1|http://forums.oracle.com/forums/thread.jspa?threadID=631780] is equally valid for upgrade from 3.1 to 3.2 - I've just spent an afternoon trying to find out why one of my apps stopped working after upgrading to 3.2.
    Briefly, if you have Patrick Wolf's wrapped versions of functions V, DV, and NV, replace "FLOWS_030100.V" with "APEX_030200.V".

    Hi Patrick,
    I am currently looking forward to use these functions in my applications. We are having some performance problems and the replacement of the v function seems to help alot.
    We use the v function in views to get the data dynamically with the Apex applications. I recently found a post you have made showing 2 things you can do to increase performance when using the v function : http://www.inside-oracle-apex.com/caution-when-using-plsql-functions-in-sql-statement/.
    1) (select v('APEX_ITEM') from dual)
    2) replacement for the v function (deterministic)
    Now I wonder, besides the fact that you need to update the functions everytime you upgrade Apex, is there any other downsides of using them ? Should I be using the other method instead ?
    Is there a plan to make that function deterministic in a future release ?
    Thanks
    Patrick

  • How to change table defnition after upgrade from 9 to 10 ?

    after upgrade from 9 to 10, tables ddl still like 9i:
    .................PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255..........
    ................ inndex PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS..........
    Is there a method to convert it all tables to new 10g style without re-create thousands tables then emp/imp one by one?
    Thanks

    What do you mean by "10g style"? Do you want tables to be using ASSM? If that's the case, that's a feature of tablespace itself. So it means that your tables need to be in those tablespace which are having Segment Space management auto set in them.I don't think that there is any automatic package which can do the same on the fly.
    One way ,which may not be very less time consuming but still can help is to convert the segment space management using EM.But again,this does recreate teh tablespace so I don't think that this is any different from exp/imp.
    HTH
    Aman....

  • File- Export not working after upgrade from 11i to R12

    Hi,
    File -> Export not working after upgrade from 11i to R12.1.3 in few systems. Can you please let me know what could be the issue.
    If export record count more than 200 it is working fine in all the systems and if change the profile option "Export MIME type” value to ‘text/tab-separated-values’ from application/excel also it is wokring.
    Thanks and Regards,
    Jagadeesha

    Enabled the FRD. Below are few last lines. Can you please let me know what i can in this log file contents.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing GET_ITEM_PROPERTY/FIELD_CHARACTERISTIC Built-in:
    In Argument 0 - Type: Integer Value: 196613
    In Argument 1 - Type: Number Value: 54
    Out Argument 0 - Type: String Value: 12
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing FIND_MENU_ITEM Built-in:
    In Argument 0 - Type: String Value: FILE.EXPORT
    Out Argument 0 - Type: Integer Value: 19
    Executing GET_MENU_ITEM_PROPERTY Built-in:
    In Argument 0 - Type: Integer Value: 19
    In Argument 1 - Type: Number Value: 79
    Out Argument 0 - Type: String Value: TRUE
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_menu.set_prop.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_synch.menu_toolbar_sync. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.APP_CUSTOM_MODE
    Out Argument 0 - Type: String Value: NORMAL
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: NULL
    In Argument 1 - Type: String Value: GLOBAL.OUT
    Executing USER_EXIT Built-in:
    In Argument 0 - Type: String Value: FND GETPROFILE NAME="UPK_RECORDING_ENABLED" FIELD="GLOBAL.OUT" N
    FNDCPVCM, 11, Built-In, Entry, 316509814, USER_EXIT
    FNDCPVCM, 11, Built-In, Exit, 316509814, USER_EXIT
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: GLOBAL.OUT
    Out Argument 0 - Type: String Value: N
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_form
    Out Argument 0 - Type: String Value: FNDCPVCM
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: system.current_block
    Out Argument 0 - Type: String Value: MASTER
    Executing GET_APPLICATION_PROPERTY Built-in:
    In Argument 0 - Type: Number Value: 75
    Out Argument 0 - Type: String Value: IHR40P
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed call_all_libraries. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_standard.event. Event is WHEN-NEW-ITEM-INSTANCE.
    In Argument 1 - Type: String Value: global.frd_debug
    FNDCPVCM, 10, Prog Unit, Exit, 316509814, /FNDCPVCM-3/P45_30_DEC_201223_28_33
    FNDCPVCM, 9, Trigger, Exit, 316509814, WHEN-NEW-ITEM-INSTANCE
    FNDCPVCM, 8, Prog Unit, Exit, 316509814, /DMU-4/P8_30_DEC_201223_23_12
    # 15 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301498413820
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3
    # 16 - FNDCPVCM:MASTER.USER_CONCURRENT_QUEUE_NAME.1359399301512613925
    WINDOW FNDCPVCM PROGRESS_INDICATOR RESIZE 4198 1500 3

  • Lost Developer Toolbar after upgrade from 4.1 to 4.2

    After upgrading from 4.1 to 4.2.1.00.08, we have lost the Developer Toolbar.
    Have others run into this with the upgrade or fresh installation of 4.2.1?
    If so, what suggestions are there for fixing, short of reinstallation mentioned in this other thread:
    {message:id=10692572}
    Following the guidance there to look at the instance ID and other preference settings, I compared our three instances. The two that are not having the problem are both at 4.2.0.00.27.
    Here are the preferences that exist on our other instances but are null on the problem instance:
    APEX_4_1_0_PATCH_12920544
    APEX_4_2_0_PATCH_14777994
    APP_EXPORT_TO_DB_ENABLED
    HPROF_DIRECTORY
    INSTANCE_ID
    MOBILE_DEVELOPMENT_ENABLED
    PRINT_SVR_HOST
    PRINT_SVR_PORT
    PRINT_SVR_SCRIPTI have asked our support team to review the upgrade log. Re-installation from scratch is an option.
    Any advice is welcome.
    Skip

    Thanks, Joel.
    You inspired me to take a closer look, and look beyond the upgrade.
    After the upgrade, my application passed a superficial checkout. Later, I exported my application and in the export file, the Instance ID was not NULL. I had not noticed any problems with how APEX was working.
    The problems of the missing Developer Toolbar, Instance ID = NULL, and a new one, did not occur until I removed my application and tested a clean installation of the workspace and application. This is the sequence of events. The immediate triggering cause is clearly one of the following:
    1. Deinstall application (ID 820) from APEX 4.2.1.00.08 instance, running 11g (11.1.0.7.0).
    2. Remove workspace (PVA_AH9_R12)
    3. (drop the parsing schema, xxpva, and related tablespace)
    4. (create tablespace and schema user, xxpva)
    5. Import workspace (PVA_AH9_R12) from an APEX 4.2.0.00.27 instance.
    6. Import application (ID 820) including supporting objects from an APEX 4.2.0.00.27 instance, running 11g (11.2.0.1.0).
    The next day I noticed the Developer Toolbar missing problem, and found that Instance ID is NULL.
    Also, after Exporting an application in Database format, I cannot download the file from the Export Repository. When I click the filename link, I get 'Access Denied' instead of the normal download dialog.
    Does this suggest anything else I should look into?
    Do you think I should post this as a new problem/question with more detail about the sequence of events?
    Skip

Maybe you are looking for