Deploying Oracle Java CAPS Projects • January 2011 Creating a Deployment Profile

Deploying Oracle Java CAPS Projects • January 2011 Creating a Deployment Profile

Deploying Oracle® Java CAPS Projects Part No: 821–2543 January 2011 Copyright © 2008, 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 1 Deploying Java CAPS Projects .............................................................................................................5 Creating a Deployment Profile .............................................................................................................5 ▼ To create a Deployment Profile .....................................................................................................5 Naming the Application File ..........................................................................................................6 Automapping ..................................................................................................................................8 Mapping Variables ..........................................................................................................................9 Version Control ..............................................................................................................................9 Creating Snapshots ...................................................................................................................... 10 Retrieving Snapshots ................................................................................................................... 11 Building an Application File ............................................................................................................... 11 Building an Application File From the Command Line .......................................................... 12 Windows Platform Procedures .................................................................................................. 14 UNIX Platform Procedures ........................................................................................................ 15 Deploying Application Files from the NetBeans IDE ..................................................................... 17 ▼ To Deploy an Application File from the NetBeans IDE .......................................................... 17 Deploying Application Files from Enterprise Manager .................................................................. 17 Adding the Application Server Domain to Enterprise Manager ............................................ 18 Deploying the Application File ................................................................................................... 19 Deploying Application Files from the Admin Console .................................................................. 19 ▼ To Deploy an Application File from the Admin Console ....................................................... 20 Deploying Application Files from the Command Line .................................................................. 20 Deploying from the asadmin Utility .......................................................................................... 20 Deploying from the asant Utility .............................................................................................. 21 Index ......................................................................................................................................................23 3 4 1CHAPTER 1 Deploying Java CAPS Projects The topics listed here provide information about how to deploy Oracle Java Composite Application Platform Suite (Java CAPS) Repository-based projects. ■ “Creating a Deployment Profile” on page 5 ■ “Building an Application File” on page 11 ■ “Deploying Application Files from the NetBeans IDE” on page 17 ■ “Deploying Application Files from Enterprise Manager” on page 17 ■ “Deploying Application Files from the Admin Console” on page 19 ■ “Deploying Application Files from the Command Line” on page 20 Creating a Deployment Profile Before creating a Deployment Profile, you must have created an appropriate runtime Environment to support the Project. Note – If the Project includes web services, then each of a Project’s active Deployment Profiles must target a separate SOAP/HTTP External System; otherwise, the web containers can cause duplicate servlet names to appear in the domain. Note – Deployment Profile names should contain only alphanumeric characters (letters and numbers), dashes, and underscores. ▼ To create a Deployment Profile 1 In the NetBeans Project window, right-click on the Project to display its context menu. 5 Creating a Deployment Profile 2 From the menu, select New > Deployment Profile to display the Create Deployment Profile dialog. 3 Enter the Deployment Profile Name you want to use (or accept the default). Note – The resulting application ( .ear ) file will default to a concatenation of the Deployment Profile name and the Project name (see “Naming the Application File” on page 6). 4 Select the Environment to which you want to deploy the Project. 5 Select the Connectivity Map(s) to include in the deployment. 6 The Deployment Profile Editor now appears, showing all deployable Project components. 7 Drag the Project components from the left panel and drop them into the appropriate Environment components in the right panel. ■ Drag the topics and queues to the appropriate message server, being careful not to split inbound and outbound message destinations between separate servers. ■ Drag the Collaborations to the appropriate application servers. ■ Drag the Adapter components to the appropriate external systems. Note – You can select multiple components of the same type that are destined for a single external system, dragging them to that external system in one operation. 8 When the Environment components are fully populated, the left panel will be blank.You should now Save the profile. Note – You can deploy two services that are not directly dependent upon each other across two domains; however, two processes that need to have direct access to one another must be deployed to the same domain. Naming the Application File You have the option of specifying the filename for the .ear file that is created from the Deployment

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    24 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us