2.apex_listener.1.1.4.195.00.12.zip (Download it from http://www.oracle.com/technetwork/developer-tools/apex-listener/downloads/index.html)
3.ogs-3.1.2.2-web-unix-ml.sh (Glassfish) (Download it from http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u3-jdk-6u26-downloads-439816.html)
Install JDK RPM on Server:
#rpm –ivh jdk-7-linux-i586.rpm
Create Environment file for JAVA and Glassfish:
Login into oracle user create and add the bellow lines.
export GLASSFISH_HOME=/home/oracle/glassfish3/glassfish
export PATH=$JAVA_HOME/bin:$GLASSFISH_HOME/bin:$PATH
Run the script:
$ sh ogs-3.1.2.2-web-unix-ml.sh
Select Custom Installation and Press Next Button
Select Install and Configure and click on Next Button
Select the Java Location
Select the “Create a Server domain”
Select the domain name and port no leave default as it is and enter the password
Click exit to quit the Installation.
Now we can able to login in Glassfish server with the port 4848 and enter the username as “admin” and enter the password that we enter in Installation time.
Now create users those are required by APEX security realm
Click on Configuration Server-config Security Realms New
Name: apex-realm
Class Name: com.sun.enterprise.security.auth.relam.file.fileRealm
JAAS Context: fileRealm
Key File: ${com.sun.aas.instanceRoot}/config/keyfile
Now click OK
Now select apex-realm and click manage user –>New
userid: adminlsn
Groups: Admin
Password: Admin
Add another New user
userid: mnglsn
Groups: Manager
Password: Manager
Enable the Default role mapping by clicking the Principal to Role Mapping after selecting the security
Deploy the Apex Listener in GlassFish
now go to the server and remove “xmlparserv2-11.2.0.jar” from “/home/oracle/glassfish3/glassfish/domains/domain1/applications/apex/WEB-INF/lib
Now Move the Images from Apex directory to I directory so enter this command.
$cd /home/oracle/glassfish3/glassfish/domains/domain1/docroot
$mkdir i
$ cd /home/oracle/apex/images/
$ cp * -rf /home/oracle/glassfish3/glassfish/domains/domain1/docroot/i/
Now click on the “Launch” Button to enable the Server.
Now click any one of the link and enter the url http://ip-address:8080/apex/listenerConfigure
Now Enter the Hostname, Listener Port no and Database SID then click on “Apply” Button Installation was Completed.