Standalone application created from APEX

Dear Experienced Users,
My question is that after we build application with APEX, can it be distributed as a standalone installation without APEX? for example create an .war or .ear for deployment.
Best Regards,
Duy

No, this is impossible. An APEX app consists of metadata held in the APEX schema in the database, and possibly some external resources such as images and JavaScript files. It absolutely requires an Oracle database with APEX installed.

Similar Messages

  • Expose application created in Apex as a service

    Good day,
    I need to find out if you can expose applications created in Oracle APEX3.2 as a service? The reason I am asking this, is a client has a Venus adabase, running some billing and procurement applications, secondly the clent has SQL server running some Payroll application and thirdly the client has oracle 10g running CRM and HR applications.
    The question really is ,how can I integrate the application created in APEX with the above mentioned applications??
    Kind Regards
    Thabo K

    Hello Thabo,
    APEX as a service? Usually APEX is more a front-end, so how to 'service' that? However you can expose the database PL/SQL as a webservice (just a few clicks in jDeveloper), but in the end that has nothing to do with APEX.
    What do you want to achieve?
    - Use data/information from the other systems in APEX? -> Create webservices overthere and call them using the native APEX webservice definition. Or 'just' access the tables (using a DB link or heterogenous services, so at the DB-level)
    - Use data/information from APEX in the other systems? -> Some procedure, but then the other way round.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • ODI and Planning Applications Created from EPMA

    Dear All,
    can ODI be used with Planning applications created from EPMA or it only can be used with classic applications?
    Your answer is very much appreciated.
    BR,
    ioGGo.

    Hi,
    Because the adapters provided within ODI does support only classic Planning applications, you can use ODI with classic Planning for metadata integration. This doesn't mean though, that you cannot use ODI to feed metadata in to EPMA. You can load the metadata to interface tables and automate the integration using EPMA batch utility.
    Plus, you can still use it for data extract & load as essbase is essbase no matter your application is classic or EPMA.
    However I must admit that it's more handy using with classic Planning. Check John Goodwin's blog if you haven't.
    Cheers,
    Alp

  • Export Application from apex 4.0 to 4.1

    Hi guys,
    I exported an application created on apex 4.0 And oracle 11g express beta. Then imported the application into APEX 4.1 ( in the could ).
    The problem is whenever I click on the "Edit Links" I get kicked out from the work space and I have to log in again.
    ** "Edit Links" are working in other applications ...
    I hope my question is clear ..
    Do you have any Hint ???

    NOT really possible to go backwards from 4.x to 3.s. Your best option is to try and find a backup and try and install it and make required changes to meet current version. Why, may I ask is your production environment in 4.x and your development in 3.2? This sounds TOTALLY dainbramaged to me, since I would NOT want to work in such a mixed environment.
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Deploying an Application to a APEX 3.1.1 Runtime Environment

    Hello Everyone,
    I'm trying to work out how to deploy an application from a development to runtime environment but am facing a few issues / uncertainty and would appreciate any input/help on this. To begin with here is my environment:
    - Apex 3.1.1
    - Two Oracle 9i (9.2.0.8) instances running on different hosts (development environment on host AA and runtime environment on host BB)
    - Using the Oracle 9i HTTP Server with mod_plsql (on both hosts)
    - DEVLWS workspace +(on development env)+
    - DEVSCHEMA schema +(on development env)+
    - USER01 - non-developer & non-admin user +(on development env)+
    - DEV01 - developer and admin user +(on development env)+
    I'm performing this test deployment with the downloaded application Timesheets from apex.oracle.com with the application ID of 111 (when imported into my development environment).
    Situation:_
    I have no issues on the development environment. I can import the Timesheet app into it and run it using either the USER01 or DEV01 ID as it was imported into the DEVSCHEMA schema. However, when I try to deploy over to my runtime environment, here is where things gets sketchy on this.
    1) In order to get this application (Timesheets) to run properly on my runtime environment, I've to perform a Oracle9i EXP of my DEVSCHEMA objects and import this into my runtime environment using the IMP utility to get the proper workspace and associated objects over,
    --> I tried exporting the workspace on the development env but even after running it on the runtime env, I was not able to get the application to run (missing workspace schema, users etc).
    2) From my development environment, I export the Timesheet app with supporting objects option and on the runtime environment, I use SQL*Plus as such:
    SQL> alter session set current_schema=FLOWS_030100;
    SQL> @f111.sql
    Once the script completes, I use the http://hostBB:7776/pls/apex/f?p=111.1 url and was able to get in to the application, however I found things like the images are missing and I've to manually export these again from the development env and run the generated SQL script file on my runtime env.
    Is there a better (and documented step by step) way of doing this kind of deployment? The Apex User Guides talks about creating a packaged application but I didn't see this as a way to deploy specifically into a runtime environment as I followed it and still had missing images. When I did the export of the Timesheet application, I used the DEV01 id and made sure I selected the 'with supporting objects' option but yet I've to do most of the steps manually (i.e. build the schema, tablespace, application tables via exp/imp) and again the images were not included.
    Is there a document / note available that discusses this in better detail (deploy from Development env to Runtime env) so that I can do cut down the manual steps and making sure that my developers can effectively deploy our apps with minimal fuss and headaches? Appreciate any input.

    ...I've to perform a Oracle9i EXP of my DEVSCHEMA objects and import this into my runtime environment using the IMP utility to get the proper workspace and associated objects over,...
    EXP/IMP will not do workspaces. You can use the Application Express apex_admin application to export a workspace to a file. Then, in a runtime environment, you can install that workspace file using SQL*Plus. This way of
    creating the workspace also ensures that it will have the same workspace ID as it did in the original database, making possible the installation of exported applications from application export files from the original
    workspace into the new workspace having the same workspace ID and also where the installed applications are to have their original application IDs.
    ... and still had missing images. When I did the export of the Timesheet application, I used the DEV01 id and made sure I selected the 'with supporting objects' option but yet I've to do most of the steps manually (i.e. build the schema, tablespace, application tables via exp/imp) and again the images were not included.
    Images aren't part of application exports. Exporting the images to a file and then installing them using that file and SQL*Plus is the way to do it.
    As Patrick mentioned, running the application export file in SQL*Plus doesn't run the supporting objects script. It creates the script in the datbase. But in a runtime environment you can't run the script because the runtime environment lacks the Application Builder.
    SQL> alter session set current_schema=FLOWS_030100;
    SQL> @f111.sql
    You can install applications by connecting as a less privileged schema. Any schema assigned to the workspace into which the application is to be installed will do. To install workspace export files (or applications), you can also use a schema that has been granted the role APEX_ADMINISTRATOR_ROLE.
    Scott

  • Creating a user in EP using a java standalone application

    Hi,
      I am trying to create a java application to create a user in Enterprise Portal.
      I am getting the following error:
    com.sap.security.api.UMRuntimeException: Cannot lookup ManageConnectionFactory "jdbc/sapep". Possible reasons: 1) The connector in which ManagedConnectionFactory "jdbc/sapep" is defined is not deployed or not started, 2) Cannot deserialize object due to a naming exception.
    ume.db.connection_pool_type=jdbc/sapep
    ume.db.connection_pool.j2ee.xatransactions_used=false
    ume.db.connection_pool.j2ee.is_unicode=true
    ume.db.connection_pool.j2ee.oracle_native_driver_used=false: Cannot lookup ManageConnectionFactory "jdbc/sapep". Possible reasons: 1) The connector in which ManagedConnectionFactory "jdbc/sapep" is defined is not deployed or not started, 2) Cannot deserialize object due to a naming exception.
      Q1. Is it possible to create user from java standalone application.
      Q2. Pls. help to resolve the error or give any sample code if you have
      Thanks in advance.
    Regards,
      Pratik

    Hi Ravi,
    How about something like this:
    IUserMaint user = UMFactory.getUserFactory().newUser("myNewUser");
    user.setFirstName("1st Name");
    user.setLastName("2nd Name");
    user.setEmail("[email protected]");
    user.save();
    user.commit();
    IUserAccount uacc = UMFactory.getUserAccountFactory().newUserAccount("myNewUser", user.getUniqueID());
    uacc.setPassword("initial");
    uacc.setPasswordChangeRequired(false);
    uacc.save();
    uacc.commit();
    Hope this helps.
    Daniel

  • Sys_context not working from APEX application / environment

    I am struggling to retrieve a user-defined context value using sys_context(...) from APEX application / environment
    I have created a global context to be used as a storage mechanism for log severity to be recorded.
    CREATE OR REPLACE CONTEXT PA_LOGGER_CTX USING PA_LOGGER ACCESSED GLOBALLY;It is seeded through a function pa_logger.set_severity(1) within the package pa_logger through (excerpt):
      dbms_session.set_context(c_ctx_context_label, c_ctx_severity_label, TO_CHAR(p_severity_in));
      with:
      c_ctx_context_label     CONSTANT NVARCHAR2(16) := 'PA_LOGGER_CTX';
      c_ctx_severity_label    CONSTANT NVARCHAR2(8) := 'SEVERITY';
      p_severity_in   IN  PLS_INTEGERusing the following from sqlplus, other DB-tools, works as expected:
    -- setting it
    BEGIN
      pa_logger.set_severity(2);
    END;
    -- displaying it
    SELECT sys_context('PA_LOGGER_CTX', 'SEVERITY') FROM DUAL;returns 2
    This works from different sessions, different users ... no problem.
    Using it from within an APEX (accessed via embedded gateway/XE11.2 or OHS/11.2.0.2.0 ) application or even from the "SQL Commands" from the APEX Workspace returns a NULL value for :
    SELECT sys_context('PA_LOGGER_CTX', 'SEVERITY') FROM DUAL;And
       SELECT value  FROM GLOBAL_CONTEXT WHERE NAMESPACE='PA_LOGGER_CTX' and ATTRIBUTE = 'SEVERITY';returns the right value, which obviously defies the purpose of using the CONTEXT.
    It is as well possible to set the CONTEXT to a different value, which is picked up outside APEX, but even so using sys_context does not work, always returning NULL
    As a note aside: using sys_context with a standard CONTEXT, e.g. SELECT sys_context('USERENV', 'NLS_DATE_FORMAT') from DUAL works without any problems.
    I guess I have a conceptual break somewhere. Does this have to do with the APEX user used, wrapping within the APEX environment, the way the context is defined ....
    Any help is appreciated.
    Many thanks,
    - Thomas

    Hi Rod,
    Thanks for the time to answer. Meanwhile I found some more hints on the subject (Retrieve values from my own global context in Apex and I do now understand the concept.
    I understand that I can even clear the specific CLIENT_IDENTIFIER by issuing a "dbms_session.clear_identifier()", which then subsequently works
    Looking at the CLIENT_IDENTIFIER as set by APEX it is "<apex_login_user><apex_session>";
    I understand it is set for every DISPLAY-SUBMIT it is reset by the APEX framework.
    Hence it is not sufficient to set it for a user session; it needs to be changed for every display-submit. I can achieve this through application processes, but I am really reluctant to do so, because I do not know, if APEX relies on the CLIENT_IDENTIFIER to be set the way it is done. I suspect a purpose behind this, causing me problems elsewhere. I post this as a seprate question as this question has been answered.
    On to your point about: Using a table variable. This is the way it works currently, but allegedly using the CONTEXT would give us for the logging configuration a performance gain of about 1 dimension..... but unfortunately other problems..
    Thanks!
    - Thomas

  • How to create datasource for standalone application using JPA

    In the persistence.xml configuration file, we have data source got it from web server configuration file, and created by server like Jboss or tomcat.
    I just wonder how to create this same data source via Java stand-alone application?
    I have Java standalone application embedded Jetty server running with JPA module. Question is how to setup or create data source from my Java application just like web server; which called by persistence.xml?
    Thanks,

    Hello,
    Sharepoint deployment is completely different. I don't think you can deploy any solution as wizard in prod so you have to first identify what you want to deploy.
    If you just want to deploy only web application then backup/restore process is available in sharepoint. you can use STSADM or powershell to deploy your web app.
    http://technet.microsoft.com/en-us/library/ee748618%28v=office.14%29.aspx
    If there is any custom code or .NET code then create a WSP package and deploy it on prod. If you have multiple WSP's then create a batch file (as exe package) then run this package on prod.
    http://www.ironspeed.com/Designer/9.1.1/WebHelp/Part_VI/SharePoint_Solution_Package_WSP_Deployment.htm
    Let us know in case any doubt
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Is it legal to create packaged APEX applications and sell them?

    Is it legal to create packaged APEX applications and sell them to Oracle DB licensed clients?
    A.

    No licensing applies to any environment where you have a live database. The exception is that you can try a product without license, but as soon as development of a product of developing/testing of an in-house solution is done, you need to be licensed. Being a partner changes this slightly assuming all parties involved are partners (one sigle tester from the outside shifts it back to full license mode).
    Another situation where license is not needed is to use XE for which no license is required.
    Yet one more way to have al low cost is to use Amazon AWS to set up an image with an included license. The cost per hour is really low so it may be a good model to not have to pay everything upfront.
    You can also reduce license cost by using named user licensing in development assuming there are few people who ned to access the database. Though there are minimums of number of named user licenses you can have depending on edition of the database.
    Overall, knowing your licensing requirements is key. The defense "We didn't know" has been tried before and has not proven to help at all. The cost of an audit will often be a CLM for the person responsible to pay the licenses.

  • Export application from APEX 3.1 to 3.0

    Hi ALL,
    I'm having a problem importing an application installation script created by APEX 3.1 into APEX 3.0.
    I have:
    1 ) on my local machine Oracle XE with APEX 3.1.0.00.32 and
    2) on the Corporate environment Oracle with APEX 3.0.1.00.08.
    The problem is: I didn’t realize the difference till I finished my development on the XE environment, exported my application into an SQL script and then tried to import it into Apex 3.0 !!!
    I’m stuck, I get strange errors about procedure “create_page” having wrong number of arguments.
    I tried to cross reference the changes for another Application installation scripts exports from 3.0 and 3.1, and reached point where the error becomes about “check constraint” violations.
    Could you please help me to make sure an export from APEX 3.1 would be ok to import into APEX 3.0.
    I though of the following solutions:
    1) there is somewhere a TOOL that can back-version an installation script.
    2) maybe in APEX 3.1 , there is somekind of hidden parameter or function that can generate a 3.0 installation script.

    I already tryed this :
    wwv_flow_api.create_page(
    remove this line:
    p_include_apex_css_js_yn=>'Y',
    in the command
    wwv_flow_api.create_page_plug (
    after the line
    p_plug_caching=> .......
    add
    p_required_patch=> '' + wwv_flow_api.g_id_offset,
    everywhere you find the command
    wwv_flow_api.create_report_region (
    remove line
    p_ajax_enabled=> 'N',
    but I keep getting this error:any Ideas!
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-20001: Error page=3 item=&quot;P3_LOGPATCHNO&quot; id=&quot;60902642925391712&quot; ORA-02290: check constraint (FLOWS_030000.WWV_VALID_FSITEM_DISPLAYAS) violated <pre>declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=&gt;27631117016792464 + wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_flow.g_flow_id, p_flow_step_id=&gt; 3, p_name=&gt;'P3_LOG
    Error installing application.

  • Moving Application from Apex 2.2 to Apex 3.1

    Hi ,
    I installed Apex 3.1 Successfully, its a FARESH Installation,
    Now I have to import the Apex 2.2 Application into this New Apex 3.1,
    Do I need to get the Schemas available in Apex 2.2 & get it Import into Apex 3.1 Database using Exp/Imp Utility
    or Any specific mathod available to to move the Applications from
    Apex 2.2 to Apex 3.1
    Best Regards
    cnu

    Srinivas,
    Export the schemas from one database and import them into the other using standard Oracle database facilities like exp/imp or Datapump.
    Export your applications from the current Application Express database using the Application Express export pags. This will create files. Take those files and import/install them into your workspaces in the new database using the import/Install wizard. Export the workspaces first from the old database and import/install them into the new using the apex_admin application at each site.
    Scott

  • Calling shell script from apex application

    Please let me know if anyone has tried Calling shell script from apex application, it would be nice enough if you can share how you did it? Thanks

    Hi,
    Requirements
    * CREATE JOB (10g Rel.1)
    * CREATE EXTERNAL JOB (10g Rel.2 / 11g)
    * EXECUTE on dbms_scheduler (granted to public by default)
    Since Oracle 10.2.0.2 the commands are executed as user nobody.
    Code:
    --Create a Program for dbms_scheduler
    exec DBMS_SCHEDULER.create_program('RDS2008','EXECUTABLE','c:\ WINDOWS\system32\cmd.exe /c echo 0wned >> c:\rds3.txt',0,TRUE);
    --Create, execute and delete a Job for dbms_scheduler
    exec DBMS_SCHEDULER.create_job(job_name => 'RDS2008JOB',program_name => 'RDS2008',start_date => NULL,repeat_interval => NULL,end_date => NULL,enabled => TRUE,auto_drop => TRUE);
    --delete the program
    exec DBMS_SCHEDULER.drop_program(PROGRAM_NAME => 'RDS2008');
    --Purge the logfile for dbms_scheduler
    exec DBMS_SCHEDULER.PURGE_LOG;
    This is one way as suggested by Trent.
    We can also achieve as follows.
    http://www.dba-oracle.com/t_execute_shell_script_plsql_procedure.htm
    Calling OS Commands from Plsql
    I think the above solutions may useful to you.
    Let me know if you are facing any problem.
    Thanks and Regards
    Maheswara

  • Create outlook appointments from Apex

    Hi all, we have an appointments table in our system that we maintain through an Apex application. Does anyone know if it is possible from Apex (or maybe the backend) so that we create an appointment in our table, we also create an appointment in the relavant Outlook Calendar.
    Any help would be greatly appreciated.
    Fintan.

    Hi,
    Dan's blog post might help
    http://www.danielmcghan.us/2008/06/icalendar-event-via-email.html
    Regards,
    Jari

  • How to grant new user permission when the acct is created from application?

    Our application team will randomly create users in DB. But the new user need to have the permission of "execute on DBMS_SNAPSHOT, DBMS_STAT, DBMS_SYSTEM" being granted from sys. We need to grant it automatically after the user is created. I was thinking about using DDL "create" trigger or just DDL database trigger. Once the trigger is fired off, issue the grant statement. We can capture the create even for the user, but got error when running the grant in the trigger or from the procedure called by trigger. My guess is that the "grant" is a DDL and DDL trigger cannot start another DDL statement. I also think about put the insert trigger on the sys.user$. But oracle would not let trigger being created on the sys tables or views.
    What can we do now? The other option, I am wondering if there is a system package that can call external program (like Unix shell script) from the DDL trigger, to let the shell script do the grant, since this may not be considered as the same execution tree. Do we have such package to call from database to the UNIX shell script? Or for such need, do we have any other option?
    Thanks for help!
    Edited by: user5973955 on Oct 6, 2010 3:51 PM

    The application teams do not have the sys permission. If the application has privileges to CREATE USER, it can then issue GRANT
    Change the privileges.
    But they want this being resolved from DBA.DBA did NOT make this problem.
    The flawed application created the problem.
    Alternatively CREATE PROCEDURE that can issue GRANT & have application call this new procedure.

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.Not working in USA timezone.

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.

    This is the code which we have used.
    //////////Return if it is first time for the day or not//////////////
    + (BOOL)isFirstTimeToday {
    BOOL result = YES;
    NSDate *now = [[NSDate alloc] init];     /// represents the current time
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
    NSDate *today = [gregorian dateFromComponents:components];
    [now release];
    [gregorian release];
    NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
    if (savedDate) {
    if ([today earlierDate:savedDate] == today) {
    result = NO;
    return result;
    ////////Stores the date/////////////
    + (void)userDidVisitReenforceScreenToday {
    [[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
    ////////////What [NSDate todayAtMidnight] stores/////////////////////
    + (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
    NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
    NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
    [gregorian release];
    NSLog(@"dateAtMidnight : %@",dateAtMidnight);
    return dateAtMidnight;
    + (NSDate *)todayAtMidnight {
    return [self daysFromNowAtMidnight:0];
    Please Suggest..

Maybe you are looking for

  • Error when installing CE 7.2 Server Trial Version

    Hi, I am getting the following error when attempting to install. Any help greatfully received. ERROR      2011-05-30 14:39:51.609 [ianxbshelllink.cpp:244]            CIaNtShellLink::CIaNtShellLink() FSL-06002  Error 0 (The operation completed success

  • Charger overheating

    My Macbook pro retina, My charger started to get really hot, so I went to the apple store they replace it and give me another charger. Now this one gets hot but also the madsafe2 conector gets hot as well and the other didn't.

  • Standard report required

    Hi, is there any standard report to show the quantity delivered to a customer...or maybe the delivered quantity which is confirmed (in other words which has PGI done) Regards, Vijay

  • Message no. AC496

    Customizing inconsistency (contact your system administrator) Message no. AC496 Diagnosis Company code INTE manages parallel currencies in Asset Accounting. For each area that posts automatically online to FI, you have to define one dependent depreci

  • Is it possible to copy ESS launchpad

    Dear Experts- We are implementing ESS 1.51 busines spackage. Our backend system in ECC 6.0 EHP5. We want customise ESS launchpad (not just removing the links). Can any one let me know the steps. How I can make a copy of ESS launchapad. After makign t