Create Validation in Application express 3.0

Hi all,
I am trying to create a validation for a text field but having some issues. Basically what I want to do, in a customer form when all the information filled up and click on create. it will check the customer identification number in the database and returned with error if the identity is exist. Identification number is a random generated number.
I am selecting 'EXIST' in the type field and typed the following in expresson 1 field -
select cust_num from customers
but seems it is not passing the validation.
ANY IDEA PLEASE !!!

guessing that there will be a good reason for generating a random number and then checking if it exists (with an error message), let's have a look at your problem.
You probably want to use a query like
select 'x' from customers where cust_num = :P1_CUST_NUM
where P1_CUST_NUM is the name of the item you wish to validate.

Similar Messages

  • Creating or copying application express users from development environment

    Hello,
    Hope someone can answer my question soon.
    I am kind of new to the application express development and to Oracle database too ( about 8 month). I developed an application on development environment at my work. Now it's time to deploy this application to test and production environment. This application is secured so I had an ACL page were I setup 2 users that they can view and edit data, and I setup myself as an admin for this application.
    I succsessfully deployed the application on the test and production environment but I cannot login and not other users. How do I setup or to copy same users from Development to production environment.
    I am using apex 3.0.1 and database 10g.
    on Development I have workspace called development and the schema is DEV. For production I have a workspace called production and the schema called prod. So I am dealing with different 2 workspaces and 2 different schemas but one database instance.
    Thank you in advance for your assistance.
    Kind Regards,
    Sofia.
    Edited by: user633945 on Oct 15, 2008 3:36 PM

    Hello,
    APEX has a utility to export the workspace and the users. In the application, go to export/import --> export --> workspace users (this is not the default view, and you’ll need to choose it). This will generate a SQL script you can import into the source instance.
    In general, it’s best to keep the same environment in the development (test) and production instances – The same workspace ID, name, and application ID. These are pre-condition to be allowed to import single page/components between the instances. Otherwise you will have to import the entire application, each time you need to update the application.
    In case you can’t maintain the same environment in your instances, you’ll need to manually edit the exported script. If the workspace already exist, you need to delete the ‘Workspace’ section. Then you’ll need to edit the user details, setting the default schema correctly.
    Hope this helps,
    Arie.

  • How do I create "Oracle Application Express Adminstrator" in APEX 3.2.1?

    Hello,
    Quite the newbie so I appreciate any assistance with this.
    How do create "Oracle Application Express Adminstrator" in APEX 3.2.1? I am not talking about a workspace adminstrator but an Entire APEX instance administrator or "superuser"?
    I log into APEX_ADMIN as ADMIN and understand how to create a new user. But how do I grant the new user DBA or "super user" privlidges? It was easy to do when I first installed XE, I would just "check" the "DBA" when I created the user. But when I upgraded to APEX 3.2.1 the function does not seem to be there?
    Thank you for any help you can provide!

    Hi,
    I think you can not grant DBA role from Apex anymore.
    You need connect to database e.g. with SYS user and grant that role.
    http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html
    Br, Jari

  • How to create form in oracle application express

    hi friends,
    i am a new person in oracle application express software.
    i just want to ask that can we use oracle application express as a front end for oracle 10g database???
    if yes then can any one tell me that how to create form in it?
    is there any connection string to connect that form with oracle 10g.
    Please do me reply soon thanks

    To this forum... please:
    Oracle Application Express (APEX)
    Greetings

  • Error ORA-20001 when Creating an Application Express Workspcce

    I have a 11.1.0.6.0 Enterprise Edition database running on a Fedora 10 box that was created using dbca. At the time, I did not select Oracle Application Express for installation. However, I can configure APEX and start it with URL http://<host>:8080/apex/apex_admin and log in as ADMIN. Looks like I'm ready to go... Database accounts APEX_PUBLIC_USER, FLOWS_030000 and FLOWS_FILES existed at the time I configured APEX.
    Following the 2 Day + Application Express Developer's Guide, I get error "ORA-20001: Unable to create user. ORA-01935: missing user or role name" when I attempt to create a workspace for the demo application. In an attempt to resolve this, I've run dbca again to install Application Express in the database, and I then get "ORA-04063: package body "FLOWS_030000.WWV_FLOWS" has errors: ORA-06508: PL/SQL: could not find program unit being called: "FLOWS_03000.WWV_FLOW" ORA-06512: at line 2". DBA_OBJECTS reports table WWV_FLOWS owned by this user, but no package body of the same name.
    Can anyone advise what I need to do to resolve the ORA-20001 error when I attempt to create a APEX workspace, or resolve the ORA-04063 error when I attempt to use dbca to install APEX in the database?
    TIA
    Jon

    ..and show me the results, I might know what is wrong.SQL> alter session set current_schema = flows_030100;
    Session altered.
    SQL> select distinct provisioning_company_id from wwv_flow_companies;
    PROVISIONING_COMPANY_ID
    0
    10
    11
    9.4232E+14
    9.5741E+14
    1.7393E+15
    (I imported the file to my workspace http://apex.oracle.com/pls/otn.... it loaded succesfully but couldn't login.)
    I found a site where the file might have been downloaded from:
    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#CUST]

  • How to Create application express items like text box dynamically

    Hi all,
    I have a requirement in that i have to create a template like the one in Application express for creating the region and items.
    The main requirement is to reduce the amount of time spend in creating the items on htmldb page..
    So we are planning of creating a template where the developer at one shot will be able to define all the items used in the the page..So this reduce the amount of time taken in creating and defining each and every item .
    Developer use this template which conisist of some 100 text box which act as label for the item which we want to create on the page and there will be check box which show all the item available in htmldb like textbox, check box, select list etc. So developer will check the item he/she want to create and and set properties of it .So this is the single process for creating all the template on the page.
    Ones the template is submitted it will create the items on the page ...in a single click..
    Please do reply me with ur comments
    Thanks

    Hi,
    I wanted to do similar thing as well. I wanted to add a text field when user clicks a link or button. I was thinking about java script, but not sure how to add the text field items from outside the wizrdy things in APEX!! Possibly using the htmldb_item api, but have not worked out how yet.
    Venus

  • Creating HTMLDB DAD for Application Express

    Good Morning
    I have http server running on port 7777 with PLSQL _mod. I can add DAD's using
    the Mod plsql configuration menu
    and get data back from procedures in my schema.
    I have downloaded and installed Application Express ,its all gone into
    FLOWS_02000 schema. It all loaded ok.
    I don't seem to have a htmldb DAD set up though.
    I tried to configure one using the Mod plsql configuration menu with out success
    Is there an application that creates the necessary configuration to get HTMLDB
    and http server working together.
    Thanks
    David Hills

    David,
    The installation guide (also included in the HTML DB 2.0 distribution) describes how to configure Oracle HTTP Server manually:
    http://download-west.oracle.com/docs/cd/B19306_01/install.102/b16375/post_inst.htm#BHAFJJDA
    Sergio

  • Create organizational charts using application express

    I would like to create organizational charts using the application express(HTMLDB). How do I go about it?
    I also tried the Aria sample application for HTMLDB 2.0, but when I try to run the scripts it asks for some bind variable parameters ' :NEW ' and ' :OLD ' which I could not identify. Can anybody help with understanding the standard inputs to this?

    A perfectly reasonable question, phrased in
    a perfectly reasonable way (in my opinion).
    On this, I believe, we'll have to agree to disagree. I point you to the following document,
    particularly the section "Questions Not To Ask":
    I'm not sure why you feel the need to point me at a
    document entitled "Questions Not To Ask",
    particularly when I wasn't the one asking the
    question....I pointed you to the section "Questions Not To Ask" in the document entitled "How To Ask Questions The Smart Way" not because I believe you need help asking questions, but because the advice given in that document directly contradicts your opinions:
    "Q: How can I use X to do Y?
    A: If what you want is to do Y, you should ask that question without pre-supposing the use of a method that may not be appropriate. Questions of this form often indicate a person who is not merely ignorant about X, but confused about what problem Y they are solving and too fixated on the details of their particular situation. It is generally best to ignore such people until they define their problem better."
    I admit, I failed to follow the advice of ignoring the person when I first replied, but the issue is whether it was an appropriate question, which I think this quote clearly indicates it is not.
    Robert

  • Error Creating New Application on Application Express 3.2

    Upgraded from 3.0 to 3.2...had some issues with logging back in but fixed those. Now when trying to create a new application from scratch I am getting the following error: ORA-04023: Object
    APEX_030200.WWV_FLOW_MODEL_API could not be validated or authorized I am on 11g Any assistance or direction would be appreciated. Thanks.
    Edited by: user5147597 on Aug 19, 2009 8:32 PM

    Try connecting as SYS and running
    exec validate_apex
    Scott

  • Is it possible to execute a stored procedure from application express?

    I have created a pl/sql application now I would like to give it a front end, I am new to application express.
    My application depends on running a couple of pl/sql procedures that modify data.
    What I need is my user to be able to execute the procedures from the application in a browser, is it possible to run a pl/sql procedure from an application express application in a browser?
    how would I go about doing this?
    thank you very much.
    Ramiro

    You sure can.
    If you want to run a PL/SQL procedure/package/function from the URL, create a specific DAD entry just for that (Oracle) user, and give that user EXECUTE permissions on the procedure. Then just use the new DAD with the procedure name, like http://myserver.somewhere.com/MyNewDAD/Schema_Owner.MyPackage.MyProcedure?InParameter=MyParameter)
    Of course, the above line will need heavy modification on your end, but I do this in my app, but I actaully pass it through a javascript attached to a button which then opens it in a new window.
    If instead, all you want to do is execute a procedure with ApEx as part of a validation or process or something, select the PL/SQL 'Region' (or process, whatever it is you want to do), and then write it as an anonymous block:
    begin
    MyProcedure;
    end;
    Bill Ferguson

  • Issue while creating a new application in Hypeiron Planning

    Hi,
    When I am trying to create a new application in Hyperion Planning - the below log is coming...
    Planning server started fine in 4328 ms ( as shown in the below log) but once I click the finish button to create the new application its then I am facing with the issue and the same error is repeating in the Planning server..
    but I could see the new application in EAS console - but when I cannot see the application in workspace or planning web..
    When I restart the planning server - the same error is repeating - but when I delete the application from EAS and then RECONFIGURE Planning(database, instance and datasouce of planning )in shared services and restart the planning server the error is going of (most probably because all the old tables are being dropped in the database)
    Please help me resolve the issue.
    Planning server Log:
    Mar 31, 2008 3:40:24 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8300
    Mar 31, 2008 3:40:24 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 766 ms
    Mar 31, 2008 3:40:24 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Mar 31, 2008 3:40:24 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Mar 31, 2008 3:40:25 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /HyperionPlanning from URL file
    :G:\Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning
    Creating rebind thread to RMI
    Mar 31, 2008 3:40:29 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8300
    Mar 31, 2008 3:40:29 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8302
    Mar 31, 2008 3:40:29 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    Mar 31, 2008 3:40:29 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4328 ms
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    Setting Arbor path to: G:\Hyperion\common\EssbaseRTC\9.3.1
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    Connection to the datasource created successfully.
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00942: table or
    view does not exist
    at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
    at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
    at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
    at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
    RA-00942: table or view does not exist
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00942: table or
    view does not exist
    at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
    at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
    at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
    at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
    RA-00942: table or view does not exist
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsis
    tent datatypes: expected INTERVAL got NUMBER
    at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
    at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
    at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source
    at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]O
    RA-00932: inconsistent datatypes: expected INTERVAL got NUMBER
    software details:
    EAS server is up and working fine
    Hyperion planning 9.3.1
    Oracle database 9.2.0.1.0
    Regards,
    Ravi

    Now we have a new schema in place WITH a new username and password for oldb database-
    this is the change in the datasouce configuration (USER NAME CHANGE)
    Datasource name: newplan
    Select Database: Oracle
    Database details:
    Sever: my database server ( say 10.301.222.320)
    Port:1521
    Product: PLANNING
    database: oldb
    username:HYPPLAN
    password:***
    when I use the above configuration: below is the error log
    Apr 1, 2008 11:39:49 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8300
    Apr 1, 2008 11:39:49 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 750 ms
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Apr 1, 2008 11:39:49 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /HyperionPlanning from URL file
    :G:\Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning
    Creating rebind thread to RMI
    Apr 1, 2008 11:39:53 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8300
    Apr 1, 2008 11:39:53 AM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8302
    Apr 1, 2008 11:39:53 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/16 config=null
    Apr 1, 2008 11:39:53 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4656 ms
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    [INFO] AuthChallengeProcessor - basic authentication scheme selected
    Setting Arbor path to: G:\Hyperion\common\EssbaseRTC\9.3.1
    Connection to the datasource created successfully.
    Error log starts here--------------------------------------
    in cpp-Created Application:planone 0
    Unable to create Analytical application. Exiting Application Creation.
    Exception in Application Creation :Unable to create Analytical application. Exit
    ing Application Creation.
    java.lang.IllegalStateException: Unable to create Analytical application. Exitin
    g Application Creation.
    at com.hyperion.planning.HspManageApplication.createApp(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    (Unknown Source)
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    0)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    java.lang.RuntimeException: Create application failed.
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    (Unknown Source)
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    0)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    the error I am getting in appwizard - "error occured while creating application - please check the log"
    and if I am using the same schema - i.e. same userid and database for both planning system and planning application I was getting the previous error
    Regards,
    Ravi

  • SSO Authentication for more than one application in Application Express

    Hello,
    I recently got a single application working with SSO integration for Application Express 2.2.
    Now I would like to create multiple applications within the same workspace, which all use SSO authentication. I tried both copying the working one from the other application and creating a new SSO authentication scheme from scratch into the new aplication.
    I cant seem to make the new application work with SSO authentication. Do I have to go through all of the same steps I went through to get it working with the first application?
    Thanks
    -sean

    Ok, my bad.
    After shutting down my web browser and reopening it, the SSO integration now works for both the old and new applications. Not sure what was cached, but it was bypassing the sso check.

  • Upgrading Application Express on Oracle XE (installed on Ubuntu 8.04)

    I'd installed on my laptop (OP is Ubuntu 8.04) Oracle XE and is wotking quite fine.
    But I really like to upgrade apex to last version (3.1.2). I read documentation but are not many information about how to upgrade.
    Daniel

    Thanks Arie,
    On whatever version of Windows I've updated without problems Application Express.
    I'm talking here about Ubuntu (a debian distribution of Linux).
    My problem is where to unzip apex, where to use sqlplus command prompt etc., because is different than Windows.
    If you don't have DBA rights on the account (user account other than root) you have errors in installation process and more.
    For example they say in doc...:0
    "To run the apxconf.sql configuration script:
    1. Change your working directory to ORACLE_BASE\ORACLE_HOME\apex or whatever convention used to indicate the Oracle home.
    2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. For example:
    * On Windows:
    SYSTEM_DRIVE:\ sqlplus /nolog
    SQL&gt; CONNECT SYS as SYSDBA
    Enter password: SYS_password
    * On UNIX and Linux:
    $ sqlplus /nolog
    SQL&gt; CONNECT SYS as SYSDBA
    Enter password: SYS_password".....
    When you install Oracle what version you need, OP (Linux) create a different user account for Oracle. Usually if you want to use your account like dba for oracle, you need to give to that account the proper rights.
    So, I need a installation rutine (for upgrading) for apex on Linux.

  • Need help on installing Oracle Application express 3.2

    Hi,
    I had downloaded Oracle 11g database and installed the personal edition.I got the Enterprise manager login page working and also the DBConsole
    I had Downloaded APEX 3.2 and wanted to install apex 3.2.I wanted to do the following scenario
    Scenario 3: Install from the Database and Configure the Embedded PL/SQL
    Gateway
    Planning to do these steps: ( I have few questions on these steps and are below each step)
    ■ Running the apxconf.sql Configuration Script
    Do I have to install Oracle Application express or is it already installed in 11g personal edition?
    Do I have to create a seperate database or schema for this step( I have only one instance orcl1) ?■ Verifying the Oracle XML DB HTTP Server Port
    Can I do this step in my current orcl1 instance,if so which user■ Enabling Oracle XML DB HTTP Server
    Once I carry out these steps, Can I access the admin page for apex with https://localhost:port/apex_admin ?
    Am I missing any other steps ?
    Thanks

    I have one idea..
    Try to install again:
    1) download and unzip apex_3.2 in $ORACLE_HOME
    You will have:
    $ORACLE_HOME/apex - old directory
    $ORACLE_HOME/apex_3.2 - new directory
    2) in command line go to $ORACLE_HOME/apex_3.2/apex
    run sqlplus "/as sysdba"
    in sqlplus run @apexins tablespace_apex tablespace_files tablespace_temp images
    Where:
    tablespace_apex is the name of the tablespace for the Oracle Application Express application user.
    tablespace_files is the name of the tablespace for the Oracle Application Express files user.
    tablespace_temp is the name of the temporary tablespace.
    images is the virtual directory for Oracle Application Express images. To support future Oracle Application Express upgrades, define the virtual image directory as /i/.
    Example:
    @apexins SYSAUX SYSAUX TEMP /i/
    3) check installation log for errors
    4) in command line go to $ORACLE_HOME/apex_3.2/apex
    run sqlplus "/as sysdba"
    in sqlplus run @apxconf
    set admin password
    set port
    5) run @apxldimg.sql $ORACLE_HOME/apex_3.2
    6) check for running listener and try to login apex: http:\\host:port\apex\apex_admin
    Good luck!

  • Application Express Install - Login and images don't work

    I followed the instructions (as best I understood them) to install Apex on my database, and then setup an Oracle HTTP server to work with it.
    The problems I have are:
    When i goto the "first" page, which for me is: http://tomcatvs01.traxusers.com:7777/pls/apex/apex_admin
    1. The "Application Express" image at the top doesn't come out, which indicates to me the images weren't setup correctly, despite my best efforts.
    2. I'm not sure what my "username" should be. I remember specifying a desired password when I ran the sql to install the Apex on the database, but I don't remember specifying a username. I assume it is: APEX_PUBLIC_USER
    3. The big problem... whatever Username/password I use, "nothing" happens when I click the "Login" button. With MSIE, it shows the exclamation "error on page." icon on lower left side when I click "Login", which details show this error message:
    Line: 1
    Char: 1
    Error: Object expected
    Code: 0
    URL: My URL given above, but mixed with what appears to be the session ID, which is the same URL that i'm taken to when I goto the page in the first place.
    It doesn't work with FireFox either, and I've tried the client/browser from multiple machines.
    Advice appreciated.
    My setup is to use an Oracle 10g release 02 database.
    I installed Oracle HTTP server from the Companion CD on another machine, which already had an Oracle home/client of it's own.
    I then installed APEX sql on the database (i first ran the webtoolkit sql) .
    On the machine I put the HTTP server on, I copied the apex images to: E:\oracleHTTP\product\10.2.0\db\Apache\Apache\images
    And I configured my dads.conf file (in E:\oracleHTTP\product\10.2.0\db\Apache\modplsql\conf) as such:
    # ============================================================================
    # mod_plsql DAD Configuration File
    # ============================================================================
    # 1. Please refer to dads.README for a description of this file
    # ============================================================================
    # Note: This file should typically be included in your plsql.conf file with
    # the "include" directive.
    # Hint: You can look at some sample DADs in the dads.README file
    # ============================================================================
    Alias /i/ "E:\oracleHTTP\product\10.2.0\db\Apache\Apache\images\"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString proddb01.traxusers.com:1521:trax ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword apex
    Allow from all
    </Location>

    OKay, I kept reading other people's posts and I found the main culprit of my problems. I needed to add a forward-slash to my images directory specification in my dads.conf file. Now my images come out, and my login button "works".
    However, I still can't login because i don't know the username (at least now it tells me the credentials are not correct!)
    What is the username? I remember when running the @apexins SQL, i specified the password. But I don't remember every specifying a username, I even reviewed the instructions and couldn't find where I might have defined that. Please help! Can i extract it from one of the tables that was created? If so, I'd appreciate pointers as to which one exactly.

Maybe you are looking for

  • Forced closing open Approved POs with data related issues

    Hello All, I have a requirement to force "Final Close" all the old Pos (2 - 3 year old) as part of data clean up. Most of the POs can't be closed through froms as they are all 3-way match POs and their recieved/delivered qty <> invoice qty. I 'm wond

  • New column with formula in Report Painter - GRR2

    Hi gurus, I want to insert a new element in my new report painter created by GRR2. I took a standard report and I copied the report.  I know how to insert a new element. The problem is I want to choose the value of a field in PROJ table for create a

  • Select-Options in dialog program

    Hi there, I'm using a selection-screen in a dialog program, I declared it in the TOP. Selection-screens SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN. parameters: p_lifnr type lfa1-lifnr  obligatory ,             p_werks type t001w-werks obligato

  • Everything is read only after reboot?!

    after installing arch and awesome it worked fine Ive done this before, however I have 4 harddrives 1 internal 3 external, I went to fstab and added the internal, did the uuid=numberwhatever, ntfs default 0 0 and it worked fine, but when I restarted I

  • When i turn on my computer, all i see is a white screen.

    well, after hours of searches I couldn't find any problem similar to mine. I am not really smart when it comes to computer software and all that but I will try my best to describe my computer and its problem. Ok, I have a Compaq windows 7 home premiu