Administrator examples
This reference information provides examples, showing code snippets, command syntax, and configuration values that are relevant to performing administration and deployment tasks.
You can also search for examples by title or by using keywords.
次主題
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Batch administrator examples
Batch administrator examples are examples of code snippets, command syntax, and configuration values that are relevant to performing administrative and deployment tasks in the batch environment.![[IBM i]](../images/iseries.gif)
Example: Adjusting the thread monitor to affect server hang detection
The hang detection policy affects how the application server responds to a thread that is not being processed correctly.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Administrative client program
The following examples are complete administrative client program. The second examples uses a Remote Method Invocation (RMI) connector.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Base Generic Emitter Interface
The Base Generic Emitter interface defines how audit events are emitted. Other interfaces can exist to extend this interface and to process specific audit events groupings, such as security events, transactional events, or some other custom grouping. Use this interface to create a custom implementation of the emitter.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Caching a command object
Cacheable commands are stored in the cache for reuse with a similar mechanism for servlets and JavaServer Pages (JSP) files.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Caching web services
You can build a set of cache policies and SOAP messages for a web services application.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Collecting arguments for the AdminControl object using wsadmin scripting
This example shows how to use multiple arguments with the AdminControl object.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Configuring data source provider and data source settings
You can configure data source provider and data source settings.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Configuring IBM HTTP server as an intermediary node for web services transactions
You can use an HTTP server intermediary nodes to enable the exchange of Web Services Atomic Transaction and Web Services Business Activity protocol messages across firewalls and outside the WebSphere® Application Server domain. For IBM® HTTP server, you achieve this behavior by modifying the plugin-cfg.xml file of the IBM HTTP server node.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Configuring JMS provider, JMS connection factory and JMS destination settings for application clients
You can configure JMS Provider, JMS Connection Factory and JMS Destination settings.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Configuring mail provider and mail session settings for application clients
You can configure mail provider and mail session settings.![[IBM i]](../images/iseries.gif)
Example: Configuring resource environment custom settings for application clients
You can configure resource environment custom settings.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Configuring Resource Environment settings
You can configure Resource Environment settings.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Configuring URL and URL provider settings for application clients
You can configure URL and URL provider settings.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Creating a JDBC provider and data source using Java Management Extensions API and the wsadmin scripting tool
The following sample code is a JACL (wsadmin - scripting tool) script used to create a data source.![[IBM i]](../images/iseries.gif)
Example: Custom login module for inbound mapping
This sample shows a custom login module that creates a java.util.Hashtable hashtable that is based on the specified NameCallback callback. The java.util.Hashtable hashtable is added to the sharedState java.util.Map map so that the WebSphere Application Server login modules can locate the information in the Hashtable.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Developing a custom trust manager for custom SSL trust decisions
The following example is of a sample custom trust manager. The custom trust manager makes no trust decisions but instead uses the information in the X.509 certificate that it references to make decisions.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Developing a key or key pair generation class for automated key generation
A class that generates keys for cryptographic operations can be created automatically. With this capability, the key management infrastructure can maintain a list of keys for a predefined key set, and applications can access these keys.![[IBM i]](../images/iseries.gif)
Example: Dynamically changing scheduler daemon poll intervals using Java Management Extensions API
Use the wsadmin scripting tool to invoke a Jacl script and dynamically change scheduler daemon poll intervals.![[IBM i]](../images/iseries.gif)
Example: Enabling certificate revocation checking with the default IbmPKIX trust manager
The IbmPKIX trust manager is enabled in the WebSphere Application Server by default. The IbmPKIX trust manager allows certificate revocation checking to occur. You enable certificate revocation checking by using the administrative console or by manually updating the ssl.client.props file.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Generic Event Factory Interface
This interface is used for processing generic audit events. Other interfaces can be defined which extend this interface to process specific audit event groupings, such as security events, transaction events, or some other custom grouping.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Generic Event Interface
This interface is used for processing generic audit events. Other interfaces can be defined which extend this interface to process specific audit event groupings, such as security events, transaction events, or other custom groupings. For WebSphere Application Server version 7.0, only security types of events are supported.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Identifying running objects using wsadmin scripting
Use the AdminControl object to interact with running MBeans.
範例:實作自訂 PMI
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Listing the modules in an application server
This example lists all of the modules on all of the enterprise applications that are installed on the server1 server in a node named node1.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Obtaining option information for AdminApp object commands using wsadmin scripting
Use the taskInfo command of the AdminApp object to obtain information about the data that is needed for your application.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Retrieving the generated keys from a key set group
This example shows how applications can use the com.ibm.websphere.crypto.KeySetHelper API to retrieve managed keys from the KeySet or KeySetGroup configurations. Use the com.ibm.websphere.crypto.KeySetHelper API to get either the latest set of keys or all the keys in the KeySet or KeySetGroup object.![[IBM i]](../images/iseries.gif)
Example: Sample configuration for Web Services Security for a version 5.x application
To secure a version 5.x application with Web Services Security, you must define the security constraints in the IBM extension deployment descriptors and in IBM extension bindings. Sample keystore files and default binding information are provided for a sample configuration to demonstrate what IBM deployment descriptor extensions and bindings can do.![[IBM i]](../images/iseries.gif)
Example: Sample login configuration for RMI_OUTBOUND
This example shows a sample login configuration for RMI_OUTBOUND that determines whether the realm names match between two servers.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Security and the command line tools
If you want to enable WebSphere Application Server security, you need to provide the command line tools with authentication information.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: SIP servlet Proxy servlet class
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: SIP servlet SendOnServlet class
The SendOnServlet class is a simple SIP servlet that would perform the basic function of being called on each INVITE and sending the request on from there.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: SIP servlet simple proxy
This is a servlet example of a simple proxy.![[IBM i]](../images/iseries.gif)
Example: Stopping and starting scheduler daemons using Java Management Extensions API
Use the wsadmin scripting tool to invoke a Jacl script and stop and start a scheduler daemon.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Using connections with concurrency
A Runnable or Callable can use the connections that its creating component obtained using java:comp resource references.![[IBM i]](../images/iseries.gif)
Example: Using default scheduler calendars
You can use The SIMPLE and CRON calendars from any J2EE application.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Example: Using mediations to trace, monitor and log messages
The most straightforward use of a mediation is for tracing, monitoring or logging messages that pass through a destination or topics spaces. This type of mediation does not modify the message; it only extracts information from the message and saves or displays the information elsewhere.![[IBM i]](../images/iseries.gif)
Example: Using scripting to create and configure schedulers
Use the wsadmin scripting tool to invoke a Jacl script and create a SchedulerConfiguration resource.![[IBM i]](../images/iseries.gif)
Example: Using scripting to create scheduler tables
Use the wsadmin scripting tool to invoke a Jacl script and create scheduler tables.![[IBM i]](../images/iseries.gif)
Example: Using scripting to drop scheduler tables
Use the wsadmin scripting tool to invoke a Jacl script and remove scheduler tables.![[IBM i]](../images/iseries.gif)
Example: Using scripting to verify scheduler tables
Use the wsadmin scripting tool to invoke a Jacl script and verify tables and indices for a scheduler.![[IBM i]](../images/iseries.gif)
Example: Using the WSLogin configuration to create a basic authentication subject
This example shows how to use the WSLogin application login configuration from within a Java™ 2 Platform, Enterprise Edition (J2EE) application to log in and get a Subject that contains the user ID and the password of the target realm.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
IBM MQ link sample configuration
This sample configuration illustrates how you can use a IBM MQ link to connect WebSphere Application Server service integration messaging to IBM MQ messaging.
概念主題
前次更新: July 9, 2016 7:33http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=welc_ref_adm_xmp
檔名:welc_ref_adm_xmp.html