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.
Subtópicos
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Exemplos de Administrador de Lote
Exemplos de administrador de lote são exemplos de fragmentos de código, sintaxe de comando e valores de configuração que são relevantes para executar tarefas administrativas e de implementação no ambiente de lote.![[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)
Exemplo: Cache de um objeto de comando
Os comandos que podem ser armazenados em cache são armazenados em cache para reutilização em um mecanismo semelhante para servlets e arquivos JSP (JavaServer Pages).![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Exemplo: Armazenando em Cache Serviços da Web.
É possível construir um conjunto de políticas de cache e mensagens SOAP para um aplicativo de serviços da web.![[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)
Exemplo: Configurando o servidor IBM HTTP como um nó intermediário para transações de serviços da Web
É possível usar os nós intermediários de um servidor HTTP para possibilitar a troca de mensagens de protocolo WS-AT (Web Services Atomic Transaction) e WS-BA (Web Services Business Activity) entre firewalls e fora do domínio do WebSphere® Application Server. Para o IBM® HTTP Server, você obtém este comportamento modificando o arquivo plugin-cfg.xml do nó do IBM HTTP Server.![[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)
Exemplo: Criando um provedor JDBC e origem de dados usando a API Java Management Extensions e a ferramenta de script wsadmin
O código de amostra a seguir é um script JACL (wsadmin - ferramenta de script) utilizado para criar uma nova origem de dados.![[IBM i]](../images/iseries.gif)
Exemplo: Módulo de Login Personalizado para Mapeamento de Entrada
Essa amostra mostra um módulo de login personalizado que cria uma tabela hash java.util.Hashtable baseada no retorno de chamada NameCallback especificado. O hashtable java.util.Hashtable é incluído no mapa sharedState java.util.Map para que os módulos de login do WebSphere Application Server possam localizar as informações no 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.
Example: Implementing custom 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)
Exemplo: Classe de Servlet Proxy do Servlet SIP
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Exemplo: Proxy Simples de Servlet SIP
A classe SendOnServlet é um servlet SIP simples que executará a função básica de ser chamada em cada INVITE e enviar o pedido a partir disso.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Exemplo: Proxy Simples de Servlet SIP
Este é um exemplo de servlet de um proxy simples.![[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)
Exemplo: Utilizando Calendários de Planejador Padrão
É possível usar os calendários SIMPLE e CRON a partir de qualquer aplicativo J2EE.![[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)
Configuração de amostra do link do IBM MQ
Essa configuração de amostra ilustra como é possível usar um link do IBM MQ para conectar um sistema de mensagens de integração de serviço do WebSphere Application Server ao sistema de mensagens do IBM MQ.
Tópico de Conceito
Última atualização: July 9, 2016 4:41http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=welc_ref_adm_xmp
Nome do arquivo: welc_ref_adm_xmp.html