Export APEX application

I am getting this message on Firefox when I try to login the application as a developer
The requested URL /apex/f was not found on this server,
and this error on Internet Explorer
Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
Error ERR-7621 Could not determine workspace for application (:) on application accept.
The login page opens but after enetring my credential the errors appear.
The XE database and the apex 4.0.2 are installed in a Linux CentOS server where i have acces via PuTTY, my machine i a windows 7
Have been searching for the right way to fix this, but just got nothing, so here is my question:
Can I somehow export an application right from data base, via pl/sql or any other way, I need the application I made but cant get into it, I've been backing up the application on every change I make but the last update wasn't backed up plesa any help?

I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: oracle.apex.APEXExport
at java.lang.Class.initializeClass(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.Class.forName(libgcj.so.7rh)
at java.lang.Class.initializeClass(libgcj.so.7rh)
I've executed from utilities:
cd apex
cd utilities
#java oracle.apex.APEXEXport
#java oracle/apex/APEXEXport
and direct form the apex folder
cd apex
cd utilities
cd oracle
cd apex
#java oracle.apex.APEXEXport
#java oracle/apex/APEXEXport
#java APEXEXport
#java APEXEXport
with and without arguments

Similar Messages

  • Export APEX application will not import to another APEX instance

    Oracle XE 11gR2
    APEX 4.1.1
    Windows 7
    ===============
    Get the following error when trying to import (via SQL*Plus) an APEX application:
    ORA-02291: integrity constraint (APEX_040100.WWV_FLOWS_FK) violated - parent key not found
    ORA-06512: at "APEX_040100.WWW_FLOW_API", line 679
    ORA-06512: at line 3
    Used the following PL/SQL block to import APEX application:
    declare
    -- the name of the workspace in which to import -- actually your parsing schema
    t_workspace varchar2(30):= 'APEXAPP';
    -- an application number of an existing application in the workspace.
    t_existing_app number := 103;
    -- the "new" application number, an existing number will be dropped first.
    t_new_app number := 103;
    -- security group id, you don't have to set this variable
    t_secgrp_id number;
    begin
    -- get the Security Group ID
    select workspace_id
    into t_secgrp_id
    from apex_applications
    where application_id = t_existing_app;
    wwv_flow_api.set_security_group_id(p_security_group_id => t_secgrp_id);
    apex_application_install.set_application_id(t_new_app);
    apex_application_install.generate_offset;
    apex_application_install.set_schema(t_workspace);
    apex_application_install.set_application_alias('APEXAPP' );
    end;
    @C:\DEPLOY\APEX_APP.sql;
    commit;
    =====================
    I recently did an upgrade from APEX 4.0.2 to 4.1.1 but there were no apps in this particular APEX instance. Just needed an upgrade because the APEX that
    comes with Oracle XE database is 4.0.2 and we are developing with APEX 4.1.1
    Please advise. This block has been used before to deploy APEX exports.

    I'm front of the same issue.
    Did you find a solution ?
    Thanks for help.
    Fanny

  • Export Apex application from the command line and eliminate Apex

    I had a problem to migrate version 4.0.2 to 4.1 Apex, and I can not access to Apex. I open a Thread with the problem but so far I have no answers.
    Given that Apex is not working, I can think to do the following:
    ---Export applications that are currently installed in Apex
    ---Totally eliminate the apex and do a new install
    Does anyone know if this is a viable option?
    If Yes, what package I have to run to make the export of applications?
    How do I completely remove the current installation of Apex? And leave prepared the database for a new installation from scratch, the version of Oracle we use is 11 g Enterprise Edition Release 11.2.0.1.0.
    If someone can give me any advice would be very grateful.
    Best regards
    Gerard

    Hi Patrick
    +(-) Do Have you had any installation issues?+
    I had some but I think that are already resolved, I have another open thread Re: Big problem in update to Apex 4.1 with the details of the problems I had.
    +(-) Do Have you checked the log files?+
    Where can I find them?
    +(-) What is your database version?" "Does Is it XE?"+
    I'm using "Oracle11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production"
    +(-) Which web server do you use to access APEX (Apache with mod_plsql, APEX Listener or Embedded PL/SQL gateway (EPG))?+
    Embedded PL/SQL gateway
    +(-) Which URL did you use in the past to access APEX?+
    This URL: http://192.168.0.5:8080/apex/apex
    +(-) What happens if you enter http://192.168.0.5:8080/apex+
    If enter "http://192.168.0.5:8080/apex/" I get the following error
    "Error ERR-1014 Application not found."
    "application = 4500 workspace = 10"
    Thanks a lot
    Gerard

  • APEX Application Export/Import

    Hi,
    I have my application build in APEX on 10.2.0.4 database which now i want to migrate to 11.2. Name of schema on the back of my application is DBADMIN. What i have done is, i just exported the application from my current apex on 10.2.0.4 and tried to import on my 11.2 but it gives me following error message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 80, column 32: PLS-00103: Encountered the symbol "!" when expecting one of the following: ( - + case mod new not null <an identifier> <a double-quoted delimited-identifier> <a bind variable> continue avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date <a string litThis is first time i am migrating my application so please help to find out what is the issue and how to resolve it. Following is the detail how i performed the operation
    Source APEX
    Workspace name = Monitoring
    User of application which loged in to this workspace and created application = SALMAN
    Application name = Monitoring
    Database schema name behind application = DBADMIN
    I exported application in UNIX and also DOS format
    Destination APEX
    Workspace name = Monitoring
    User of application which loged in to import the application = UTACADMIN
    Database schema name behind application = DBADMIN and i have already exported the schema from my source database have imported all the objects with data
    Tried importing application from UNIX as well as DOS script but same error message as above.
    Please guide me how can i successfully migrate my application from my source APEX to this new APEX
    Thanks

    Now i exported the workspace from my source APEX and imported in destination and everything is fine and now apparently everything is same but still same error during import of the application, please help to resolve.
    I tried to execute the application export script on sqlplus, but following error was returned
    EMREP.UTAC.COM.SG$APEX_030200> @d:\f100.sql
    APPLICATION 100 - Monitoring
    Set Credentials...
    Check Compatibility...
    API Last Extended:20090112
    Your Current Version:20090112
    This import is compatible with version: 20090112
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-02291: integrity constraint (APEX_030200.WWV_FLOWS_FK) violated - parent
    key not found
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 555
    ORA-06512: at line 3Thanks
    Salman

  • Apex Application Export

    hi,
    Could any one let me know if we could take the complete export of the apex applications present in our workbench instead one by one. can the admin do.
    for example we have 100 apex applications in our workbench and we need to take the compete export so that we could import into a different instance. for that to work we would also be exporting our schema so that once we import the applications we can start working as we were doing earlier.
    we can export one by one which would take lot of time, So please can any one let me know if there is an option to export the complete applications in one short.
    Thanks & Regards,
    Ramu
    Edited by: user526994 on Dec 14, 2011 1:14 AM

    Hi,
    You can use command line export utility.
    John have write good article about it
    http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • HOW EXPORT MY APPLICATION IN APEX

    Hi please I have a problem, I created my application in my computer of my job, but I want to export it with "support objects" and to work at home. When I export my application has problems because my application haven`t the tables. When I want to install the support objects it generates an error referent to the tables that i want to include in the application. Why ? What is the problem ? What do I have to do for the support objects installer accepts the tables that i want to include?
    the following prerequisits checks failed installation of this application’s supporting objects cannot continue until these issues are resolved.
    To continue installation after addressing the errors, navigate to the Supporting Object Definitions of this application and click INSTALL in the Supporting Objects Installation section
    Alternatively, you can desisntall the application definition and reinstall after resolving the issues
    Object Names : SATI_AREA, SATI_CARGO., SATI_CATEGORIA, SATI_DIRECCION, SATI_EQUIPO, SATI_ESTADO, SATI_PRIORIDAD, SATI_SOLICITUD, SATI_SOLICITUD_SEO, SATI_TECNICO, SATI_TIPO_CAT, SATI_USUARIO, INSERT_SATI_SOLICITUD

    Ask dba if they made a backup of database BEFORE you deleted app.....
    Thank you,
    Tony Miller
    Webster, TX
    What if you really were stalking a paranoid schizophrenic... Would they know?
    If this question is answered, please mark the thread as closed and assign points where earned..

  • APEX application deployment

    Hi All,
    I will soon be exporting my first APEX application from a development database to a test database. I do not want to export the data which the application is built on as the development database contains sample data instead of the "real" data. Before exporting my application, I will of course install APEX 3.2.1 in the test environment and then import the "real" data into the test database so that once the application has been exported and installed in the new environment, the APEX application will already have its data in place.
    On page 14-12 in Chapter 14 of the Oracle Application Express Application Builder User's Guide, I saw the following section:
    Exporting an Application
    When you export an application, Oracle Application Express generates a text file containing PL/SQL API calls.
    To export an application:
    1. Navigate to the Export page:
    a. On the Workspace home page, click the Application Builder icon.
    b. Select an application.
    c. On the Application home page, click Export/Import.
    d. On the Export/Import page, click Export and then click Next.
    2. From Application, select the application to be exported.
    3. From File Format, select how rows in the export file will be formatted:
    ■ Choose UNIX to have the resulting file contain rows delimited by line feeds.
    ■ Choose DOS to have the resulting file contain rows delimited by carriage
    returns and line feeds.
    4. From Owner Override, optionally select another owner. By default, the application is owned by the owner identified in the application attribute owner.
    5. From Build Status Override, select one of the following:
    ■ Run Application Only - Developers can only run an application
    ■ Run and Build Application - Developers can both run and edit an application
    Selecting Run Application Only is an effective way to protect an application from modifications from other developers.
    6. From Debugging, select one of the following:
    ■ Yes exports the application with debugging enabled.
    ■ No exports the application with debugging disabled.
    7. From Exporting Supporting Object Definitions, specify whether to export
    supporting object definitions with your application.
    8. From Export Comments, specify whether to export comments for this application.
    See "Adding Developer Comments" on page 6-22.
    9. Use the As of field to export your application as it was previously defined. Specify the number of minutes in the field provided.
    10. Click Export Application
    Since I do not have any images, themes, static files, workspace users, cascading style sheets, etc, to export, it makes no sense to use the “Packaged Application” method to perform the export. All I need is the application definition that contains all my interactive reports, forms, etc.
    The next step would then be to Import the application into the target Oracle Application Express instance and install the application.
    This method should be OK for my needs, right?
    Thanks

    By simply doing an application export, all you will export is the metadata associated with your application (page definitions, items, processes, validations etc).
    No "Customer Data" will be exported neither will any tables or PL/SQL packages that are owned by your parsing schema.
    If you aim is simply to export the APEX application and no tables, pl/sql units, data etc, then doing a simple application export should be good enough. Thats all we ever do and then add the PL/SQL units / table data on top as additional scripts.
    Hope that helps
    Duncs
    http://djmein.blogspot.com
    As a courtesy, please remember to mark helpful or correct responses accordingly :)

  • Best Practice for implementing dual APEX applications environment

    Question:
    We are in the early stages of building an APEX application for Oracle SaaS consumption. The question I wanted to ask you is what would be the best way to deploy this app for production? Would it be easier just to create a new workspace in apex.oraclecorp.com and export the app definition or create a new instance of APEX container? Also, if we were to create a new container then what are all the hardware/middleware required?
    Follow up questions:
    1. What are you building and for what purpose?
    We are building an application for oracle employees (development, operations, and support) to assist in interacting with the CRM Saas environments. Entering bugs, tracking patch level, obtaining relevant environment contacts & urls.
    2. Who will be installing this application? Oracle customers? In their own on-premise APEX instances? Oracle Cloud?
    For the foreseeable future, there will only be the one internal install for internal use (CRM SaaS Enablement Team, DevOps).
    3. What are the database and APEX version requirements you'll have for this application?
    We do not have a particular requirement. The latest GA version would be the best candidates.
    4. Is it safe to say that there is minimal understanding & experience of APEX on your team?
    All we know is self-taught and from forum responses. Part of the problem we face is that we don’t know how to frame the questions in a way they can be understood.
    APEX container - By this I mean a fully functional APEX environment where applications can be deployed to.
    Use Case - We want to be able to make our Apex app available to the consumer (see above) and also continue to develop new features into that app for use at a later date. We are asking for information about a development model that works well for Apex apps.
    Thanks!!

    Moved the question to the internal Oracle forum:
    http://myforums.oracle.com/jive3/thread.jspa?threadID=1058413

  • How to restore or backup Apex application from Command line ? URGENT

    We have Oracle apex 4.1 installed in Oracle 11g R2 database (windows 64-bit) 2008 R2
    For some reason our database dictionary objects are corrupted.
    We wanted to backup our Apex applications in some workspaces ASAP.
    We are not able to access apex from http://localhost:7777/pls/apex/htmldb_login
    We have an underlying database schema export (expdp).
    1) Is there a way to export or backup the apex application without logging into the apex URL ? if yes how ?
    2) Does Oracle has any of its own native tool to backup and restore from command line ?
    Thanks in advance

    My (MS Windows) experience, if I may; perhaps you'll find something useful.
    You'll find the README.TXT file in /apex/utilities directory. Read it.
    In order to use APEXExport, you need JDK version 1.5 or higher. Check your version by typing (and viewing the result):
    C:\>java –version
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)Its directory should be part of the PATH environment variable: on my computer, directory name isC:\Program Files\Java\jre1.6.0_06\binFurthermore, Oracle JDBC class libraries must be part of the CLASSPATH environment variable. Check whether it exists (in Control Panel - System - Advanced - Environment Variables). For my 10gXE, it is here:C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarI couldn't make it work; didn't know that ".\" directory must be entered into CLASSPATH as well (found that information in Arie Geller's book). Therefore, my final CLASSPATH version is:.\;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jarOK, setup is done. Now, go to your /apex/utilities directory and, from the command prompt, run (mind the upper case!)java oracle.apex.APEXExportwhich will show a short help.
    I chose to export the whole workspace. In order to do that, I need the workspace ID (got it from Apex's SQL Workshop; that might be a problem as you can't get there, can you? I can't tell how to find that information apart from SQL Workshop, but I'm pretty sure someone, who is much more experienced than me, will know it). OK, here's how you find it:select v('WORKSPACE_ID') from dual;Finally, here's the final step - export:C:\apex\utilities>java oracle.apex.APEXExport -db localhost:1521:xe -user scott -password tiger -workspaceid 1038408092496568The result are fxxx.sql files (where "xxx" represents application number).
    I hope you'll manage to export your applications; basically, nothing special here (except that ".\" directory in the CLASSPATH variable).
    Best of luck!

  • How to Save HTML page in Apex application into our local Windows Box

    Hi,
    I am having one HTML page in my Apex Application. I want to download this page into my Local Windows machine. How to do this?
    Thanks
    Yash

    I am having one HTML page in my Apex ApplicationWhat did you mean by this ?
    <li> If you meant an application page, then they are anot stored as html file anywhere as the page that you see is generated at the run time only, however you can can save that run time page , but its of not much use.
    <li> If your intention is to save/backup an apex page, go to the page and export it . This generates a SQL file which you can import into any other apex application and recreate that apex page.
    <li> You can also export the entire application as a single file too.

  • How to deploy a JSP page into my APEX application?

    hi all,
    i am using a JSP to upload multiple spreadsheets into the db. i want to deploy it on the APEX and use it as part of my APEX application's uploading feature.
    i already have the JSP file with me. can somebody please tell me how to put that onto the APEX?
    Thanks,
    Basavaraj

    One way using JSP portal is, creating Portal project with JSP Dynpage applications
    You can use NWDS tool to create JSP Dynpage based Portal components.
    Procedure to create and deploy Portal  components,
    1. Open Enterprise Portal Perspective in NWDS
    2. Create -> new Portal Project -> Give the valid name
    3. Right click on the project -> Choose Portal Object -> JSP Dynpage -> Give all the information including JSP name. -> Finish
    4. Right Click on the project structure -> Properties -> Java Build Path -> All the following jars
            htmlb, com.sap.portal.html_api.jar, servlet
    5. Navigate to your JSP page located under the folder PORTAL-INF, Write logic
    6. Right click on the portal projet-> Refresh -> Re-Build
    7. Right Click on the portal project -> Export -> Give the Valid  Portal serverdetails, Admin user name and password
    8. You can create iView (iView from PAR) in content admin for the developed portal component
    Ram

  • How to backup Apex applications using some script ?

    We have Apex 3.1 installed on our server.
    We have several workspaces + applications installed.
    I wanted to backup all the apex applications in our database, just as a precautionary measure.
    I know we can export each application individually using the web login, but I was wondering
    if there is any kind of sql script or something which I can run as a batch job in windows which
    will automatically backup all the apex applications installed.

    Does the logical backups of the database what we take include the Apex applications as well ?
    So lets say:
    Database schema name: abc
    apex workspace: abc_ws
    applications in that workspace: 1,2,3,4,5
    Now at the database level if export the ABC schema and restore it to another database,
    will my apex applications are also backed up ?

  • Oracle upgrade: whether Apex application will be affect

    Hi All,
    We plan to upgrade our current DB to a new server and new oracle database( from 10.2.0.1 32bit to 11gR2 64bit) by using export/import.
    My question is currently there are many APEX applications running in 10.2.0.1(around 20 Apex applications), and our client may not need to upgrade apex at the same time.
    I am not sure whether this upgrade will cause any issues to the Apex applications or what should to be done for Apex before the DB upgrade.
    The current version of Apex is 3.2.0.00.27. Any Advices or Documentations is highly appreciated.
    Thanks very much for your attention.
    Regards
    Rachel
    Edited by: Pengqi on 26-May-2013 18:26

    11gR2 includes Apex version 3.2.1. I have not tried this process, but this should work
    1. Install 11gR2 software
    2. Create an empty database.
    3. Drop any APEX related schemas
    4. Perform a full export from 10.2.0.1 and then perform a full import into 11gR2
    HTH
    Srini

  • Export of application will not include users

    If export an application the export doesn't seem to include all the users I have created for the application or really the workspace. Is there a way to export those users and import them into another workspace (same name and same number)
    Andy

    Hi Andy,
    I assume you're talking about the built-in APEX users? They will be exported as part of the Workspace export rather than the Application export.

  • Can't install my Apex Applications from 10.2XE

    Installation from 11.2 XE went without problems, but I had a problem importing my Apex applications from my old 10.2XE database.
    According to the Installation Guide, 7 Importing and Exporting Data between 10.2 XE and 11.2 XE
    2. Connect to 10.2 XE database as SYS user and run gen_inst.sql. This will
    generate install.sql, gen_apps.sql and other .sql files. The files will
    be generated in the folder containing gen_inst.sql.
    => the generated script f100.sql ends with
    ERROR:
    ORA-06502: PL/SQL: numeric or value error: host bind array too small
    ORA-06512: at line 1
    This was during:
    --application/shared_components/plugins/region_type/com_oracle_de_cczarski_labelcloudplugin
    begin
    wwv_flow_api.create_plugin (
    => the generated script f100.sql doesn't contain "set scan off"
    but does contain lines like "p_home_link=> 'f?p=&APP_ID.:1:&SESSION.',"
    Running the script f100 with set scan off added results in
    ...page templates for application: 100
    ......Page template 2301643674799144
    ......Page template 2301746430799146
    ......Page template 2301820809799146
    ......Page template 2301944547799146
    ......Page template 2302037696799146
    ......Page template 2302118851799146
    ERROR:
    ORA-01741: illegal zero-length identifier
    Anton

    Anton,
    1) When you export your application 100 from within Application Express from your old instance and you compare it to the one generated, are there any significant differences?
    2) Can you export your application 100 from within Application Express from your old instance and import it back into the same (old) instance but with a different application identifier?
    Joel

Maybe you are looking for

  • How do I link a drop down menu with product pictures?

    I wan to have  a product picture and then have a drop down menu to choose the color, so when I select the color in the drop down menu the product picture chages to its corresponding color, is this possible? Or is there an alternative way?

  • Is there a way to create a file merge that updates from the original source file if changes are made?

    I have thousands of PDF documents that are merged with other files. I'll give an example so it's easier to understand. File #1 may be merged (or in a portfolio) with Files #2 and #3 but also in another merge (or portfolio) with Files #3 and #4. If I

  • Can I Install OS X 10.5 Leopard on my Mac?

    I use a PowerPC G4 (QuickSilver 2002) computer.  Can I install OS X 10.5 Leopard on my Mac? * Processor:  Dual 1 GHz PowerPC G4                      2 MB L3 cache per processor * Memory:  1.5 GB SDRAM

  • BPM and IDoc

    Hi all, we have set up a scenario where an IDoc is the trigger for a Business Process which then sends an IDoc to another system. Unfortunately this Business Process is not beeing triggered! Has anyone succeeded in starting a similar process???

  • Sort Photo

    Om my ipadI and iPad II Photo's seem to be placed in à random way and not as in the original way as it is in my desktop (Photo sorted by date of taken) Never had this problem before, but I'm afraid that it has something to do with ios5.