Command Reference for Oracle Weblogic Server
Total Page:16
File Type:pdf, Size:1020Kb
Oracle® Fusion Middleware Command Reference for Oracle WebLogic Server 14c (14.1.1.0.0) F18340-06 May 2021 Oracle Fusion Middleware Command Reference for Oracle WebLogic Server, 14c (14.1.1.0.0) F18340-06 Copyright © 2007, 2021, Oracle and/or its affiliates. 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. 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. 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, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government. 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. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Inside 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, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information about 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, and services unless otherwise set forth in an applicable agreement between you and Oracle. 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, or services, except as set forth in an applicable agreement between you and Oracle. Contents Preface Documentation Accessibility vi Conventions vi 1 Introduction and Roadmap Document Scope and Audience 1-1 Guide to This Document 1-1 Related Documentation 1-1 New and Changed Features in This Release 1-2 2 Using the Oracle WebLogic Server Java Utilities appc 2-2 AppletArchiver 2-2 Syntax 2-2 autotype (deprecated) 2-3 BuildXMLGen 2-3 CertGen 2-3 Syntax 2-3 Example 2-6 ClientDeployer 2-6 clientgen 2-6 Conversion (deprecated) 2-6 dbping 2-7 Creating a DB2 Package with dbping 2-7 Syntax 2-7 Examples 2-9 Deployer 2-10 der2pem 2-10 Syntax 2-10 Example 2-11 Derby 2-11 iii ejbc (deprecated) 2-11 encrypt 2-11 Syntax 2-12 Examples 2-12 getProperty 2-13 Syntax 2-13 Example 2-13 host2ior 2-13 Syntax 2-13 ImportPrivateKey 2-13 Syntax 2-14 Example 2-15 jhtml2jsp 2-16 Syntax 2-16 jspc (deprecated) 2-16 logToZip 2-16 Syntax 2-17 Examples 2-17 MBean Commands 2-17 MulticastTest 2-17 Syntax 2-18 Example 2-18 myip 2-19 Syntax 2-19 Example 2-19 pem2der 2-19 Syntax 2-19 Example 2-20 rmic 2-20 Schema 2-20 Syntax 2-20 Example 2-21 servicegen (deprecated) 2-21 SearchAndBuild 2-21 Example 2-21 source2wsdd (deprecated) 2-22 system 2-22 Syntax 2-22 Example 2-22 ValidateCertChain 2-23 verboseToZip 2-23 iv Syntax 2-23 Example 2-24 WebLogicMBeanMaker 2-24 Syntax 2-24 wlappc 2-24 wlcompile 2-25 wlconfig 2-25 wldeploy 2-25 wlpackage 2-25 wlserver 2-25 wsdl2Service 2-25 wsdlgen (deprecated) 2-26 wspackage (deprecated) 2-26 3 weblogic.Server Command-Line Reference Required Environment and Syntax for weblogic.Server 3-1 Environment 3-1 Modifying the Classpath 3-2 Syntax 3-3 Default Behavior 3-3 weblogic.Server Configuration Options 3-4 JVM Parameters 3-5 Location of Configuration Data 3-5 Example 3-6 Options that Override a Server's Configuration 3-7 Server Communication 3-8 SSL 3-10 HTTP Strict Transport Security 3-17 Security 3-18 Message Output and Logging 3-22 Clusters 3-24 Deployment 3-24 Other Server Configuration Options 3-24 Using the weblogic.Server Command Line to Start a Server Instance 3-28 Using the weblogic.Server Command Line to Create a Domain 3-29 Verifying Attribute Values That Are Set on the Command Line 3-31 v Preface Preface This preface describes the document accessibility features and conventions used in this guide—Command Reference for Oracle WebLogic Server. Documentation Accessibility For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup? ctx=acc&id=docacc. Access to Oracle Support Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/ topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup? ctx=acc&id=trs if you are hearing impaired. Conventions The following text conventions are used in this document: Convention Meaning boldface Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. italic Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. monospace Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. vi 1 Introduction and Roadmap This chapter describes the contents and organization of this guide—Command Reference for Oracle WebLogic Server. This chapter includes the following sections: • Document Scope and Audience • Guide to This Document • Related Documentation • New and Changed Features in This Release Document Scope and Audience This document describes Oracle WebLogic Server command-line reference features and Java utilities and how to use them to administer Oracle WebLogic Server. This document is written for system administrators and application developers deploying e-commerce applications using the Java Platform, Enterprise Edition (Java EE). It is assumed that readers are familiar with Web technologies and the operating system and platform where Oracle WebLogic Server is installed. Guide to This Document The document is organized as follows: • This chapter, Introduction and Roadmap describes the scope of this guide and lists related documentation. • Using the Oracle WebLogic Server Java Utilities, describes various Java utilities you can use to manage and troubleshoot an Oracle WebLogic Server domain. • weblogic.Server Command-Line Reference, describes how to start Oracle WebLogic Server instances from a command shell or from a script. Related Documentation • Using Ant Tasks to Configure and Use a WebLogic Server Domain in Developing Applications with Oracle WebLogic Server. • Understanding the WebLogic Scripting Tool • Administering Server Environments for Oracle WebLogic Server • Oracle WebLogic Server Administration Console Online Help 1-1 Chapter 1 New and Changed Features in This Release New and Changed Features in This Release For a comprehensive listing of the new WebLogic Server features introduced in this release, see What's New in Oracle WebLogic Server. 1-2 2 Using the Oracle WebLogic Server Java Utilities Oracle WebLogic Server provides a number of Java utilities and Ant tasks for performing administrative and programming tasks, installing and configuring the WebLogic Server environment, building and deploying applications, generating certificates for development environments, providing convenient shortcuts, and more. To use these utilities and tasks, you must set your CLASSPATH correctly. For more information,