Proting HTMLDB 1.6 application to Apex 3.2 on a new machine
Hi,
I have an application that is running on htmldb 1.6 .
We want to port this to apex 3.2 running on a new hardware.
Which would be the best approach here?
I have exported/imported workspace successfully.
But what about the rest of the application?
Note that we wish to leave htmldb 1.6 installation on the old machine.
Thanks in advance
Here is the solution.
I have managed to migrate the application from HTMLDB 1.6.1 to any higher version (e.g. Apex 3.2 or Apex 4.0) just by running the installation of the respective version.
The problem is that I had first installed htmldb 1.6.1 in the new machine that had Apex 3.2 preinstalled (I guess it came along with Oracle 11g R2 installation)
Although I was allowed to install HTMLDB 1.6.1 on the new machine, the migration to APEX4.0 did not find my existing application that was deployed on HTMLDB 1.6.1 and thus it did not migrate it. I guess the migration checks only the latest version (Apex 3.2) that it is installed and ignores all applications deployed on previous versions (That's why my application was not migrated)
After that I had to manually de-install both APEX 4.0 and APEX 3.2 completely and then re-install APEX 4.0. In this scenario the application is successfully migrated from HTMLDB 1.6.1 to Apex 4.0
Thanks for the help any way.
Tasos
Similar Messages
-
Hi all,
I'm preparing for the migration of an Oracle 9.2 db with HTMLDB 2.0 on AIX 5.2 to a new server with Oracle 10g Release 2 and Apex 2.2.1 running on RHEL4.
I already checked the documentation but i'm not sure what's the best way to do this kind of migration (I have a lot of Oracle experience but never worked with HTMLDB before).
My idea would be to :
- install Oracle 10g R2 on the new server (with the latest patch set)
- install Application Express 2.2.1 on the new server
- import all application schemas into the new server (using Oracle imp utility)
- export the HTMLDB workspaces and applications and import them into Apex 2.2.1 (using Apex import)
Would this be the correct way of working ? Any ideas or recommendations ?
Thanks
MatthiasAs a fellow DBA I would create your new environment export and import your apps except for APEX (flows_02.??????) or Just Upgrade your environment.
Once your new environment is created reinstall APEX and patches then export and import your app (This has the advantage of cleaning out 1.5, 1.6,2.0etc).
I would also recommend you spend the time and effort reading up on the flashback features, this seems to be greatly over looked feature by DBAs especially if you have developers in your APEX environment.
This maybe what you was suggesting, if so I apologize. -
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 -
Help deleting an application in Apex 3.2.1.00.12 on 10g XE
Hi,
I imported an application (timesheets demo application) by running the install script in an SQLPLUS session which I understand now was not the proper way to do this.
Now I need to delete this application but I'm receiving the following error when trying to delete the application in APEX:
ORA-20000: User ADMIN has no privileges on the EBA schema.
What do I need to do in order to delete this application?
Thank you.
FrancoisHi Francois,
You could try to login in SQLPLUS the way you did when you imported the application and then run the following code.
BEGIN
APEX_INSTANCE_ADMIN.REMOVE_APPLICATION(xxx);
END;Where xxx is the Application ID.
Kees Vlek
ps: Apex 3.2? Time to upgrade...
Edited by: kvlek on 22-mrt-2013 9:53 -
Migrate/Import/[etc.] PL/SQL Web-Toolkit Application to APEX
Hello all,
I've only recently learned about APEX and have dabbled with it for a little while, and I'm quite impressed with how amazingly quick it is to develop applications with it.
A few co-workers and myself are trying to convince "The Management" that we should pursue using APEX to develop our Enterprise Applications. Currently we write our web apps using the PL/SQL WebToolkit, accessing our applications at URL's like: http://host/dad/[package.]procedure .
Recently (within the past month) there was a convention in the Southern California region where I believe some people from TUSC presented on APEX. As I understand it, they said it was possible to migrate existing applications (written in packages and procedures) to APEX. I'm also told that it is possible to view the PL/SQL that is rendered by APEX to display the application.
We've practically sold our Director, however he has a few outstanding issues he's asked me to research, as he feels his boss would be most concerned with:
* How much effort will it take to migrate/import/etc the PL/SQL WebToolkit Application to APEX
* Should the need arise, how much effort would it take to move from APEX back to PL/SQL WebToolkit
I've tried researching these topics over the past few days and I haven't really come up with much. I realize that you can call PL/SQL packages/procedures/etc from within a region, but as I read on a thread in these forums ( How to jump from mod_plsql to APEX! ), you still won't be able to take advantage of the Items, Computations, Processes, etc. Is there, in fact, a way of importing a PL/SQL-developed Web Application into APEX to take advantage of all its tools? I would imagine it would be quite a feat to be able to create the items for the form fields, maintain the layout and such, but I need to provide my Director with as much information on these topics as possible.
Many of us developers are really excited at the prospect of developing with this tool; it would be a shame to lose the opportunity over not being able to provide any information on the topics above.
Thanks in advance for your assistance,
-LuisHi Luis,
I had a client a couple of years back who had an existing PL/SQL Web Toolkit application who used the htp.p etc calls to generate the HTML (and in some cases CSS) for their site. They were interested in using Application Express and asked me to design a new administration module for their site (which I did). The development went extremely smoothly so they then asked about re-writing their existing site in APEX (since maintaining the old site was not a straight-forward task).
Fortunately for me, the original designer had the foresight to put lots of the application logic into packages (which I could reuse), but I quickly (about 2 or 3 days from memory) created a custom theme and templates in APEX which gave the same look and feel as the existing site.
Personally, I think if you tried to re-use the existing htp.p calls (by using PL/SQL regions etc), then you would be missing out on some of the major advantages of using APEX (such as the ability to easily change the look and feel of your application).
I always think that migrating to a new tool/platform etc is a great opportunity to re-examine your existing code to perhaps see if you can do things differently (speed up those queries, perhaps make the navigation more logical etc).
So, yes you can certainly re-use lots of your existing packaged logic, but I would also take the leap and use the features that Application Express provides to make future maintenance of your application easier.
Just my thoughts.
John. -
Packaging application in APEX?
Someone knows something about packaging application of Apex or may indicate a paterial to guide how to do?
Thanks :)goj1 wrote:
Someone knows something about packaging application of Apex or may indicate a paterial to guide how to do?There is an entire chapter covering application deployment in the documentation. -
Error importing APEX 4.0 application into APEX 4.1
Hello,
I'm not sure it has anything to do with APEX versions, but when importing a APEX 4.0 application into APEX 4.1, I get the following error:
ORA-00942: table or view does not exist
DAD name: wluapex
PROCEDURE : wwv_flow.accept
URL : http://harpo.wvnet.edu:9954/pls/wluapex/wwv_flow.accept
PARAMETERS :
===========
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=9954
SERVER_NAME=harpo.wvnet.edu
REQUEST_METHOD=POST
QUERY_STRING=
PATH_INFO=/wwv_flow.accept
SCRIPT_NAME=/pls/wluapex
REMOTE_HOST=
REMOTE_ADDR=184.13.119.210
SERVER_PROTOCOL=HTTP/1.1
REQUEST_PROTOCOL=HTTPS
REMOTE_USER=APEX_PUBLIC_USER
ORACLE_SSO_USER=
OSSO_IDLE_TIMEOUT_EXCEEDED=
OSSO_USER_GUID=
HTTP_CONTENT_LENGTH=416883
HTTP_CONTENT_TYPE=multipart/form-data; boundary=---------------------------7db702cc602f8
HTTP_USER_AGENT=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
HTTP_HOST=harpo.wvnet.edu:9954
HTTP_ACCEPT=text/html, application/xhtml+xml, */*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-US
HTTP_ACCEPT_CHARSET=
HTTP_COOKIE=ORA_WWV_REMEMBER_UN=WISERS:WLUTEST; ORA_WWV_USER_71401175607832=63F8D4BD93EE9776
HTTP_IF_MODIFIED_SINCE=
HTTP_REFERER=https://harpo.wvnet.edu:9954/pls/wluapex/f?p=4000:460:4154733060059762::NO:460:F4000_P56_CREATE_OPTION,P460_FILE_TYPE:IMP,FLOW_EXPORT
HTTP_SOAPACTION=
HTTP_ORACLE_ECID=1319804299:129.71.2.217:3530870:0:7033,0
HTTP_ORACLE_CACHE_VERSION=
HTTP_AUTHORIZATION=
WEB_AUTHENT_PREFIX=
DAD_NAME=wluapex
DOC_ACCESS_PATH=docs
DOCUMENT_TABLE=wpg_document
PATH_ALIAS=
REQUEST_CHARSET=AL32UTF8
REQUEST_IANA_CHARSET=UTF-8
SCRIPT_PREFIX=/pls
HTTP_IF_MATCH=
HTTP_CACHE_CONTROL=
SOAP_BODY=
HTTP_X_ORACLE_DEVICE_CLASS=
HTTP_X_ORACLE_DEVICE_ORIENTATION=
HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
HTTP_X_ORACLE_DEVICE=
HTTP_X_ORACLE_ORIG_ACCEPT=
HTTP_X_ORACLE_ORIG_USER_AGENT=
HTTP_X_ORACLE_USER_LOCALE=
HTTP_X_ORACLE_USER_NAME=
HTTP_X_ORACLE_USER_DISPLAYNAME=
HTTP_X_ORACLE_USER_USERKIND=
HTTP_X_ORACLE_USER_AUTHKIND=
HTTP_X_ORACLE_USER_DEVICEID=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
HTTP_X_ORACLE_USER_LOCATION_BLOCK=
HTTP_X_ORACLE_USER_LOCATION_CITY=
HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
HTTP_X_ORACLE_USER_LOCATION_COUNTY=
HTTP_X_ORACLE_USER_LOCATION_STATE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
HTTP_X_ORACLE_USER_LOCATION_TYPE=
HTTP_X_ORACLE_USER_LOCATION_X=
HTTP_X_ORACLE_USER_LOCATION_Y=
HTTP_X_ORACLE_SERVICE_HOME_URL=
HTTP_X_ORACLE_SERVICE_PARENT_URL=
HTTP_X_ORACLE_HOME_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
HTTP_X_ORACLE_CACHE_USER=
HTTP_X_ORACLE_CACHE_SUBID=
HTTP_X_ORACLE_CACHE_AUTH=
HTTP_X_ORACLE_CACHE_DEVICE=
HTTP_X_ORACLE_CACHE_LANG=
HTTP_X_ORACLE_CACHE_ENCRYPT=
HTTP_X_ORACLE_ASSERT_USER=
Any ideas on what may be causing this error?
Thanks,
BobWe contacted Oracle Support and their answer is below:
===================
Yes you can import the Application that is created in Apex 2.0 to Apex 3.2
While performing the import please review the below documents, which may help you.
How to Upgrade / Migrate from APEX 2.2.0.00.32 to 3.1.2 (Doc ID 578630.1)
After Export / Import Of Workspace, There Are No Applications (Doc ID 358858.1)
ORA-942 When Importing Applications or Workspaces in APEX (Doc ID 1333062.1)
===================
I will close my thread. Thanks, Diane -
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.. -
Hello All,
Recently we upgraded our Live application to apex V4.0.1.00.03. This was running previously in V3.2.1.00.12, my development still uses the old version(3.2) and no ideas of upgrading it as of now.
Accidentally my latest development copy is missing, I have an only option to export back from live to V3.2 to produce latest changes in my development. I know it would be a question of doing, but is there any possibilities.
Any help on this would be really grateful.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.. -
Creating a simple image application in Apex
select
"IMAGE_ID",
<img src="#OWNER#.deliver_thumbnail?p_image_id='||IMAGE_ID||'"/> thumbnail,
"FILENAME" from "ORDIMAGE_IMAGES"
where
instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) >
Its is showing an error
showing only the coding part when i run the application instead of showing image....
can you please help me rectify the error
Edited by: 880021 on 17-Aug-2011 20:58Creating a simple image application in Apex
Create a new application from scratch. Name it ORDImages_images.
Add a Report and Form Page based on your ORDImage_images table. Ensure that you select a Classic Report (i.e. not Interactive, which is the default). As expected, two pages are created.
Continue to create the application and then run it.
After the login page, there will be spurious entries for image and thumbnail.
This is expected because of the ORDImage columns in the images table.
Edit Page 1 and open the Images Region
The Source entry is
select
"IMAGE_ID",
"IMAGE",
"THUMBNAIL",
"FILENAME"
from "ORDIMAGE_IMAGES"
where
instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) > 0
In SQL Developer, create the deliver_images_thumb procedure
CREATE OR REPLACE PROCEDURE deliver_thumbnail(p_image_id IN NUMBER) IS
l_thumbnail ORDSYS.ORDImage;
BEGIN
-- Fetch the thumbnail from the database
SELECT thumbnail
INTO l_thumbnail
FROM ORDImage_images
WHERE image_id = p_image_id;
-- Check update time if browser sent If-Modified-Since header
IF ordplsgwyutil.cache_is_valid( l_thumbnail.getUpdateTime() )THEN
owa_util.status_line( ordplsgwyutil.http_status_not_modified );
RETURN;
END IF;
-- Set the MIME type and deliver the image to the browser.
owa_util.mime_header( l_thumbnail.mimeType, FALSE );
ordplsgwyutil.set_last_modified( l_thumbnail.getUpdateTime() );
owa_util.http_header_close();
IF owa_util.get_cgi_env( 'REQUEST_METHOD' ) <> 'HEAD' THEN
wpg_docload.download_file( l_thumbnail.source.localData );
END IF;
END;
Then
GRANT EXECUTE ON deliver_thumbnail TO PUBLIC;
Return to Apex and change the Source entry to
select
"IMAGE_ID",
'<img src="#OWNER#.deliver_thumbnail?p_image_id='||IMAGE_ID||'"/>' thumbnail,
"FILENAME" from "ORDIMAGE_IMAGES"
where
instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) > 0
Apply changes and run the application
You can now search on substrings of filenames. Note that the image_ID is not shown. To rectify this, Edit Page 1 and open Report in Regions.
Edit the image_id and under Column Link, change the Link Text to #IMAGE_ID#. Also change the Heading in the Column Attributes to Image ID.
Apply the changes and re-run.
Clicking on the image_id link takes you to Page 2 – the form for that image.
Page 2 is sparse so reveal the image_id by Editing Page 2 and opening the P2_IMAGE_ID Page Item. Change Display as Hidden to Text Field. Apply changes and re-run.
In Page Items, open and delete the P2_THUMBNAIL item.
Open the P2_IMAGE item.
Under Name, change the Display As entry to Display Image (from the select list).
Under Settings, change the Based On entry to BLOB Column returned by SQL Statement
Enter
SELECT i.image.source.localdata
FROM ORDimage_images i
WHERE image_id = :P2_IMAGE_ID
as the SQL Statement
Apply changes and re-run the application
Making an image clickable
Edit Page 1 and open Report in Regions. Edit THUMBNAIL and under Column Link, insert
<img src="#OWNER#.deliver_thumbnail?p_image_id=#IMAGE_ID#"/>
as Link Text.
Select Page 2 as the Target Page in this Application.
Finally, set Item 1's name to P2_IMAGE_ID and its Value to #IMAGE_ID#
Removing the Spreadsheet link
Under Report Attributes, set Enable CSV Output to No -
Can shared components be shared among different applications within APEX
Can shared components be shared among different applications within APEX ?
-Louis Rosa
Florida Center for Library Automation (FCLA)
Gainesville,FLNot entirely true.
Some like LOVs, Authorizations, Authentications can be shared amongst applications in the same workspace.
Varad -
How to import 3.2 application into APEX 4.1
Hi,
I would like to import an APEX 3.2 application into APEX 4.0. Is this supposed to work?
Regards,
TamasApex is built to make this process as smooth as possible.
In 4.x, there is a Utilities section for your application with an Upgrade Application option that provides a summary of all the components that can be "upgraded"
Apex tries to leave your application alone as much as possible, and in this report you'll see things like Date Picker items that can be automatically upgraded to the jQuery version. You can choose which components to automatically process.
The most trouble you'll have is if you have included any external libraries such as jQuery and there may be syntax differences, now that Apex 4.x includes jQuery components.
Dimitri Gielis has quite a few posts on the subject
http://dgielis.blogspot.com.au/2010/07/upgrade-to-apex-40-known-issues.html
Scott -
Can I use my APEX application without APEX?
Can I use my APEX application without APEX?
KostyaHi Kostya,
Any chance you can elaborate a bit more on what you are trying to do? By definition, you cannot run an APEX application, outside of APEX, but it is only HTML and Javascript at the end of the day, with some clever logic behind it. No reason why you couldn't create your own HTML pages that perform similar tasks.
Hope this helps,
Cj -
How end users access the application of APEX
I have build an application in APEX, how will I generate link for that application for endusers, and I and 2 group of users. I want to hide certain pages from first group, and i dont want any group to enter in applicaiton with out password and i will assign them the links through LDAP.
I dont know the steps that i will i do this all.
if anybody give me the steps.
any body plz
Thankds in advance
Mazahir Abbas
Edited by: Mazahir Abbas on Feb 28, 2011 10:56 PMHi Mazahir,
No, it is much more than that. From the Apex home page you can go to the main documentation page, you can also find other resources such as links to tutorials, blogs, commercial websites etc. Much more than just the download, which I might add, once installed includes a complete copy of the standard documentation.
Once you have read these resources and you have specific questions that show you've at least attempted to find the answers yourself, then the people of this forum will be only too willing to help you.
Regards
Andre -
How to integrate Oracle Maps in Oracle Application Express (ApEx 3.2)?
I have an Oracle Application Express (ApEx 3.2) application into which I want to embedded Oracle Maps.
Can any one help me out. I need the steps for integrating Oracle Maps in Oracle Application Express (ApEx 3.2)
Thanks.use ODBC and ADO. Visual Studio packager has an ability to include ODBC settings, i think, if you define Option Explicit (if i am not wrong, long time no code writing in VB6)
Maybe you are looking for
-
Binary search question with objects
Hi I have a class called MyClass which is as below public class MyClass String from; String to; double d; // with getter and setter method }I create a ArrayList of MyClass, List<MyClass> list = new ArrayList(); list.add(myClass); //add about 8000 myC
-
Replicating authorization roles via HR replication from ECC 6 to SRM 5.0
Hi, I'm interested in knowing whether anyone has used the distribution model to copy roles (AG objects) between ECC 6 and SRM 5.0. Someone said that it's possible so I would like to validate that statement as I don't know whether it is possible and p
-
i want t transfer data from one notebook to the next how do i do that?
-
Hello, I am attempting to make part of my Labview program take the inputs from a optical encoder so I can program dynamic responses to the positioning of this encoder. I've been attempting to use the example code "quadature encoder example", but I al
-
I always get a notification after a restart. When I unlock the device, the notification disappears. Am I the only one with this issue or is it a known bug? I'm on v10.0.10.99 I don't know if this is already solved in 10.1.