Skip Navigation Links | |
Exit Print View | |
Using the Oracle Java CAPS 6.3 Installation CLI Java CAPS Documentation |
Using the Java CAPS 6.3 Installation CLI
Installing the JDK Software and Setting JAVA_HOME
To Install the JDK Software and Set JAVA_HOME on a UNIX System
To Install the JDK Software and Set JAVA_HOME on a Windows System
Creating the Configuration Properties File for Silent Installations
To Create the Properties File for a Command-Line Installation
Installing Java CAPS Silently Using CLI
To Install Java CAPS Silently Using CLI
Installing Java CAPS Using the CLI Console
To Install Java CAPS Components Using the Command Line Console
Enabling Oracle Advanced Queueing
To Create the Java CAPS Advanced Queue User
To Install Advanced Queueing Support After Installing Java CAPS
To Allow Enterprise Manager to Delete Advanced Queue Messages
Enabling WebLogic JMS for Java CAPS
To Install WebLogic JMS Support After Installing Java CAPS
Links to Additional Installation Information
Installing Additional Components
Starting and Stopping Java CAPS
Running Java CAPS as a Windows Service
If you did not install support for Oracle Advanced Queueing, but want to use it, you can install support from the command line after Java CAPS is installed. Whether you install support for Advanced Queueing while or after installing Java CAPS, you need to run the provided script, JavaCAPS_Home\appserver\addons\caps\oracleaq\jdbcwrappers.sp against the Advanced Queue database in order to allow Enterprise Manager to delete messages from the Oracle Advanced Queue destinations.
DROP USER user CASCADE; CREATE USER user IDENTIFIED BY password QUOTA UNLIMITED ON USERS; GRANT CONNECT, AQ_ADMINISTRATOR_ROLE, AQ_USER_ROLE TO user;
GRANT SELECT ON V$XATRANS$ TO user; GRANT SELECT ON PENDING_TRANS$ TO user; GRANT SELECT ON DBA_2PC_PENDING TO user; GRANT SELECT ON DB1_PENDING_TRANSACTIONS TO user;
You can also use this procedure to install Advanced Queueing support on a new domain that you create after Java CAPS is installed. This procedure creates a lifecycle module on the GlassFish server.
create_oracleaq --oracleaqhost hostname --oracleaqsid SIDname --oracleaqusername --oracleaqpassword OracleAdvanceQueueName
Tip - For complete information about running create-oracleaq, type help create-oracleaq from the asadmin command prompt.
Note - Running create-oracleaq configures Enterprise Manager with a lifecycle module with the name specified at the end of the command. OracleAQ is prepended to the name you specify. You can modify the properties for the module from the GlassFish Admin Console on the Applications > Lifecycle Modules > ModuleName page. Running the command also copies the aqapi.jar file to the domain's \lib directory.
@JavaCAPS_Home\appserver\addons\caps\oracleaqjdbcwrappers.sp
GRANT EXECUTE ON JDBC_PURGE_QUEUE_TABLE TO user;