APEX 3.1.2 unzip location

Hi there,
I'm going to be doing a first-time install of APEX 3.1.2 in an Oracle 11g Database very soon.
We must download and install APEX separately, and not use the one supplied by the Oracle 11g database, as a 3rd-party application requires this.
So I've downloaded the APEX 3.1.2.zip from Oracle, and now I'm trying to figure out where it should be unzipped.
There's nothing in the Oracle Application Express Installation Guide Release 3.1.2 that explicitly states APEX must be installed under $ORACLE_HOME, except in the "Copying the Images Directory in a New Installation" section, which is near the end of the install. This section implies that APEX must be unzipped directly under $ORACLE_HOME. But nowhere earlier in the documentation does it tell you WHERE the APEX zip file should be unzipped.
So, where should APEX be unzipped? i.e. under $ORACLE_HOME or not? Does it matter? Any insight would be helpful.
Thanks.
Rob
Edited by: x94qvi on Sep 18, 2009 5:34 PM

Rob:
Always have in mind that for later upgrades to apex the reference for APEX_HOME will be necessary. If I remember correctly, there is an Oracle Standard called OFA (Optimal Flexible Architecture) that suggests something like this " /u01/app/oracle/product/10.1.0/type[_n] " in my case, its " /u01/app/oracle/product/3.1.2/apex_1 ".
This is applicable for all of your Oracle products installed in your O/S. If you would like additional information about OFA, you can find it here: http://download.oracle.com/docs/cd/E11882_01/install.112/e10840/appendix_ofa.htm#i633068, the Table D-7 Directory Structure Syntax for Identifying Classes of Files and Table D-8 Hierarchical File Mapping for an Optimal Flexible Architecture Installation are more specific about the suggested paths.
Since it's... as stated before, an arbitrary call, you could either follow the standard or just place it under /home/oracle/apex :)
Hope you find this helpful.
Nelson
Edited by: Nelson Bolaños on Sep 18, 2009 7:47 PM

Similar Messages

  • How to use oracle APEX with an distant database located on a distant server

    Hi there,
    I'm a brand new user with Oracle Technologies. I've installed ORACLE 10g XE and updated APEX to 4.0 version on my laptop.
    My Manager has setup a distant server with a Linux Red Hat. He has installed on this server EBS R12 with a 11i database.
    As a training, I'd like to play with the tables located on the server with the APEX 4.0 installed on my laptop.
    As the server is on the same local network and following the description above, is it possible to plug my local APEX to the server database ?
    If not, does it mean I have to install APEX on the 11i server database and then connect to the server to play with those tables ?
    Thanks a lot for your time and support ACEs members.
    Regards,
    Ulrich

    Hi Ulrich,
    yes, you can access other database from your APEX database. The mechanism used to do this is called a "database link". You need to create such a database link in your local database, then you can access the remote database like this:
    SELECT *
      FROM databaselink@EMP
    ;If you want to use such remote objects from within APEX you need to create local views to wrap this (search the forum for apex and database links, you'll find interesting threads).
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to change the location of Apex Listener?

    Dear all,
    after I changed the directory of location of Apex Listener, I got
    Internal Errorwhen tried to access Apex.
    How to fix this problem?
    regards,
    Val

    Hello Valerie,
    probably this problem is caused by the file/directory access rights on the apex.home (the place where the APEX Listener stores its configuration). The default location would be ${java.io.tmpdir} which again defaults to */tmp/apex* in most cases. However, this is mostly a global location, not a user specific one. On the other hand, the files are created with write acces limited to the owner and read access limited to owner and group. So if you try to start with a different user, the APEX Listener tries to use the same location, but cannot access the files as needed and hence fails. root obviously will not have this problem, but I would recommend not to use this account for any service you run.
    You can set a start option to make the APEX Listener use a different location for apex.home that is read-/writable for your current user. This could like
    java -Dapex.home=/home/user/apex -jar ./apex.warOf course you can change the directory to any place that fits to your system.
    For more information on start parameters, you could take a look into the APEX Listeners Install and Development Guide.
    -Udo

  • APEX 3.0.1 installation on Vista

    Dear Forum,
    I needed to work up an installation document for a tech support guy doing 12 installations for an APEX class I'm teaching. After many hours and many wrong turns, I finally got it to work. Thought I would provide it to the forum to help out others. I found many hints here that helped me. Beats the docs, that's for sure.
    Warren
    APEX 3.0.1 Installation Steps for Vista
    1.For downloads, go to http://oracle.com/technology. Get yourself and account and then go to database downloads
    2.Download the latest 10g release 2database file you can – 10.2.0.3 for Vista. Make sure you get the Standard Edition/Enterprise Edition, not the Express Edition. Unzip the files and start the installation via setup.exe in disk1. Install the Enterprise Edition, otherwise accept all the defaults. Call the database ORCL. Set the password for all users to be the same – oracle.
    3.Download the latest 10g companion CD file you can – 10.2.0.3 for Vista. It will go into a different ORACLE_HOME, just accept the defaults. Install the Apache server from the Companion diskette by choosing the third option – Companion Products and then Apache Standalone.
    4.Download and unzip the apex3.0.1.zip file into a directory called c:\apex_3.0.1. You can find the download link on the APEX home page - http://www.oracle.com/technology/products/database/application_express/index.html.
    5.Put an icon for SQL*Plus on your desktop. Right-click on it, go to properties and set its START IN directory to c:\apex_3.0.1\apex.
    6.Log in to SQL*Plus by typing /nolog in the username and clicking on OK.
    7.You should be at a SQL*Plus prompt. Type: CONNECT SYS/ORACLE AS SYSDBA and hit return. Should say CONNECTED.
    8.Confirm that the PL/SQL gateway is 10.1.2.0.6 (run this query: select owa_util.get_version from dual;). If not the correct version, run the owainst.sql script in the owa subdirectory in apex zip files by entering @c:\apex_3.0.1\apex\owa\owainst at the SQL prompt.
    9.Then run apexins.sql by entering @apexins oracle SYSAUX SYSAUX temp /i/ at the SQL prompt. This one will take a while.
    10.Copy the images directory from the apex unzip location to the ORACLE_HOME/Apache/Apache directory. This is the ORACLE_HOME for Apache HTTP Server, not for the database installation.
    11.Find the dads.conf file and bring it up in an editor. Should be located in the Apache server’s ORACLE_HOME/Apache/modplsql/conf directory.
    12.Add the following piece of code at the end of the dads.conf file (just copy and paste from here).
    Alias /i/ "C:\oracle\product\10.2.0\cp\Apache\Apache\images/"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString your_machine_name.com:1521:orcl
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword oracle
    Allow from all
    </Location>
    Make sure the path for the images is correct and get that / at the end.
    Substitute your machine name for your_machine_name.com. The port of 1521 should be OK and the database name should match the installation – ORCL.
    The password should be OK from your database installation as well.
    13.Start the http server from Program – etc.. Test that it is working by going to http://your_machine_name:7777. You should see the HTTP Server home page.
    14.Start APEX administration – http://your_machine_name:7777/pls/apex/apex_admin. Your username is ADMIN and your password is oracle.

    Joel,
    I think that is exactly the problem. When I am am trying to do an installation, I need an end-to-end discussion of the task for the OS and version I am installing on. In looking through the forum, you can see many examples of people trying to configure an embedded PL/SQL gateway on 10g, editing httpd.conf, dads,conf or marvel.conf for the wrong version. I realize their may be a dozen or more scenarios, but the most common (like installing the entire bit on a network disconnected Windows laptop) should be covered end-to-end.
    In addition the scenario of installing a 10g HTTP server from the companion CD is not covered.
    Finally, it is completely unclear that the little "/" is needed at the end when defining the /i/ alias. Looks like just part of a UNIX file convention. No Windows example.
    Warren

  • Can APEX be used to replace an Oracle Forms 4.5 Application?

    Hi,
    I have an old Oracle 4.5 application that I need to quickly rewrite since the old environment will be decommissioned real soon. It is using a 9i database that will be upgraded to 10g.
    The application consist mainly of about 14 forms and it is strictly data-entry only. I was thinking about using Oracle ADF or JAVA but it seems like quite alot of wrong and APEX looks like it could save me some work.
    Is there a download for the tool that I am missing. I did download the zip file apex_2.2.zip but I do not see a actual tool included. Sorry for asking this dumb question but do I need to have my DBA do something with this zip file or am I missing something.
    I checked and I see some SQL scripts, do these need to be run first to setup the tool. I looked at the demo presentation online and it looks like there is a tool in browser that I can use.
    Sorry for the dumb question, but thanks for the help

    Hello Mario,
    At the unzip location of apex_2.2.zip, you should go to the doc/install.22 directory. You'll find there a very detailed installation guide, which will tell you, and your DBA, everything you need to know about the installation and configuration actions you need to take, prior, during and post installation. This is a very important document, and you should follow it to the letter.
    BTW, you don't need to install any earlier version, from any companion CD, especially if your company already using OHS/IAS, as Jes mentioned. The Apex 2.2 version in your zip file is a full version, and you can install it directely. I'm guessing Farhan meant that it can be easier for inexperienced user to use the companion cd to install both the Oracle HTTP Server and Apex, but experience DBA can install each component separately, using the versions your company own/using.
    Regards,
    Arie.

  • Apache URL redirect causes APEX to point to the wrong images folder

    Hello All,
    I am using the following in httpd.conf
    Redirect / http://hostname/analytics/saw.dll?Dashboard
    When I try accessing APEX the application can't locate the image folder. For example instead of looking for e2.gif in
    http://hostname/i/e2.gif
    it's looking for the images in
    http://hostname/analytics/saw.dll?Dashboardi/e2.gif
    How do I point APEX to the correct image folder?
    Thanks
    Fiston

    Hi, Fiston
    try using RedirectMatch directive
    RedirectMatch ^/$ http://hostname/analytics/saw.dll?Dashboard
    or maybe
    RedirectMatch ^/$ /analytics/saw.dll?Dashboard
    Regards,
    Michael

  • Installing Oracle Apex 3.2 on Oracle 10g Database Steps

    Hi,
    I am new to installation of oracle apex and oracle 10g Enterprise Edition. I had earlier installed Oracle 10g XE and Apex 3.2 in my location machine.
    Now I need to install Oracle apex 3.2 on oracle 10g enterprise edition
    I did the following steps:
    Step 1: I installed Oracle 10g Enterprise edition
    Step 2: Installed Oracle apex 3.2 on my location Machine with the below steps again
    1> SQL> CONNECT SYS as SYSDBA
    2> apexins SYSAUX SYSAUX TEMP /i/
    3> @apxchpwd (Changed the admin password)
    4> @apxldimg.sql SYSTEM_DRIVE:\APEX32 ( local system path)
    Step 3: What is the next step, Please suggest me how to get the host name and port number I am bit confused here also suggest me is the above step which i followed is correct or not?
    Earlier when i installed oracle XE i had the local host path as a shortcut to get. Here i cant find that. Please suggest me how to get the URL link to access the apex link
    I followed the same process how it is mentioned in this link http://docs.oracle.com/cd/E14373_01/install.32/e13366/otn_install.htm#insertedID2
    Thanks
    Sudhir
    Edited by: Sudhir_Meru on Jun 17, 2012 3:23 AM

    Sudhir_Meru wrote:
    Hi,
    I am new to installation of oracle apex and oracle 10g Enterprise Edition. I had earlier installed Oracle 10g XE and Apex 3.2 in my location machine.
    Now I need to install Oracle apex 3.2 on oracle 10g enterprise edition
    I did the following steps:
    Step 1: I installed Oracle 10g Enterprise edition
    Step 2: Installed Oracle apex 3.2 on my location Machine with the below steps again
    1> SQL> CONNECT SYS as SYSDBA
    2> apexins SYSAUX SYSAUX TEMP /i/
    3> @apxchpwd (Changed the admin password)
    4> @apxldimg.sql SYSTEM_DRIVE:\APEX32 ( local system path)
    Step 3: What is the next step, Please suggest me how to get the host name and port number I am bit confused here also suggest me is the above step which i followed is correct or not?Host name is the name of the server you have installed and usually port is defaulted to 8080.
    So if you have installed on your workstation/laptop you can simply try http://localhost:8080/apex
    >
    Earlier when i installed oracle XE i had the local host path as a shortcut to get. Here i cant find that. Please suggest me how to get the URL link to access the apex link
    I followed the same process how it is mentioned in this link http://docs.oracle.com/cd/E14373_01/install.32/e13366/otn_install.htm#insertedID2
    Thanks
    Sudhir
    Edited by: Sudhir_Meru on Jun 17, 2012 3:23 AM

  • Error when installing APEX 3 on Oracle 11g !!

    I have Oracle db 11g on Windows Vista and there is no problem with the database. The problem is when I try to install Oracle Application Express (Apex) 3. After unzipping the Apex zip file to somewhere on my hard disk, I log to the database as sysdba using the command-line SQL*Plus to install the Application Express, but everytime I try to run the apexins.sql file the command-line SQL*Plus window disappears suddenly and the installation does not proceed !! I did all the prerequisite tasks according to the Apex installation guide and everything seemed good until I reached the installation process.
    Please help !

    Hi Joel,
    Yes, see
    Re: unable to import applications into Apex on XE
    That was on a XP Pro machine.
    I'm trying to do the same on a linux machine now and getting the same issues. It might still relate to the downloaded file I was using. I'm about to try and copy the apex folder from the XP pc to the linux pc and try again. :-(
    BTW, I can't find the 11g XE download link. Is it avaliable yet?
    Many thanks
    Regards
    Bryan

  • Upgrade xe apex question

    I am lost. I am following this link
    http://www.karakas-online.de/forum/viewtopic.php?t=9778
    Not sure what directory to use at this point
    @apxldimg.sql /opt
    I got error messages
    SQL> @apxldimg.sql /opt
    PL/SQL procedure successfully completed.
    old 1: create directory APEX_IMAGES as '&1/apex/images'
    new 1: create directory APEX_IMAGES as '/opt/apex/images'
    Directory created.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    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:06.27
    Directory dropped.
    my apex directory (where I unzipped stuff to is)
    c:/apex
    was I supposed to do something else
    Howard

    Hi Harward
    please execute this as sys
    SQL> @apxldimg.sql c:\
    (not c:\apex !)
    regards

  • Upgrade to 4.1 results in blank login screens

    So I started with a fresh Windows 2008R2 server and installed 11g (11.2.0.2). Then I got the embedded PL/SQL gateway up and APEX functioning (pre-installed 3.2 version). I ported over an existing 3.2 application schema from a production box and that worked fine. Now I'm trying to upgrade to APEX 4.1 and I'm running into problems.
    ran apexins.sql just fine - no problems. Check came up clean (no errors) and upgrade was complete, but when I went to run an application, I get blank pages. My application comes up with the home page, but login doesn't work. The Admin login shows a blank page (view source does indicate a page being generated), as does the Developer login.
    I ran epgconfig and it showed the ANONYMOUS user as locked/expired, so I unlocked the account and changed the password, but this didn't do anything. I have tried to run apxldimg to load the images, but it fails each time with the same error:
    SQL> @apxldimg.sql /Install/Oracle/apex_4_1_EN
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as '/Install/Oracle/apex_4_1_EN/apex/image
    s'
    Directory created.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:05.71
    Directory dropped.
    SQL>I unzipped the files into the G:\Install\Oracle directory and renamed the directory to apex_4_1_EN as it is the English-only download and I had the full version unzipped in the same location. I have tried different versions of the path and even ran the script from the ORACLE_HOME\apex directory in addition to the unzip location - no dice.
    Please help.
    PS to Oracle: Why are these upgrades/installations so temperamental? I've been working oracle from 9i up and every single upgrade is a major headache! (probably because the documentation is so cumbersome)

    So it would really help in the Oracle documentation if they would provide a completely separate UPGRADE guide as opposed to an INSTALLATION guide, as the instructions are significantly different!
    Here's what to do:
    1. Shut down any APEX-related processes or services including the HTTP server (if you are using it).
    2. Unzip the 4.1 download file to any location of your choosing.
    3. Rename the ORACLE_HOME\apex directory to indicate the version you are currently on (apex -> apex_3_2, etc.)
    4. Copy the entire unzipped folder called apex from the new download to ORACLE_HOME. You should now have TWO apex directories - one versioned for backup purposes.
    5. Now you do the upgrade. Set your prompt to start from within your ORACLE_HOME/apex directory
    a. First run @apexins.sql to install the new schema and all the necessary objects.
    b. Next use the @epgstat tool to show you the status of your installation and users. Make sure the ANONYMOUS user is unlocked and OPEN. Also make sure that you have given permissions to the APEX_PUBLIC_USER and configured access to XMLDB. Change the password to the ADMIN account if necessary.
    c. Now you should be able to run the apxldimg.sql script and have it complete without error. I used the full path of the ORACLE_HOME.
    6. Restart any processes.
    7. Bring up the administration login page at http://localhost:port/apex/apex_admin. (You need to substitute for whatever port value you are using and optionally substitute for localhost.)

  • ERROR at line 1 ORA-04042 when I was upgrade 2.2 App Express to 3.2!

    Hi all,
    I was download Apex 3.2 and unzip it into C:\Apex folder.
    I was installing Application Express 2.2 on C:\oraclexe and working fine.
    I was changed on C:\Apex\apexins.sql PREFIX for C:\apex\apexins.sql and DATTS='^2',FF_TBLS='^3'
    TEMPTBL='^4' IMGPR='^5' and
    when I log as sysdba and start upgrade from sql command line>@c:\apex\apexins PASWORD SYSTEM SYSTEM TEMP /i/ C:\
    after 5 minutes have this error>
    SP2-0310: unable to open file "c:\apex\coreinscore/generate_table_api.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_gen_hint.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_xliff.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_create_model_app.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_help.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_data_quick_flow.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_theme_files.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_session_mon.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_sw_page_calls.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_wiz_confirm.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_page_map.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_drag_layout.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_dataload_xml.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/apex_ui_default_update.sql"
    SP2-0310: unable to open file "c:\apex\coreinscore/apex_mig_projects_update.sql"
    timing for: Development Package Specs
    Elapsed: 00:00:00:03
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_plsql_editor.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_model_api.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_f4000_util.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_image_generator.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/layout.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_query_builder.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_sw_object_feed.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_load_data.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_load_excell_data.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/copy_metadata.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/copyu.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_tab_mgr.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/generate_ddl.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/table_drill.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_download.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_copy_page.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/generate_table_api.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_gen_hints.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_xliff.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_create_model_app.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_help.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_data_quick_flow.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_theme_filles.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_sw_page_calls.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_page_map.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_drag_layout.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/www_flow_dataload_xml.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/apex_ui_default_update.plb"
    SP2-0310: unable to open file "c:\apex\coreinscore/apex_mig_projects_update.plb"
    ...install demonstration flow spaces
    SP2-0310: unable to open file "c:\apex\coreinscore/collections_showcase.sql"
    ...install demonstration flow bodies
    SP2-0310: unable to open file "c:\apex\coreinscore/collections_showcase.plb"
    timing for : Development package bodies
    Elapsed : 00:00:00:04
    grant execute on www_mig_acc_load to public
    ERROR at line 1 ORA-04042: procedure, function, package, or package body does not exist
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Gordan
    http://gordanmilojevic.blogspot.com
    ERROR at line 1 ORA-04042

    Hi Gordan,
    You are receiving error ORA-04042 because the referenced object, wwv_mig_acc_load, has not been successfully created. If you review your SQL command output, you will see a number of other errors reported before this one e.g. SP2-0310: unable to open file "c:\apex\coreinscore/generate_table_api.sql". These errors are occurring because the folder 'c:\apex\coreinscore/' does not exist, therefore the installation scripts cannot be located. In your initial posting you've said:
    I was changed on C:\Apex\apexins.sql PREFIX for C:\apex\apexins.sql and DATTS='^2',FF_TBLS='^3'
    TEMPTBL='^4' IMGPR='^5' and
    when I log as sysdba and start upgrade from sql command line>@c:\apex\apexins PASWORD SYSTEM SYSTEM TEMP /i/ C:\
    after 5 minutes have this error>
    Did you modify the installation script, apexins.sql? This file should not be modified, and should be run following the installation instructions outlined in the Oracle Application Express [Installation Guide|http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/otn_install.htm#BEHGEFDI]. You mention that you unzipped the 3.2 zipfile to your C:\Apex folder. Change your working directory to that folder, C:\Apex, and then start SQL*Plus, connecting to your database as SYSDBA. Now run the installation script, apexins.sql as follows:
    SQLplus&gt; +@apexins <span class="italic">tablespace_apex <span class="italic">tablespace_files <span class="italic">tablespace_temp <span class="italic">images+
    Example:
    SQLplus&gt; +@apexins SYSTEM SYSTEM TEMP /i/+
    NOTE: as you are running SQL*Plus from the working directory, C:\Apex, you do not need to include this path when referencing the SQL script apexins. You should also only pass in the four listed parameters, and not PASSWORD or C:. Once you have followed these instructions, you should hopefully no longer receive the prevoiusly reported errors.
    Regards,
    Hilary

  • Problem in the package or classpath

    Hello every body
    I want to add a module at "jhove" which is open source: http://hul.harvard.edu/jhove/index.html
    When I launch jhove like this: ./jhove -k file.pdf, it shows me more informations about this pdf.
    I want that it re-knows me anathor type of file.(warc format)
    Then I have to write a new module.
    I try to do it following the link: http://hul.harvard.edu/jhove/writingamodule.html
    I added my java code in :/home/jhove/classes/edu/harvard/hul/ois/jhove/module/Project/
    The compilation works well.
    I add : EXTRA_JARS=/jhove/classes/edu/harvard/hul/ois/jhove/module/Project/WarcModule.jar
    At the file: jhove.tmpl
    I also add this code at jhove.conf like they montionned in document:
    <module>
    <class>WarcModule</class>
    </module>
    I also try with this solution:
    <module>
    <class>edu.harvard.hul.ois.jhove.module.Project.MonModule</class>
    </module>
    But I have this error:
    edu.harvard.hul.ois.jhove.JhoveException: cannot instantiate module: WarcModule
    at edu.harvard.hul.ois.jhove.JhoveBase.init(Unknown Source)
    at Jhove.main(Unknown Source)
    I think that is problem in the classpath.
    There is my code:
    package edu.harvard.hul.ois.jhove.module.Project;
    import java.io.File; 
    import java.util.*;
    import java.io.*;
    import edu.harvard.hul.ois.jhove.*;
    import edu.harvard.hul.ois.jhove.ModuleBase;
    import edu.harvard.hul.ois.jhove.RepInfo;
    import org.archive.io.warc.*;
    public class MonModule extends ModuleBase
             private static final String NAME = "Warc-hul";
             private static final String RELEASE = "1.7";
             private static final int [] DATE = {2008, 9, 23};
             private static final String [] FORMAT = { "warc"};
             private static final String COVERAGE =
                 "PDF 1.0-1.6; PDF/X-1 (ISO 15930-1:2001), X-1a (ISO 15930-4:2003), " +
              "X-2 (ISO 15930-5:2003), and X-3 (ISO 15930-6:2003); Tagged PDF; " +
              "Linearized PDF; PDF/A (ISO/CD 19005-1)";
             private static final String [] MIMETYPE = {"application/warc"};
             private static final String WELLFORMED = "A PDF file is " +
                 "well-formed if it meets the criteria defined in Chapter " +
                 "3 of the PDF Reference 1.6 (5th edition, 2004)";
             private static final String VALIDITY = null;
             private static final String REPINFO = null;
             private static final String NOTE = "This module does *not* validate " +
              "data within content streams (including operators) or encrypted data";
             private static final String RIGHTS = "Copyright 2003-2007 by JSTOR and " +
              "the President and Fellows of Harvard College. " +
              "Released under the GNU Lesser General Public License.";
             private static final String ENCRYPTED = "<May be encrypted>";
    protected MonModule(String NAME, String RELEASE, int[] DATE, String[] FORMAT, String COVERAGE, String[] MIMETYPE, String WELLFORMED, String VALIDITY, String REPINFO, String NOTE, String RIGHTS, boolean x)
             super  (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED,VALIDITY, REPINFO, NOTE, RIGHTS, true);
    * PRIVATE INSTANCE FIELDS.
    /* First 6 bytes of file */
    protected byte _sig[];
    /* Checksummer object */
    protected Checksummer _ckSummer;
    /* XMP property */
    protected Property _xmpProp;
    /* Input stream wrapper which handles checksums */
    protected ChecksumInputStream _cstream;
    /* Data input stream wrapped around _cstream */
    protected DataInputStream _dstream;
    /* Flag for presence of global color table */
    protected boolean _globalColorTableFlag;
    /* Size of global color table */
    protected int _globalColorTableSize;
    /* Count of graphic control extensions preceding
    * something to modify */
    protected int _gceCounter;
    /* Top-level metadata property */
    protected Property _metadata;
    /* Blocks list property */
    protected List _blocksList;
    /* Total count of graphic and plain text extension blocks */
    protected int _numGraphicBlocks;
    public void checkSignatures (File file,  InputStream stream, RepInfo info)
    throws IOException
    int sigBytes[] = { 'W', 'A', 'R', 'C'};
    int i;
    int ch;
    try {
        _dstream = null;
        _dstream = getBufferedDataStream (stream, _je != null ?
                    _je.getBufferSize () : 0);
        for (i = 0; i < 4; i++) {
            ch = readUnsignedByte(_dstream, this);
            if (ch != sigBytes) {
    info.setWellFormed (false);
    return;
    info.setModule (this);
    info.setFormat (_format[0]);
    info.setMimeType (_mimeType[0]);
    info.setSigMatch(_name);
    catch (Exception e) {
    // Reading a very short file may take us here.
    info.setWellFormed (false);
    return;
    Please can any one help me.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Daniel, not sure if everything is clear now, but the way you are validating a WARC file is seriously flawed! I strongly suggest you use an existing WARC tool to do the actual parsing/validating.
    I've seen more and more people on JHove's mailing list posting problems on how to create their own modules, so I decided to write a small how-to-write-your-own-module-guide.
    Perhaps you'd like to give it a shot. I'll also post it on the mailing list.
    ================================================================================
    This is a step-by-step tutorial that will enable you to compile and run a
    custom made module for Harvard's idetification tool JHove [1]. This is not
    a tutorial on Java programming! For a thorough explanation of this tool and
    extensive documentation, please see:
    [http://hul.harvard.edu/jhove/documentation.html]
    ================================================================================
    = Setp 1 =
    Download and unzip JHove 1.1f [2]. The unzipped folder will be called
    JHOVE_HOME from now on.
    ================================================================================
    = Step 2 =
    In this example I will construct a very elementary ARC module and will be using
    Heritrix' [3] ARCUtils class, so download Heritrix 1.14 [4] and unzip it. After
    unzipping, locate the file 'heritrix-1.14.1.jar' (it might be a different
    version) and place it in the directory 'JHOVE_HOME/bin'.
    ================================================================================
    = Step 3 =
    Create a folder 'JHOVE_HOME/bin/test' and create a new file in it called
    'ArcModule.java'. Paste the following contents in that file:
    package test;
    import java.io.IOException;
    import java.io.InputStream;
    import edu.harvard.hul.ois.jhove.ModuleBase;
    import edu.harvard.hul.ois.jhove.RepInfo;
    import org.archive.io.arc.ARCUtils;
    public class ArcModule extends ModuleBase {
        private static final String NAME = "ARC-hul";
        private static final String RELEASE = "0.1";
        private static final int[] DATE = {2008, 11, 11};
        private static final String[] FORMAT = {"ARC"};
        private static final String COVERAGE = null;
        private static final String[] MIMETYPE = {"application/arc"};
        private static final String WELLFORMED = "...";
        private static final String VALIDITY = null;
        private static final String REPINFO = "...";
        private static final String NOTE = null;
        private static final String RIGHTS = "GNU LGPL";
        public ArcModule() {
            super (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED,
                    VALIDITY, REPINFO, NOTE, RIGHTS, false);
            // Optionally set some Agent information: see the other Modules how
            // this can be done.
        @Override
        public int parse(InputStream stream, RepInfo info, int parseIndex) {
            info.setModule(this);
            boolean wellFormed = false;
            try {
                if(ARCUtils.testCompressedARCStream(stream)) {
                    wellFormed = true;
            } catch (IOException e) {
                e.printStackTrace();
            info.setWellFormed(wellFormed);
            return 0;
    }================================================================================
    = Step 4 =
    Compile this ArcModule by opening a shell (command prompt) and cd-ing to
    'JHOVE_HOME/bin' and executing the following command:
    *nix & Mac OS:
    javac -cp .:JhoveApp.jar:heritrix-1.14.1.jar test/ArcModule.javaWindows:
    javac -cp .;JhoveApp.jar;heritrix-1.14.1.jar test\ArcModule.java
    (Note, if you're using JDK 1.4, replace '-cp' with '-classpath')
    You shouldn't get any messages if all goes well.
    ================================================================================
    = Step 5 =
    Open the file 'JHOVE_HOME/conf/jhove.conf' and add the following right beneath
    the line <bufferSize>?????</bufferSize>, where ????? is a number:
    <module>
      <class>test.ArcModule</class>
    </module>Save the file.
    ================================================================================
    = Step 6 =
    Create a folder called 'JHOVE_HOME/arcs' and copy two compressed ARC files in
    them. If you don't have any compressed ARC files laying around, you can
    download two small [5]. The file 'A.arc.gz' is a valid compressed ARC file,
    while 'B.arc.gz' is the same as 'A.arc.gz' but I removed the ARC-header from
    the latter, making it an invalid ARC file.
    ================================================================================
    = Step 7 =
    Open a shell, cd to 'JHOVE_HOME/bin' and execute the following command:
    *nix & Mac OS:
    java -cp .:JhoveApp.jar:heritrix-1.14.1.jar Jhove -c ../conf/jhove.conf -m ARC-hul ../arcsWindows:
    java -cp .;JhoveApp.jar;heritrix-1.14.1.jar Jhove -c ..\conf\jhove.conf -m ARC-hul ..\arcsWhich will cause JHove to scan everything that is in 'JHOVE_HOME/arcs' folder
    and throws it through your newly create ArcModule. The output will be as
    follows:
    Jhove (Rel. 1.1, 2008-02-21)
    Date: 2008-11-14 22:29:51 CET
    RepresentationInformation: .../jhove/arcs/A.arc.gz
      ReportingModule: ARC-hul, Rel. 0.1 (2008-11-11)
      LastModified: 2008-08-24 20:23:20 CEST
      Size: 130870
      Status: Well-Formed and valid
    RepresentationInformation: .../jhove/arcs/B.arc.gz
      ReportingModule: ARC-hul, Rel. 0.1 (2008-11-11)
      LastModified: 2008-11-14 21:53:15 CET
      Size: 116136
      Status: Not well-formedWhich is the expected result: A is valid and B is not.
    ================================================================================
    = Final remarks =
    As I said, this is not a programming tutorial, nor is it the best way to
    validate ARC files: more meta data should be extracted from the file. But I
    leave that for you. This was only a guide to show you how to get started on
    writing and running your own modules. You can have a look at the source
    of the existing modules to see the "best practices" w.r.t. writing a module.
    Best of luck!
    Regards,
    Bart.
    ================================================================================
    = References =
    [1] [http://hul.harvard.edu]
    [2] [http://hul.harvard.edu/jhove/download.html]
    [3] [http://crawler.archive.org]
    [4] [http://sourceforge.net/project/showfiles.php?group_id=73833&package_id=73980]
    [5] [http://iruimte.nl/arcs]

  • GE70 2OE: How to successfully update to Windows 8.1

    Hi all.  I have successfully upgraded my MSI GE70 2OE (non-raid sku) to Windows 8.1.  It is a little bit of a headache, but I will cover what I did in order to get it to work*.
    1) Download Windows 8.1 from the Windows Store.  It will download and automatically install in the background.  It takes a little bit, depending on internet connection.
    2) While this is going on, download the appropriate Windows 8.1  drivers/BIOS/EC (MSI GE70 2OE. If you are using the raid sku aka a laptop that came with a Super Raid setup use the raid sku bios.  (Do this while the update is downloading).  Do not install these yet. (Note: THESE DRIVERS ARE FOR THE MSI GE70 2OE ONLY!)
    3) Download the MSI HQ USB BIOS Flash Tool.  You will need a USB flash drive/key for this portion.
    4) Right click on the BIOS file you downloaded and make sure it is unblocked.  Then unzip the BIOS file.  Follow this tutorial using "method 2: Processing a BIOS file directly".  This step will make a bootable USB key so you can flash to the Windows 8.1 BIOS.
    5) Once Windows 8.1 is downloaded, let it install.  Do not do any installing of drivers/BIOS/EC at this time.  Let Windows boot back to the lock screen.  Once it gets there, shutdown the laptop.
    6) Reset the EC using this procedure.
    7) Insert the USB key you created in step 4. Start the laptop.  Press the DELETE key during startup (before you see the MSI screen) to enter the BIOS.  Set the BIOS to boot from a USB key.  Exit and Save changes (F10).  Let the key update the BIOS. 
    8) Once this is done, allow the computer to restart.  Press the DELETE key to enter the BIOS.  Once you are in the BIOS, you can remove the USB key.  Change the options for boot back to the "UEFI: Windows Boot Manager" option. Exit and save (F10).
    9) Let the computer boot into Windows 8.1.  You will have to go through all the setup options you did when you first got your laptop.  I did not experience any loss of data, but YMMV.  If everything went correctly, you should not either.
    10) Once you are done with the initial setup, you can log in and start installing all your Windows 8.1 drivers you downloaded from MSI.  After EACH driver install, restart your computer.
    11) Once you are done with driver installs, shutdown Windows and do the EC reset procedure (discussed in step 6).
    12) (Note:  Before doing this step, make sure you save all work, as the computer will shutdown once this step completes).  Once this is done, reboot into Windows.  You now need to install the EC file you downloaded in step 2.  (This file will be listed under the Firmware section in the link I provided).  Once downloaded, right click the file, make sure you unblock it, then unzip the file.  You want to run the file in the folder "whatever you named the unzip location">1757EMS1.506>Win named Autoflash.exe.  Once this is complete, the computer will automatically shutdown.
    13) After shutdown, reset the EC using the procedure discussed in steps 6 and 11.
    14) At this point, you can now start up your computer.  Everything should be (tm) working correctly. 
    *I want to point out that this is the method i used and may not work for you.  If you attempt to do these things, you do so at your own risk.  MSI, myself, and the flying spaghetti monster are not responsible for any loss of data, malfunctioning hardware, or broken objects in your home that may result from using this procedure.  This guide is provided as is, with no warranty.  Void where prohibited by law.
    If you have any issues, I will attempt to help as best I can.  However, the above statement applies.

    You can't roll back the software.
    The key combination to take a screenshot changes to Power + Volume up in WP8.1.
    In order to troubleshoot the WiFi issue, you would need to provide more info on what happens when you try to connect. Is there an error message, for example?
    Uploading pics might be a problem in things like Facebook and Instagram if you only have a 2G connection, but if you have 3G or 4G then again give more info about what you try to upload to where and what happens and we can try to help.

  • Need some help with an applet

    I looked on the site here, read all the topics on it, and tried them all.
    but I can't get an applet to run on apex.
    I tried <applet> and <object> I get the same thing. the applet just does not work. I created the applet on jdeveloper and moved the .jar file into the static files area.
    I put the applet on apex.oracle.com at : http://apex.oracle.com/pls/apex/f?p=43533:1
    user id is guest, password is apex1234
    perhaps someone can look at this page and source code and tell me what I have done wrong? or maybe explain how to use the java console that pops up for details ?
    the applet works fine in jdeveloper.
    any help would be great..

    Looks like your code is trying to access http://apex.oracle.com/pls/apex/MyPack/MyCalc/class.class, whereas your applet is a workspace file (retrieved via wwv_flow_file_mgr.get_file). So essentially, code="..." and archive="..." arent following the same path conventions.
    &lt;applet name="MyCalc"
    code="MyPack/MyCalc.class"
    archive="wwv_flow_file_mgr.get_file?p_security_group_id=6032196320393432956&p_flow_id=43533&p_fname=MyCalc.jar"
    width="350"
    height="350"&gt;
    My applet works fine, and is located in XDB (I use EPG and it pretty much limits my file location options) in an open area, similar to /i/... (where Apex images, css etc are located), and so my code and archive locations are consistent.
    The applet could be hosted at any URL - it doesnt have to be in Apex.

  • Out-of-place upgrade going wrong

    Trying to work through an upgrade from 11.2.0.1 to 11.2.0.3 on a dev box, prefereably without major downtime, 64-bit Linux. Since I cannot shutdown existing listeners or database, the approach is perhaps a bit non-standard
    <li>I've got the 11.2.0.3 software unzipped</li>
    <li>I've created directories for a new ORACLE_BASE</li>
    <li>I've exported ORACLE_BASE=/new/directory/structure</li>
    <li>I've then launched database/runInstaller from the unzipped location and performed a painless software-only installation</li>
    I'm now slightly confused about the next bit, bearing in mind I'm trying to do this without any downtime on the existing 11.2.0.1 database.
    What I'd like to do is to get a copy of the existing database opened and running from the 11.2.0.3 home, whilst the existing 11.2.0.1 db continues on as it is.
    <li>So I've set a new ORACLE_SID</li>
    <li>I've copied across the orapw and init.ora from the old O_H to the new, renaming them appropriately</li>
    <li>I've edited the init.ora so that path-specific parameters all now take the new O_H directory structure</li>
    <li>I've then put the entire existing database into hot backup mode and copied it to the new O_H structure</li>
    Because so little is being done on the original database I appear to have got away with copying online redo logs, because I was able to startup mount; issue lots of 'alter database rename file...' commands so the new file locations are picked up; recover database; alter database open upgrade.
    What I am now struggling with is how to actually upgrade the freshly-opened new database. If I run dbua, it says 'database isn't mounted', whether the new db copy is in mount or open upgrade mode. If I run @catupgrd.sql, it seems to complete without a problem, leaving STATUS of V$INSTANCE at OPEN MIGRATE. But when I run the @utlu112s.sql command, I get this:
    Oracle Database 11.2 Post-Upgrade Status Tool           01-23-2013 6:45:00
    Component                               Current      Version     Elapsed Time
    Name                                    Status       Number      HH:MM:SS
    Oracle Server
    Upgrade Incomplete
    PL/SQL procedure successfully completed.If I push on and run @catuppst.sql, I get this (I've abbreviated as much as I can):
    SQL> @catuppst.sql
    TIMESTAMP
    COMP_TIMESTAMP POSTUP_BGN 2013-01-23 6:48:41
    PL/SQL procedure successfully completed.
    This script will migrate the Baseline data on a pre-11g database
    to the 11g database.
    begin
    ERROR at line 1:
    ORA-04063: package body "SYS.DBMS_SWRF_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called:
    "SYS.DBMS_SWRF_INTERNAL"
    ORA-06512: at line 2
    (null) rows created.
    DECLARE
    ERROR at line 1:
    ORA-04063: package body "SYS.DBMS_REGISTRY" has errors
    ORA-06508: PL/SQL: could not find program unit being called:
    "SYS.DBMS_REGISTRY"
    ORA-06512: at line 4
    SP2-1506: START, @ or @@ command has no arguments
    TIMESTAMP
    COMP_TIMESTAMP POSTUP_END 2013-01-23 6:48:46
    PL/SQL procedure successfully completed.
    BEGIN
    ERROR at line 1:
    ORA-04063: package body "SYS.DBMS_REGISTRY" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REGISTRY"
    ORA-06512: at line 2
              IF CatbundleCreateDir(:catbundleLogDir) = 0 THEN
    ERROR at line 71:
    ORA-06550: line 71, column 14:
    PLS-00201: identifier 'CATBUNDLECREATEDIR' must be declared
    ORA-06550: line 71, column 11:
    PL/SQL: Statement ignored Not only can't I query dba_registry, opatch lsinventory shows nothing (because it's a fresh install of 11.2.0.3).
    Any suggestions of where I am going wrong, please?
    (I am following http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#i1011372 and have checked Upgrade from 10203 to 10204 among others)

    I think that (partially, as it turns out) de-installing unlicensed components on the original database may have caused this problem.
    I tried doing a data pump export of the original database, and it failed with an error I tracked down in Metalink (I'm sorry, I didn't record the specifics). Turned out there were four tables left behind from OWB and a broken package related to Spatial. I dropped those, and the export worked.
    But instead of using that export, I tried my hot copy technique again.. and this time it worked.
    So I guess the moral of the story is to ensure your source database is 100% functional before you try messing around with any of this stuff.
    Edited by: Catfive Lander on Jan 24, 2013 10:01 PM
    Have remembered one of the specifics: Metalink 1328829.1 (OLAP removal leaves behind DBMS_CUBE_EXP in an invalid state). There was one other similar issue, but I still don't remember the details on that.

Maybe you are looking for