Apple Mac OS X Server Java Application Server Administration For Version 10.3 or Later User Manual

Browse online or download User Manual for Software Apple Mac OS X Server Java Application Server Administration For Version 10.3 or Later. Java Application Server Guide

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - Java Application Server

Java Application ServerGuideFor Version 10.3 or Later

Page 2 - Contents

2.In the Computers & Services list, select Application Server.3.In the configuration pane, click Settings. From Configuration Name pop-up menu, ch

Page 3 - Glossary 49

4.Click the Start Service toolbar button. After a few seconds the application server should be running. Youcan confirm that JBoss is running by access

Page 4 - Figures and Tables

Figure 2-1 shows the Load Application window.Figure 2-1 The Load Application window of the deployment tool1.Enter the full path to the file in the tex

Page 5 - Organization of This Document

2.Click “Click here to continue” to move on.The deployment tool displays the main window (also known as the navigation window). The main windowpresent

Page 6 - See Also

●AsyncSenderEJB (EJB) Represents the archive (JAR file) that contains the files that define the AsyncSenderenterprise bean (the asyncsender-ejb.jar f

Page 7 - Application Server Overview

Note: For applications with many components, you may want to configure the Quick Config pagesof the invalid components and save the application. Then

Page 8 - 8443) are enabled by default

Saving a Configured ApplicationTo save a configured application, that is, when no components are shown in red in the main window, clickSave in the top

Page 9

Pet Store is a sample J2EE application from Sun Microsystems. Pet Store showcases the power and flexibilityof the J2EE platform. This chapter provides

Page 10 - Configuring Applications

c.Click Install and then click Start.d.Quit MySQL Manager.3.Create the Pet Store Tables:a.In Terminal, run the mysql command-line tool.b.Enter use tes

Page 11 - Configuring Your Application

5.In the Connect to Server window, enter the host name and the port of the application server. (By defaultthe host is localhost and the port is 1099.)

Page 12 - The Loaded Application window

ContentsIntroduction to Java Application Server Guide 5Organization of This Document 5See Also 6Application Server Overview 7JBoss in OS X Server 7Thr

Page 13 - META-INF and WEB-INF

Configure the AsyncSender Enterprise Bean1.Under AsyncSenderEJB (EJB), click Enterprise Beans. Then click AsyncSenderEJB.2.In the AsyncSenderEJB windo

Page 14

Configure Module-Wide SettingsThis section walks you through setting the data source and data-source mapping for the enterprise beans inthe Customer m

Page 15

9.In the Column Name text field, enter pk.10.Set Auto Increment to yes.11.Click the CMP - Relationships tab.12.Configure the relationships.Table 3-1 l

Page 16 - Deploying Your Application

f.Click Update to finish configuring the relationship role.g.Click Update to finish configuring the relationship.13.Click Update to finish configuring

Page 17 - Set Up the Environment

2.From the Table Name pop-up menu in the CreditCardEJB window, choose PS_CreditCard.3.Map the CMP fields to the appropriate column names by selecting

Page 18

Configure the SignOn Module1.Under SignOnJAR (EJB), click Module Settings.2.In the SignOnJAR window, click the CMP - Default Settings tab.3.From the E

Page 19

Configure the Supplier Enterprise ApplicationThe following sections guide you through configuring the Supplier enterprise application.Open the supplie

Page 20 - Configure the Customer Module

3.Map the CMP fields to the appropriate column names by selecting the field in the Cmp Fields list, clickingEdit, choosing the corresponding column na

Page 21

8.In the Field Name text field, Enter pk.9.In the Column Name text field, enter pk.10.Set Auto Increment to yes, and click Update.11.Close the window.

Page 22

Configure the SupplierOrder Enterprise Bean1.Under Enterprise Beans under SupplierPurchaseOrderJAR (EJB), click SupplierOrderEJB.2.From the Table Name

Page 23

Configure the SupplierPurchaseOrder Module 27Configure the Supplier Web Application Module 29Save the Application 29Deploy and Test the Application 29

Page 24

2.Click the link that takes you to the store.3.In the Welcome to the BluePrints Petstore webpage, click Birds.4.In the Items webpage, click Amazon Par

Page 25 - Save the Application

Application-server management involves configuring the services available in an application server, turningservices on and off, deploying applications

Page 26 - Configure the Supplier Module

There are two types of users with the authority to use the management tool: administrator users (which aremembers of the appserveradm group) and monit

Page 27 - Configure the Module Settings

5.Replace new_value with the appropriate user name.6.Save the changes and restart your computer.Choosing a TaskAfter logging in to the management tool

Page 28

Managing Application ServersTo manage an application server, enter the JNDI port of the application server you want to manage (by default,1099) in the

Page 29

For example, to change an application server’s security configuration, click the triangle next to the Servicesresource group and select login-config.x

Page 30

click local/ShoppingCartEJB under cart-ejb.jar under petstore.ear under the Applications groupin the application-server list, the JBoss Management Con

Page 31

When you’re done managing, click JBoss in the server list, and click Logout or Change Configuration.Configuring Application ServersTo configure local

Page 32

You can also configure the provider and the session pool of the transaction-connection factory service byclicking the triangle next to jms-ds.xml in t

Page 33 - Choosing a Task

To view the statistics provided by particular applications, resources, or services, select the appropriate item inthe application-server list. The sta

Page 34 - Managing Application Servers

Figures and TablesConfiguring Applications 9Figure 2-1 The Load Application window of the deployment tool 12Figure 2-2 The Loaded Application window 1

Page 35

Starting and Stopping ServicesYou can start and stop services while managing or configuring application servers. To do so, in the applicationserver li

Page 36

Creating a Topic or a QueueYou can create a topic or a queue while managing or configuring an application server. Follow these steps tocreate a topic

Page 37

HTTP load balancing provides a way to distribute user load among a group of application servers. The applicationservers can be standalone or configure

Page 38

To make an application distributable set Distributable to yes in the Web-App pane of the application’s WebAppwindow. Figure 5-1 shows the WebApp windo

Page 39

2.Select Web in the Computers & Services list, and click Settings in the configuration pane.3.Click the Modules tab and select “jk_module,” which

Page 40 - Creating a Data Source

The file as configured in OS X Server is shown in Figure 5-2.Figure 5-2The workers.properties file in /etc/httpd13.Change line 2 to:worker.list=loadba

Page 41 - Deploying Applications

worker.JBoss1.cachesize=1016.Uncomment lines 26 through 28.17.Change line 26 so that it looks like this:worker.JBoss2.port=900718.Change line 27 so th

Page 42 - Distributable Applications

<Engine jvmRoute="JBoss1" name="MainEngine" defaultHost="localhost">4.Look for the following lines:<!--Connecto

Page 43 - Load Balancing and Clustering

This table describes the changes to Java Application Server Guide .NotesDateChanged the title from "OS X Server Java Application ServerAdministra

Page 44

application server JBoss instance, which is startedthrough Server Admin.CMP (container-managed persistence) Enterprisebean persistence model in whic

Page 45 - Change line 12 to:

Note: This document was previously titled OS X Server Java Application Server Administration.JBoss is a powerful Java-based open-source application s

Page 46

Apple Inc.Copyright © 2003, 2005 Apple Computer, Inc.All rights reserved.No part of this publication may be reproduced,stored in a retrieval system, o

Page 47 - Test the Configuration

See AlsoTo use this document to its fullest, you should download its companion files, which are packaged inApplication_Server_companion.zip, located i

Page 48 - Document Revision History

JBoss is an open-source highly popular Java-based application server. Based on the Java 2, Enterprise Edition(J2EE) platform, JBoss provides an afford

Page 49 - Glossary

In OS X Server, JBoss is configured to use Tomcat (using the AJP connector) as its web server and servletcontainer. In addition, HTTP and HTTPS (throu

Page 50

Before you can deploy an application on an application server, you have to start the application server andthen configure or assemble the application.

Comments to this Manuals

No comments