Upgrade to apex 3.0.1 for ubuntu 7.04
I've installed oracle-xe 10g to ubuntu 7.04 feisty and
u want to upgrade apex v2.0 to v3.0.1
I installed the apex_3.0.1.zip file from the repository and copied under the oracle home directory.
Also I couldn't run the sql*plus by using command line since I used to "Run SQL Command Line"
link to start it.
When I tried to run apexins.sql:
@/usr/lib/oracle/xe/apex/apexins pswd SYSTEM SYSTEM TEMP /i/
Sqlplus ask me about a value like for a bind variable.
Enter value for log1:
How can I handle this problem and manage to upgrade apex ?
Thanks...
engx,
This is not really a problem that belongs in this Linux forum. There is a separate Apex forum. Having said that, I believe you are missing the sixth param, which should be none or NONE if you are installing into a local DB.
Sergio
Similar Messages
-
Cannot login after upgrading to Apex 3.1.2
I have installed the oracle-xe-10.2.1-1.0.i386.rpm onto a RedHat server using
]# rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm
Then I configure the database
]# /etc/init.d/oracle-xe configure
Then I enable remote access
EXEC DBMS_XDB.SETLISTENERLOCALACCESS (FALSE);
This appears to work properly and I can log into the Apex page at http://server:8080/apex/apex_admin
After this install I'm attempting to upgrade to Apex 3.1.2 and have attempted this several times. Each time, the result is that I can bring up the web page, but cannot authenticate. All that I see is "error on page" at the bottom left of the window. (IE6 or Firefox).
To complete the upgrade I do the following.
]$ sqlplus /nolog
SQL> @apexins SYSAUX SYSAUX TEMP /i/
After the install runs the last few lines are
Upgrade completed successfully no errors encountered.
-- Upgrade is complete -----------------------------------------
timing for: Upgrade
Elapsed: 00:00:34.60
...End of install if runtime install
...create null.sql
timing for: Development Installation
Elapsed: 00:18:18.29
not spooling currently
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 – Production
I have then stopped and restarted the oracle-xe
Then I have logged back in with sqlplus / as sysdba
and run
@apxxepwd.sql or @apxchpwd (different attempts at the install)
After all of this appearing to run successfully, I cannot log into either the basic apex screen or the apex admin screen.
When it has failed, I have uninstalled the RPM and deleted the remanant folder.
Then re-installed from scratch.
I'm new to oracle, and any assistance would be appreciated.Thank you for your reply. I get the followin errors while trying your suggestions.
The password change appears to be successful.
SQL> @apxldimg.sql /opt/oracle-instdir/apex
PL/SQL procedure successfully completed.
old 1: create directory APEX_IMAGES as '&1/apex/images'
new 1: create directory APEX_IMAGES as '/opt/oracle-instdir/apex/apex/images'
Directory created.
declare
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
No such file or directory
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at line 15
PL/SQL procedure successfully completed.
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.03
Directory dropped.
SQL> -
Problem Upgrading to Apex 3.1 on XE
I am running into a problem upgrading Apex to 3.1 on Oracle XE.
Hardware and Software:
Database: Oracle Database 10g Express Edition Release 10.2.0.1.0
PL/SQL Web Toolkit Version: 10.1.2.0.4
Host O/S: MS Windows XP Professional Version 2002 SP2
Host Hardware: AMD Athlon 64 Processor, 2.2 GHz, 1.87 GB RAM
Background:
This is a lab host. I am working through the full installation process so that I can set up XE and Apex on development and production hosts, the end in mind being to develop a simple application using XE/Apex instead of Access 2003, which is used heavily in this shop.
It seems to me that upgrading to Apex 3.1 would be a good thing to do up front instead of developing in the version which ships with XE (2.1, I believe) and performing the upgrade later.
I installed XE going with full defaults. Nothing at all tricky. I was able to connect to http://localhost:8080/apex without any trouble and log in as system.
I then followed these Apex upgrade instructions, very carefully:
http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
After I ran into trouble (see below), I reviewed this post and used it to double-check my work:
How to upgrade to Apex 3.1
I have worked through this a number of times, each time ending up with the same error.
The Problem...
After the upgrade, when I navigate to http://localhost:8080/apex, I receive the following error:
wwv_flow.app_not_found_footer_err
wwv_flow.err wwv_flow.app_not_found_err
OK
I reviewed this posting, which suggests that I upgrade my PL/SQL Web Toolkit:
apex 3.0 error wwv_flow.app_not_found_footer_err after new installation
I am perfectly willing to try this, but I am not sure how to obtain the latest correct version of the web toolkit for this particular version of the database. Any tips on where I might find this?
I also note that the posting says there should be 10 SQL files in the apex/builder directory. I only have 5, but I just downloaded this zip file a few days ago and assume this is the correct number of files. If it isn't, where could I find the correct zip?
Any other suggestions about the root cause of this issue would be appreciated.
Thanks!Well, like Sherlock Holmes said, "when you have elminated the impossible, whatever remains, no matter how improbable, must be the truth." Or, something like that.
Thanks Joel, it was the files. I examined the zip file I originally downloaded and, sure enough, there were 10 files. I extracted it again and, for some reason, this time it only pulled one of the SQL files out, not even five as it did the first time. In addition, it also skipped about half the language folders.
To get it work, I used the windows built-in zip to open the file, navigated to the apex/builder folder, selected all of the SQL files and language folders, then copied and pasted them into c:\apex\builder.
I then restored the database, ran the install again, and everything worked just fine: I can access http://localhost:8080/apex/apex_admin and log in.
I'm not sure what the issue is, a problem with the zip file or (ok, more likely) a problem with the built-in windows zip tool. I used 7-zip (www.7-zip.org) to extract the file on my workstation and all 10 files and 9 language folders came out just fine.
The bottom line is, it works now, thanks again for the help.
-Tom
PS - I did not install the web toolkit upgrade. -
Popup LOV returns not found on this server after upgrading to APEX 3.2
The Popup Key LOV (Displays description, returns key value) does not work after upgrading to APEX 3.2 from APEX 3.0.
Don't now if the character set is relevant.
The database character set on APEX 3.0 was:
NLS_CHARACTERSET: WE8MSWIN1252
DAD CHARACTERSET: WINDOWS-1252
APEX 3.2:
NLS_CHARACTERSET: AL32UTF8
DAD CHARACTERSET: UTF-8
When clicking on the popup the message is "The requested URL /pls/apex31mb/wwv_flow_utilities.gen_popup_list was not found on this server.".
This error applies for both Firefox and IE.Can't reproduce the error on apex.oracle.com, the popup works fine.
The only difference I notice on the environments is the database version (our: 10g, oracle.apex.com: 11g), but I can't see this have any influence. -
After upgrade to Apex 4.2.1, login to old workspace results in 404
I have made an upgrade to Apex 4.2.1 from Apex 4.1 runtime.
(Upgrade completed successfully no errors encountered.)
I had an installed app which I cannot use now.
Login to apex_admin is possible, so I've created developer users in the existing workspace.
Developer users get
404 - Not found error when logging in to the workspace, with
http://mysrv:8080/apex/wwv_flow.acceptin the address line.
It is apparent in the DB that the existing application has been copied to apex_040200 DB schema.
Same error is displayed when navigating to the app's login page, say http://mysrv:8080/apex/f?p=123:1
I use GlassFish Server Open Source Edition 3.1.1.
After upgrading Apex Listener to 2.0.1 (from 1.1.3), nothing has changed except that
404 appears in white over a blue background stripe.
Under / Monitor Activity / Login Attempts, there are only Incorrect Password entries
However, after creating a new WS, I can log into it.
Is there a way to use to WS and APP created in the older Apex version 4.1 ?Under apex_admin, among all workspace requests, I first had to deselect status = 1,
then my workspace has appeared in the list with status "-". After clicking on Adjust,
status "Terminated" appeared, who knows why.
Since I changed workspace status to Approved, login is working.
Questions:
1/ How comes that status "Terminated" was not shown on the existing workspaces list?
2/ What leads to the Terminated status, while the app was reachable before upgrade to 4.2.1?
While App builder is appearing nice, my app has lost its design.
3/ Where are images looked up? Do I need to reference glassfish docroot/i in i.war for Apex Listener 2.0.1? (I referred to apex install dir as indicated in the installation manual)
4/ My custom login page starts with this error. Even after I log out of the builder. Is this normal?
Attempt to save item P101_LANGUAGE in session state during show processing.
Item protection level indicates "Item may be set when accompanied by a "session" checksum.".
No checksum was passed in or the checksum passed in would be suitable
for an item with protection level "Item has no protection.".
Note: End users get a different error message -
Integration of APEX in OBIEE 11g fails after upgrade to APEX 4.2.1
I used a document from the german APEX forum to integrate Oracle Business Intelligence 11g (OBIEE) with APEX.
After login in OBIEE a APEX page will be called without login in APEX.
The Document is called "APEX in Oracle Business Intelligence (Oracle BI) integrieren"
http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/biee-apex/index.html
In APEX 4.0 this worked great. After login in OBIEE I could call a APEX page without new login.
But after upgrading to APEX 4.2.1 now the APEX login mask is displayed.
OBIEE uses this function to create a APEX session and store the APEX session-id and username in the table apex_biee_session:
-- Function GET_APEX_SESSION_ID
-- sets up an APEX session for a BIEE user
FUNCTION get_apex_session_id (p_username IN VARCHAR2,p_days_valid IN NUMBER DEFAULT 1) RETURN VARCHAR2
IS
pragma autonomous_transaction;
l_session_id NUMBER;
l_valid_to DATE;
l_count NUMBER;
l_password VARCHAR2(4000);
BEGIN
l_valid_to := SYSDATE + NVL(p_days_valid,1);
-- Let us delete expired records:
BEGIN
DELETE FROM apex_biee_session
WHERE valid_to < TRUNC(SYSDATE,'DD');
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;
END;
-- get next APEX session id:
l_session_id := apex_custom_auth.get_next_session_id;
-- Insert the BIEE user and the APEX session id in table APEX_BIEE_SESSION
INSERT INTO apex_biee_session (username, sessioN_id, valid_to)
VALUES (UPPER(p_username),l_session_id,l_valid_to);
COMMIT;
-- define an APEX user session:
apex_custom_auth.define_user_session(
p_user => UPPER(p_username),
p_session_id => l_session_id);
htmldb_application.g_unrecoverable_error := TRUE; -- tell apex engine to quit
RETURN l_session_id;
EXCEPTION
WHEN OTHERS THEN RETURN '-99';
END get_apex_session_id;
CREATE TABLE "APEX_BIEE_SESSION"
( "USERNAME" VARCHAR2(60),
"SESSION_ID" NUMBER,
"VALID_TO" DATE,
CONSTRAINT "APEX_BIEE_SESSION_PK" PRIMARY KEY ("USERNAME","SESSION_ID")
In APEX this page sentry function is called:
-- Function PAGE_SENTRY
-- used as page sentry function in APEX applications
FUNCTION page_sentry RETURN BOOLEAN
IS
l_current_sid NUMBER;
l_biee_userid VARCHAR2(255);
l_cookie owa_cookie.cookie;
l_c_value VARCHAR2(255) := NULL;
l_cookie_tom owa_cookie.cookie;
l_c_value_tom VARCHAR2(255) := NULL;
l_session_id NUMBER;
l_biee_auth VARCHAR2(1) := 'N';
BEGIN
BEGIN
-- If normal APEX user authentication is used, cookie LOGIN_USERNAME_COOKIE will be used
l_cookie_tom := owa_cookie.get('LOGIN_USERNAME_COOKIE');
l_c_value_tom := l_cookie_tom.vals(1);
l_biee_userid := UPPER(l_cookie_tom.vals(1));
EXCEPTION
WHEN OTHERS THEN NULL;
END;
l_session_id := apex_custom_auth.get_session_id; -- in APEX 4.2.1 this returns NULL
-- Do we have a record in table APEX_BIEE_SESSION with the current session id
BEGIN
SELECT UPPER(username) INTO l_biee_userid
FROM apex_biee_session
WHERE session_id = l_session_id AND valid_to > SYSDATE;
l_biee_auth := 'Y';
EXCEPTION
WHEN NO_DATA_FOUND THEN l_biee_userid := 'Failed';
END;
IF l_biee_userid = 'Failed' THEN
IF l_c_value_tom IS NULL THEN
l_biee_userid := NULL;
ELSE
l_biee_userid := UPPER(l_c_value_tom);
END IF;
END IF;
-- If l_biee_userid is NULL we need to call the APEX login page (done by RETURN FALSE)
IF l_biee_userid IS NULL THEN
RETURN FALSE;
END IF;
IF l_biee_auth = 'N' THEN
l_current_sid := apex_custom_auth.get_session_id_from_cookie;
ELSE
l_current_sid := l_session_id;
END IF;
-- This is the built-in part of the session verification
IF apex_custom_auth.is_session_valid THEN
wwv_flow.g_instance := l_current_sid;
IF apex_custom_auth.get_username IS NULL THEN
apex_custom_auth.define_user_session(
p_user => UPPER(l_biee_userid),
p_session_id => l_current_sid);
RETURN TRUE;
ELSE
IF UPPER(l_biee_userid) = UPPER(apex_custom_auth.get_username) THEN
apex_custom_auth.define_user_session(
p_user =>UPPER(l_biee_userid),
p_session_id =>l_current_sid);
RETURN TRUE;
ELSE -- username mismatch. Unset the session cookie and redirect back here to take other branch
apex_custom_auth.logout(
p_this_app=>v('APP_ID'),
p_next_app_page_sess=>v('APP_ID')||':'||nvl(v('APP_PAGE_ID'),0)||':'||l_current_sid);
wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
RETURN FALSE;
END IF;
END IF;
ELSE -- application session cookie not valid; we need a new apex session
IF l_biee_auth <> 'Y' THEN
l_session_id := apex_custom_auth.get_next_session_id;
END IF;
apex_custom_auth.define_user_session(
p_user => l_biee_userid,
p_session_id => l_session_id);
wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
IF owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' THEN
wwv_flow_custom_auth.remember_deep_link(
p_url=>'f?'||wwv_flow_utilities.url_decode2(owa_util.get_cgi_env('QUERY_STRING')));
ELSE
wwv_flow_custom_auth.remember_deep_link(
p_url=>'f?p='||
TO_CHAR(wwv_flow.g_flow_id)||':'||
TO_CHAR(nvl(wwv_flow.g_flow_step_id,0))||':'||
TO_CHAR(wwv_flow.g_instance));
END IF;
apex_custom_auth.post_login( -- register session in htmldb sessions table, set cookie, redirect back
p_uname => l_biee_userid,
p_app_page => wwv_flow.g_flow_id||':'||nvl(wwv_flow.g_flow_step_id,0));
RETURN FALSE;
END IF;
END page_sentry;
The problem seems to be that in line "l_session_id := apex_custom_auth.get_session_id;" the call of apex_custom_auth.get_session_id is returning NULL in APEX 4.2.1.
In APEX 4.0 the call of apex_custom_auth.get_session_id returned the APEX session id.
What can I do to get this working again ?
Kind Regards,
Markus
Edited by: asmodius1 on Jan 10, 2013 2:06 PMHi,
this integration relies on session fixation, that's an insecure practice which is not allowed anymore since 4.1:
http://en.wikipedia.org/wiki/Session_fixation
Since the cookie value for the session id is missing, Apex rejects the session id and sets it to null, before calling the sentry function.
If you absolutely want to use this kind of integration, you will have to parse the value of owa_util.get_cgi_env('QUERY_STRING') in the sentry function to get the session id. To make it a bit more secure, the row in APEX_BIEE_SESSION should only be valid for a very short time (e.g. 1 sec). A person from Oracle Support contacted me about possible improvements to this authentication a few weeks ago. I replied with the following suggestions:
I would at least add a Y/N flag (e.g. SESSION_JOINED_BY_APEX) to the
APEX_BIEE_SESSION table. The page sentry should only accept the session
without an accompanying cookie if the flag is still N. It has to set it
to Y afterwards. This way, you ensure that the session joining without
cookie can only be done once. Maybe there should also be an alternative
way to log in to APEX, e.g. via page 101. Currently, this authentication
only accepts session IDs that were generated via OBIEE.
Users could log out of APEX or the APEX session could expire. Therefore,
the APEX app should have a post logout procedure that deletes the row in
the OBIEE session table. On the OBIEE side, APEX_SESSION_ID should
therefore be initialized on each request. The initialization code should
also check APEX_WORKSPACE_SESSIONS to make sure the session still
exists.
Regards,
Christian -
Issue in Upgrading Oracle APEX 2.1 to 3.1
Hi,
I have recently installed Oracle Database 10g Express Edition (Oracle Database XE) which includes Oracle Application Express (Oracle APEX) release 2.1
I have upgraded from Oracle APEX 2.1 to 3.1 by following instructions in http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
Following is the sequence of steps I followed
1. @apexins SYSAUX SYSAUX TEMP /i/
2. @APEX_HOME/apex/apxldimg.sql APEX_HOME
3. @APEX_HOME/apex/apxxepwd.sql password
Now Oracle Database express home page changes to
http://127.0.0.1:8080/apex/f?p=4550:1:723721796272276
All gif logos are missing and font appears differently. More importantly nothing happens after entering workspace/username/password and clicking login button. I am using internet exlorer 7 and it says "Error on Page" on the bottom status bar.
Please let me know if any one encounterd similar issue and if you were able to fix the issue.
Thanks for your help
RSNAIKHello,
For all of you who have the same problem that we had.
After two installs and desinstall, I have finally found what to do.
You must stop the OracleXETNSListener service when upgrading Oracle Database 10g Express Edition.
Here the steps to follow assuming that you have installed Oracle Database 10g Express Edition into C:\oraclexe
and unzipped apex_3.1.2 into C:\apex on a Windows XP System :
1. On Windows XP, Startup Menu, go to the Configuration panel, open Administration Tools, open Services, then you will click on the OracleXETNSListener service, stop it.
2. On Windows XP, Startup Menu, select Execute, type cmd and press OK to open a DOS window.
3. At the DOS prompt, type cd apex.
4. At the DOS prompt, type sqlplus /nolog
5. At the SQL prompt, type connect SYS as SYSDBA
6. Type the password of the user SYSTEM that you choose when installing Oracle XE.
7. At the SQL prompt, type *@apexins SYSAUX SYSAUX TEMP /i/* (may take 15 minutes or more)
8. At the DOS prompt, be sure to be in the apex directory (C:\apex) then type sqlplus /nolog
9. At the SQL prompt, type connect SYS as SYSDBA
10. Type the password of the user SYSTEM that you choose when installing Oracle XE.
11. At the SQL prompt, type *@apxchpwd*
12. Choose a password for ADMIN, type it then press Enter
13. At the SQL prompt, type *@apxldimg* C:\ (you will perhaps obtain a message like an error but the upgrade works fine)
14. At the SQL prompt, type *@apxxepwd* password (where password is the ADMIN password choosen at step 12)
15. At the SQL prompt, type quit
16. At the DOS prompt, type exit
17. Then go to the OracleXETNSListener service and start it.
To connect as ADMIN, type the url http://127.0.0.1:8080/apex/apex_admin
username : ADMIN
password : your admin password
You will be able to create workspaces (schemas) and users
Now you will be able to connect to APEX at http://127.0.0.1:8080/apex
workspace : your login name (workspace created in apex_admin)
username : your login name (user created in apex_admin)
password : your password (password defined for the user in apex_admin)
I hope that this steps will be clear for all of you.
Thank you to user10570446 who have provided a clear step through. So that I'd take the time to clarified my solution to my type of configuration.
I hope that RSNAIK has been able to make the upgrade to APEX 3.1.2.
Good day to everyone
Edited by: Practos on 2008-12-10 09:37 -
Error of upgrading from apex 4.1.1 to apex 4.2.2 in images
Hi all,
I made an upgrade of my environment from apex 4.1.1 to apex 4.2.2.00.11 with these steps :
sql>@apexins APEX APEX TEMP /i/
timing for: Complete Installation
Elapsed: 00:26:00.35
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
1 row selected.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @apxldimg.sql D:/
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
. Loading images directory: D://apex/images
Directory created.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Commit complete.
Directory dropped.
timing for: Load Images
Elapsed: 00:01:43.54
SQL> ALTER USER XDB ACCOUNT UNLOCK;
User altered.
SQL> ALTER USER APEX_040200 ACCOUNT UNLOCK;
User altered.
SQL> ALTER USER FLOWS_FILES ACCOUNT UNLOCK;
User altered.
SQL> ALTER USER ANONYMOUS ACCOUNT UNLOCK;
User altered.
As you see,everything was normal without errors,but when i try to access to workspace wit this url :http://fuegedb.thinktank.de/apex i have in the web console errors like ReferenceError: apex is not defined or ReferenceError: $x is not defined .
The result of this url http://fuegedb.thinktank.de/i/apex_version was :
Application Express Version: 4.1.1
it seems that the step of loading the images failed, we even try to repeat the execution of apxldimg script but same error still exists.
Have you any others ideas.Ok, let's take a look at if we can see if the files are being uploaded. Run the following query:
select path(1) from resource_view where under_path(RES, 1, '/', 1) = 1;
This will show you the root paths in the XDB (XML DB Repository). You don't need to run this query since I can see your directory listings as noted by backintheday.
You can see all the times you have attempted to load the files by the number of images* directories. Each time you run the apxldimg.sql script it will rename the current images folder and append a date/time suffix.
The interesting thing about your folder structure is that you have an i directory along with an images directory. The i directory has the 4.1.1 files, the images directory has the 4.2.2 files (http://fuegedb.thinktank.de/images/apex_version.txt)
Not sure why you have an i directory. Did this database used to be a 10g database and not a 11g database? That might explain it.
Try renaming the i folder path.
begin
dbms_xdb.renameresource('/i/','/','/i_411');
end;
If the EPG is set up correctly it will have the i prefix mapped to the images path and everything should work fine. If not we'll have to figure out how to configure the EPG. -
Missing information after upgraded to APEX 3.0 from APEX2.2
Hi,
I recently upgraded to APEX 3.0 from APEX2.2.
I had some problem with the images not displaying properly,which was fixed later.
But now my problem is when i try to navigate at the page Level of any application e.g
(HOME>APPLICATION BUILDER>APPLICATION 110>PAGE 2) i am not able to see the page Definition. Nothing shows up under the headings of Page Rendering,Page Processing,Shared Components.
Though i am able to create and run the application without any problems.
Thanks in advance for your help.My guess is it has something to do with these errors in the Apache log:
[Fri Sep 28 13:20:56 2007] [error] [client 198.239.171.30] [ecid: 1191010856:198.239.171.21:1120:2876:360,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/htlmdb/f
[Fri Sep 28 13:21:48 2007] [error] [client 198.239.171.30] [ecid: 1191010908:198.239.171.21:1120:1296:357,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/htlmdb/f
[Fri Sep 28 13:21:55 2007] [error] [client 198.239.171.30] [ecid: 1191010915:198.239.171.21:1120:1296:358,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/htlmdb
[Fri Sep 28 13:22:43 2007] [error] [client 198.239.171.30] [ecid: 1191010963:198.239.171.21:1120:1536:375,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
[Fri Sep 28 13:22:59 2007] [error] [client 198.239.171.30] [ecid: 1191010979:198.239.171.21:1120:3480:431,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
[Fri Sep 28 13:23:04 2007] [error] [client 198.239.171.30] [ecid: 1191010984:198.239.171.21:1120:3480:433,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
[Fri Sep 28 13:23:13 2007] [error] [client 198.239.171.30] [ecid: 1191010993:198.239.171.21:1120:3480:435,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/images/spacer.gif
[Fri Sep 28 13:35:02 2007] [error] [client 198.239.171.30] [ecid: 1191011702:198.239.171.21:1120:3532:333,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/apex/f
[Fri Sep 28 13:35:08 2007] [error] [client 198.239.171.30] [ecid: 1191011708:198.239.171.21:1120:3532:334,0] File does not exist: c:/oracle/product/10.2.0/http_1/apache/apache/htdocs/pls/apex/
There were no errors on the install.
Thanks,
Susan -
Missing information after upgrade to APEX 3.0.1
Hi,
I recently upgraded to APEX 3.0 from APEX2.2.
I had some problem with the images not displaying properly,which was fixed later.
But now my problem is when i try to navigate at the page Level of any application e.g
(HOME>APPLICATION BUILDER>APPLICATION 110>PAGE 2) i am not able to see the page Definition. Nothing shows up under the headings of Page Rendering,Page Processing,Shared Components.
Though i am able to create and run the application without any problems.
Thanks in advance for your help.Post this thread in the APEX forum - the help there is awesome!
Is this on a full database version or XE? If the latter, there is an XE forum too which requires registration.
Phil -
Upgrade to APEX 4.2.3 apexins_con.sql gets Unexpected error encountered in catconInit; exiting
I am attempting to install/upgrade apex 4.2.3 under Oracle12c in a Multi-Tenant configuration.
Here are the environmental details
Windows 7 64 bit
Apex 4.2.3
ORCL: CDB$ROOT
PDBORCL: PDB$SEED
Here is the current states of the pluggable databases
SQL> SELECT NAME,OPEN_MODE,TOTAL_SIZE/1024/1024/1024 FROM V$PDBS;
NAME OPEN_MODE TOTAL_SIZE/1024/1024/1024
PDB$SEED READ ONLY .263671875
PDBORCL READ WRITE .366210938
SQL>
This is the command that I am using to re-install/upgrade APEX:
# remove 4.2.2 installation
cd M:\apex_4.2.3\apex_4.2.3_en\apex
sqlplus /@ORCL as sysdba
@apxremov.sql << this was successful
quit
Install 4.2.3 installation
sqlplus /@ORCL as sysdba
@apexins_con.sql i10wrk SYSAUX SYSAUX TEMP /i/ << this failed
The APEX installation fails immediately with the following message:
catconInit: database is not open
Unexpected error encountered in catconInit; exiting
I cannot determine which database is not open. Both my CDB$ROOT and PDBORCL are reported as open (READ WRITE Mode).
Here is my Container database
SQL> SELECT SYS_CONTEXT ('USERENV', 'CON_NAME') FROM DUAL;
SYS_CONTEXT('USERENV','CON_NAME')
CDB$ROOT
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
orcl OPEN
SQL>
Here is the associated Pluggable Database
sqlplus /@PDBORCL as sysdba
SQL> select instance_name,status from v$instance;
INSTANCE_NAME STATUS
orcl OPEN
SQL> ALTER PLUGGABLE DATABASE PDBORCL OPEN;
ALTER PLUGGABLE DATABASE PDBORCL OPEN
ERROR at line 1:
ORA-65019: pluggable database PDBORCL already open
I am confused…. Which database is not open?
The PDB$SEED is open in (READ ONLY) mode, but that is simply the template database. I don't think that ever needs to be open in (Read Write) mode.sbing52,
I cannot vouch for the specific error that is being returned by catcon.pl, but I would try the following in your situation.
1. It seems you connect to CDB$ROOT and ran apxremov.sql. This only removed the common APEX option from CDB$ROOT. Your PDB is now in an inconsistent state, since APEX is no longer in the root. I would reconnect to CDB$ROOT and run apxremov_con.sql, make sure you use the one from the 4.2.3 distribution. The one in the ORACLE home will not work.
2. I would then re-run apexins_con.sql connect to CDB$ROOT. Also, you need to pass the proper parameters. Why are you passing i10wrk? You should be invoking it like:
@apexins_con.sql SYSAUX SYSAUX TEMP /i/
Regards,
Jason -
Minor bug upgrading from apex 3.1 to 4.1
I have an application written by someone else in apex 3.1. When upgrading to apex 4.1 some pages failed to work. This was because for some reason there was a condition on a process which had a begin and end when the condition was of type: "NOT EXISTS (SQL qurey returns no rows".
This was combines by the process being:
begin
null;
end;
Anyway I thought I might share obviously this was crap code but maybe the upgrade process should run better then that.Hi Ben,
are you upgrading your existing machine or are you setting up a new environment with Oracle 11g and APEX 4.2? If that's the case you can use have a look at http://www.talkapex.com/2012/04/command-line-backups-for-apex.html which creates export scripts for all your workspaces and applications. Those export scripts can than easily be imported with SQL*Plus. Note: Please have a look at bug# 14777994 in our Known Issues list at http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-42-known-issues-1863578.html
If you are upgrading your existing database, you don't have to export/import. When you upgrade APEX to 4.2 all your existing workspaces and applications will be upgraded to 4.2 as well.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Upgrade oracle apex from 4.2.0 to 4.2.1
I am currently using Apex 4.2.0, and i want to upgrade it without uninstalling
when i try to install 4.2.1 it gives error that apex is already installed on your PC.
I am using oracle enterprise edition..please give me solution how can i upgrade my apex to 4.2.1Hello Parekh Jigar,
it seems you've hit the wrong forum for your question, as this one is dedicated to APEX Listener, a web server to make your APEX instance available for HTTP clients (browsers, etc.). Your question would fit better to {forum:id=137}.
Anyway, your question is easy to be answered: There are two different ways to get a recent APEX install
1. Download from OTN. OTN downloads are allways full installation packages, i. e. you can perform a fresh install or an upgrade from a previous major release.
2. Download from My Oracle Support (MOS). MOS offers patches that can also be applied to installations of the same major release.
In your case, you already have an install of the most recent major release (APEX 4.2) and need a patch to update to 4.2.1. This patch is only available via MOS.
(Note that the most recent APEX version would be 4.2.2)
-Udo -
Hi,
We have some applications developed in Apex 3.2.1 (which is mod_plsql) that have not been moved into Production yet. We are planning to upgrade to Apex 4.0 with Oracle Listener as soon as they are available (we don't want to turn on mod_plsql on any web server). What will be the migration process? Will my applications function and look the same when I open them in Apex 4.0? Will any functionality, formatting, etc. be lost?
I heard that there is a Migration Assistant but there is not much information available.
When Apex 4.0 and Oracle Listener will be released? Summer 2010?
I would appreciate all the information that you have about this.
Thanks,
VioletaA new dedicated OTN Forum has been set up for the APEX Listener: ORDS, SODA & JSON in the Database
Please use this forum for all future APEX Listener posts.
Regards,
David -
Hi All,
We need to upgrade current apex version 4.0.1.00.03 to 4.0.2.00.07.
I am new to Apex applications , so quite have few doubts:
1.Does database downtime is required for upgrade. In readme its stated that only APEX_040000 is updated , but I m not sure if the database will be restricted mode during upgrade?
2. Is procedure same for Database versions 10gR2 and 11gR2 (our version is 11gR2).
3.Also have plan for 11.2.0.2 upgrade , is it affect Apex applications?
Thanks in advance.
VishalNOT 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..
Maybe you are looking for
-
I just bought a new Macbook pro and i tried to rebuild my iphoto library from a time machine backup on an external hard drive. Even after pressing command+option when starting iphoto and selecting rebuild library from automatic backup, it still doesn
-
IS Retail-Recipient Driven Merchandise distribution Flow through
Hi On receipt of goods how the delivery document is created automatically for the recipient driven flow through . Now for me In WF60 delivery document is not getting craeted says "No processing doc found" .How the automatic delivery document is getti
-
Firmware/Recovery Tool Probl
Hi, Whenever I turn on the player I get a 'Firmware Problem' message. The player then freezes and will not turn off until the battery runs out. My PC does not recognize that the player is connected and I have downloaded the recovery tool but it will
-
Rented movie but it will not play
just rented a movie but it will not play.
-
How can I import eex files into Applications EUL from the unix command line
How can I import *.eex and *.dis files into an Applications EUL from the unix command line? Thanks