WebLogic Server Command Reference
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Displays the version of the WebLogic Server software that is running the server instance you specify with the -url
argument.
java weblogic.Admin [-url
URL
] -usernameusername
[-password password] VERSION
Specify the listen address and listen port of a WebLogic Server instance. If you specify a secure listen port, you must also specify a secure protocol. If you do not specify a value, the command assumes For more information, refer to the -url entry in Table 1-3 on page 11 and Protocol Support. |
The following command displays the version of the WebLogic Server software that is currently running on a host named ManagedHost:
java weblogic.Admin -url ManagedHost:8001 -username weblogic
-password weblogic VERSION
For more information about the environment in which this example runs, refer to Example Environment.
If the command succeeds, it returns output similar to the following:
WebLogic Server 8.1 Sat Oct 15 22:51:04 EDT 2002 207896
WebLogic XMLX Module 8.1 Sat Oct 15 22:51:04 EDT 2002 207896
Table 1-6 lists the WebLogic Server administration commands for connection pools. Subsequent sections describe command syntax and arguments, and provide an example for each command.
For additional information about connection pools see Programming WebLogic JDBC and "JDBC Connection Pools" in the Administration Console Online Help.
Note: All JDBC commands are privileged commands. You must supply the username and password for a WebLogic Server administrative user to use these commands.
See CREATE_POOL. |
|
Closes all connections in the connection pool and deletes the connection pool configuration. See DESTROY_POOL. |
|
Temporarily disables a connection pool, preventing any clients from obtaining a connection from the pool. See DISABLE_POOL. |
|
Enables a connection pool after it has been disabled. The JDBC connection states for each in-use connection are exactly as they were when the connection pool was disabled; clients can continue JDBC operations exactly where they left off. See ENABLE_POOL. |
|
Tests a connection pool by reserving and releasing a connection from the connection pool. Requires testConnsOnReserve or testConnsOnRelease to be true and testTableName must be set. See TEST_POOL |
|
Closes and reopens all allocated connections in a connection pool. This may be necessary after the DBMS has been restarted, for example. Often when one connection in a connection pool has failed, all of the connections in the pool are bad. See RESET_POOL. |
|
Tests whether a connection pool with a specified name exists in a specified WebLogic Server instance. Use this command to determine whether a dynamic connection pool has already been created or to ensure that you select a unique name for a dynamic connection pool you want to create. See EXISTS_POOL. |
![]() ![]() |
![]() |
![]() |