Unable to run existing custom page in OAF

Dear Friends ,
I have to develop one page as similar to a existing custom page.
First to run the existing custom page , I have down loaded all the files (custom folder )  from server to local directory ,and rebuilt...... still Iam not able to run the existing page .
Even I tried to run a NEW sample page (in the same directory ) , iam not able to run.
Can any one suggest in this.
let me know for any clarifications.
Thanks
Aravinda

Hello Aravinda,
First of all, in order to run the custom pages in your local machine, you need to copy the xml files and .class files in your respective folder.
Then, the .class files of EO,VO ,Controller,etc should be decompiled and .java files should be generated. These files should be in your myprojects.
This is just the abstract view of what needs to be done.
For developing the OAF pages, I reccomend you to go through this following blog. Its really nice for a newbie..
https://blogs.oracle.com/prajkumar/entry/oaf_developer_guide
Thanks,
Yadnesh
(Hit Helpful or correct if you feel so.. It encourages user to participate)

Similar Messages

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3...

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:39 PM

    Anoop
    DBC file is not having any issues. Domain name seems to be correct.
    DBC File
    #DB Settings
    #Fri Dec 19 12:54:03 EST 2008
    GUEST_USER_PWD=GUEST/ORACLE
    APPL_SERVER_ID=5D03027668AF2054E043A8920BA0205451873975540904546222829851405157
    FND_JDBC_BUFFER_DECAY_INTERVAL=300
    APPS_JDBC_DRIVER_TYPE=THIN
    FND_JDBC_BUFFER_MIN=1
    GWYUID=APPLSYSPUB/PUB
    FND_JDBC_BUFFER_MAX=5
    APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS\=(PROTOCOL\=tcp)(HOST\=<Host Name>)(PORT\=<Port #>)))(CONNECT_DATA\=(SERVICE_NAME\=<Instance Name>)))
    FND_JDBC_STMT_CACHE_SIZE=100
    TWO_TASK=<Instance Name>
    JDBC\:processEscapes=true
    FND_MAX_JDBC_CONNECTIONS=500
    FND_JDBC_USABLE_CHECK=false
    FNDNAM=APPS
    FND_JDBC_PLSQL_RESET=false
    DB_PORT=<Port #>
    FND_JDBC_CONTEXT_CHECK=true
    FND_JDBC_BUFFER_DECAY_SIZE=5
    DB_HOST=<Host Name>
    This is my DBC files. I have verified the values of <Host Name>, <Port #> and <Instance Name>. The seems to be correct. Is my error is related to the line which is highlighted ? Any inputs will be appreciated.
    Thanks.
    Edited by: user605470 on May 25, 2009 9:00 AM

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3.3.

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException     
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:27 PM

    User,
    You are not running JDEV, but OA Framework, hence you should use the OA Framework Forum to ask.
    John

  • Getting Error when run the custom page in Jdeveloper 10.1.3

    Hi Experts,
    i am getting error when i run the custom page in jdeveloper10.1.3.does anybody known the solution replay back ASAP.
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 39:
    PLS-00103: Encountered the symbol "?" when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         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.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ORA-06550: line 1, column 39:
    PLS-00103: Encountered the symbol "?" when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.sql.TRANSDUMP.getTransitions(TRANSDUMP.java:59)
         at oracle.sql.TIMEZONETAB.updateTable(TIMEZONETAB.java:456)
         at oracle.sql.TIMESTAMPLTZ.getZoneOffset(TIMESTAMPLTZ.java:1842)
         at oracle.sql.TIMESTAMPLTZ.TimeZoneAdjust(TIMESTAMPLTZ.java:1715)
         at oracle.sql.TIMESTAMP.TimeZoneConvert(TIMESTAMP.java:677)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone9i(OracleTimezone.java:317)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone(OracleTimezone.java:264)
         at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         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.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.sql.SQLException: ORA-06550: line 1, column 39:
    PLS-00103: Encountered the symbol "?" when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.sql.TRANSDUMP.getTransitions(TRANSDUMP.java:59)
         at oracle.sql.TIMEZONETAB.updateTable(TIMEZONETAB.java:456)
         at oracle.sql.TIMESTAMPLTZ.getZoneOffset(TIMESTAMPLTZ.java:1842)
         at oracle.sql.TIMESTAMPLTZ.TimeZoneAdjust(TIMESTAMPLTZ.java:1715)
         at oracle.sql.TIMESTAMP.TimeZoneConvert(TIMESTAMP.java:677)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone9i(OracleTimezone.java:317)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone(OracleTimezone.java:264)
         at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         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.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanks
    Manjunath

    Hi anil,
    please find the error details. based on the error details if i want to change anything in the code please mention it as per your instructions i will change the code.
    Error Details
    Logout
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OARawTextBean
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2850)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1838)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         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:610)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         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:595)
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OARawTextBean
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.findIndexedChild(OAPageLayoutBean.java:1392)
         at oracle.apps.per.common.webui.PerTransactionTopCOImpl.renderGlobalContext(PerTransactionTopCOImpl.java:884)
         at oracle.apps.per.common.webui.PerTransactionTopCOImpl.init(PerTransactionTopCOImpl.java:197)
         at oracle.apps.per.common.webui.PerTransactionTopCOImpl.processRequest(PerTransactionTopCOImpl.java:279)
         at oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl.processRequest(PerOAControllerImpl.java:530)
         at oracle.apps.per.wpm.objectives.webui.ObjectivesPageCO.processRequest(ObjectivesPageCO.java:69)
         at oracle.apps.per.wpm.objectives.webui.EmpFinObjectivesPageCO.processRequest(EmpFinObjectivesPageCO.java:53)
         at db.oracle.apps.per.wpm.objectives.webui.DBEmpFinObjectivesPageCO.processFormRequest(DBEmpFinObjectivesPageCO.java:31)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2846)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1838)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         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:610)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         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:595)
    java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OARawTextBean
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.findIndexedChild(OAPageLayoutBean.java:1392)
         at oracle.apps.per.common.webui.PerTransactionTopCOImpl.renderGlobalContext(PerTransactionTopCOImpl.java:884)
         at oracle.apps.per.common.webui.PerTransactionTopCOImpl.init(PerTransactionTopCOImpl.java:197)
         at oracle.apps.per.common.webui.PerTransactionTopCOImpl.processRequest(PerTransactionTopCOImpl.java:279)
         at oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl.processRequest(PerOAControllerImpl.java:530)
         at oracle.apps.per.wpm.objectives.webui.ObjectivesPageCO.processRequest(ObjectivesPageCO.java:69)
         at oracle.apps.per.wpm.objectives.webui.EmpFinObjectivesPageCO.processRequest(EmpFinObjectivesPageCO.java:53)
         at db.oracle.apps.per.wpm.objectives.webui.DBEmpFinObjectivesPageCO.processFormRequest(DBEmpFinObjectivesPageCO.java:31)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2846)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1838)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         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:610)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         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:595)
    Logout
    Copyright (c) 2006, Oracle. All rights reserved.

  • How to deploy a custom page using OAF

    Hi,
    I need to deploy a custom page using OAF
    can anyone suggest me
    Thanks in Advance

    Hi,
    you could try posting on the OA Framework forums:
    OA Framework
    Deployment is covered in the Oracle Application Framework Developer’s Guide Release 11.5.10 RUP4 which can be found on Metalink. See note 269138.1 which is the full PDF
    Brenden

  • Jdeveloper ADF 11gR1: Unable to Run a new page

    Hi,
    I have created a new page in Jdeveloper 11gR1 which uses the FOD (Fusion Order Demo) model. And it throws the following error:
    [Running application DemoApplication on Server Instance DefaultServer...]
    <Jul 20, 2009 2:13:10 PM EDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application DemoApplication is not versioned.>
    Jul 20, 2009 2:13:10 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : DemoApplication
    Jul 20, 2009 2:13:10 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    Jul 20, 2009 2:13:10 PM JpsApplicationLifecycleListener Migrate Application Credential Store
    WARNING: Overwriting credentials is allowed in application credential store migration with Weblogic server running in Development Mode and system property 'jps.app.credential.overwrite.allowed' set to true
    Jul 20, 2009 2:13:11 PM oracle.mds.internal.lcm.logging.MDSLCMLogger log
    INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=DemoApplication deregistered
    Jul 20, 2009 2:13:11 PM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
    INFO: ADFApplicationLifecycleListener.postStop
    Jul 20, 2009 2:13:11 PM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Jul 20, 2009 2:13:11 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1248113590879' for task '25'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         Truncated. see log file for complete stacktrace
    weblogic.common.ResourceException: DataSource FOD already exists
         at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:219)
         at weblogic.jdbc.common.internal.DataSourceManager.checkDataSource(DataSourceManager.java:204)
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:278)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         Truncated. see log file for complete stacktrace
    #### Cannot run application DemoApplication due to error deploying to DefaultServer.
    [Application DemoApplication stopped and undeployed from Server Instance DefaultServer]
    Any clue what might be wrong?
    I tried running the Business Application Module and it shows the data fine. A Blank page also works ok but any page that refers to the model does not work. Please help.
    Thanks

    It turns out that the issue occurred when I switched applications from FOD application to my custom App. Still need to figure out the root cause.

  • Unable to run reports demo pages

    Oracle 9iAS rel2 ( 9.0.2.0.1)
    Sun Solaris
    When I bring up the http://myserver.x.com:7779 and go to the demo pages for business intelligence and forms and then to report services. click on jsp or the web paper report, enter a valid connect string. I then get a REP-501 Unable to connect to the specified database.
    I checked the connection by tnsping and sqlplus on myserver.
    If I connect with scott/tiger@discodemo (the discovery database) then I'll get a REP-3000: Internal error starting Oracle Toolkit.
    Any ideas?

    Hi Roger - try editing your MDC\tomcat\conf\catalina.properties file and add the following line at the end:
    org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
    This tells Tomcat to be flexible with double and single quoting in the CW code and allowed me to run the reports, though I'm still not getting the data I'd expect that's probably another issue.
    Hi Ahmad, thanks for your reply. Here's my output too.

  • Getting error while running a new custom page form JDeveloper 9i

    Hi,
    I am getting below error while running the custom page from JDeveloper 9i. Please not that, I have a DBC file and in the Connection whizard, I was able to successfully create DB connection. Any help would be appreciated.
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_APPL_SERVER_ID. (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:870)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FNDSECURITY_APPL_SERVER_ID. (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:870)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_INVALID_DBC_PARAMETER. Tokens: ROUTINE = AppsConnectionManager.makeGuestConnection; FILE = C:\OA_JDeveloper\jdevhome\jdev\dbc_files\secure\olmdev01.dbc; PARAMETER = GUEST_USER_PWD; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:870)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: AOLJ_JAVA_EXCEPTION. Tokens: MESSAGE = Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:884)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.fnd.common.PoolException: Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:876)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.common.PoolException: Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
         at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:225)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1187)
         at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:946)
         at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:661)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:211)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1671)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2363)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2301)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2172)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1986)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1890)
         at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:1482)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:996)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:360)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:225)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:184)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:147)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1107)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:971)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:940)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:907)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:1025)
         at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3486)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:346)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FNDSECURITY_APPL_SERVER_ID. (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:870)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_INVALID_DBC_PARAMETER. Tokens: ROUTINE = AppsConnectionManager.makeGuestConnection; FILE = C:\OA_JDeveloper\jdevhome\jdev\dbc_files\secure\olmdev01.dbc; PARAMETER = GUEST_USER_PWD; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:870)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: AOLJ_JAVA_EXCEPTION. Tokens: MESSAGE = Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:884)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.fnd.common.PoolException: Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:876)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.common.PoolException: Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
         at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:225)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1187)
         at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:946)
         at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:661)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:211)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1671)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2363)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2301)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2172)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1986)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1890)
         at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:1482)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:996)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:360)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:225)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:184)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:147)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1107)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:971)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:940)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:907)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:1025)
         at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3486)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:346)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    Thanks
    Saurabh

    Hi saurabh
    I too faced the similiar issue
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = ak; (Could not lookup message because there is no database connection)
    RESOLUTION:- Ensure that your profile option "FND: Debug Log Enabled" is set to No both at your site level and also at your user level. To be on the safer side, set your Diagnostis profile to No too
    PS:- I didn't remove backslashes from my dbc file. But you may consider that as an option too.
    Ajay

  • Error while logging in  `ERR-10740 Unable to run custom post-auth process.'

    Hi there,
    I get the following error only with specific users; some can login, some can't. There is consistency is who receives this error.
    Error      ERR-10740 Unable to run custom post-auth process.
    the text of the "Post-Authentication Process" field in the my authentication schemes is as follows:
    begin
    bare_auth.session_init;
    end;
    The bare_auth package has no errors:
    select object_type, status
    from user_objects
    where object_name = 'BARE_AUTH';
    OBJECT_TYPE STATUS
    PACKAGE VALID
    PACKAGE BODY VALID
    2 rows selected
    The error message isn't very helpful and I can't see why Apex can't run it. Why is Apex unable to run the custom post-auth process?
    Robert

    Thats just the message when you get when there is an unhandled exception in your post-auth process. Apex wraps your code with its own and if you hit any error it just raises that error to the screen. If you were to go into your post-auth and do:
    declare
      v number;
    begin
      v:= 1/0;
    end;You can see that it raises the same error message to the screen instead of an excepted pl/sql exception about dividing by zero.

  • Problem running a jspx page on 11.1.2.4.0 on the integrated weblogic server with 11.1.1.6.0 already installed

    hi friends,
    i have installed a different version of JDev 11.1.2.4.0 as per my new job requirements and i am unable to run my .jspx page ... i already have 11.1.1.6.0 installed and running ... the following is the error that i am getting... can anyone help me with this....
    "The Server Instance cannot be started because the Integrated Weblogic domain was not built successfully".

    I hope you did not install the 11.1.2.4.0 into the same middleware_home as you isstalled the 11.1.1.6.0. In this case you need to install both again.
    If you installed the 11.1.2.4.0 into a different (empty) middleware home you should check the log file, which exact error occurred during the install. The location of the log can be found in the log window.
    Anyway you should remove the system11.1.2.x.x.x/DefaultDomain before trying again.
    Timo

  • Unable to run OAF page  in jdeveloper 10.1.3.3.0.3     since  SSO is enable

    hi ,
    I am using this patch p8431482_R12_GENERIC.zip for OAF page development.
    Previously pages in our application was working fine in jdeveloper.
    Now SSO is enabled to our Apps pages.from then onwards im unable to run pages in jdeveloper.
    can anyone please suggest me how to run SSO apps pages from jdeveloper.
    appreciate your help!
    thankQ

    Hi, I have encountered the same issue.
    Just wanted to find out if you were able to resolve it?
    Regards.

  • Urgent: Unable to run JSP pages(using JRun Custom Tags) in Weblogic 5.1

    Hi,
    I am using JRun Custom tags to bulid JSP pages.
    Could not run the jsp page on Weblogic 5.1.
    I could run the same on JRun Server but not on Weblogic?.
    Had placed JRuntags.jar in the web_inf directory.
    What/where i need to update in properties file?.
    Please reply..
    Best Wishes.
    Satish k.Yalamaddi.

    javax.servlet.ServletException: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
    This is your problem either your tomcat or eclipse is pointing to a wrong jre
    here the problem is you are trying to run a code that was compiled using j2sdk1.5 in j2sdk1.4

  • SSO Validation from OAF custom page.

    Hi All,
    We have 11.5.10Cu2 configured with Single Sign On.
    Both are running in different servers.
    I have a custom OAF Page(Approval Page) from that page I want to validate
    a Single Sign on user id.
    ie, I don't want to set any session value or cookies just want to validate a SSO username from my OAF Controller or from my AMImpl.
    Like giving a request to SSO Server with username/password and get true or false according to the validation and return to my custom page.
    Thanks.
    With Regards,
    Kali.
    OSSI.

    Yes Tapash,
    Here is the sample code,
    Spec:
    CREATE OR REPLACE PACKAGE APPS.xxpo_oa_pdt_ordering_pkg AS
    PROCEDURE authenticate_user
    (p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    ,p_validation_type IN VARCHAR2 DEFAULT 'SSO'-- FND or SSO
    ,p_check_approver IN VARCHAR2 DEFAULT 'Y'
    ,x_return_status IN OUT NOCOPY VARCHAR2
    ,x_msg_data IN OUT NOCOPY VARCHAR2
    ,x_msg_count IN OUT NOCOPY NUMBER
    Body:
    PROCEDURE authenticate_user
    (p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    ,p_validation_type IN VARCHAR2 DEFAULT 'SSO' -- FND or SSO
    ,p_check_approver IN VARCHAR2 DEFAULT 'Y'
    ,x_return_status IN OUT NOCOPY VARCHAR2
    ,x_msg_data IN OUT NOCOPY VARCHAR2
    ,x_msg_count IN OUT NOCOPY NUMBER
    AS
    l_return PLS_INTEGER;
    ldap_host VARCHAR2(256);
    ldap_port PLS_INTEGER;
    ldap_user VARCHAR2(256);
    ldap_passwd VARCHAR2(256);
    ldap_base VARCHAR2(256);
    retval PLS_INTEGER;
    my_session DBMS_LDAP.SESSION;
    subscriber_handle DBMS_LDAP_UTL.HANDLE;
    sub_type PLS_INTEGER;
    subscriber_id VARCHAR2(2000);
    my_pset_coll DBMS_LDAP_UTL.PROPERTY_SET_COLLECTION;
    my_property_names DBMS_LDAP.STRING_COLLECTION;
    my_property_values DBMS_LDAP.STRING_COLLECTION;
    user_handle DBMS_LDAP_UTL.HANDLE;
    user_id VARCHAR2(2000);
    user_type PLS_INTEGER;
    user_password VARCHAR2(2000);
    my_mod_pset DBMS_LDAP_UTL.MOD_PROPERTY_SET;
    my_attrs DBMS_LDAP.STRING_COLLECTION;
    user_dn VARCHAR2(256);
    BEGIN
    write_to_log(FND_LOG.LEVEL_PROCEDURE,'Start of authenticate_user');
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Parameters: p_username='||p_username||' p_validation_type='||p_validation_type||' p_check_approver= '||p_check_approver);
    x_return_status := FND_API.G_RET_STS_SUCCESS;
    x_msg_data := NULL;
    x_msg_count:= NULL;
    IF p_check_approver = 'Y' THEN
    IF xxpo_oa_pdt_util_pkg.is_valid_approver(xxpo_oa_pdt_util_pkg.get_fnd_user_id(p_username)) <> 'Y' THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Error: User is not a valid approver.');
    x_return_status := FND_API.G_RET_STS_ERROR;
    x_msg_data := 'XXPO_OA_PDT_INVALID_APPR';
    x_msg_count:= 1;
    RAISE FND_API.G_EXC_ERROR;
    END IF;
    END IF;
    IF p_validation_type = 'FND' THEN
    l_return := FND_SSO.authenticate_user
    (p_user => p_username
    ,p_password => p_password
    IF l_return <> 0 THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Error: Invalid FND user name and password.');
    x_return_status := FND_API.G_RET_STS_ERROR;
    x_msg_data := 'XXPO_OA_PDT_INVALID_USER';
    x_msg_count:= 1;
    RAISE FND_API.G_EXC_ERROR;
    END IF;
    ELSE
    --verify that the XXPO%LDAP% profiles are set
    IF FND_PROFILE.VALUE('XXPO_OA_PDT_LDAP_HOST') IS NULL OR
    FND_PROFILE.VALUE('XXPO_OA_PDT_LDAP_PORT') IS NULL OR
    FND_PROFILE.VALUE('XXPO_OA_PDT_LDAP_ADMIN_USER') IS NULL OR
    FND_PROFILE.VALUE('XXPO_OA_PDT_LDAP_ADMIN_PWD') IS NULL OR
    FND_PROFILE.VALUE('XXPO_OA_PDT_LDAP_BASE') IS NULL OR
    FND_PROFILE.VALUE('XXPO_OA_PDT_LDAP_USER_TYPE') IS NULL THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Error: One or more of XXPO%LDAP% Profiles are not set.');
    x_msg_data := 'XXPO_OA_PDT_LDAP_PROF_MISSING';
    x_msg_count := 1;
    RAISE FND_API.G_EXC_ERROR;
    END IF;
    -- Please customize the following variables as needed
    ldap_user := gc_ldap_user;
    ldap_passwd := gc_ldap_passwd;
    sub_type := DBMS_LDAP_UTL.TYPE_DEFAULT;
    subscriber_id := NULL;
    user_type := gc_ldap_user_type;
    user_id := p_username;
    user_password := p_password;
    -- Choosing exceptions to be raised by DBMS_LDAP library.
    DBMS_LDAP.USE_EXCEPTION := TRUE;
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Input Parameters: ');
    write_to_log(FND_LOG.LEVEL_STATEMENT,'LDAP HOST: ' || gc_ldap_host );
    write_to_log(FND_LOG.LEVEL_STATEMENT,'LDAP PORT: ' || gc_ldap_port);
    write_to_log(FND_LOG.LEVEL_STATEMENT,'LDAP BIND USER: ' || ldap_user);
    write_to_log(FND_LOG.LEVEL_STATEMENT,'USER ID : ' || user_id);
    write_to_log(FND_LOG.LEVEL_STATEMENT,'----------------------------------');
    -- Connect to the LDAP server
    -- and obtain and ld session.
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Connecting to ' || gc_ldap_host || ' ...');
    my_session := DBMS_LDAP.init(gc_ldap_host, gc_ldap_port);
    write_to_log(FND_LOG.LEVEL_STATEMENT,': Connected.');
    -- Bind to the directory
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Binding to directory as ' || ldap_user || ' ... ');
    retval := DBMS_LDAP.simple_bind_s(my_session, ldap_user, ldap_passwd);
    write_to_log(FND_LOG.LEVEL_STATEMENT,': Successful.');
    -- Create Subscriber Handle
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Creating Subscriber Handle ... ');
    retval := DBMS_LDAP_UTL.create_subscriber_handle(subscriber_handle,
    sub_type,
    subscriber_id);
    IF retval != DBMS_LDAP_UTL.SUCCESS THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Error: create_subscriber_handle returns : ' || TO_CHAR(retval));
    x_msg_data := 'XXPO_OA_PDT_SUBS_HANDLE_ERROR';
    x_msg_count:= 1;
    RAISE FND_API.G_EXC_ERROR;
    END IF;
    write_to_log(FND_LOG.LEVEL_STATEMENT,': Successful.');
    -- Create User Handle
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Creating user handle for ' || user_id || ' ... ');
    retval := DBMS_LDAP_UTL.create_user_handle(user_handle,user_type,user_id);
    IF retval != DBMS_LDAP_UTL.SUCCESS THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Error: create_user_handle returns : ' || TO_CHAR(retval));
    x_msg_data := 'XXPO_OA_PDT_USER_HANDLE_ERROR';
    x_msg_count:= 1;
    RAISE FND_API.G_EXC_ERROR;
    END IF;
    write_to_log(FND_LOG.LEVEL_STATEMENT,': Successful.');
    -- Set user handle properties
    -- (link subscriber to user )
    retval := DBMS_LDAP_UTL.set_user_handle_properties(user_handle,
    DBMS_LDAP_UTL.SUBSCRIBER_HANDLE,
    subscriber_handle);
    IF retval != DBMS_LDAP_UTL.SUCCESS THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Error: set_user_handle_properties returns : ' || TO_CHAR(retval));
    x_msg_data := 'XXPO_OA_PDT_USER_SUBS_ERROR';
    x_msg_count:= 1;
    RAISE FND_API.G_EXC_ERROR;
    END IF;
    -- Authenticate User
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Authenticating user ' || user_id || ' ... ');
    retval := DBMS_LDAP_UTL.authenticate_user(my_session,
    user_handle,
    DBMS_LDAP_UTL.AUTH_SIMPLE,
    user_password,
    NULL);
    IF retval != DBMS_LDAP_UTL.SUCCESS THEN
    -- Handle Errors
    write_to_log(FND_LOG.LEVEL_ERROR,'Authentification error : ' || TO_CHAR(retval));
    x_msg_data := 'XXPO_OA_PDT_INVALID_USER';
    x_msg_count:= 1;
    -- below only for debugging purpose
    IF retval = -5 THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'User unknown');
    ELSIF retval = -16 THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Incorrect password');
    ELSIF retval = DBMS_LDAP_UTL.PARAM_ERROR THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Invalid input parameters.');
    ELSIF retval = DBMS_LDAP_UTL.GENERAL_ERROR THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Authentication failed.');
    ELSIF retval = DBMS_LDAP_UTL.NO_SUCH_USER THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'USER doesn''t exist.');
    ELSIF retval = DBMS_LDAP_UTL.MULTIPLE_USER_ENTRIES THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Multiple NUMBER OF USER DN entries exist IN the DIRECTORY FOR the given USER.');
    ELSIF retval = DBMS_LDAP_UTL.INVALID_SUBSCRIBER_ORCL_CTX THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Invalid Subscriber Oracle Context.');
    ELSIF retval = DBMS_LDAP_UTL.NO_SUCH_SUBSCRIBER THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Subscriber doesn''t exist.');
    ELSIF retval = DBMS_LDAP_UTL.MULTIPLE_SUBSCRIBER_ENTRIES THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Multiple NUMBER OF subscriber DN entries exist IN the DIRECTORY FOR the given subscriber.');
    ELSIF retval = DBMS_LDAP_UTL.INVALID_ROOT_ORCL_CTX THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Invalid Root Oracle Context.');
    ELSIF retval = DBMS_LDAP_UTL.AUTH_PASSWD_CHANGE_WARN THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'PASSWORD should be changed.');
    ELSIF retval = DBMS_LDAP_UTL.ACCT_TOTALLY_LOCKED_EXCEPTION THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'USER account IS locked.');
    ELSIF retval = DBMS_LDAP_UTL.PWD_EXPIRED_EXCEPTION THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'USER PASSWORD has expired.');
    ELSIF retval = DBMS_LDAP_UTL.PWD_GRACELOGIN_WARN THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Grace login FOR USER.');
    ELSE
    write_to_log(FND_LOG.LEVEL_ERROR,'Authentification error : ' || TO_CHAR(retval));
    END IF ;
    RAISE FND_API.G_EXC_ERROR;
    ELSE
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Authentication: Successful.');
    END IF;
    -- Free Mod Propertyset
    DBMS_LDAP_UTL.free_mod_propertyset(my_mod_pset);
    -- Free handles
    DBMS_LDAP_UTL.free_handle(subscriber_handle);
    DBMS_LDAP_UTL.free_handle(user_handle);
    -- unbind from the directory
    write_to_log(FND_LOG.LEVEL_STATEMENT,'Unbinding from directory ... ');
    retval := DBMS_LDAP.unbind_s(my_session);
    IF retval != DBMS_LDAP_UTL.SUCCESS THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'unbind_s returns : ' || TO_CHAR(retval));
    x_msg_data := 'XXPO_OA_PDT_UNBIND_ERROR';
    x_msg_count:= 1;
    ELSE
    write_to_log(FND_LOG.LEVEL_STATEMENT,': Successful.');
    END IF;
    write_to_log(FND_LOG.LEVEL_STATEMENT,'OK' ) ;
    END IF;
    write_to_log(FND_LOG.LEVEL_PROCEDURE,'End of authenticate_user');
    EXCEPTION
    WHEN FND_API.G_EXC_ERROR THEN
    x_return_status := FND_API.G_RET_STS_ERROR;
    --message already set
    WHEN OTHERS THEN
    write_to_log(FND_LOG.LEVEL_ERROR,'Error code : ' || TO_CHAR(SQLCODE));
    write_to_log(FND_LOG.LEVEL_ERROR,'Error Message : ' || SQLERRM);
    write_to_log(FND_LOG.LEVEL_ERROR,'Exception encountered .. returning');
    x_return_status := FND_API.G_RET_STS_ERROR;
    x_msg_data := 'XXPO_OA_PDT_INVALID_USER';
    x_msg_count:= 1;
    END authenticate_user;
    Hope this help others.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Unable to run my pages from jdeveloper

    Hi all,
    From past 2 days am unable to run my OAF pages, actually what i did is i deleted the environment variable and again created a new one. I dont know why am unable to run the pages... The Error Which it is throwing is
    "Unable to run the page DiagnosticsPG.xml. OAProject "C:\Jdeveloper10g\jdevhome\jdev\myprojects\OAProject.jpr" must reside in the "C:\Jdeveloper10g\jdevbin\jdev\myprojects" directory in order to run successfully." To fix the problem, quit jdeveloper and then either relocate all the associate project files, or correct the JDEV_USER_HOME enviorment variable on your computer "
    Any one who have an idea can please suggest me on this
    Thanks in Advance

    Hi Gaurav..
    I got some message(Migrate User Settings) when i run the jdeveloper for the first time after installation which says " The User Settings found in the user home directory were generated by a different installation of JDeveloper than what is currently running. To avoid complications , some settings will be restored to their defaults. Do u wish to continue?" When i say yes.. am facing the problem which i mentioned above i.e it is taking directory home as C:\Jdeveloper9i\jdevbin\jdev.... Yes am setting the JDEV_USER_HOME to c:\JDeveloper9i\jdevhome\jdev... and then trying to open that using a C:\JDeveloper9i\jdevbin\jdev\bin\jdevw icon
    Thanks

  • How to call a jsp page from oaf and run in jDeveloper

    Hi all,
    I created sample jsp and then tried.
    String temp = "sample.jsp?";
    pageContext.setForwardURL(temp,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    It worked.
    But when i tried with one of the custom page that i downloaded from server it is giving error.
    But now i need to call that page.
    Its Code is given on below link:
    Re: how to call a jsp page from oaf
    Please help me to do this.
    Thanks in advance.
    Regards,
    Raj

    Raj,
    1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
    2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
    (i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
    3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
    4. There is no problem in the way you are calling jsp page from OAF page.
    regards,
    Anand

Maybe you are looking for

  • Query For OutGoing Excise Invoice

    Hi Experts, I need to run areport for  OutGoingExcise Invoice. So pls give me a query to capture all the taxes related to that invoices like BED,EDCess,HECess. and VAT. Thanx in Advance, Regards, Vamsi.

  • What are best free tools for a Oracle development DBA?

    Hi, I have been production dba for years. I am familiar with full cycle of database installation, configure,backup recovery, etc. Now my role is going to change to development dba soon. I have no problem to create instances. Then to the data modeling

  • PCI-6220

    Bonjour, Je voudrais savoir s'il est possible d'utiliser une horloge externe (external clock) pour faire l'acquisition sur les voies d'entrées analogiques avec ce type de produit. Mon but : J'ai un codeur sur une machine et je voudrait qu'une pulse d

  • Adobe flash player 11 local storage bug

    I have adobe flash player 11.0.1.152 installed on Windows 7 x64 ENT The bug: Flash player allow / deny button is unclickable thus video cannot be played. this happens when i check ask me before allowing new sites to save information on this computer

  • HELP SEARCH

    Hi! The problem is: I've created a HELP SEARCH for a field in a dynpro based on the T5ITQN, but when a user click on the matchcode, he must see only certain records of the table T5ITQN (this depends only by the "type" of user) and not all the records