Exit Print View

Sun GlassFish Enterprise Server v3 Administration Guide

  This Document Entire Library
Print View

Document Information

Preface

1.  Overview of Enterprise Server Administration

Default Settings and Locations

Configuration Tasks

Administration Tools

Instructions for Administering Enterprise Server

Part I Runtime Administration

2.  General Administration

3.  Administering Domains

4.  Administering the Virtual Machine for the Java Platform

5.  Administering Thread Pools

6.  Administering Web Applications

7.  Administering the Logging Service

8.  Administering the Monitoring Service

9.  Administering Life Cycle Modules

10.  Extending Enterprise Server

Part II Security Administration

11.  Administering System Security

12.  Administering User Security

13.  Administering Message Security

Part III Resources and Services Administration

14.  Administering Database Connectivity

15.  Administering EIS Connectivity

16.  Administering Internet Connectivity

17.  Administering the Object Request Broker (ORB)

About the ORB

Configuring the ORB

Administering IIOP Listeners

To Create an IIOP Listener

To List IIOP Listeners

To Update an IIOP Listener

To Delete an IIOP Listener

18.  Administering the JavaMail Service

19.  Administering the Java Message Service (JMS)

20.  Administering the Java Naming and Directory Interface (JNDI) Service

21.  Administering Transactions

Part IV Appendixes

A.  Subcommands for the asadmin Utility

Index

Administering IIOP Listeners

An IIOP listener is a listen socket that accepts incoming connections from the remote clients of enterprise beans and from other CORBA-based clients. Multiple IIOP listeners can be configured for Enterprise Server. For each listener, specify a port number (optional; default 1072), a network address, and security attributes (optional). If you create multiple listeners, you must assign a different port number for each listener.

The following topics are addressed here:

To Create an IIOP Listener

Use the create-iiop-listener subcommand in remote mode to create an IIOP listener.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. Create an IIOP listener by using the create-iiop-listener(1) subcommand.

    Information about the properties for the subcommand is included in this help page.

  3. To apply your changes, restart Enterprise Server.

    See To Restart a Domain.

Creating an IIOP Listener

This example creates an IIOP listener named sample_iiop_listener.

asadmin> create-iiop-listener --listeneraddress 192.168.1.100
--iiopport 1400 sample_iiop_listener
Command create-iiop-listener executed successfully.
See Also

You can also view the full syntax and options of the subcommand by typing asadmin help create-iiop-listener at the command line.

To List IIOP Listeners

Use the list-iiop-listeners subcommand in remote mode to list the existing IIOP listeners.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the IIOP listeners by using the list-iiop-listeners(1) subcommand.

Listing IIOP Listeners

This example lists all the IIOP listeners for the server instance.

asadmin> list-iiop-listeners
orb-listener-1
SSL
SSL_MUTUALAUTH
sample_iiop_listener
Command list-iiop-listeners executed successfully.
See Also

You can also view the full syntax and options of the subcommand by typing asadmin help list-iiop-listeners at the command line.

To Update an IIOP Listener

  1. List the IIOP listeners by using the list-iiop-listeners(1) subcommand.

  2. Modify the values for the specified IIOP listener by using the set(1) subcommand.

    The listener is identified by its dotted name.

Updating an IIOP Listener

This example changes SSL from enabled to disabled.

asadmin> set "server.iiop-service.iiop-listener.SSL.enabled" server.iiop-service.iiop-listener.SSL.enabled=false
Command set executed successfully.

To Delete an IIOP Listener

Use the delete-iiop-listener subcommand in remote mode to delete an IIOP listener.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List the IIOP listeners by using the list-iiop-listeners(1) subcommand.

  3. Delete an IIOP listener by using the delete-iiop-listener(1) subcommand.

  4. To apply your changes, restart Enterprise Server.

    See To Restart a Domain.

Deleting an IIOP Listener

This example deletes the IIOP listener named sample_iiop_listener.

asadmin> delete-iiop-listener sample_iiop_listener
 Command delete-iiop-listener executed successfully.
See Also

You can also view the full syntax and options of the subcommand by typing asadmin help delete-iiop-listener at the command line.