Importing components to Application Express

When trying to import a component export into Application Express with same app Id and workspace I have problems when I get to the report layouts and report queries.
I get this for some, not all of the report layouts:
Component Export: REPORT LAYOUT 30423319886223781
...report layouts
WWV_FLOW_API.ERR_REPORT_LAYOUT_CREATE ORA-00001: unique constraint
(APEX_030200.WWV_FLOW_REPORT_LAYOUTS_IDX2) violated
but the import continues until it gets to the report queries, I get through 5 and then this:
Component Export: SHARED QUERY 25478002913036435
...shared queries
declare
ERROR at line 1:
ORA-00001: unique constraint (APEX_030200.WWV_FLOW_STORED_QUERIES_UK1) violated
ORA-06512: at "APEX_030200.WWV_FLOW_API", line 6261
ORA-06512: at line 32
then it stops and quits...
Why am I getting this on only certain report layouts and queries??

Hi,
I think you are posting to wrong forum. Virtualization Discussion Forum is here.
Oracle VM Server for x86
Anyway,
There is by default obe workspace. User and password for that workspace is obe
If you need login to APEX administration, then use apxchpwd.sql from oracle user home folder to reset INTERNAL workspace ADMIN user password.
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Similar Messages

  • Problem while importing the application in application express 3.0

    Hi Friends
    We have developed an application in a workspace say X. I imported the complete application in different workspace Y and the import was successfully. Now if I export a single page from that application in workspace X and import in workspace Y, then it gives me error as
    "This page was exported from a different application or from an application in different workspace. Page cannot be installed in this application."
    Also I tried changing the application id in the export file but did not work.
    Is their a workaround for this?
    (We are using application express 3.0.0.00.20)
    Thanks
    Minakshi

    Hi Scott
    1 ) Page exports are to be imported into an application having the same ID as the source application in the same named worskpace.
    But the problem is I cannot have same application id in the same workspace or in different workspaces even. I exported the complete application from workspace X with application id as 555 and tried importing the application in workspace Y with the same application id. But that does not work since it throws the error message as the same application id cannot reside in 2 different workspaces.
    2) You don't say whether workspaces X and Y are in the same or different databases.
    Both the workspaces X and Y are in the same database. The database user/schema that is associated with workspaces X and Y are different.
    3) Also I tried changing the application id in the export file but did not work.
    Following is the extract of the page that i tried importing. The places wherever it is marked BOLD, i modified them in the original page export sql file.
    --application/set_environment
    prompt APPLICATION 500 - Load_Factor_System
    -- Application Export:
    -- Application: 500
    -- Name: Load_Factor_System
    -- Date and Time: 15:52 Wednesday May 16, 2007
    -- Exported By: ADMIN
    -- Flashback: 0
    -- Export Type: Page Export
    -- Version: 3.0.0.00.20
    -- SET APPLICATION ID
    wwv_flow.g_flow_id := 500;
    wwv_flow_api.g_id_offset := 0;
    null;
    In case you need further clarifications, please let us know.
    Regards
    Minakshi

  • 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.

  • Version Control for Application Express

    Hi all,
    We are using Application Express (HTML-DB) 2.0 with Oracle 10g Release 2. We have developed a number of pages within our application (basically sales reporting). We are starting to get ready move these pages to a test and production environment.
    Before we move to a production environment we need to implement a version control and migration (development -> test -> production) system. I have read various posts about importing and exporting pages and applications that have been very informational. However, I am still not clear on certain areas, any help/information on the below questions/comments would be helpful.
    1.     How are other people implementing version control? For some of our other environments (for example, PeopleSoft-SQR) we use Visual Source Safe. Can we use this along with Application Express or is there a way to keep track of versions within Application Express it self?
    2.     I see you can view a pages history at Home>Application Builder>Application 107>Page Definition>History. Is there a way to view the differences between the pages or to revert back to an older page?
    3.     I know you can export a single page but that leaves shared components “behind” that might leave the complex page in a non-working state if imported and installed in the production application. Is there a way export and import shared components, for example LOVs?
    These are a few of the questions I have…but I thought it would be a good place to start.
    Here are a couple of links that have given me some information related to the topic.
    Synonyms
    http://htmldb.oracle.com/i/doc/mvl_manage002.htm#sthref1206#BABFBBEE (I believe this is for HTML-DE Version 1.5…I did look in the same area for 2.0)
    Version Control
    How do people version control HTML DB applications?
    I would be interested in hearing your thoughts and ideas on this topic.
    Thanks,
    Stuff

    Stuff - this is also something we've been grappling with.
    Did you see the excellent tip about using Web server (or PL/SQL) redirects to point to the current app? The idea is that you copy the current prod app, work on the copy and then update the redirect to point to the new app when it's released and make the old app unavailable.
    This is quite brilliant in its simplicity, and has the added benefit of leaving the old app intact for bug fixes and re-releases, (or even rollback) if necessary. However, the problem with it, and the reason it's no good for our purposes, is because it sits on top of the same schema, so if the version control applies to objects in the database (i.e. the schema itself or packages etc.), then you're snookered (as far as I understand it anyway).
    In a previous project, our suppliers used VSS and versioned code at the app and function/procedure/package level - I'd love to know if anyone has a robust scheme for versioning at page level.
    I suspect History is an audit trail rather than versioning - I can't imagine that all the objects in all their respective states are being persisted for anything other than 'undo' purposes.
    Versioning at page level seems to be problematic but it can be done, provided that the shared components are sufficiently consistent. The trick is to edit the security group ID, but the usual caveats apply.
    What seems problematic to us is how to create a build out of components at different versions, like you might in a conventionally-packaged exe. I think we might end up checking in (or just saving in the file system) consistent versions at app and package level (having developed and tested in a separate schema or instance), and doing an overwrite of the prod app plus running a DDL script for package/function/procedure updates with schema deltas and other things like image uploads applied manually at cutover.
    I suspect that once I delve a bit deeper into where all these objects are stored, there will be more potential for scripting, but I'm not entirely confident that this will, reliably, give us entirely what we had in Pre-Prod. Another problem I've found with this approach is that packages don't get consistently replaced.
    It may simply be that we're applying waterfall concepts to what is really a RAD tool, but in any case this is my first Web-enabled development so I've been at sea with everything from design methodology to version control.
    Like you, I would be really interested to hear of other suggestions.
    Regards,
    John.

  • How to Import 3.0 application in APEX 3.2?

    How to Import 3.0 application in APEX 3.2? These two are on two different machines. It is not upgrade.
    Pls help.

    Hello,
    APEX supports backward compatibility. It means that 3.2 version can run any application that was developed in earlier versions.
    In your case, just export the full application from 3.0 and import it in the 3.2
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More

  • How can you SELECT via Database Link CLOB data using Application Express?

    Customer Issue:
    Developer using Oracle's Application Express 3.1. The Developer is trying to SELECT a CLOB datatype column from a remote (10.2.0.3) database, via a database link on her 10.2.0.4 based client Application. The Developer wants to be able to select CLOB data from the remote database which has limitation that she can't make any changes to the remote database.
    Developer's Comments:
    I do a select and get the error. Getting error ORA-22992: cannot use LOB locators selected from remote tables. So she feels she can't use dbms_lob.substr in this configuration I can do a "select into" but that is for one value. I am trying to run a select statement for a report that brings back more than one row. I do not have permission to change anything on the remote database. I want to access the remote database and multiple tables.
    This is not something I work with, would greatly appreciate help or ideas. Is this a limitation of the 3.1; or does she just not have this set up correctly; or should she be using a Collection (if yes, please share example)
    Thanks very much,
    Pam
    Edited by: pmoutrie on Jun 4, 2009 12:01 PM
    Hello???
    Would really appreciate an answer.
    Thanks,
    Pam

    This may not be a perfect solution for you but it worked for my situation.
    I wanted to grab some data from Grid Control's MGMT$JOB_STEP_HISTORY table but I couldnt' create an Interactive Report due to the existance of a CLOB column. I cheated this by creating a view on the GC DB, grabbing the first 4000 characters and turning it into a varchar2 column:
    create view test_job_step_history as
    select job_Name, target_name, status, start_time, end_time, to_char(substr(output,1,4000)) output
    from MGMT$JOB_STEP_HISTORY where trunc(end_time) > trunc(sysdate)-90
    In an APEX Interactive Report:
    select * from test_job_step_history@GCDB
    Granted, the output looks aweful right now but I am only looking for a very particular output (failed, denied, ORA-, RMAN-, etc) so the formatting isn't the most important thing to me right now.
    If anyone can improve -- and I'm sure you can -- on this I'd love to hear about it.
    Thanks,
    Rich

  • I lost a really important file (an iText Express document) randomly and then one day, a "recovered file" folder popped up and I assume it has to do with that, but the file just contains a doc with a bunch of coding. What do I do with that? HELP!!!

    As the title question states, I lost a really important file with iText Express. I've been using iText Express for a year or two now because it's just the one application I downloaded for writing and saving documents. I was working on one for a few months and randomly one day last month, when I went to open it to resume editing my work, the file was gone! I searched my whole laptop and trash. Then one day, a "Recovered Files" folder popped up in the area my file used to be, so I assumed that was the file I lost being recovered and I felt relieved. But when I opened the folder, the document inside was a "SoftwareMap" document with a bunch of coding written in it. I don't understand what I'm supposed to do with that or how it's going to help me recover my file?!? I lost SO much work!!! If anyone has ANY idea what to do, how this happened, or if the coding is supposed to help me recover my file, PLEASE help!!!

    No, I already tried looking at that. The file that recovered was not in the trash, it appeared in my documents folder. I opened it up and inside was an iText Express document with coding. Then inside of there, was and then and this "SoftwareMap" document contained a bunch of coding and symbols and words.

  • Import of the application from one server to another

    Hi There,
    I have imported my application from one server to another.
    Now when I am trying to log in to the application using the previous credentials, it simply reloads the log in page and it doesn't give invalid user name and password error also.
    It just simply load the log in page once again.
    What should I do? Where am I going wrong?
    Please help!!
    Thanks in advance
    Pushpesh Pallav.

    Hi,
    If you need previous login credentials to another application as new system. please follow the steps. in Application Express 4.1.0.00.32<br>
    <font color=red>IN OLD System</font>
    Home>Application Builder>Application [101]>Export / Import>Manage Export Repositoryexport Workspace to new system. once done this task u will have exported workspace copy.
    <br>
    <font color=red>IN NEW System</font>
    http://hq-orapp-03:7777/pls/apex/f?p=4550:10 *need apex admin credentials*
    Home>Manage Workspaces>Import Workspace> step I
           "        "                        step II Existing Workspaces || you can see your old development workspace and usersthese steps to be done! then you can import application and login credential can use which is previous application user name/password.
    Please if its correct and make it flag in this thread.
    Thanx,
    Ram

  • Error ORA-20001 when Creating an Application Express Workspcce

    I have a 11.1.0.6.0 Enterprise Edition database running on a Fedora 10 box that was created using dbca. At the time, I did not select Oracle Application Express for installation. However, I can configure APEX and start it with URL http://<host>:8080/apex/apex_admin and log in as ADMIN. Looks like I'm ready to go... Database accounts APEX_PUBLIC_USER, FLOWS_030000 and FLOWS_FILES existed at the time I configured APEX.
    Following the 2 Day + Application Express Developer's Guide, I get error "ORA-20001: Unable to create user. ORA-01935: missing user or role name" when I attempt to create a workspace for the demo application. In an attempt to resolve this, I've run dbca again to install Application Express in the database, and I then get "ORA-04063: package body "FLOWS_030000.WWV_FLOWS" has errors: ORA-06508: PL/SQL: could not find program unit being called: "FLOWS_03000.WWV_FLOW" ORA-06512: at line 2". DBA_OBJECTS reports table WWV_FLOWS owned by this user, but no package body of the same name.
    Can anyone advise what I need to do to resolve the ORA-20001 error when I attempt to create a APEX workspace, or resolve the ORA-04063 error when I attempt to use dbca to install APEX in the database?
    TIA
    Jon

    ..and show me the results, I might know what is wrong.SQL> alter session set current_schema = flows_030100;
    Session altered.
    SQL> select distinct provisioning_company_id from wwv_flow_companies;
    PROVISIONING_COMPANY_ID
    0
    10
    11
    9.4232E+14
    9.5741E+14
    1.7393E+15
    (I imported the file to my workspace http://apex.oracle.com/pls/otn.... it loaded succesfully but couldn't login.)
    I found a site where the file might have been downloaded from:
    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#CUST]

  • Logical Standby - Application Express Recovery

    Ive asked a similar question in the following threads:-
    Re: Recovering Logical Standby - Non-Guarded Schemas
    Logical Standby - Application Express Recovery
    Were using 10g Logical Standby database for our reporting environment and within it we have Oracle Application Express. i initially installed APEX into the logical after it was created. We then had to recover the primary RESETLOGS and reinstantiate the Logical - but since the APEX components were not-guarded by Data Guard they werent recreated after the reinstantiation. So it got me thinking.
    Q1) Is it best to install Apex into the primary so the schema objects get recreated if we have to reinstantiate the Logical
    Q2) If you do 1) this means you have to manually copy the files on the OS across - are there issues with this?
    Does anyone else have this issue with an Apex installation?
    Thanks for you help
    Simon

    you may want to try this one on the database general forum as well

  • Page Not Found error trying to import a large application into ApEx XE DB

    I have an ApEx application that I'm trying to import from a Standard DB into Express Edition. I have 2 separate installs of ApEx both on XE and I'm getting the same problem on both.
    PROBLEM:
    After I import the application I get the error: PAGE NOT FOUND standard error.
    The import file is 4.8 Mbytes. When I view the import repository it shows increments of the file being loaded.
    for e.g. First time 3 MBytes are loaded before the error is shown
    Second time 3.2MBytes are loaded then it falls over again.
    any suggestions?
    Smaller sized apps load up with no problems.
    If it weren't for the sad state of the internal XE web server I could at least have a look at the HTTP logs. But alas someone in their wisdom had the bright idea to hide the webserver away in the bowels of the XE database.
    thanks in advance for any help
    Paul P

    Paul,
    You can try the suggestion in this thread on the XE forum:
    Re: Problem with importing HTML DB applications
    It also shows how to turn on logging in the XE web server.

  • Forms and reports on Application Express

    Hi:
    Is it possible to import regular forms and reports( .fmb and .rdf) into the application express and run in the database xe/application express environment?

    Hello,
    Not yet possible...
    What you could do is run the Form in an iframe, but if you talk about migrating the forms and reports, the APEX Dev team is working on that.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/
    Message was edited by:
    Dimitri Gielis@AE

  • Application Express Authentication

    Hello,
    I am quite new to apex and I was not able to find an answer to this question. When we use the Application Express Authentication for user authentification, the message displayed when there is a login error is something like 'Invalid Login Credentials'.
    I was wondering where is this message generated? I thought in shared components -> auth, but no. If we want to modify this message, do we need to create our own auth. scheme?
    Regards,

    The INVALID_CREDENTIALS message is the one you need.
    I think your application language does not match the language you entered for the INVALID_CREDENTIALS message. These two languages must match in order to have your INVALID_CREDENTIALS message applied. Navigate to the 'Globalization' section on the 'Application Properties' page. This page tells you how the application language is determined.

  • OIA 11g - Unable to import users to applications

    Hi Everyone,
    We are unable to assign users to applications in OIA. We have imported users successfully as well as accounts, but we are unsure how we can assign (import) specific users to applications. The OIA documentation describes importing of users, accounts, roles, policies, but not how to import users to applications?
    Regards

    Applications are a new thing and you cannot do this within the GUI, you have to do this the 'old-style' way by hard-coding this within the .xml files
    Part 2
    You will need to alter the cron expression within the scheduling.context.xml file located in the <OIA_HOME>/WEB_INF folder.
    Find the bean called ="userApplicationMaintenanceTrigger" (probably 2/3rds down in the file) then add a valid cron expression (If you don't know cron-expressions then google it)
    Though the example below will run the user/application relationship trigger every 5mins
    <bean id="userApplicationMaintenanceTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
    <property name="jobDetail">
    <ref bean="userApplicationMaintenanceJob"/>
    </property>
    <property name="cronExpression">
    <value>0 0/5 * * * ?</value>
    </property>
    </bean>
    Restart the app server then BOOM, you're done!
    Regards,
    Daniel
    Edited by: Daniel Redfern on Feb 11, 2011 1:09 PM

  • Oracle application express(html db)

    when it applies updates, it always timeout! why?

    1. Please tell us your first name and consider putting it in your handle and/or profile as a help to us.
    2. Explain what you're trying to accomplish. Those components are installed in the right places when you install Application Express.
    Scott

Maybe you are looking for

  • ItunesSetup.exe is not valid

    I had i-tunes version 6 on my laptop and have just bought a nano-pod to transfer the music, but when I download version 7 (the nano pod won't recognise version 6) I get an error message: D:\mymusic\itunesSetup.exe is not a valid Win32 application. Wh

  • Lookup.USR_PROCESS_TRIGGERS not working with trusted reconciliation oim 11g

    Hi, I am facing one issue while running the trusted incremental reconciliation in OIM 11g. In the bulkEvent of the event handler I am checking if the operation is MODIFY then I am comparing some attributes and based of that result I am performing som

  • Songs by artist out of order

    Ok, so I've been using a program for months to manage my ID3 tags on my music. I like my ipod a lot, I use it everywhere I go, but recently after downloading 6 albums of a certain artist, I used the ID3 tag manager (like always.. never had a problem)

  • Scanner integration in Business One

    I have a couple of clients that wish to scan documents into activities.    SAP's help indicates "If a scanner is connected to your computer, you can scan documents directly and link them with the corresponding object in SAP Business One. The location

  • Reg. No G/L account assign in simulation entry

    Dear Experts I configured Account assignment,After that I checked in OMWB -Simulation ,the PK Acct.Dr and PK Acct Cr. is missing for all account like inventory,Gain/Loss etc.. Where I have missed to assign the G/L account fo come in OMWB Simulation c