Run Apex 4.2.6 and APEX 5 on same database parallel

Hi,
Is it possible to install Apex 4.2.6 and Apex 5.0 on the same database? If Apex Listener is used as Application Server, do I have to install two different Listener Instances as well?
Thanks

Hi,
I do understand your argument that there should be no custom code in SYS. But in the case of the APEX engine it's a must have to guarantee security. You might know or not know, but APEX is using SYS.DBMS_SQL_SYS package (a more powerful version of the DBMS_SQL package) to execute application code/DML statements with the privileges of the parsing schema of the executed application. Obviously you don't want to grant execute to that package to another schema than SYS because of the power of package to run code in the name of another schema/user.
Do not have an issue with public synonyms though - understandable from a scope resolution perspective. For multiple versions though, scope should be able to be dealt with using the Oracle logon schema (as configured on web server side) and private synonyms?
Unfortunately this would not be sufficient because the Oracle Logon Schema (most of the time called APEX_PUBLIC_USER) specified for mod_plsql/ORDS is only used to call the entry points of the APEX Engine like the F procedure or WWV_FLOW.SHOW and WWV_FLOW.ACCEPT. This would work fine until custom PL/SQL code or SQL/DML statements of your application have to be executed. This is not done with the privileges / scope of APEX_PUBLIC_USER, instead the code will be executed with the Parsing Schema specified for your application (that's where the above described SYS package comes into play). Otherwise APEX_PUBLIC_USER would have to be a super highly privileged user with access to any schema, which isn't the case. Instead it's a super low privileged user.
Let's continue our example. If the application PL/SQL code / SQL or DML statement references one of our public APIs like V, APEX_APPLICATION, APEX_UTIL, ... or an APEX view we are in the the situation that the application schema has to resolve those references. But a schema can just point to one APEX version.
How could that be solved?
When copying the application to the new APEX version, the application parsing schema would have to be changed to a new 'proxy' application schema with access to the original application schema. The 'proxy' schema would point it's private synonyms to the new APEX version. But even then it's getting tricky if the original application schema has definer rights packages which do reference APEX apis, because those would still point to the public synonyms. As I said, it's not so easy and there are many traps customers could fall into ending up with a situation where it's hard to diagnose if an application is trying to call different versions of APEX in the same runtime session.
But as I said, we are totally aware of the situation that customers would like to do a slower one by one application upgrade of their APEX installations to avoid breaking apps.
Regards
Patrick
Member of the APEX development team
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Similar Messages

  • Run OS 10.3.9 and 10.4 on same G4

    I'd like to run OS 10.3.9 and 10.4 on same G4. Can / should I install a 2nd hardrive to do this?
    thanks
    Bob

    You can partition one drive, or use two drives.

  • Running Sun App Server 7 and 8 on the same box

    Hello,
    Are there any known issues with running Sun App Server 7 and 8 in the same host box ? Currently I am encountering some class not found exceptions with Sun App Server 8 . Sun App Server 7 runs just fine.
    Thanks,
    Aswin.

    It's not advisable to run separate installations of
    ColdFusion 7 and ColdFusion 8 single server on the same machine the
    re are several services that will try to use the same ports.
    However, you can install ColdFusion Enterprise using the
    multi-server configuration and then deploy the J2EE versions of
    ColdFusion to JRun. You can change the JVM that each instance uses
    (we recommend the latest 1.4 for CF7 and the latest 1.6 for CF8),
    and everything should run fine.
    ColdFusion itself is essentially just a J2EE application, the
    J2EE server itself is JRun 4. So the specific answer to your
    question is "don't install 2 copies of JRun 4 to the same machine".
    But yes, it's 100% possible, I'm running this configuration in my
    own development environment.

  • Running APEX in its own database instance

    Hi,
    I'm currently in the process of wanting to upgrade from apex 2.0 (or there abouts) to a current version. Have been thinking though, that it might be work actually spinning up apex in its own instance ( most likely just running under OE ) and connecting to our core database.
    The advantage this would have, would be easier upgrades ( very easy to rollback if something goes wrong ), plus I imagine apex would get a significate speed boost from running on 10g, as apposed to 9i which are core database is.
    Any thoughts on this? Would it be worth the hassle? I'm I just going to move the speed issues from slow pl/sql to remote database overhead?

    It's really not a good idea to install APEX in a separate DB. Performance will TERRIBLE over DB links. You have add views or synonyms for all of the remote objects so APEX can see them. The OP is talking about 2 different versions of the database, one of which (9i) isn't even supported anymore under standard support. With 2 different versions of the database, you essentially get a union of all possible bugs in each database.
    Tyler

  • Updatable Materialized View and Master Table on same database

    Hi all,
    My first question - Is it possible to have an Updatable Materialized View and the associated Master Table located on the same database?
    This is the requirement scenario:
    One unique database D exists.
    A is a batch table. Only inserts are allowed on Table A.
    M is an updatable materialized view on Table A (Master). Only updates are allowed on M (no insert or delete).
    Requirement is to push updates/changes from M to A periodically and then get the new inserted records from A into M via a refresh.
    Is this possible? What other approaches are applicable here?

    John,
    My question is related to the implementation and setup of the environment as explained in the above example. How can I achieve this considering that I have created an updatable m-view?
    If possible, how do I push changes made to an updatable m-view back to it's master table when/before I execute DBMS_MVIEW.REFRESH on the m-view? What is the procedure to do this if both table and mview exist on the same database? Do I need to create master groups, materialized view refresh groups, etc.?
    One more thing.. Is there a way to retain changes to the m-view during refresh? In this case, only newly inserted/updated records in the associated table would get inserted into m-view. Whereas changes made to m-view records would stay as-is.
    Hope my question is directed well. Thanks for your help.
    - Ankit

  • Export and re-import on same database

    For one reason or another we want to do a full export and re-import all the data back into the same tablespaces... is there a command to imp to tell it to truncate and over-write all the data before importing? or do I have to manually drop all the tables? (by manual I mean write a script to do it) -- and/or drop all the schemas

    Not sure, why you want to export and import back the same thing into the same database, but anyways to answer your question, yes it is possible with Oracle10g by using TABLE_EXISTS_ACTION={SKIP | APPEND | TRUNCATE | REPLACE}. With Oracle9i, you may have to generate a dynamic script to truncate tables....make sure you exclude SYS/SYSTEM tables from the truncate script.........did I say except SYS/SYSTEM and so on :-)
    HTH
    Thanks
    Chandra Pabba

  • I want to run Lexware on my imac and was told I need bootcamp / parallels for this. Are there any downsides to this?

    Hello, I need to run bookkeepting/ bill writing/ store management software on my imac and would like to use Lexware's German product (equivalent of Quickbooks), which can directly link to the German tax autorities. I was told I can do this from my imac via Bootcamp (they dont do a mac version).
    Is this advisable and are there any downsides? Is it simple enough? Do I need to be online to use the Lexware software (I live in the deepest countryside with a wobbly connection!).
    Thanks a lot for any hints or advice.

    There shouldn't be any issues as Boot Camp allows installation of Windows which runs natively just as if you were on a PC. The only downside is that you have to buy a Windows full install disk. Be sure it is the right version for your software.

  • Unable to run native iOS7 Mail app and Gmail app at same time on iPhone 5s

    Got a new iPhone 5s.  Installed the Gmail app, it collects mail just fine.  BUT I'd like to run the native Mail app that came on the phone at also, as a backup...just in case.  The native Mail app keeps telling me that either the username or password are incorrect.  Anyone with help to fix this would be appreciated.  Thx.

    That would be a gmail issue.  From other threads there is a two-step verification when using gmail..Log into your account on a browser and double check the security.

  • Problems running creative zen nano plus and nomad muvo on same compu

    We have 2 nomad muvo mp3 players and now a zen nano plus .Have had constant problems with the media organiser .
    Installed zen nano plus and selected enable smart fit to get maximum amount of songs and it worked fine but as soon as we tried to install software for the 2 nomad players it would not work smart fit for any of them.
    Uninstalled everything and got the zen software in and it was running ok but then seemed to have problems and although smart fit was enabled it just copied files as the original mp3.
    It then fatally crashed yesterday and I am awaiting a replacement as I had only had it for 2 days.
    Is it possible to run all 3 and to be able to use smart fit on all 3 players or am I better off having just one working and using the file converter for the other 2.

    <FONT face=Helv size=2>
    Make sure that you have installed the MediaSource plugin for MuVo in order to get SmartFit You have to access SmartFit via the MuVo node of the Sources window in MediaSource. You won't see SmartFit if you access your MuVo via the My Computer node of the Sources window in MediaSource..
    Here is what you should do to get the latest MediaSource software:
    - Download and install the latest Creative MediaSource Player/Organizer 3.30.2 from your product download site.
    - (Depending on your firmware)
    Download and install the latest Creative Zen and NOMAD Jukebox plugin 2.00.9 for Creative MediaSource from your product download site.
    or:
    Download and install the latest Creative MediaSource Plugin for PlaysForSure devices (version .00.8) from your product download site.
    - Download and install the latest Creative MuVo plugin .0.05 for Creative MediaSource from your product download site.
    - Download and install the latest Creative MediaSource Plugin for CD Burner 3.0.8 from your product download site.

  • Help Needed!!!! Running Forms 6i, Reports 6i and WebDB on the same NT box...

    Hi All!
    I am in need of some help.
    I'm trying to set up the sample code for the Healthy Living WebSite.
    I need to have WebDB 2.2x, Forms 6i and Reports 6i all running on the same box. Does anyone know how to set this up....?
    Thanks,
    Matt
    [email protected]
    null

    Hi Matt,
    You didn't mention but do you also wish to install the database(8i) on the same machine ?
    I am also trying to install all these products(+8i and designer 6i) on the same box but I am concerned more about the min. resources needed before I get started.(I put up a question about it on the 6i Forum, but nobody has answered yet !)
    The correct install order should be Forms/Reports 6i then Forms/Reports 6i Server and then WebDb 2.2.
    Forms /reports server needs a http listener and installs en configures the WebDb listener for the job.(you are prompted for this during tho have the install process).This is handy if you are intending to use WebDb anyway. When you install Webdb it detects the already installed WebDb listener and does not reinstall.
    You do have the SYS password on the database you will use to stored the WDK and WebDb schema.
    About installing the demo.....
    I dont' think there are any special issues.I have never done it.
    If you are intending to install an 8i database on the same box there are some important things to consider with respect to the install order and what products in which Oracle home must be installed.
    1.Forms/Reports first in the default_oracle
    home.
    2.Then Oracle 8i in a 2nd oracle home call
    it ora81 for example.
    3.Then WebDb in the non oracle 8i home !!
    This is just a quick summary.
    If you run into any problems let me know
    Good Luck.
    Dave.

  • Can I run two midi controllers (keyboard  and pad) at the same time?

    ie.....can I play keyboard and use a pad for an effect of some sort - creating two instraments at the same time. I want to play say, piano on one instrament w/ a keyboard and at the same time play a synth effect on a trigger pad with another instrament (es 2)????????

    Yes.
    set 2 instruments to different midi channels.set the keyboard and pad to match.
    record enable both tracks in arrange.
    check: file/song settings/recording/auto demix by channel if multi-track recording
    this will allow you to record them both.

  • Can CF and ASP Access the Same Database?

    Hello. I'm about to go into beta with a ColdFusion 8 site I
    just wrote, and I've just realized there could be a problem I
    haven't anticipated. There's another site, written in ASP, which
    will accessing the same data at the same time. The data are in
    FoxPro for DOS, which (if I have the terminology right) is a 'file
    server' database. Both my site and the ASP site will be accessing
    it through ODBC. I will be accessing it on a read only basis, and I
    believe the ASP site accesses it read only as well. However, other
    employees in the company are constantly accessing it read/write.
    The ASP site has been already up and running for some time,
    and the office manager (it's a small company) finds that he is able
    to avoid conflicts by first stopping the ASP server each morning,
    then starting FoxPro, then re-starting the ASP server. (I do not
    mean the IIS server, but a little EXE written by the ASP
    programmer, which puts up its own little window with 'start' and
    'stop' buttons on it.)
    However, I find that on my own PC, using the free Developer
    version of ColdFusion and accessing my site as localhost, if a DBF
    (database file) is opened in FoxPro (even if no one is currently
    writing to it), then my CF web site cannot access it, and vice
    versa. That is, if I start FoxPro first and open the DBF of
    interest, my web site can't access that DBF. And conversely, if I
    access it first via my web site, then FoxPro can't access it. In
    other words, the solution which works for the office manager and
    his ASP site does not work for me with CF on my local PC.
    Will matters be different in their system, where I will be
    installing my site tomorrow, along with the Standard version of CF
    8? If it matters, the FoxPro data and the Web server will be
    different boxes linked by a network. The operating system is
    Windows 2003 if I recall correctly.
    Should I be saying 'Oops!' right about now?
    I can probably come up with a workaround by having FoxPro
    write a record to an alternate DBF every time the DBF of interest
    to my site is updated, but will I have to do this?
    Thanks for your help.

    paross1 wrote:
    > there probably isn't
    > much that can be done with a database that probably
    isn't designed for multiple
    > simultaneous transactions.
    >
    > Phil
    >
    Not much that can be done to make the database robust and
    handle
    simultaneous transactions. But you could wrap all your CFML
    that
    accesses this resource in named <cflock ...> tags so
    that they are
    single threaded, thus restricting CF to one access at at
    time. Then
    wrap all of this up in a <cftry><cfcatch...>
    blocks to gracefully handle
    when the database is locked up by some other user/process.
    You will still have many times when the CF application will
    not be able
    to access the resource do to locking issues, but it will
    handle this
    gracefully and not just FAIL.
    Of course this will have serious performance, throughput and
    scalability
    consequences. But I suspect if you are using something like
    FoxPro you
    are not building an application expected to handle heavy
    load.

  • Using more than one PU and PC for the same database

    I have a scenario described here: [http://www.seamframework.org/Community/UsingTwoParallelNestedConversationsWithParentAtomicConversation|http://www.seamframework.org/Community/UsingTwoParallelNestedConversationsWithParentAtomicConversation]
    which uses Seam, EJB3, JPA, Hibernate, Richfaces (modalPanel) and JSF.
    The question I have is the following:
    is there any negative consequence (memory consumption, performance hit, etc.) of using more than one persistence unit in the persistence.xml that points to the same EntityManagerFactory? I was thinking of having one PersistenceContext (Seam-managed PC - an extended PC which is conversation-scoped) which uses one PU and reserving the other PC for the modalPanel forms and backing beans (SFSBs).
    The reason I needed to use this solution/approach is so that when using Hibernate MANUAL flush with SMPC, I can achieve isolated synchronization of the PersistenceContext without updating values in the modalPanel forms and vice versa.
    Any tips on best practices or alternative solutions? thx.
    persistence.xml snippet:
       <persistence-unit name="boBETS">
          <provider>org.hibernate.ejb.HibernatePersistence</provider>
          <jta-data-source>java:/boBETSDatasource</jta-data-source>
          <properties>
             <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
             <!-- <property name="hibernate.hbm2ddl.auto" value="validate"/>   -->
             <property name="hibernate.show_sql" value="true"/>
             <property name="hibernate.format_sql" value="true"/>
             <property name="hibernate.generate_statistics" value="true"/>
             <property name="jboss.entity.manager.factory.jndi.name" value="java:/boBETSEntityManagerFactory"/>
             <property name="hibernate.default_catalog" value="boBETS"/>
             <property name="hibernate.default_schema" value="dbo"/>
          </properties>
       </persistence-unit>
       <!-- using boBETS2 for ListValueParamAction for now! trying to isolate the em.flush() such that we can achieve atomic conversations for the
       base form as well as the popup form! -->   
       <persistence-unit name="boBETS2">
          <provider>org.hibernate.ejb.HibernatePersistence</provider>
          <jta-data-source>java:/boBETSDatasource</jta-data-source>
          <properties>
             <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>
             <!-- <property name="hibernate.hbm2ddl.auto" value="validate"/>   -->
             <property name="hibernate.show_sql" value="true"/>
             <property name="hibernate.format_sql" value="true"/>
             <property name="hibernate.generate_statistics" value="true"/>
             <property name="jboss.entity.manager.factory.jndi.name" value="java:/boBETS2EntityManagerFactory"/>
             <property name="hibernate.default_catalog" value="boBETS"/>
             <property name="hibernate.default_schema" value="dbo"/>
          </properties>
       </persistence-unit>What happens if I were to have 10 PUs and 10 PCs in the same app? Whether they're all pointing to same DB or not. What's the consequence of using "too many"?

    Yes, you can use multiple iCloud accounts in multiple User Accounts on one computer, but, as you know not multiple iTunes Match accounts. Keep in mind that the two services are not the same.
    Since you've posted your question to the iTunes Match forum, which it really doesn't pertain to, you might want to also post it to the iCloud on my Mac forum.

  • Create dev and test instances of Apex on the same server and database

    I have a dev and prod instances of Apex on different servers. I want a test instance on the same server as the dev instance.
    I am using workspace export/import so all instance workspaces have the same workspace id. The application ID is the same on each instance, in the same workspace. This allows pages to be exported/imported in the differenct instances.
    My question is (I am sure it is obvious) can I have more than one instances of Apex on the same database (dev and test) and have each instance have identical Workspace IDs, etc.
    Sam

    Hi Sam,
    But you can have more than one database on the same server.
    What we do is create a separate database for each APEX versions we are supporting (we still have a customer using APEX 2.0).
    All the databases are accessed with the same APACHE config. All you have to do is change the DAD and have a separate dad for each database (i.e. each APEX versions).
    ex : /pls/apex_dev /pls/apex_test
    This way , I can run different APEX versions on the same server.
    Francis.
    http://insum-apex.blogspot.com/

  • Can we run 2 versions of Apex on the same Oracle database ?

    Can we run both Apex 3.1 & Apex 4.0 versions on the same database ?
    Instead of upgrading my 3.1 to Apex 4.0, I wanted to know if I can run 2 versions of Apex on the same database simultaneously

    Hello,
    >> Can we run both Apex 3.1 & Apex 4.0 versions on the same database ?
    No you can’t. The APEX 4.0 installation script will automatically detect the 3.1 instance and it will be upgraded.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

Maybe you are looking for

  • Store a byte[] in a SQLServer DB

    I try to stock a byte[] in a image field of SQLServer DB I'm doing so : EAIForm myForm = (EAIForm)form; FormFile ff = myForm.getFile(); byte[] file=ff.getFileData(); String EAIQuery ="INSERT INTO ecopeople_prd.dbo.EAI (personalID,docName,datas,dateDo

  • Buddy idle times

    on my old macbook pro(running osX) I can see buddy idle times in ichat/jabber. My new macbook pro is running Snow Leopard and I can no longer see idle times. Am I missing a setting?

  • Is it possible to set up a script to auto render as new files appear in queue

    We have a system that creates images automatically and we need to be able to automatically convert and re-size them and move them to a new location. Some are needed as .gif animations but most are stills. I can set up a series of comps with the appro

  • BI 7.0 demo .ppt format

    Hi, is there a BI demo in ppt format that is available here or somewhere. I looked very hard all over this board and other links I just could not find it. I did find sap.help kind of stuff but I need something more nicer than that. Can you all help m

  • Org Unit inheritance link to Parent Cost Center - is this Config?

    Hi We started at a new client and have difficulty maintaining the Org Structure A 011 relationships to child Org Units. The system undoes our implicit links. We want the implicit links to be there and not inherited. Is it possible to switch off the i