Apex and own database

I want with Apex to my own database instead of the workspace I've created. How can I fix this? Very newby, Leo

Hello,
Ah ok, well you will need to install APEX into your own infrastructure. You can find more details (the APEX distribution as well as installation documents etc) here -
http://www.oracle.com/technology/products/database/application_express/index.html
Hope this helps,
John
http://jes.blogs.shellprompt.net
http://apex-evangelists.com

Similar Messages

  • Apex and remote database links.... Good idea or bad?

    We would like to have one single Apex installation that would be used to develop many applications against many remote databases.
    Database links would seem to be the obvious mechanism to achieve this goal, but we have had many issues with db links.
    Also, our research indicates this might not be a good idea for various reasons.
    Any opinions or experiences around this topic would be greatly appreciated.

    we have had many issues with db links. In that case it's a bad idea.
    It's not really an Apex question. If you can't get db links to work, it's a database issue. If it's performance over the db link, again it's a database issue (assuming modern networks aren't the bottleneck here). Remote views (instead of selecting from remote tables) often increase performance.
    If the applications don't have to share data over the db links, you can set up one master application and several sub-applications on the different databases. The master is used to log in once. See:
    http://www.oracle.com/technetwork/issue-archive/2009/09-may/o39security-101079.html

  • Error On Attach File in Apex 4.0.2 And Oracle database 10.2.3.0

    hi all
    i using Apex 4.0.2 and Oracle database 10.2.0.3
    i have Blob Item in table and i wanted upload a file to Blob Item .
    when i used Attach file button at the first saving connection failed and the second time successfully
    How can i Fixed this problem?
    Tommy
    Edited by: Tommy on Sep 4, 2011 10:50 AM

    Hi,
    The absolute link works fine, but opening it in IE, I will get the following error message:
    Internet Explorer could not open http://localhost:8080/i as a Web Folder.
    I have troubles with Windows Server 2003, I'm going to install APEX in XP. Thank you.
    Guys, I installed APEX on Windows XP and the borwser seems to give the same message about creating a webfolder. I'm unable to create one, please help will be appreciatied.
    Regards,
    Edited by: 873013 on 17-jul-2011 12:05

  • Problem regarding PDF printing in apex 3.1 and 11g database using cocoon

    Hi,
    i am configuring pdf printing on apex 3.1 (database 11g on windows XP OS) with cocoon/apache tomcat/fop using steps given in Carl Backstrom blog
    http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
    I am using cocoon 2.2.10 / tomcat 6.0.20 and JDK 1.6
    I did everything as was mentioned in Carl's blog and everything configured without any hassle. I even enabled network services for FLOWS_030100 user on database. Even after doing all the steps I'm getting the error
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    I'm confused and don't know what to do next.

    Hi,
    By default, the ability to interact with network services is disabled in Oracle Database 11g release 1 (11.1). Therefore, if running Oracle Application Express with Oracle Database 11g release 1 (11.1), use the new DBMS_NETWORK_ACL_ADMIN package to grant connect privileges to any host for the FLOWS_030100 database user. Failing to grant these privileges results in issues with PDF/report printing, specifically, you will get the following error message:
    ORA-20001: The printing engine could not be reached because either
    the URL specified is incorrect or a proxy URL needs to be specified.
    Follow the steps mentioned in the Oracle Application Express Installation Guide, [Enabling Network Services in Oracle Database11g|http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/post_inst.htm#BGEJJIHE]. Also refer to the [troubleshooting section|http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/post_inst.htm#BHAGIHIB] in case you receive an ORA-44416: Invalid ACL error after running the previous script.
    /Kenny

  • Apex and database links

    Hi,
    How does Apex perform using database links. We are currently on version 3.1.1.00.09 of Applicatiion Express and have all of our data in one database. We will soon be upgrading our environment to Oracle Database Appliance. We are thinking about splitting our staging area out of our existing database. We use Apex for our dashboard reporting. We are in hopes to upgrade to latest version of Apex. If we split our database up we will have to use database links to access data. How does Apex perform using database links. Will our Interactive reports work? Will performance degrade? Wanted to know your thoughts on that.
    Pam

    Having used such a model for several years, I'd confirm that it is possilble to make it work, however it may not be optimal, performance-wise (depending on your data model).
    Typically speaking, if you are just querying your external database "straight" (i.e. where all of the tables being queried are on the remote DB), you shouldn't notice a significant degradation in performance. The problems can come in when you either include "local" tables in your queries (in which case you need to decide which site should be 'driving') or where DML is involved (in which case the driving site defaults to the local DB) - your execution plans can change quite significantly and often for the worse.
    I have tried a few strategies to mitigate against this, including converting some DML statements to be based on pipelined table functions instead of views, creating local Materialized Views of commonly accessed data (usually aggregated in some manner), or caching result sets (i.e. using the built-in apex caching function) for something more flexible but ultimately it'd be easier if everything was sitting on the same DB.

  • Apex and Natural Vs Surrogate keys

    Hi
    We've been using Apex for a few months now and there's a debate raging in our department over whether we should design our database tables using natural or surrogate (based on Oracle sequences / triggers) keys. Our experience as Apex developers shows that Apex itself looks to lean towards surrogate keys, a few examples are below:
    - When creating forms on reports / tables Apex only allows 2 primary key columns without adding 'extras' in the background (see a previous post of mine).
    - If we have a form on a table and our natural primary keys can be updated, the Apex-created DML statements break, as they look to do the update using the changed key values in the WHERE clause rather than the old ones. The only way around this seems to be to delete the inbuilt DML statements created by Apex and code your own, which is extra work.
    - The Apex sample applications themselves seem to use sequences / surrogate keys.
    What are people's opinions on this? In particular is there any guidance from the Apex development team on which is best to use with Apex?
    Regards
    Antilles

    Hi Andrew,
    As with abots_d, I only use "natural" keys for lookups.
    >
    1. the department names were here for 20 years and they never changed
    >
    But, can you guarantee that they never will? My firm has changed departmental names so many times, it's getting ridiculous! But other things also change over time - consider what happens if a person gets married and changes their name and you've used their previous names as the keys (and consider how much data in other tables may use those keys).
    >
    2. Server names are uniquely generated by special formula in excel to preciously avoid the duplication problem and guarantee the uniqueness within our glamorous bank.
    >
    SQL could probably recreate that formula and Unique Key constraints would handle the rest
    >
    3. no, we are not going to extend this app to cover any other banks
    >
    Given what's happening with the banking industry right now, who can say ;)
    >
    4. PK that means smth ( aka "server name" ) has a meaning, whereas meaningless - has no (business) value
    >
    Why does a bit of data have to have explicit "business value"? I would suggest that a surrogate key is a pointer to a record and allows you to easily create relationships. Once created, the key would never be changed regardless of what happens to the data on its record. Thus, the relationship is maintained. Using personnel (which our firm renamed as "Human Resources" a while back) as an example, it's likely that every employee would have an employee number. Does this number actually mean anything in itself, does it have "business value"? Most likely, it's just a convenient way to identify a person and relate records to them.
    I would suggest that any non-numeric/date keys are relatively slow. As strings, the only way to check for their sort order would be to (A) convert to upper or lower case and (B) perform a string comparison left-to-right across the entire string. There's also the possibility of certain characters appearing in the strings that can cause issues - for example, quotes, apostrophes, colons, commas, question marks and percentage signs.
    Also, consider the length of a VARCHAR2 that you would have to use - how big would it need to be to cover all possibilities? You may say 20 now but tomorrow you get data with 21 characters in it - do you want to update the table plus all related tables for that?
    There are further issues with parent, child, grand-child etc relationships where the keys would have to be passed down in full through the relationships. Depending on how many levels you may have, a fair number of the fields on the bottom-most table would be there just for the keys.
    It has been a standard industry practice for many years now to "normalise databases" to avoid lots of issues with keys and "repeating data". Apart from very simple lookup tables, I have stuck with those guidelines for years now without any problems at all.
    Andy

  • Oracle Application Express (APEX) and WebLogic Security

    Hi,
    Has anyone tried integrating Oracle APEX (custom authentication) with WebLogic Security as the user store?
    Thanks
    Joel

    Hi
    Depending on your architecture - APEX in EBS database - or APEX in it's own database instance you're going to have to change a couple of things.
    Most importantly - EBS R12 has removed MOd-PLSQL from the Apps menus and from the HTTP listener.
    You will need another HTTP listener - Apache with mod-plsql or Database R11 with Embedded Plsql Gateway - EPG.
    Second the way that APEX is called from EBS using the Web PLSQL functions in EBS menus is no longer supported in R12.
    Check out https://sites.google.com/a/popay.be/apex-on-apps/apps - follow the contacts there - they have also developed a Java utility to call APEX from EBS R12.
    In short - depsite Oracle's 'statement of direction' to move away from mod-plsql and removing this from EBS R12 (just what motivates this wierd thinking???)- APEX is still the most flexible and cost-effective means to extend EBS functionality - especially in reporting - and it works just fine in R12.
    Good luck
    Mike

  • How to use your own database with your users to authenticate in a Web app?

    Hello, everybody!
    I'm starting to write my first web application and I'm going to use JSF, JPA and EJB3 in this application. One of the first things that I have to do on it is the authentication part where I'll have a page with a user name and a password for the user to login. So, as I'm new to all this in Java (I've already implemented this on .NET in the past), I was studying the Java EE 5 Tutorial, especifically the section "Example: Using Form-Based Authentication with a JSP Page". But I saw that the users that the sample application uses come from the file realm on the Application Server. The users are created there and assigned a name, a password and a group. After the users are in the Application Server we can simply uses forms authentication declaratively in the deployment descriptor (web.xml).
    But the problem is that this doesn't work to me as I already have my own database with my users, so I want to use it instead of having to create the users on the Application Server.
    So, I'm asking you how to do that. Of course I'm not expecting that you place the code here to me as I know that such a thing could be complicated. Instead, I'm asking if you know about some tutorial, article, book or something that teaches how to do what I want. But I would like to see theses examples using JSF and/or EJB3 because these are the technologies that I'm using to develop. It's a pity that the Java EE 5 Tutorial doesn't have an example using a custom database as I know that this situation is very common in the majority of web sites.
    Thank you very much.
    Marcos

    From memory, it goes like this... You just create a
    raw jdbc connection on your user database using a
    special "login" DB user account, which has
    permissions only to an "authenticate" stored query,
    which accepts two arguments: username & password, and
    returns a boolean 0 or 1 rows found.When I implemented this in .NET's ASP.NET I had the same solution. I had an special user created in the database that I used to log in. When the real user entered his username and password I was already logged in and I had just to check his username and password agains the right table in my database.
    But that was only possible bacause when I connected to the database using my hidden user, I used the rights APIs in ASP.NET that coordinate the authentication process. This means that before login in, no one could access any resources (pages, atc...). So what I'm saying is that I can't manager this manually in Java. Java has to have some API or whatever to allow me to control the login process programmatically, while letting the Application Server control the access to the resources.

  • Opening and closing database from JSPs

    Hi,
    I have a few web pages with an underlying database, and after some research I seem to have found that accessing this database directly from the JSP is a bad idea. Because of this I have created 2 methods in my JavaBean class to create the database connection and to close the database connection. What I want to have happen is when the user logs in the the site, a database connection is opened by calling the databaseConnection method then once they close the browser the destroyDBConnection is called. How do I go about implementing this approach in my JSPs? thanks for any suggestions
        * Method to create database connection
        public static void dbConnection() {
          try{
              // Step 1: Load the JDBC driver.
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                // Step 2: Establish the connection to the database.
                String url = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};" +
                        "DBQ=C:\\Program Files\\Apache Software Foundation\\Tomcat 5.5" +
                        "\\webapps\\TheatreDepartment.mdb";
                connection = DriverManager.getConnection(url);
              connection.setAutoCommit(false);
          } catch (SQLException se) {
              System.out.println("SQL Error while connecting to the database : "+
                                  se.toString());
          } /*catch (NamingException ne) {
              System.out.println("Naming exception Error while connecting to the database : "+
                                  ne.toString());
          } */catch (Exception ne) {
              System.out.println("Error while connecting to the database : "+
                                  ne.toString());
        * Destroy the Connection Object.
        public static void destroyDbConnection() throws SQLException {
              if (connection != null || !connection.isClosed() ) {
                connection.close(); // close the connection
      }

    I would suggest you do some more research.
    Take a look into connection pooling.
    Most of the time you do NOT want to give each individual user their own database connection, but rather keep a bunch on hand for people to use.
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html

  • Creation of own database for CMS

    Hi all
    I'm new to BusinessObjects
    And i'm currently in the midst of installing BusinessObjects Edge Series XI 3.1 and have chosen the option to use my own database server.
    Going through the installation checklist from the installation guide, there is one point i don't quite understand.
    "Have you tested the database connection between the machine hosting the database servers and the Central Management Server (CMS)?"
    Someone do enlighten me , appreciate it !
    Regards
    jazreeel

    Hi
    thanks so much for replying.
    I have created a new data source under administrative tools and the connection was tested successfully.
    However, during the BO edge installation, when choosing the CMS database, no data source name shows up.
    I tried keying in the login ID and password and this error came up.
    " [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. STW00217 "
    Regards

  • What are variables or parameters in Apex and how to use them?

    Hi
    What are variables or parameters in apex and how to use them to connect and run BI Publisher Report
    From Apex URL

    Hello Kanaiya,
    You should go here: http://www.oracle.com/technology/products/database/application_express/index.html
    Look at "What is Oracle APEX?" then download the documentation and review the various PDF files that are available.
    If you have a version of APEX installed and available, go through the 2-Day Application Express Developer's Guide followed by the Advanced Developer's Guide.
    Good luck,
    Don.

  • APEX and Oracle XE

    I am trying to use the APEX (as a substitute for my PHP forms base application) for a new client.
    Can I use the APEX and Oracle XE in production, without spending any money for a license from Oracle - i.e. for listener, Web server, etc,?
    I already have setup the APEX that works fine on my laptop, able to see and work with the form on the browser, so can I take the same to a server as a production?
    Any help is appreciated,
    Merdad

    Mehrdad wrote:
    I am trying to use the APEX (as a substitute for my PHP forms base application) for a new client.
    Can I use the APEX and Oracle XE in production, without spending any money for a license from Oracle - i.e. for listener, Web server, etc,?
    I already have setup the APEX that works fine on my laptop, able to see and work with the form on the browser, so can I take the same to a server as a production?Yes. Oracle XE is free to use for internal use or use in your products subject to the license terms for Oracle Database Express Edition.
    APEX is a no-cost database option, so if you have a licensed database (including XE), you can use APEX to develop applications. (Note that if XE is upgraded to use the latest version of APEX, some of the built-in GUI database admin features described in the guides will be lost. All admin will then have to be performed using SQL*Plus or SQL Developer.)
    The licensing information covers the features included (and not included) in Oracle XE.
    There's a dedicated {forum:id=251} forum. This is the only channel for XE support as Oracle do not support the product through MOS (even for customers paying for support of other database editions).

  • Transactions involving multiple caches and a database

    Hi all,
    I'm curious if the following is possible with the transaction support in Coherence.
    I have the need to write data to two caches and a database from within my Tomcat container, and the whole operation must be atomic.
    Example:
    Write to database (this is NOT via a CacheStore)
    Write to cache 1 (uses write-through to database)
    Write to cache 2 (uses write-through to database)
    If any operation fails, the whole transaction needs to rollback. This feels like an XA transaction, but it looks like it won't work like I expect because the cache must be the last resource, but I have two caches. The ordering of operations is not important.
    Thanks,
    Rob

    MagnusE wrote:
    When using write-through there is (as far as I know) no way to get a fully transactional behaviour (assuming you have more than one cache node) since each node is responsible for persisting its own data items (they will each use a separate connection to the database).
    If you on the other hand uses a "cache beside" pattern this can be made transactional using XA. As long as both caches belong to the same cache service they count as a single "last resource"....
    /MagnusYou also need to use the same transaction isolation and concurrency setting for it being the same last resource. Practically you should only have a single CacheAdapter instance enrolled in the same transaction.
    Best regards,
    Robert

  • Another schema and/or database for a form

    Hello.
    What if i have a form and I want to change the schema and/or database name for the form? Is that possible? It want to make a form on data from a running production database. But testing is not very nice in a roduction database. So i want to build and test in my own schema and database. Then, when it all works, I want to change it to the running database.
    Is that in any way possible with a form from Portal?

    A form resides in an Application.
    You can not change the Schema on which the application is based on.
    What you will need to do is:
    App1 -- Based on Schema1 -- Your production Build
    App2 -- Based on Schema2 -- Your testing build
    Form1 -- Resides here (In App2)
    You will have to copy "Form1" to App1. In that case it will be transfered in Schema1
    One more way will be:
    Export the application
    Delete the application
    While Importing change the application Schema of the Application.
    (Don't forget to take the backup of database before you do this as if anything goes wrong while
    doing the above then you can always revert back)
    Thanx,
    Chetan.

  • Integration Apex and Javascript

    Hi,
    I work with Operational Systems and Oracle Database. In 2007 for particular necessities, I used Oracle Apex and liked a lot of tool. I want to achieve greater potential in my forms using Javascript, but not had success yet.
    Someone of you have didactic models of integration with the library jquery for example?
    Thanks a lot.
    Regis Bavaresco

    Hello Regis,
    >> I want to achieve greater potential in my forms using Javascript, but not had success yet.
    This forum contains tons of stuff regarding JavaScript. Just search for ‘JavaScript’ or ‘AJAX’. A very good example source will be the following, by Carl Backstrom - http://htmldb.oracle.com/pls/otn/f?p=11933:29 . Denes also having a great demo application, containing a lot of examples about using JavaScript with APEX - http://htmldb.oracle.com/pls/otn/f?p=31517:1 .
    >> Someone of you have didactic models of integration with the library jquery for example?
    jQuery will be included in the next version of APEX. It’s a bit premature to expect a didactic models of integration, but the forum also contains several threads regarding jQuey. In addition, the following blog entry, by Tyler, can also help you understand how to work with jQuery - http://tylermuth.wordpress.com/2008/07/16/jquery-datepicker-and-apex/ .
    Regards,
    Arie.

Maybe you are looking for