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.

Similar Messages

  • Uable to see link 'Managing Application Express Users'

    When I login to admin page for the workspace, I can only see 'Monitor Activity ' 'Change Password ' and 'About Application Express ' links not other two mentioned below. Am I missing something here. Please help
    About Administration
    An Administration list appears on the right side of the Workspace home page. Use the following links to administer your application development environment:
    Administration links to the Application Administration page. Use this page to perform administrative tasks. See "About the Application Administration Page" in Oracle Application Express Administration Guide.
    Manage Services links to the Manage Services page. Use this page to manage session state, log files, preferences, and application models. See "About the Manage Services Page" in Oracle Application Express Administration Guide.
    Manage Application Express Users links to the Existing Users page. Use this page to manage existing Application Express users and user groups. See "Managing Application Express Users" and "Using Groups to Manage Application Express Users" in Oracle Application Express Administration Guide.
    Monitor Activity links to the Monitor Activity page. Use this page to monitor page views and view application changes. See "Monitoring Activity within a Workspace" in "Oracle Application Express Administration Guide.
    Change Password links to the Change Password page. Use this page to change your workspace password. See "Resetting Your Password" in Oracle Application Express Administration Guide.
    About Application Express links to the About Application Express page. This page displays version and configuration information for both Application Express and the Oracle database. See "Viewing the Application Express Product Information Page" in Oracle Application Express Administration Guide.
    About Migrations

    User,
    What is your name?
    It sounds like you've been configured as a developer, not a workspace administrator. You'll need to talk to the person that created your account.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Using Oracle Database Express Edition in development environment

    Hi All,
    I have doubt regarding the usage Oracle Database Express Edition in Development environment. I am not sure weather I can ask a non technical question here or not. Pleas forgive me if I have done any thing wrong.
    I am working in an IT company where we take up projects outsourced by our clients. As part of our current project we are making some modification to a web application used by an institution. Our client is using Oracle Data Base standard edition. Due to budgetary constraints of our Company we can not set up a Oracle standard edition data base in our development environment.
    So would it be illegal if we use  Oracle Database Express Edition in our development environment?  We can guarantee that  only our internal development team which comprise a maximum of 10 people will have access to this development database and this development data base will never be opened to our Client for their business purpose(Who have their own Oracle standard edition in their environment). As part of the project we delver only table DDL script and stored procedure to our client and they put it in their environment.The sole purpose of a internal Express database will be development only.
    Could some one please tell me if it would be violation of license agreement if we install Oracle Database Express Edition in our development environment.

    Hi Paul,
    Actually I have already gone through the Oracle Technology Network Developer License Terms for Oracle Database 11g Express Edition . But was not quiet clear about the content. It says in the license terms that "We grant you a nonexclusive, nontransferable limited license to use the programs for: (a) purposes of developing, prototyping and running your applications for your own internal data processing operations". Does the term "your application" includes an application we are developing for another company. Since the Express database  is installed in the development environment only and is not opened to any one else not even for Our client it definitely falls under the term "internal data processing operations" right?

  • Copy SQL Express DB from one server to another

    backup, copy to new machine and restore; fix up user securities on new machine; set up maintenance plans; set up applications to point to new database (or if use DNS, no change..) step and repeat - of course during non-use time frame - my 2 cents

    Looking for a good way to move a SQL express DB from an instance on one server to a SQL express instance on another server.  I have the ability to connect to both through SSMS.  Because these are express instances, I don't have the option to just copy the DB.  Any help is appreciated.
    This topic first appeared in the Spiceworks Community

  • Migrating Endeca Application and Data from development to a production server

    We need to move an Endeca app (including data domain) to a production server from a development server
    I installed EID 3.1 in the prod server successfully and this is what I did after the install:
    1. Created a new application in Studio (name: JULY2014POC)
    2. Manage Pages - Import the .lar file
    3. Copy JULY2014POC.worddat file and JULY2014POC_indexes folder to new server, location: domains/endeca_server_domain/EndecaServer/data with all the servers down. Then restarted endeca server, ps server, and studio server.
    4. When I try to create an Endeca Server connection it gives me error (Connection definition format is valid but unable to connect.)
    5. This is my entry:
      "contextPath": "/endeca-server",
      "currentFunctions": [],
      "dataDomainName": "JULY2014POC",
      "name": "JULY2014POC",
      "port": 7001,
      "restrictedToRoles": ["Administrator"],
      "server": "10.2.192.171"
    6. When I run any endeca-cmd at OS level I get the following Warning (4 times):
    $./endeca-cmd.sh list-dd-profiles
    <Oct 29, 2014 4:51:33 PM EDT> <Warning> <oracle.wsm.resources.policyaccess> <WSM-06210> <An instance of the interface oracle.wsm.policymanager.IUsageTracker bean for the local repository at path "" was not available for configuring the oracle.wsm.policymanager.accessor.BeanAccessor repository accessor for context "ResourcePattern [pattern=DOMAIN/weblogic/endeca_server_domain, subjectType=MANAGED_DOMAIN, terms={PLATFORM=weblogic, SUBJECT_TYPE=MANAGED_DOMAIN, DOMAIN=endeca_server_domain}]".>
    default
    What am I doing wrong?  Can someone please help me?  thank you

    Hi Sergio,
    How the data import and export works is what you have to look into. Whenever you export your content it gets exported to a particular directory. If the same directory should be referenced by the code base as well which would be mentioned in the properties file for fetching the configurations.
    If they are not aligned they won't pick it up. Also you will have to create pages like endeca-server and make it the default page in your properties file.
    Hope u cross this hurdle soon.
    Thanks
    Karthik V

  • Unable to create connection to Application Server Control from JDev

    Hi All,
    I am unable to create connection to Application Server Control of SOA Suite from JDeveloper and getting following error:
    Error getting OC4J Process for: opmn-home+oc4j-<hostname>-<OPMN Port>-default:
    Error connecting to OPMN (is it running?): Connection refused: connect
    I restarted all OPMN processes...still getting the same error.
    Thanks
    Krrish

    Hi.
    I got a similar error sometime ago.
    It was related to OPMN not getting bound to the correct server IP. It happened because my SOA Suite was installed in one machine that does not have a fixed IP (or uses loopback adapter) and then I tried to connect to this SOA Suite from another machine, using JDev.
    I checked this by running "opmnctl debug". then you can see on what IP the opmn is listening on.
    Didn't know how to solve this.

  • How to create a java application & call it from a PDA via TELNET

    Dear All,
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?
    Thanks in advance for your support,
    Best regards,
    Lana

    user10827661 wrote:
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?Your server side Java application can use a Java library that
    creates a java.net.ServerSocket to listen for TCP connections from TELNET clients.
    You do not need any graphics (jCurses or AWT) on the server side, telnet is a simple ascii protocol.

  • Why does Build Application vi work in development environment but not in executable; error 1025

    Hello,
    I have an application ("A") that I am trying to build using another application ("BuildA").
    I can create an application for A manually from its project using the Build Specification, and it works fine (A.exe).
    Also, when I run BuildA.vi in the development environment it calls the "Build.vi" correctly and again builds application A.exe just fine.
    Then, when I make BuildA an application (manually) and run BuildA.exe, I would expect it to also create A.exe just like BuildA.vi did in the development environment.
    However, it fails with the error:
    Code: 1025
    Open VI Reference in NI_App_Builder_API.lvlib:Build (path).vi->BuildA.vi<APPEND>
    VI Path: <b>C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.vi</b>
    I noticed this thread , which looks like a similar problem, but no conclusion was reached.
    Why does BuildA.vi work fine in the LabVIEW environment, but the application BuildA.exe does not work?  All paths are hard-coded, so it shouldn't be a path issue.
    Thanks,
    -john
    Solved!
    Go to Solution.
    Attachments:
    AppBuild.zip ‏175 KB

    Interesting code.  I'm curious how you came to decide 324ms in your while loop, and 58 in the other, and then 5136ms at the end.  In any case I suspect this has to do with this line of text in the help of the Build.vi.
    If you plan to run a build specification on the LabVIEW Run-Time Engine, do not include the Build VI in any of the VIs for the build specification.
    I don't fully know what this means but it might be why it isn't working.
    The Build.vi opens all Context (application instances) and then looks for the one named "NI.LV.MxLvProvider".  This I assume is a application instance NI uses to build applications.  It then uses this and opens some other VIs in this instance for the building.  The error you are getting is "Application Reference is invalid" meaning it couldn't find the NI.LV.MxLvProvider instance it needs to build.  Again I believe this maybe because you are in a run-time environment and that instance doesn't exist there.
    At the end of the day I'm guessing since Application Builder is not free, NI probably doesn't include it in the Run-Time engine, which is free.  So you can't build the way you want.  You could have and EXE running in the run-time open an instance in the development, then run your VI from there if you must make this an EXE.  It maybe easier to just edit the BuildA.vi to have a "Run When Opened" so that you double click the VI and it runs which behaves like an EXE sorta.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to copy E-business Parameterization from an environment to another

    Hi to everybody,
    I'm new to the world of Oracle Applications and I'm starting a new project. My concern is related to change management.
    I intend to have :
    - an environment where developpers will parameterize the E-business suite (screen/folder field modification, workflows, LOV,...),
    - another environment where users will validate the application,
    - a third environment dedicated to production,
    Is there any tools, or "tips" that allows to move defined parameters from one environment to other ? Should I need to Key in all parameters every time I need to install a new release of my application?
    Tanks for your help.
    If you have any question I'm reachable at [email protected]

    Another simple alternative, according to AskTom (http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:454220160386)
    ---------------- getcode.sql ----------------------------
    set feedback off
    set heading off
    set termout off
    set linesize 1000
    set trimspool on
    set verify off
    spool &1..sql
    prompt set define off
    select decode( type||'-'||to_char(line,'fm99999'),
    'PACKAGE BODY-1', '/'||chr(10),
    null) ||
    decode(line,1,'create or replace ', '' ) ||
    text text
    from user_source
    where name = upper('&&1')
    order by type, line;
    prompt /
    prompt set define on
    spool off
    set feedback on
    set heading on
    set termout on
    set linesize 100
    ------------------- eof --------------------------------
    it extracts one procedure, function or package to a file. Thats it. If you
    wanted to get all of the procedures in a schema extracted to the current working
    directory, you would run a script:
    --------------- getallcode ---------------------------
    set termout off
    set heading off
    set feedback off
    set linesize 50
    spool xtmpx.sql
    select '@getcode ' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    spool getallcode_INSTALL.sql
    select '@' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    set heading on
    set feedback on
    set linesize 130
    set termout on
    @xtmpx.sql
    ---------------- eof ---------------------------------
    You can see how to filter on that one by adding to the where clause if you want.
    Just run @getallcode_INSTALL to run all of the scripts...

  • Error Page shown while runnning a Test page from Development environment

    Hi,
    I have set the development environment for JDeveloper with OA Extension.
    I completed the setup steps for "You are Customer,Consultant or Support Rep".
    I have created a new Database Connection for the DB server and obtained "Success" status on clicking "Test Connection" buton in the Dtabase Connection wizard.
    When I run the Test JSP(Tutorial.jpr),I get an error page.
    It shows following exception with a lengthy stack trace.
    oracle.apps.fnd.framework.OAException:
    Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-01003: no statement parsed
    A reply about solution for this issue would be of great help.
    Thanks,
    Gowtam

    FYI,
    Could not lookup message because there is no database connection
    Thanks

  • Lost ODBC Connection from development environment

    Using LV 7.1 and an Active-X based ODBC Connection scheme to a MySQL database which has worked flawlessly up until now.  I've just written an application which accesses the database to generate a 'recipe' for our operators to follow.  This is poked into a multicolumn listbox, and works perfectly from the compiled version.  However, when I'm running the very same program in the development envirnment, I will get an error which indicates I have lost the connection to the database.  Never happened from the built versions, and yes, I'm running exactly the same code.  This is irritating, as when I'm trying to debug the SQL pieces, the code crashes.  Happily, the compiled versions are working, but it makes me nervous when programs crash like this.
    I am doing a listbox refresh every 60s or so, which involves accessing the database, reading a large chunk and displaying it. Im' also doing an ODBC conncetion check every 2s, and possibly some other database access depending on the operator input.  MySQL is set up so that I can have 100 threads open at once, and I never approach that.  I always open, do command, then close and destroy connections. 
    All I can think of is that there is a difference in the timing and the database access between the developement environment and the compiled versions.
    Any thoughts anyone? 

    Hi,
    Yes, that is exactly what I have done.  Built the executable which runs without problems.
    I've also tried to strip the program down by simply running the piece which polls the database continually. This seemed to run fine until I ran another program which also accessed the same database. So, to summarize:
    1.  The development environment program with single loop running accessing the database every 2s or so runs fine.
    2.  The dev. env. app. running multiple loops possibly accessing the db concurrently crashes
    3.  The same program as 2 but built into an application runs fine.
    MSB

  • How to migrate users from one environment to another

    Hi Guys,
    R12.1.1 on Linux
    What is the best way to migrate or copy users from dev or prod to new instance that is a fresh install.
    Thanks in advance

    Hi,
    You can use FNDLOAD to migrate the users/responsibilities.
    Note: 232029.1 - How to move User/Responsibilities across 11i Apps instances
    Note: 376469.1 - Can FNDLOAD Migrate User Accounts Without Forcing Users To Change Their Passwords?
    Regards,
    Hussein

  • Copy/paste sql strings from development ide's.

    Our team have just started using this tool in favor of the well-known toad. Frist impressions are really good, so keep up the good work! But sometimes you find that a very simple feature has great impact on coding effectiveness.
    Very often people copies sql strings from their java development ide's and want to test this in their database tool. For instance:
    " SELECT ... " +
    " FROM ...." +
    " JOIN ...." +
    " WHERE ....";
    Should become
    SELECT ...
    FROM ...
    JOIN ...
    WHERE ....
    The same goes backwards, if you write a sql statement in your database tool you would like to quickly convert it to a java string. This perhaps simple, but beloved by us, little feature was available in our previous tool, but I can't find it in sql developer. I've temporarily solved this by using the search-and-replace dialog box with regular expressions. This is however quite awkward to do each time so my options are:
    * Assign this search-and-replace operation to a hot key (is this possible?)
    * Write an extension (I have trouble finding good documentation of extension development for sql developer)
    * Request a feature (will probably take time even if it's accepted)
    Could anyone give me some hints on how to solve this?
    Or have I missed anything, is it already available somewhere in the tool?
    Thanks.

    Hi,
    sometimes you find that a very simple feature has great impact on coding effectiveness.Tell me about it ;-)
    * Assign this search-and-replace operation to a hot key (is this possible?)
    By default, ctrl-r does a search-and-replace. There's a history drop-down to have a quick access to your regular expression once you've entered it once.
    * Write an extension (I have trouble finding good documentation of extension development for sql developer)
    You have some samples on Kris' blog.
    * Request a feature (will probably take time even if it's accepted)
    I agree, think it's difficult to make it some universal feature everyone wants to use.
    Another thing that comes to mind is recording a macro (see the tip on the Exchange for help on this).
    And I supose you could even make an external tool for this, using a batch file or something. This is much easier than an writing an extension i guess, and you can write it in the language you like best...
    Hope this helps,
    K.

  • What is the best wayt to copy tables with data from development to Prod?

    Dear all,
    We have Oracle tables with data in a development server, I would like to know if there is any ‘easy’ and ‘direct’ way to copy them to the production server.
    As I think import and export would be the best way. Any other althernatives?
    Thanks.

    There are a number of methods you could use.
    <ul><li>
    Export and import would work or their 10g+ equivalents data pump. </li>
    <li>You could create a database link between the 2 databases and use SQL*Plus copy to transfer data on a table by table basis (probably quite laborious unless there's only a few tables). </li>
    <li>You could use transportable tablespaces (there are some restirctions - check the documentation http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/tspaces013.htm#sthref1632) </li>
    <li>You could use RMAN to clone the development database (assuming the prod database hasn't been used yet and that there's nothing in it you need to keep).</li>
    <li>You could create the prod database as a standby copy of the dev database </li>
    </ul>
    Using transportable tablespaces would be much faster than using data pump or import/export depending on how much data there is.

  • How do I copy a mac user from an external drive?

    At the apple store about 2 weeks ago now they rold me that the hard drive was busted and I needed a new one. So, the hard drive was too damaged to make a disk image so they made a copy of my profile using terminal to my external drive. How would I moving the profile back on my new drive.

    Copy the contents of the folder on the external drive to your user folder on the new hard drive. Example - replace the Music folder with the old one. If you have folders that are the same name it should ask you if it is okay to replace the new ones. Be sure you don't have anything in the folders you replace, as you would lose any contents.

Maybe you are looking for