APEX 3.0.1 Success

The patch was a breeze and my application still works as it did before...including the parts I was using from APEXLib.
The only problems I encountered were my fault.
1. I was so excited for the "new", that I wasn't reading the OTN download page correctly and couldn't understand why I couldn't find apxpatch.sql in the download. Luckily, just before I posted asking this question, I noticed the line that said this was the full install and the patch was on Metalink.
2. I forgot to shut down everything before running the patch. This really isn't that huge of a deal as this install is on a local development machine and I'm the only one using it right now, but still it was funny...I started the patch and thought "Oops!". :)
Keep up the good work fellas and gals. The more goodies you include that keep me from having to learn, copy, figure out, understand javascript, css and AJax, the better. Then I can just concentrate on writing pl/sql to get the data. <G>
Chad

Well, I've never bragged about our ApEx success, but now that you've started... In the last year or so, we've been able to convert a large, clunky, unsecured and slow MS Access database to ApEx. It's currently used at a state regulatory agency (water pollution control), in total of 9 offices in 8 cities, with full security and well defined authorization schemes. So far, no down time worth mentioning, no memorable glitches either.
A total of 260 users, typically 100 or concurrent. It works so well for our Division, state decided to let our application be cloned to other divisions/agencies.
We've just had 2 Oracle ApEx beginners classes for about 30 people (you know, trying to empower users, so that development does not depend on IT folks only). Sadly, neither instructor showed ANY interest in what we've done to date. They also could not answer a single advanced/complex question... I wish we can get some of knowledgeable folks from this great forum to consult for us for day or two - that would save us weeks and months of "learning by discovery" methods we're currently stuck with.
Anyway, back to bragging: I was wondering if Oracle Corp. is interested in stories like ours. How do we promote, present (or even get evaluated) on what we've done? I've never seen ANY links on the Oracle page that provides an opportunity to share a success story. Maybe I haven't looked hard enough.
Thanks to all that post in this forum; advice, code and ideas have helped us tremendously to ease our growing pains.

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>

  • Installation problems on Fresh 11.1.0.6 database and Apex 3.1.1

    I hope someone can help - at wit's end trying to get Apex up and running. I've looked through the forum over and over and don't see a resolution.
    I have installed 11g Enterprise Edition on a Solaris 5.10 64bit Sparc system, created a database, setup and configured dbconsole for enterprise manager.
    Database is up, enterprise manager is up and I can connect and browse just fine, but when I went to set up and configure Apex (it was version 3.0 that came with the database) I could only get a blank page trying to go to either the apex or apex_admin pages.
    So re-read documentation and couldn't see what I did wrong. So I started a new Apex install, dropping the FLOWS_030000 and FLOWS_FILES users, downloaded apex 311, and did a fresh install.
    For the record, I'm trying to use the Embedded PL/SQL Gateway instead of the Oracle HTTP Server.
    Here are my steps:
    Downloaded apex_3.1.1.zip, loaded it up on server, and unzipped the file
    sqlplus "/ as sysdba"
    @apexins SYSAUX SYSAUX TEMP /i/
    no errors
    SQL> @apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    PL/SQL procedure successfully completed.
    Commit complete.
    SQL> !pwd
    /opt/software/media11g/oracle.server.SunOS510.11106.media/apex/apex
    SQL> @apxldimg.sql /opt/software/media11g/oracle.server.SunOS510.11106.media/apex
    PL/SQL procedure successfully completed.
    Directory created.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    Timing for: Load Images
    Elapsed: 00:04:14.62
    Directory dropped.
    SQL> @apex_epg_config /opt/software/media11g/oracle.server.SunOS510.11106.media/apex
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Directory created.
    Enter value for imgupg: <-- just hit enter
    Enter value for imgupg: <-- just hit enter
    PL/SQL procedure successfully completed.
    Commit complete.
    PL/SQL procedure successfully completed.
    timing for: Load Images
    Elapsed: 00:04:02.80
    Session altered.
    PL/SQL procedure successfully completed.
    Commit complete.
    Session altered.
    Directory dropped.
    SQL> EXEC DBMS_XDB.SETHTTPPORT(7459);
    PL/SQL procedure successfully completed.
    SQL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
    GETHTTPPORT
    7459
    I ran the following PL/SQL cut and pasted from the install doc to enable network services:
    SQL> DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give FLOWS_030100
    -- t 2 he "connect" privilege if FLOWS_030100 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, make sure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA- 3 4 5 6 7 8 9 10 11 12 13 44416: Invalid ACL: Unresolved principal 'FLOWS_030100'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'FLOWS_030100',
    'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    'FLOWS_030100', TRUE, 'connect');
    END IF;
    EXCEP 14 15 16 17 18 19 20 21 22 23 24 25 TION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'FLOWS_030100', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END; 26 27 28 29 30 31 32
    33 /
    PL/SQL procedure successfully completed.
    SQL>
    I then checked to see if the package was valid:
    SQL> SELECT STATUS FROM DBA_REGISTRY
    WHERE COMP_ID = 'APEX'; 2
    STATUS
    VALID
    Still, when I go to my browser and enter the following url:
    http://dbsu01a.sit.us.wamu.net:7459/apex/apex_admin
    all I get is a blank page.
    http://dbsu01a.sit.us.wamu.net:7459/apex
    returns a "page not found" error.
    It must be one of those "is your computer plugged in?" things - any help would be greatly appreciated.

    Here was the fix:
    My local_listener parameter in the init.ora (spfile) was not set. I ran the following as sys:
    alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=<hostname>)(PORT=<port>))' scope=both;
    Bounced the listener and the database and after about 3 minutes listener status showed the following new endpoint:
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<host>)(PORT=9969)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<host>)(PORT=7459))(Presentation=HTTP)(Session=RAW)) <-- this is the XDB entry.
    After that I was able to log into APEX!

  • NLS-Setting in APEX 3.2.1

    Hi all
    I have installed XE-Universal 10.2 on a XP-Pro.
    I have installed Apex 3.2.1 successfully in the same database.
    in the registry, the value in oracle->key-xe->nls_lang as well as in all other ORACLE is AMERICAN_AMERICA.WE8ISO8859P1.
    The query
    select parameter,value from nls_database_parameters
    where parameter in ('NLS_CHARACTERSET','NLS_LANGUAGE','NLS_TERRITORY');
    shows American_America.AL32UTFS
    In the Explorer-Pages of APEX, it shows "Language: de-ch"
    The windows-regional-settings are German-Switzerland. But even when I change the settings to American-America the APEX still shows
    (bottom left corner) "Language: de-ch".
    Where is apex getting this info from and how to change?
    When I try to import the OEHR-Sample-Application, it first shows "The export file has been imported successfully"
    After some time with the screen showing "Installing application", it aborts with the message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
    ORA-01756: Anführungsstrich fehlt bei Zeichenfolge &lt;pre&gt;
    begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||''''; end; &lt;/pre&gt;
    I had the same problem first with the installation of apex 3.2. It turned out that the problem is, that in Switzerland the Numeric
    Group Separator is "'" which seems not to work, therefore i changed nls to GERMAN_GERMANY, where the group separator is ','. This worked fine.
    Any help is very much appreciated.
    Regards
    Urs
    Latest update: the same error applies when trying to install OEHR - sample application in the hosted demo environment
    Edited by: user1131151 on 06.10.2009 02:04

    Urs,
    This has been logged with development as the following bug.
    BUG 9081503 - ORA-20001 & ORA-01756 : WHEN TRYING TO IMPORT APPLICATION WITH DE-CH BROWSER
    Currently there is no fix as it is being worked on. However, the workaround of setting the browser to something else other than DE-CH will be just fine to get the application imported.
    Regards,
    Sunny Patel.

  • Few questions about apex + epg and cookie blocked by IE6

    Hi,
    I would like to ask a few questions about apex and epg.
    I have already installed and configured apex 3.2 on oracle 10g (on my localhost - computer name 'chen_rong', ip address -192.168.88.175 ), and enable anonymous access xdb http server.
    now,
    1. I can access 'http://chen_rong' , 'http://localhost' , 'http://192.168.88.175' without input username / password for realm 'XDB' in IE6;
    2. I can access 'http://localhost/apex/apex_admin' , 'http://192.168.88.175/apex/apex_admin' , and I can be redirected into apex administation page after input admin/<my apex admin password> for realm 'APEX' in IE6;
    3. I can access 'http://chen_rong/apex/apex_admin' in IE6, but after input admin/password , I can not be redirected into administation page, because the cookie was blocked by IE6.
    then, the first question is :
    Q1: What is the difference among 'http://chen_rong' , 'http://localhost' , 'http://192.168.88.175' ? I have already include site 'chen_rong' into my trusted stes! why the cookie was blocked by IE6. I have already tried firefox and google browser, both of them were ok for 'chen_rong', no cookie blocked from site 'chen_rong'!
    and,
    1. I have tried to use the script in attachment to test http authentication and also want to catch the cookie by utl_http .
    2. please review the script for me.
    3. I did:
    SQL> exec show_url('http://localhost/apex/apex_admin/','ADMIN','Passw0rd');
    HTTP response status code: 401
    HTTP response reason phrase: Unauthorized
    Please supplied the required Basic authentication username/password for realm XDB for the Web page.
    Web page http://localhost/apex/apex_admin/ is protected.
    MS-Author-Via: DAV
    DAV: 1,2,<http://www.oracle.com/xdb/webdav/props>
    Server: Oracle XML DB/Oracle Database
    WWW-Authenticate: Basic realm="XDB"
    Date: Tue, 04 Aug 2009 02:25:15 GMT
    Content-Type: text/html; charset=GBK
    Content-Length: 147
    ======================================
    PL/SQL procedure successfully completed
    4. I also did :
    SQL> exec show_url('http://localhost/apex/apex_admin/','ANONYMOUS','ANONYMOUS');
    HTTP response status code: 500
    HTTP response reason phrase: Internal Server Error
    Check if the Web site is up.
    PL/SQL procedure successfully completed
    SQL> exec show_url('http://localhost/apex/apex_admin/','SYSTEM','apexsite');
    HTTP response status code: 401
    HTTP response reason phrase: Unauthorized
    Please supplied the required Basic authentication username/password for realm APEX for the Web page.
    Web page http://localhost/apex/apex_admin/ is protected.
    Content-Type: text/html
    Content-Length: 147
    WWW-Authenticate: Basic realm="APEX"
    ======================================
    PL/SQL procedure successfully completed
    my second questions is :
    Q2: After I entered into realm 'XDB', I still need went into realm'APEX'. how could I change the script show_url to accomplish these two tasks and successfully get the cookie from site.
    the show_url script is as following:
    CREATE OR REPLACE PROCEDURE show_url
    (url IN VARCHAR2,
    username IN VARCHAR2 DEFAULT NULL,
    password IN VARCHAR2 DEFAULT NULL)
    AS
    req UTL_HTTP.REQ;
    resp UTL_HTTP.RESP;
    name VARCHAR2(256);
    value VARCHAR2(1024);
    data VARCHAR2(255);
    my_scheme VARCHAR2(256);
    my_realm VARCHAR2(256);
    my_proxy BOOLEAN;
    cookies UTL_HTTP.COOKIE_TABLE;
    secure VARCHAR2(1);
    BEGIN
    -- When going through a firewall, pass requests through this host.
    -- Specify sites inside the firewall that don't need the proxy host.
    -- UTL_HTTP.SET_PROXY('proxy.example.com', 'corp.example.com');
    -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
    -- rather than just returning the text of the error page.
    UTL_HTTP.SET_RESPONSE_ERROR_CHECK(FALSE);
    -- Begin retrieving this Web page.
    req := UTL_HTTP.BEGIN_REQUEST(url);
    -- Identify yourself.
    -- Some sites serve special pages for particular browsers.
    UTL_HTTP.SET_HEADER(req, 'User-Agent', 'Mozilla/4.0');
    -- Specify user ID and password for pages that require them.
    IF (username IS NOT NULL) THEN
    UTL_HTTP.SET_AUTHENTICATION(req, username, password, 'Basic', false);
    END IF;
    -- Start receiving the HTML text.
    resp := UTL_HTTP.GET_RESPONSE(req);
    -- Show status codes and reason phrase of response.
    DBMS_OUTPUT.PUT_LINE('HTTP response status code: ' || resp.status_code);
    DBMS_OUTPUT.PUT_LINE
    ('HTTP response reason phrase: ' || resp.reason_phrase);
    -- Look for client-side error and report it.
    IF (resp.status_code >= 400) AND (resp.status_code <= 499) THEN
    -- Detect whether page is password protected
    -- and you didn't supply the right authorization.
    IF (resp.status_code = UTL_HTTP.HTTP_UNAUTHORIZED) THEN
    UTL_HTTP.GET_AUTHENTICATION(resp, my_scheme, my_realm, my_proxy);
    IF (my_proxy) THEN
    DBMS_OUTPUT.PUT_LINE('Web proxy server is protected.');
    DBMS_OUTPUT.PUT('Please supply the required ' || my_scheme ||
    ' authentication username/password for realm ' || my_realm ||
    ' for the proxy server.');
    ELSE
    DBMS_OUTPUT.PUT_LINE('Please supplied the required ' || my_scheme ||
    ' authentication username/password for realm ' || my_realm ||
    ' for the Web page.');
    DBMS_OUTPUT.PUT_LINE('Web page ' || url || ' is protected.');
    END IF;
    ELSE
    DBMS_OUTPUT.PUT_LINE('Check the URL.');
    END IF;
    -- UTL_HTTP.END_RESPONSE(resp);
    -- RETURN;
    -- Look for server-side error and report it.
    ELSIF (resp.status_code >= 500) AND (resp.status_code <= 599) THEN
    DBMS_OUTPUT.PUT_LINE('Check if the Web site is up.');
    UTL_HTTP.END_RESPONSE(resp);
    RETURN;
    END IF;
    -- HTTP header lines contain information about cookies, character sets,
    -- and other data that client and server can use to customize each
    -- session.
    FOR i IN 1..UTL_HTTP.GET_HEADER_COUNT(resp) LOOP
    UTL_HTTP.GET_HEADER(resp, i, name, value);
    DBMS_OUTPUT.PUT_LINE(name || ': ' || value);
    END LOOP;
    -- Read lines until none are left and an exception is raised.
    --LOOP
    -- UTL_HTTP.READ_LINE(resp, value);
    -- DBMS_OUTPUT.PUT_LINE(value);
    --END LOOP;
    UTL_HTTP.GET_COOKIES(cookies);
    dbms_output.put_line('======================================');
    FOR i in 1..cookies.count LOOP
    IF (cookies(i).secure) THEN
    secure := 'Y';
    ELSE
    secure := 'N';
    END IF;
    -- INSERT INTO my_cookies
    -- VALUES (my_session_id, cookies(i).name, cookies(i).value,
    -- cookies(i).domain,
    -- cookies(i).expire, cookies(i).path, secure, cookies(i).version);
    dbms_output.put_line('site:'||url);
    dbms_output.put_line('cookies:');
    dbms_output.put_line('name:'||cookies(i).name);
    dbms_output.put_line('value:'||cookies(i).value);
    dbms_output.put_line('domain:'||cookies(i).domain);
    dbms_output.put_line('expire:'||cookies(i).expire);
    dbms_output.put_line('path:'||cookies(i).path);
    dbms_output.put_line('secure:'||secure);
    dbms_output.put_line('version:'||cookies(i).version);
    END LOOP;
    UTL_HTTP.END_RESPONSE(resp);
    EXCEPTION
    WHEN UTL_HTTP.END_OF_BODY THEN
    UTL_HTTP.END_RESPONSE(resp);
    END;
    /

    I use oracle database enterprise edtion 10.2.0.3. I have already figured out the epg on 10.2.0.3 to support apex 3.2.
    And as I described above, the apex site works fine for ip address , and localhost. but the cookie will be blocked by IE6, if I want to access the site by 'http://computername:port/apex/apex_admin'. This problem does not occured in firefox and google browser. Could someone give me answer?

  • Problem in Loading apex images during the installation

    This is the state now......
    SQL> @apxldimg D:\apex
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'D:\apex/apex/images'
    Directory created.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    declare
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kzxcInitLoadLocal-7], [64131],
    [ORA-64131: XMLIndex Metadata: failure during the looking up of the dictionary
    ORA-30966: error detected in the XML Index layer
    ORA-31011: XML parsing failed
    ORA-06512: at "XDB.DBMS_XDB", line 437
    ORA-06512: at line 39
    Commit complete.
    timing for: Load Images
    Elapsed: 00:01:49.69
    Directory dropped.
    SQL>
    anyone can help meee ?????

    Hi!
    Even not knowing which platform you are working on, first off try to create a file in the directory you are unpacking to. (create an empty textfile in windows or "touch test" when using unix). If this works, you need to check if your user got permissions to overwrite/delete the files in the kernel directory.
    If touch fails then you need to adjust the permissions of the directory itself you are working in.
    Also make sure the files are not in use.
    Regards
    Edited by: Christian Kaunzner on Dec 2, 2008 12:27 PM

  • APEX 3.0.1 /Vista Premium   install failing:

    Hi
    Can anyone assist me with this ...
    I get following error when running chart_demo app. fm."Release 3.0 New Feature Demos" page under APEX 3.0.1 and Vista Premium:
    "A script in this movie is causing Macromedia Flash Player 7 to run slowly. If it continues to run, your computer may become unresponsive.Do you want to abort the script ?"
    I tried Flash Player 7, 8, 9.
    Same action under APEX 3.0/XP successfully.
    Emil

    Emil,
    Have any of the base tables in this schema changed?
    Can you use display conditions to hide all the charts on that page, then display them one at a time to determine which chart (assuming it is just one of them) is causing this?
    Thanks,
    Marco

  • Hosted APEX: Thesaurus needed

    Hello. I am a happy user of the hosted APEX service, who has successfully experimented with searching using Oracle Text (thanks to other posts here such as those from Denes.)
    I would like to now use a thesaurus but I cannot use the ctx_thes package to load one.
    Any chance of the hosted APEX team loading up the Oracle-supplied default thesaurus
    for everyone ? Thanks.

    Further to this question, I note that the basic Oracle Text functions used to work on the hosted apex site but haven't done for a while.
    The error received is:
    supplied knowledge base file /app/oracle/rdbms/11106/ctx/data/enlx/droldUS.dat not installed
    I would appreciate any comments from the Oracle team.
    Thanks.

  • Apex Installation not working

    Is Apex 4.0 Installation so difficult?!
    Tried a basic installation a few times. It is not working. But I can remember a few months ago I had installed 3.2 successfully. I removed the entire schemas and installed a fresh Apex 4.0 installation again.
    OS: Windows Vista Home Premium
    Apex Installation Log file successfully shows the installation is complete
    I have configured the embedded PL/SQL gateway
    SELECT DBMS_XDB.GETHTTPPORT FROM DUAL - returns 9000 (which is what I want)
    I have enabled network services in Oracle 11g
    Inspite of all this when I give the http://hostname:port/apex, it comes with internet explorer cannot display webpage.
    The troubleshooting side on the Oracle manual is small, and does not contain much information on actual troubleshooting.
    Any help gratefully received

    I don't think any Oracle product is certified for Windows Home. Can you upgrade to Windows Professional? I know that I used to be able to find workarounds for earlier versions of Windows and Oracle, but I found that when I tried to install Oracle 11g and Application Express 4.0 on Windows 7 that I needed to upgrade to Windows 7 Professional. That could be your total problem. Other than that, the following is a list of things to check.
    Do you have enough disk space?
    Is Oracle Text installed?
    Are you logged in as an operating system user with administrator privileges when doing the installation?
    Did you change your working directory to your apex directory, connect sys as sysdba, and run apexins.sql, apex_epg_config.sql, apexconf.sql, and apexchpwd.sql?
    Are there any errors in the installation log or does it say "Thank you for installing Oracle Application Express..." indicating it completed successfully?
    Are the apex accounts unlocked and have you granted connect privileges?
    Did you try re-starting your computer?
    Are all the Oracle services started? You can check from control panel -> system and security -> administrative tools -> services.
    Are you connected to the internet?
    Are you using internet explorer 7.0 or higher?
    Do you get the correct results from the follwing:
    select status from dba_registry where comp_id = 'APEX';
    should show valid
    select dbms_xdb.gethttpport from dual;
    should show the port you selected
    select owa_util.get_version from dual;
    should show version 10.1.2.0.6 or later
    show parameter job_queue_processes
    should be 1000
    show parameter memory_target
    show parameter shared_pool_size
    either memory_target value should not be null or shared_pool_size >= 100 mb

  • UPGRADE 10g XE to APEX 3.2

    Dear sir
    I have Oracle 10g XE 10.2 with Pre-Install APEX 2.1 . I won't to Upgrade APEX 2.1 to Apex 3.2
    Please Help me I try APEX Installation Guide but not get result
    Thx

    Dear Sir
    Thank you , On my XP , IE 8 , 10 XE with Apex 2.1 i recd following error on step no.2 & 3
    Apex unzipped at D:\apex
    when i start doing following step , there is no change [Go To Database Home Page] i see original XE 10.2 and Apex 2.1
    1. @apxrtins SYSAUX SYSAUX TEMP /i/ Run Ok
    2,SQL> @d:\apex\apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    ERROR:
    ORA-01435: user does not exist
    ...changing password for ADMIN
    wwv_flow_security.g_security_group_id := 10;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Commit complete.
    3. SQL> @d:\apex\apxldimg d:\apex
    PL/SQL procedure successfully completed.
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
    ERROR at line 16:
    ORA-06550: line 16, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 16, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:34.80
    Directory dropped.

  • Apex editor pull down menu

    Hi,
    i'm trying to recreate the pull down menu in the Apex 4 Editor without success.
    Looking at the structure of the editor, its replacing the TABS region which comes in the different themes with a div: page-header and applying css to it (apex top bar etc).
    Has anybody tried this?

    Try to add S before #LIST_ITEM_ID# in list template (Sublist Entry properties).
    In "Sub List Template Current with Sub List Items" and "Sublist Template Noncurrent with Sub List Items" replace
    dhtml_MenuOpen(this,'#LIST_ITEM_ID#',true,'Left')"
    with this
    dhtml_MenuOpen(this,'S#LIST_ITEM_ID#',true,'Left')"
    Hope that helps.
    Best regards,
    Marko

  • Creating Job Issue

    Hi Experts,
    I have created a page in Apex where I m using File browse item say :p13_filebrowse(where i m using CSV format files) and other items too. On click of Submit button I m calling package which dynamically creates the table successfully of browsed CSV FIle.
    Now My requirement is to create the dbms_scheduler Job for the existing package(AS Above) so that If I upload the very huge file it should run in backend using the DBMS Job.If I call package directly from the APex . it is happening successfully. But If i create the Job for that package then I m getting error for not identify the Apex file browsed items.
    In Package I m using wwv_flow_files from where i m extracting the file and creating the table.Through Job it is unable to recognise the Apex file browse item.For more information please go through the follwing code:-
    I m calling package from Apex which is succesfully executing in creaitng the table:-
    htmldb_sid_50.parse_file(:P13_FILEBROWSE,'P13_COLLECTION' ,'P13_HEADINGS','P13_COLUMNS','P13_DDL');
    htmldb_sid_50.parse_file(:P13_FILEBROWSE,'P13_COLLECTION' ,'P13_HEADINGS','P13_COLUMNS','P13_DDL','gdqdata.gdq_table1');
    Foollwing code of Package:-
    create or replace PACKAGE BODY htmldb_sid_50
    AS
    TYPE varchar2_t IS TABLE OF VARCHAR2(32767) INDEX BY binary_integer;
    -- Private functions --{{{
    PROCEDURE delete_collection ( --{{{
    -- Delete the collection if it exists
    p_collection_name IN VARCHAR2
    IS
    BEGIN
    IF (htmldb_collection.collection_exists(p_collection_name))
    THEN
    htmldb_collection.delete_collection(p_collection_name);
    END IF;
    END delete_collection; --}}}
    PROCEDURE csv_to_array ( --{{{
    -- Utility to take a CSV string, parse it into a PL/SQL table
    -- Note that it takes care of some elements optionally enclosed
    -- by double-quotes.
    p_csv_string IN VARCHAR2,
    p_array OUT wwv_flow_global.vc_arr2,
    p_num IN VARCHAR2 DEFAULT null,
    p_separator IN VARCHAR2 := ','
    IS
    l_start_separator PLS_INTEGER := 0;
    l_stop_separator PLS_INTEGER := 0;
    l_length PLS_INTEGER := 0;
    l_idx BINARY_INTEGER := 0;
    l_new_idx BINARY_INTEGER := 0;
    l_quote_enclosed BOOLEAN := FALSE;
    l_offset PLS_INTEGER := 1;
    p_csv_string_test varchar2(4000);
    cell_value varchar2(400);
    BEGIN
    l_length := NVL(LENGTH(p_csv_string),0);
    IF (l_length <= 0)
    THEN
    RETURN;
    END IF;
    LOOP
    l_idx := l_idx + 1;
    l_quote_enclosed := FALSE;
    -- p_csv_string
    p_csv_string_test := replace(p_csv_string,'""','@@');
    --p_csv_string := p_csv_string_test;
    IF SUBSTR(p_csv_string_test, l_start_separator + 1, 1) = '"'
    THEN
    l_quote_enclosed := TRUE;
    l_offset := 2;
    l_stop_separator := INSTR(p_csv_string_test, '"', l_start_separator + l_offset, 1);
    ELSE
    l_offset := 1;
    l_stop_separator := INSTR(p_csv_string_test, p_separator, l_start_separator + l_offset, 1);
    END IF;
    IF l_stop_separator = 0
    THEN
    l_stop_separator := l_length + 1;
    END IF;
    if l_idx = 1 then
    p_array(l_idx) := p_num;
    l_idx := l_idx + 1;
    end if;
    if(l_idx < 50) then
    cell_value := (SUBSTR(p_csv_string_test, l_start_separator + l_offset,(l_stop_separator - l_start_separator - l_offset)));
    cell_value := replace(cell_value, '@@', '"');
    p_array(l_idx) := cell_value;
    end if;
    EXIT WHEN l_stop_separator >= l_length;
    IF l_quote_enclosed
    THEN
    l_stop_separator := l_stop_separator + 1;
    END IF;
    l_start_separator := l_stop_separator;
    END LOOP;
    END csv_to_array; --}}}
    PROCEDURE get_records(p_blob IN blob,p_records OUT varchar2_t) --{{{
    IS
    l_record_separator VARCHAR2(2) := chr(13)||chr(10);
    l_last INTEGER;
    l_current INTEGER;
    BEGIN
    -- Sigh, stupid DOS/Unix newline stuff. If HTMLDB has generated the file,
    -- it will be a Unix text file. If user has manually created the file, it
    -- will have DOS newlines.
    -- If the file has a DOS newline (cr+lf), use that
    -- If the file does not have a DOS newline, use a Unix newline (lf)
    IF (NVL(dbms_lob.instr(p_blob,utl_raw.cast_to_raw(l_record_separator),1,1),0)=0)
    THEN
    l_record_separator := chr(10);
    END IF;
    l_last := 1;
    LOOP
    l_current := dbms_lob.instr( p_blob, utl_raw.cast_to_raw(l_record_separator), l_last, 1 );
    EXIT WHEN (nvl(l_current,0) = 0);
    p_records(p_records.count+1) := utl_raw.cast_to_varchar2(dbms_lob.substr(p_blob,l_current-l_last,l_last));
    l_last := l_current+length(l_record_separator);
    END LOOP;
    END get_records; --}}}
    -- Utility functions --{{{
    PROCEDURE parse_textarea ( --{{{
    p_textarea IN VARCHAR2,
    p_collection_name IN VARCHAR2
    IS
    l_index INTEGER;
    l_string VARCHAR2(32767) := TRANSLATE(p_textarea,chr(10)||chr(13)||' ,','@@@@');
    l_element VARCHAR2(100);
    BEGIN
    l_string := l_string||'@';
    htmldb_collection.create_or_truncate_collection(p_collection_name);
    LOOP
    l_index := instr(l_string,'@');
    EXIT WHEN NVL(l_index,0)=0;
    l_element := substr(l_string,1,l_index-1);
    IF (trim(l_element) IS NOT NULL)
    THEN
    htmldb_collection.add_member(p_collection_name,l_element);
    END IF;
    l_string := substr(l_string,l_index+1);
    END LOOP;
    END parse_textarea; --}}}
    PROCEDURE parse_file( --{{{
    p_file_name IN VARCHAR2,
    p_collection_name IN VARCHAR2,
    p_headings_item IN VARCHAR2,
    p_columns_item IN VARCHAR2,
    p_ddl_item IN VARCHAR2,
    p_table_name IN VARCHAR2 DEFAULT NULL
    IS
    l_blob blob;
    l_records varchar2_t;
    l_record wwv_flow_global.vc_arr2;
    l_datatypes wwv_flow_global.vc_arr2;
    l_headings VARCHAR2(4000);
    l_columns VARCHAR2(4000);
    l_seq_id NUMBER;
    l_num_columns INTEGER;
    l_ddl VARCHAR2(4000);
    l_keyword varchar2(300);
    l_records_count number;
    l_count number;
    l_filename varchar2(400);
    BEGIN
    --delete from test_mylog;
    -- insert into t_log(slog) values('p_file_name '||p_file_name||'p_collection_name '||p_collection_name||'p_headings_item '||p_headings_item||'p_columns_item '||p_columns_item||'p_ddl_item '||p_ddl_item||'p_table_name '||p_table_name);
    -- commit;
    insert into testing_job values(p_file_name,p_collection_name,p_headings_item,p_columns_item,p_ddl_item,p_table_name);commit;
    IF (p_table_name is not null)
    THEN
    BEGIN
    execute immediate 'drop table '||p_table_name;
    EXCEPTION
    WHEN OTHERS THEN null;
    END;
    l_ddl := 'create table '||p_table_name||' '||v(p_ddl_item);
    htmldb_util.set_session_state('P13_DEBUG',l_ddl);
    execute immediate l_ddl;
    l_ddl := 'insert into '||p_table_name||' '||
    'select '||v(p_columns_item)||' '||
    'from htmldb_collections '||
    'where seq_id > 1 and collection_name='''||p_collection_name||'''';
    htmldb_util.set_session_state('P13_DEBUG',v('P13_DEBUG')||'/'||l_ddl);
    execute immediate l_ddl;
    RETURN;
    END IF;
    BEGIN
    /*select blob_content into l_blob from wwv_flow_files
    where name=p_file_name;*/
    select the_blob into l_blob from t_batch_attachments
    where blob_filename=p_file_name;
    -- insert into testing_job values (l_blob);commit;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    raise_application_error(-20000,'File not found, id='||p_file_name);
    END;
    get_records(l_blob,l_records);
    IF (l_records.count < 2)
    THEN
    raise_application_error(-20000,'File must have at least 2 ROWS, id='||p_file_name);
    END IF;
    -- Initialize collection
    htmldb_collection.create_or_truncate_collection(p_collection_name);
    -- Get column headings and datatypes
    csv_to_array(l_records(1),l_record,'sid');
         --l_records_count:=l_record.count+1;
    --csv_to_array(l_records(l_records_count),l_datatypes);
         l_num_columns := l_record.count;
         if (l_num_columns > 100) then
    raise_application_error(-20000,'Max. of 100 columns allowed, id='||p_file_name);
    end if;
    -- Get column headings and names
    FOR i IN 1..l_record.count
    LOOP
    l_record(i) := trim(l_record(i));
    l_record(i) := replace(l_record(i),' ','_');
    l_record(i) := replace(l_record(i),'-','_');
    l_record(i) := replace(l_record(i),'(','_');
    l_record(i) := replace(l_record(i),')','_');
    l_record(i) := replace(l_record(i),':','_');
    l_record(i) := replace(l_record(i),';','_');
    l_record(i) := replace(l_record(i),'.','_');
    l_record(i) := replace(l_record(i),'"','_');
    l_headings := l_headings||':'||l_record(i);
    l_columns := l_columns||',c'||lpad(i,3,'0');
    END LOOP;
    l_headings := ltrim(l_headings,':');
    l_columns := ltrim(l_columns,',');
    htmldb_util.set_session_state(p_headings_item,l_headings);
    htmldb_util.set_session_state(p_columns_item,l_columns);
         -- Get datatypes
    FOR i IN 1..l_record.count
    LOOP
    l_datatypes(i):='varchar2(400)';
    l_ddl := l_ddl||','||l_record(i)||' '||l_datatypes(i);
    END LOOP;
    l_ddl := '('||ltrim(l_ddl,',')||')';
    htmldb_util.set_session_state(p_ddl_item,l_ddl);
    -- Save data into specified collection
    FOR i IN 1..l_records.count
    LOOP
    csv_to_array(l_records(i),l_record,i-1);
    l_seq_id := htmldb_collection.add_member(p_collection_name,'dummy');
    FOR i IN 1..l_record.count
    LOOP
    htmldb_collection.update_member_attribute(
    p_collection_name=> p_collection_name,
    p_seq => l_seq_id,
    p_attr_number => i,
    p_attr_value => l_record(i)
    END LOOP;
    END LOOP;
    -- DELETE FROM wwv_flow_files WHERE name=p_file_name;
    END;
    BEGIN
    NULL;
    END;
    Now I m stuck in If I call the Package through following Job:-
    DBMS_SCHEDULER.create_job (
    job_name => 'New_Testing1',
    job_type => 'PLSQL_BLOCK',
    job_action => 'begin
    GDQ.htmldb_sid_50.parse_file ('''||:P13_FILEBROWSE||''',''P13_COLLECTION'',''P13_HEADINGS'',''P13_COLUMNS'',''P13_DDL'');
    htmldb_sid_50.parse_file('''||:P13_FILEBROWSE||''',''P13_COLLECTION'' ,''P13_HEADINGS'',''P13_COLUMNS'',''P13_DDL'',''gdqdata.gdq_table1'');
    end;
    start_date => NULL,
    repeat_interval => NULL,
    end_date => NULL,
    enabled => TRUE,
    comments => 'UPLOAD FILE INTO TABLE IN GDQ.'
    I believe there is security issue in APex related to wwv_flow_files which is creating the problem . Please can anybody assist me in this issue.
    Thanks in Advance
    Danalaxmi

    Please post the details of the application release, along with the complete error message and the steps you followed to reproduce the issue.
    Thanks,
    Hussein

  • HTTP Listener Problem

    i write this post also Apex forum but i couldnt get any answer for weeks. I guess this is a hard question.
    Re: i can't reach the remote host
    as i posted above url, i cannot reach the remote host via typing host address in browser. I can connect in sqlplus, plsql, there is no browser. But i cannot reach that remote host from browser.
    I did:
    installed the apex 3.1.1 successfully and i validate it.
    i also run the apex_epg_config file.
    set the http port with dbms_xdb.sethttpport functionso, browser said to me "cannot find server". I am posting result of "lsnrctl status", so it might guide you.
    fatih@oracle $ lsnrctl status
    LSNRCTL for Solaris: Version 11.1.0.6.0 - Production on 11-AUG-2008 18:51:06
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=fatih)(PORT=1529)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 11.1.0.6.0 - Production
    Start Date 01-AUG-2008 11:24:54
    Uptime 10 days 7 hr. 26 min. 12 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /dwh0/app/oracle/product/11.1.0.1/network/admin/listen
    er.ora
    Listener Log File /dwh0/app/oracle/product/diag/tnslsnr/fatih/listener/a
    lert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fatih)(PORT=1529)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "owb11" has 1 instance(s).
    Instance "owb11", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    i think that a line that includes http listening is missing. Because i have another machine, i can connect it from sqlplus,plsql,browser. And i typed "lsnrctl status" in its terminal the http listener line is seeming as this :
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XXXHOST.tcelldomain)(PORT=8082))(Presentation=HTTP)(Session=RAW))
    As i said, above line is not seeming first machine.
    What do you think about it?
    thanks for responses.

    In general, APEX can be accessed either by using the Listener/DBMS_XDB or the Apache HTTP server access.
    It appears that you want to use the Listener/DBMS_XDB access. In which case, the theory is:
    User requests connection to host:port
    Listener on 'host' listens on port, as directed by DBMS_XDB
    Listener passes request to DBMS_XDB (using shared server technique) which passes it to DBMS_EPGTo get listener to monitor the port, you need to use DBMS_XDB to register the http (or ftp) port to the listener. That is done using the dbms_xdb.gethttpport and verified using dbms_xed.gethttpport
    Refer to the DBMS_XDB docs for details. http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_xdb.htm#sthref8053
    Check the output of
    select dbms_xdb.gethttpport() from dual;
    C:\temp>sqlplus system/oracle
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 11 11:07:34 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select dbms_xdb.gethttpport() from dual;
    DBMS_XDB.GETHTTPPORT()
                      8080
    SQL>

  • How to trigger the automated row fetch process and open modal window by javascript api?

    Hi,
    I would like to click the one row of column of IR report, to open the modal window of current page.  <----------------it is ok. I can use "javascript:openModal('windowID')"  to do it.
    There is one form in this modal window, Meanwhile, I would like to pass column data to this form.    <--------------------- it is ok also. I can use " $s('P7_ID','column_value');" to do it.
    But I don't know how to trigger the "automated row fetch" process of this form to retrieve other field's value in this form.   
    I tried to use following 2 ways. But failed.
    First method:
    add one ajax process of "automated row fetch" in "page processing" block, named "get_fetch_data"
    when click IR column , call "openModal", and call  "apex.server.process ( "get_fetch_data", {}, { success: function( pData ) { }  } );"  , I tried to call above ajax process to refresh form. It is failed.
    Second method:
    add one process of  "automated row fetch" in "page rendering" block, named "get_fetch_data"
    when click IR column, call javascript api "apex.submit" to submit current page , then call "openModal".
    such as :  javascript:apex.submit({request:'MODIFY',set:{'P7_ID': #ID#}}); openModal('trade');
    But it is failed also. the modal page is showed firstly. then page refresh. but modal window will not open again.
    I am not sure if my thinking is right. Could you please provide any suggestion?
    Thanks in advance,
    Ping

    Hi Ping,
    You can try to set the session state of your modal page's primary key before opening the modal page. Use one dynamic action (on click of IR row) with two true actions. First one to set session state of modal page pk, second on to open modal page.
    Or you can add the modal page url as link in your report by extending your query:
    select ...
    ,         apex_util.prepare_url( 'f?p='||:APP_ID||':7:'||:APP_SESSION||'::'||:DEBUG||':7:P7_ID'||COLUMN_VALUE ) as link
    from ...
    This will give you the url of the modal page, with set primary key.
    Regards,
    Vincent Deelen
    http://vincentdeelen.blogspot.com

  • Authorization schemes

    I am trying to not reinvent the wheel but Oracle DB secuirty as it exists today in APEX. I have successfully setup the authentication using Database account and that works fine, but now I want to have my application only allow special oracle accounts that are signified by Banner, authorized to process the application. I do not want to have to setup any additional security, but use my current DB security that is already setup in the Banner accounts for what can be accessed. I know I have to do something in the Authorization schemes in APEX, but I am not sure what? Any help would be appreciated. Thanks. Joe

    It's quite simple really.
    Create the scheme and the bottom line is that the scheme has to return TRUE or FALSE. TRUE means that they pass the test and can do whatever it is, FALSE means they fail the test and should get an error.
    99.9% of the time I create a boolean-returning function in the database and I call it in the scheme like this (assume myfunction() takes the value of the signed-on user and does something with it to check if this user passes the test or not):
    RETURN myfunction(:APP_USER);If TRUE comes back, they pass security validation, else it will fail them.
    If you are just testing the user name itself, try this:
    RETURN (:APP_USER like '%BANNER');...or whatever else returns TRUE/FALSE to evaluate your test.
    Then, after you define the scheme, attach it to whatever needs protection.
    There is an application-level to place the authorization scheme to restrict all access to all pages but I've never gotten it to effectivelly work because if you do the above example, it will even protect the login page because the APP_USER isn't yet set to the person who is going to log in. So I've always had to put the authorization at each page.
    However you might be able to manage it at the application level if you do it this way (I never tried but I guess this would work...assume 101 is the login page):
    RETURN :APP_PAGE_ID='101' OR (:APP_PAGE_ID != '101' AND :APP_USER like '%BANNER');So anytime page 101 (login) is accessed, the user passes security test to render the page. Else if it's not page 101, their username has to end in BANNER in order to pass the test.

Maybe you are looking for