Problem running Hello World tutorial from Embedded OC4J Server in JDev

Hi All,
I am trying to setup my JDeveloper 9i to run the toolbox tutorial projects. I setup the JDEV_USER_HOME, .dbc file, database connection and added the proper responsibilities for the user used in runtime connection, and am not able to successfully run the Hello World page. I get the following error after I click on the link in the test_fwktutorial.jsp. Can anyone please help me out?
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = createSession(int, String)(userid=6','0CB08790D63136AEE044080020884BA737960692413709198236595623945829'); REASON = java.sql.SQLException: ORA-06550: line 1, column 49:
PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
ORA-06550: line 1, column 43:
PL/SQL: Statement ignored
; ERRNO = 6550;
     at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:974)
     at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
     at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
     at OA.jspService(OA.jsp:33)
     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:803)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 49:
PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
ORA-06550: line 1, column 43:
PL/SQL: Statement ignored
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
     at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
     at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
     at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
     at OA.jspService(OA.jsp:33)
     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:803)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-06550: line 1, column 49:
PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
ORA-06550: line 1, column 43:
PL/SQL: Statement ignored
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
     at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
     at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
     at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
     at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
     at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
     at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
     at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2698)
     at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2615)
     at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2561)
     at oracle.apps.fnd.common.WebAppsContext.createAnonymousSession(WebAppsContext.java:4768)
     at oracle.apps.fnd.common.WebRequestUtil.setGuestSession(WebRequestUtil.java:1246)
     at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4708)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
     at OA.jspService(OA.jsp:33)
     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:803)
     at java.lang.Thread.run(Thread.java:534)
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 49:
PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
ORA-06550: line 1, column 43:
PL/SQL: Statement ignored
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
     at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
     at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
     at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
     at OA.jspService(OA.jsp:33)
     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:803)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-06550: line 1, column 49:
PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
ORA-06550: line 1, column 43:
PL/SQL: Statement ignored
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
     at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
     at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
     at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
     at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
     at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
     at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
     at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2698)
     at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2615)
     at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2561)
     at oracle.apps.fnd.common.WebAppsContext.createAnonymousSession(WebAppsContext.java:4768)
     at oracle.apps.fnd.common.WebRequestUtil.setGuestSession(WebRequestUtil.java:1246)
     at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4708)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
     at OA.jspService(OA.jsp:33)
     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:803)
     at java.lang.Thread.run(Thread.java:534)
Thank you,
Kitty

Please note, you will not get ORA-xxx error if database connection is not established.
You might be using either wrong dbc file(may be dbc of other instance) or wrong jdeveloper version.
To find out correct jdeveloper version, refer the following link.
http://prasanna-adf.blogspot.com/2008/11/new-to-oaf.html
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • HELP!!! Failed to start Embedded OC4J Server in JDev

    Hi,
    I have installed Oracle JDeveloper 10.1.2.1.0 and have tried to run simple test(for example index.jsp - Welcome) but I get error. - Failed to start Embedded OC4J Server in JDev
    OC4J with simple test have started well in other computers. This situation first time for me.
    Why OC4J can't start?
    This is OC4J log mess
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config>
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper\j2ee\home\oc4j.jar;C:\JDeveloper\jdev\lib\jdev-oc4j.jar -Dhttp.proxyHost=coates-proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=coatesnet*|phoenix*|ev_evs1*|ev*|evs*|dr002*|dr001*|raptor*|cweb01*|cweb03*|cweb02*|orangepages*|unity*|dw01*|intra-apps*|intranet*|prod02*|prod01*|dev3*|dev2*|dev1*|app03*|app02*|app01*|localhost|127.0.0.1 -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Process exited with exit code -1073741819.
    Help me please!

    Did the setup for JDEV_USER_HOME with the proper path (C:\OAFRAME\jdevhome\jdev) ,
    Keep the dbc file in the directory and setup the front end as well as back end login details in cluding responsibility details.

  • Error while running Hello world from Tutorial

    Hi ,
    I am facing a strange problem while running Hello world from tutorial. The page expires after running for half an hour and the log in the Jdeveloper is
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdev\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\Jdev\jdevbin\j2ee\home\oc4j.jar;C:\Jdev\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\Jdev\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\Jdev\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\Jdev\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 5782 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    Tutalii: C:\Jdev\jdevbin\jdev\appslibrt\iasjoc.zip archive
    [Feb 27, 2008 4:31:57 PM IST]:1204110117921:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.DebugEventManager.handlerException]:java.io.FileNotFoundException: C:\u01\VIS\FND.log (The system cannot find the path specified)
         at java.io.FileOutputStream.openAppend(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
         at oracle.apps.fnd.common.logging.FileHandleManager.getFileInternal(FileHandleManager.java:99)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:99)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:79)
         at oracle.apps.fnd.common.logging.DebugEventManager.registerHandlers(DebugEventManager.java:1198)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:949)
         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.jtf.base.resources.Architecture.createWebAppsContext(Architecture.java:429)
         at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:422)
         at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:330)
         at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:90)
         at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:34)
         at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
         at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:595)
         at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:364)
         at oracle.apps.jtf.cache.CacheAdmin.isComponentRegistered(CacheAdmin.java:314)
         at oracle.apps.fnd.cache.Cache.registerCacheIfNeeded(Cache.java:119)
         at oracle.apps.fnd.cache.Cache.initCache(Cache.java:110)
         at oracle.apps.fnd.cache.Cache.<init>(Cache.java:88)
         at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:87)
         at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:280)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:482)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:113)
         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.AppsContext.instantiateProfileStore(AppsContext.java:3834)
         at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:942)
         at oracle.apps.fnd.common.Context.setProfileStore(Context.java:825)
         at oracle.apps.fnd.common.Context.setProfileStore(Context.java:807)
         at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3484)
         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 test_fwktutorial._jspService(test_fwktutorial.jsp:45)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         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)
    [Feb 27, 2008 4:31:57 PM IST]:1204110117890:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.FileHandler.publish]:Please check File Permission/Disk Space for: /u01/VIS/FND.log, defaulting Logging to STDERR
    Can any one help!!
    Thanks,
    Sid..

    Sid,
    1) Check your using the correct version of Jdev with your instance.
    Metalink note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
    Will give the mappings.
    And check the Jdev setting
    330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
    2) Instead of using the tutorial, create a sample page, Am and run the page.
    Check what error you are getting.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Unable to run Hello World

    Hi,
    I am new to OA Framework and trying to learn this thing.
    I have developed Hello World Tutorial but it is giving following error on execution;
    Exception Details.
    oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/ak/hello/webui/HelloWorldPG).
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:739)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         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:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Non supported character set: oracle-character-set-560
         at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         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:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Non supported character set: oracle-character-set-560
         at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         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:803)
         at java.lang.Thread.run(Thread.java:534)
    Any help to resolve this issue is highly appreciated.
    Regards,
    Syed Ahmed

    Following is OC4J Server output;
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\3.0Documents\OAFramework\JD\jdevbin\jdk\bin\javaw.exe -client -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=2750 -classpath D:\3.0Documents\OAFramework\JD\jdevbin\j2ee\home\oc4j.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\ojdbc14.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Dhttp.proxyHost=proxy.stc.com.sa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.stc.corp|*.stc.com.sa|172.*.*.*|10.*.*.* -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config D:\3.0Documents\OAFramework\JD\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Debugger connected to local process.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 21328 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    TIME: runregion: initialization [16 ms]
    Tutalii: D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\iasjoc.zip archive
    ICX DIAGNOSTIC: FND_TOP = D:\3.0Documents\OAFramework\JD\jdevhome\jdev\dbc_files\
    ICX DIAGNOSTIC: application_id = 601
    ICX DIAGNOSTIC: responsibility_id = 24742
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: mEncryptedSessionID = keF3uZCBcUtLKe4pLhvxyIeS:S
    ICX DIAGNOSTIC: mSessionID = 1825688593
    TIME: runregion: session and transaction creation [6110 ms]
    ICX DIAGNOSTIC: mTransactionID = 683903617
    JRAD_PERF : /oracle/apps/ak/hello/webui/HelloWorldPG - processRequest : 594ms

  • While running hello world program for 12.1.3, getting error

    We followed the instruction given in dev tutorial and set the 12.1.3 jdev.
    When try to run the “Hello World” program, got error
    “You have insufficient privilege”
    Solution:
    I changed the setting as below and it worked.
    Jdeveloper -> Tools -> Embedded OC4J server setting -> start up
    Choose option: Default IP address
    And issue got resolved.
    I want to share this with everyone.

    We followed the instruction given in dev tutorial and set the 12.1.3 jdev.
    When try to run the “Hello World” program, got error
    “You have insufficient privilege”
    Solution:
    I changed the setting as below and it worked.
    Jdeveloper -> Tools -> Embedded OC4J server setting -> start up
    Choose option: Default IP address
    And issue got resolved.
    I want to share this with everyone.

  • Error while running Hello World Page

    Hi
    I am getting the following error when I run the Hello World page from the Tutorial.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_APPL_LOGIN_FAILED.
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_INVALID_DBC_PARAMETER. Tokens: ROUTINE = AppsConnectionManager.makeGuestConnection; FILE = D:\Jdeveloper\jdevhome\jdev\dbc_files\secure\test.dbc; PARAMETER = GUEST_USER_PWD;
    ## 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_LOGIN_FAILED;
    ## 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_LOGIN_FAILED;
    The DBC file is in place. After checking various posts I have confirmed details in the DBC file and they seem to be right.
    Could someone please help me out here.
    Regards
    Deepak

    http://oracleanil.blogspot.com/2010/11/how-to-test-or-create-dbc-file-on.html
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • Hello world tutorial

    is there any simple tutorials for starting j2 me like the classic helloworld.
    ones that explain the code that is. ive looked at 2 for getting started on this site but they dont really explain the code, more about getting the examples build and running.

    package greeting;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class HelloWorld extends MIDlet implements CommandListener
    private Display display ;
    private TextBox textBox ;
    private Command quitCommand;
    public void startApp()
    display = Display.getDisplay(this);
    quitCommand = new Command("Quit", Command.SCREEN, 1);
    textBox = new TextBox("Hello World", "My first MIDlet", 40, 0);
    textBox .addCommand(quitCommand);
    textBox .setCommandListener(this);
    display .setCurrent(textBox );
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    public void commandAction(Command choice, Displayable displayable)
    if (choice == quitCommand)
    destroyApp(false);
    notifyDestroyed();
    Compiling Hello World
    javac -d d:\j2me\tmp_classes -target 1.1 -bootclasspath
    d:\j2me\midp1.0.3fcs\classes HelloWorld.java
    Running Hello World
    midp -classpath d:\j2me\classes greeting.HelloWorld
    I have a very good documentation about this, if you want them.... just let me know.

  • ITS.ear Wireless -- how to remove appl from embedded OC4J config JDev b4157

    The embedded container configuration currently includes ITS.ear; I'd like to remove this from the default applications started by embedded container.
    The JDev (10.1.3.41.57) Tools .. Embedded OC4J Server Preferences .. Applications list includes ITS. The input fields and buttons to change or Delete this web application are greyed out. Removing the <application> entry from the server.xml file in c:/JDev_4157/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/ only removes ITS application temporarily -- it reappeared.
    I've not been able to locate a configuration that causes this to be added to the default datatags and current-workspace-app applications.
    Thanks.

    Thanks for reading and checking your installation.
    Don't believe it's automatic in the standard install; I only noticed it recently but I have no idea how it got activated or how to unactivate it. (You can find the EAR file in <your-JDEV-root>/wirelss/ITS.ear.) Is there a binary JDev config file storing a preference to include this in the IDE and/or container?
    The <application> tag appeared in my \JDev_4157\jdev\system\oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml unexpectedly but its tag's path was incorrect and so it would not auto-deploy during container start-up. When I copied the ear file from the wireless directory to the embedded-oc4j/applications folder it deployed next time I started the embedded container.
    Even though I removed tags in server.xml and the default-web-site.xml in the container's config folder, and deleted the ear file and the deployed subdirectories, it continued to re-appear. Possibly I didn't always get all of these pieces. It doesn't alway reappear on the first restart; sometimes not until after the 3rd restart. That doesn't make sense to me but I haven't discerned the pattern for when it re-creates itself.

  • Running hello world

    Hello,
    I've installed java card, and i'd like to know how do i run Hello World?
    I have the .cap file but how do i get it to print the "Hello World" string in my console?
    Thanks,
    tikalius

    Did you read the Java Card Kit docu?

  • How to Deploy HTML file in embedded OC4J Server

    Hi,
    I have a problem with deploying the HTML file.
    How to deploy a HTML file in embedded oc4j server.
    I'm running this in a Standalone and JDeveloper9i version.
    I don't know where to deploy and how to deploy ?
    Thanks
    James

    Hi Deepak,
    I tryed that but i was NOT successful.
    I'm getting 404 error page could not find in the Server.
    Any other idea ?

  • Embeded Oc4j server not starting up in Jdeveloper 10g 10.1.3.0.3

    hi,
    I have created simle hello.jsp , but i try to run it with the embedded OC4j server i get the following error .
    C:\jdk1.4\bin\javaw.exe -client -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=172.16.233.34 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=local.|localhost|127.0.0.1 -Dhttps.proxyHost=172.16.233.34 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=local.|localhost|127.0.0.1 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Sep 30, 2005 6:23:17 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:23 Application: system is in state FAILED
    05/09/30 18:23:23 Error initializing server: Error initializing ejb-modules: Error loading module file:/C:/jdev/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:24 Fatal error: server exiting
    Process exited with exit code 1.
    Can anyone help

    The 10.1.3 version of JDeveloper (and the embedded OC4J) requires JDK 5.0 to run.
    You can however set your project to work with JDK 1.4 in the project properties.

  • JDBC datasoure that works for embedded OC4J server of JDeveloper 10.1.3.4

    Hi all,
    I have this in the Application Module as JDBC datasource: java:comp/env/jdbc/DBCON
    That works fine if I deploy the application on Oracle application- or tomcat-server.
    On the connections tab in JDeveloper I have made a database connection with the name DBCON.
    But when I run the application from Jdeveloper with the embedded OC4J server I get this error:
    Unable to lookup Data Source at context java:comp/env/jdbc/DBCON
    What do I do wrong?
    Thanks in advance.

    Hi,
    Edit the <application_name>-data-sources.xml file under the root directory of your application, and setup a managed data source and connection pool with the data source having the correct jndi name, eg. jdbc/DBCON
    You can either do this manually (which I find easier), or use the tool within JDev
    Tools - > Embedded OC4J Preferences -> Current Workspace -> Data Sources -> New
    -chris

  • Embedded OC4J Server could not be started up

    hi ,
    we are using java web services(JAX-RAC) in jdevloper for oaf page , for getting data from another application, if i run page from jdevlope with web services it is showing "failed to start embbed oc4j server". if i run without web services it is not showing any error.
    please hlep me, advanced thanks.
    regards,
    kishore
    Edited by: Saurabh on Nov 4, 2011 7:00 AM

    When I try to open the Tools/Embedded OC4J Server Preferences...
    the following error stack trace pops up:
    java.lang.NullPointerException
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:85)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.transmogrifyConfigFiles(Oc4jWorkspaceConfig.java:224)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.configureAll(Oc4jWorkspaceConfig.java:112)
         at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:50)
         at oracle.ide.CommandProcessor.invokeImpl(CommandProcessor.java:391)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:343)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:110)
         at oracle.ide.IdeAction.performAction(IdeAction.java:665)
         at oracle.ide.IdeAction$1.run(IdeAction.java:857)
         at java.awt.event.InvocationEvent.dispatch InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Any other way of checking the configuration? Corrupt files somewhere?
    Thanks,
    Gonzalo

  • How to set up data source for JDeveloper's embedded OC4J Server?

    Help needed. I Created a BMP EJB and tried to test
    it with JDeveloper's( version 9.0.3) embedded
    OC4J server. For JDBC, I created a data source
    in data-source.xml lacated in JdeveloperHome\j2ee\home\config. However,
    when I run the test client. I got the error
    from JNDI lookup:
    java.rmi.RemoteException: jdbc/entdatasource not found
    Could anybody with similar experience help?
    Thank you in advance.
    -John Wang

    Try making your changes in the data-source.xml located @ JDev_root\jdev\system9.0.3.1035\oc4j-config.
    You can tell that this is the one to be modified by watching the log when you start the OC4J server. Look for the line that says C:\JDEV\JDK\bin\javaw.exe -ojvm -classpath . . .
    the -config option will point to where the server.xml is used from, the same dir should be where you get your data-source.xml

  • BUG: JDev 10.1.3.0.4 Embedded OC4J Server Preferences

    If we specify in the Embedded OC4J Server Preferences->startup a OC4J installation to use for running and debbuging, click ok, and then delete the choosen directory and try again to access the Embedded OC4J Server Preferences, an error occurs. Appears an dialog and we can not alter this anymore.

    Hi,
    not sure on the limitation of dbms_output.put, but 4000 characters happens to be the maximum size of a varchar2 column....
    I normally use dbms_output.put_line for debugging PL/SQL.
    You could also post in the database forum if you have no luck here.
    regards,
    Brenden

Maybe you are looking for