Java CAPS 6.3 Installation CLI
Total Page:16
File Type:pdf, Size:1020Kb
Using the Oracle® Java CAPS 6.3 Installation CLI Part No: 821–2532 March 2011 Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. License Restrictions Warranty/Consequential Damages Disclaimer This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. Warranty Disclaimer The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. Restricted Rights Notice If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract,and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065. Hazardous Applications Notice This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Trademark Notice Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group in the United States and other countries. Third Party Content, Products, and Services Disclaimer This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, andservices.Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products,orservices. 120126@25097 Contents Using the Java CAPS 6.3 Installation CLI ........................................................................................... 5 Overview of CLI Installations ...............................................................................................................6 Installing the JDK Software and Setting JAVA_HOME .....................................................................7 ▼ To Install the JDK Software and Set JAVA_HOME on a UNIX System ...................................7 ▼ To Install the JDK Software and Set JAVA_HOME on a Windows System .............................8 Creating the Configuration Properties File for Silent Installations ..................................................8 ▼ To Create the Properties File for a Command-Line Installation ...............................................9 Installing Java CAPS Silently Using CLI ........................................................................................... 14 ▼ To Install Java CAPS Silently Using CLI ................................................................................... 15 Installing Java CAPS Using the CLI Console ................................................................................... 16 ▼ To Install Java CAPS Components Using the Command Line Console ............................... 16 Enabling Oracle Advanced Queueing ............................................................................................... 22 ▼ To Create the Java CAPS Advanced Queue User ..................................................................... 22 ▼ To Install Advanced Queueing Support After Installing Java CAPS ..................................... 22 ▼ To Allow Enterprise Manager to Delete Advanced Queue Messages .................................... 23 Enabling WebLogic JMS for Java CAPS ........................................................................................... 23 ▼ To Install WebLogic JMS Support After Installing Java CAPS ............................................... 24 Links to Additional Installation Information .................................................................................. 24 Installing Additional Components ............................................................................................ 25 Starting and Stopping Java CAPS ............................................................................................... 25 Running Java CAPS as a Windows Service ............................................................................... 25 Increasing the NetBeans Heap Size ............................................................................................ 25 Working With the Repository .................................................................................................... 26 3 4 Using the Java CAPS 6.3 Installation CLI This topic provides information and instructions for installing the Java Composite Application Platform Suite (Java CAPS) using a command-line interface (CLI). This interface allows you to interact with software or an operating system using a terminal, remote shell, or command prompt. Prior to installing Java CAPS, read Planning for Java CAPS Installation. It provides pertinent information such as supported platforms, operating system limitations, and parameter definitions. What You Need to Know This topic contains conceptual information about the installation. ■ “Overview of CLI Installations” on page 6 What You Need to Do These topics contain the procedures for installing a Java Development Kit (JDK) and Java CAPS. ■ “Installing the JDK Software and Setting JAVA_HOME” on page 7 ■ “Creating the Configuration Properties File for Silent Installations” on page8 ■ “Installing Java CAPS Silently Using CLI” on page 14 ■ “Installing Java CAPS Using the CLI Console” on page 16 ■ “Enabling Oracle Advanced Queueing” on page 22 ■ “Enabling WebLogic JMS for Java CAPS ” on page 23 ■ “Installing Additional Components” on page 25 ■ “Starting and Stopping Java CAPS” on page 25 ■ “Running Java CAPS as a Windows Service” on page 25 ■ “Increasing the NetBeans Heap Size” on page 25 ■ “Working With the Repository” on page 26 5 Overview of CLI Installations Overview of CLI Installations Before beginning the installation, read Planning for Java CAPS Installation, which contains information that is necessary for you to complete a successful installation of Java CAPS such as supported platforms, operating system limitations, and parameter definitions. You can use a command–line installation script on any of the supported operating systems by first setting the configuration properties file and then invoking the installation script. The command–line installation installs any or all of the Suite components. For a complete list of the components installed by default, see “Overview of the Installation Process” in Planning for Oracle Java CAPS 6.3 Installation . The installation process also installs the uninstaller software. Java CAPS does not support: ■ Spaces in the installation directory path ■ Command-line installations on Macintosh systems You can specify three types of installations with the command-line syntax: JavaCAPS-OS-bin [-i {silent | gui | console} ] [-help] [-f filename] The –i options are: ■ silent – A script installation with set options described in this guide. This mode requires a properties file. ■ gui – An interactive installation with graphical interface. If you run the command with the -i gui option, the installation will be similar to a standard GUI installation. See Using the Oracle Java CAPS 6.3 Installation GUI for information on using the GUI installer. ■ console – An interactive text console installation Note – If you run the command-line installation executable file without setting any options, the Java CAPS GUI Installer will launch. You do not have to install all components at the same time. You can install additional Java CAPS products and components at any