Skip navigation.

WebLogic Server Command Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

 


CONNECT

Connects to a WebLogic Server instance and returns two numbers representing the total time for each round trip and the average amount of time (in milliseconds) that each connection is maintained.

Syntax

java [ SSL Arguments ] weblogic.Admin 
[-url URL]
[ User Credentials Arguments ]
CONNECT [count]

Argument

Definition

-url [protocol://]listen-address:listen-port

Specify the listen address and listen port of the server instance to which you want to connect.

If you specify a secure listen port, you must also specify a secure protocol.

If you do not specify a value, the command assumes t3://localhost:7001.

For more information, refer to the -url entry in Table 1-3 on page 11 and Protocol Support.

count

Number of connections the weblogic.Admin utility makes to the specified server instance.

By default, this command makes only one connection.


 

Example

In the following example, the weblogic.Admin utility establishes 10 connections to a WebLogic Server instance whose listen address is ManagedHost and listen port is 8001:

java weblogic.Admin -url ManagedHost:8001 -username weblogic 
-password weblogic CONNECT 10

For more information about the environment in which this example runs, refer to Example Environment.

If the command establishes the connections, it returns the following information:

Connection: 0 - 3,229 ms
Connection: 1 - 17 ms
Connection: 2 - 14 ms
Connection: 3 - 20 ms
Connection: 4 - 18 ms
Connection: 5 - 25 ms
Connection: 6 - 27 ms
Connection: 7 - 15 ms
Connection: 8 - 15 ms
Connection: 9 - 15 ms
RTT = ~3422 milliseconds, or ~342 milliseconds/connection

If the command does not establish a connection, it returns nothing.

In this example, the first connection required 3,229 milliseconds and the second connection required 17 milliseconds. The average time for all connections was 3422 milliseconds.

 

Skip navigation bar  Back to Top Previous Next