Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS
Configure BEA WebLogic servers
After creating a middleware server representation of a BEA WebLogic server in the administrative console, update configuration settings so that they are defined specifically for your BEA WebLogic installation.
Before you begin
Federate the node that is running the BEA WebLogic server and create a representation of the server in the administrative console.
About this task
If you installed BEA WebLogic in a location other than the default directory, update the WebSphere® variables so that the installation directory is correct. To perform operations on your server from the administrative console, configure the server operations for the BEA WebLogic middleware server representation.
Procedure
- Update the WebSphere variables so that they match the settings on the nodes that are running the BEA WebLogic server. In the administrative console, click Environment > WebSphere Variables. Edit the following variables:
- WEBLOGIC_ADMINHOST
- Specifies the host name of the WebLogic administration server.
- WEBLOGIC_ADMINPORT
- Specifies the port of the WebLogic administration server.
- WEBLOGIC_ADMINPROTOCOL
- Specifies the protocol to use when connecting to the WebLogic administration server.
- WEBLOGIC_ADMINURL
- Specifies the URL for the WebLogic administration server. The value is created from other variables.
- WEBLOGIC_SERVERROOT
- Specifies an alias to the WEBLOGIC_DOMAINDIR variable.
- WEBLOGIC_SERVERNAME
- Name of the server in the WebLogic administration environment.
- BEA_HOME
- Specifies the root installation location.
- WEBLOGIC_HOME
- Specifies the WebLogic root directory. The root is version-specific, for example {$BEA_HOME}\weblogic91.
- WEBLOGIC_DOMAINNAME
- Name of the WebLogic domain.
- WEBLOGIC_DOMAINDIR
- Builds the path to the WebLogic domain.
If the home directory is different on different nodes in your configuration, select the node scope and create another variable with the same name for the specific node.
- Update server operations for the BEA WebLogic server to include the user name and password.
- In the administrative console, click Servers > Other middleware servers > BEA WebLogic servers > weblogic_server > Server operations.
- Edit the stop server operation to include the user name and password that you use to perform this operation.
- Optional: Update the HTTP and HTTPS ports for your servers. The default port is 7001. If you use a value other than the default, change the port in the administrative console.
- In the administrative console, click Servers > Other middleware servers > BEA WebLogic servers > weblogic_server .
- Edit HTTP connector or HTTPS connector. Click OK and save and synchronize your changes.
What to do next
- To use this configuration when you are configuring your other BEA WebLogic servers, create a server template of your current BEA WebLogic server.
- To view the log files for your BEA WebLogic server in the administrative console, use the external log viewing service. This service is enabled by default. The following directories are configured by default:
- ${{WEBLOGIC_SERVER_ROOT}/${WEBLOGIC_SERVER_NAME}
- ${AGENT.HOME}/logs/${WAS_SERVER_NAME}
- To edit configuration files for your BEA WebLogic server, use the external configuration service. The following file is included by default:
- ${WEBLOGIC_SERVER_ROOT}/config.xml on host ${WEBLOGIC_ADMINHOST}
- After creating representations of all the BEA WebLogic servers, you can add the representations to a dynamic cluster.
Related concepts
Middleware nodes and servers
Supported middleware server types
Related tasks
Configure middleware server operations
Configure WebSphere variables
Federating middleware nodes
Adding middleware servers to configurations
Creating middleware server templates
Configure the external log viewing service
Creating dynamic clusters
Related reference
Middleware server creation administrative tasks