Initializing WebLogic Scripting Tool (WLST) ...
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect()
Please enter your username :weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://192.168.1.239:7001
Connecting to t3://192.168.1.239:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
wls:/base_domain/serverConfig> nmEnroll('/home/oracle/Oracle/Middleware/user_projects/domains/239base_domain')
Enrolling this machine with the domain directory at /home/oracle/Oracle/Middleware/user_projects/domains/239base_domain ...
Successfully enrolled this machine with the domain directory at /home/oracle/Oracle/Middleware/user_projects/domains/239base_domain.
wls:/base_domain/serverConfig> disconnect()
Disconnected from weblogic server: AdminServer
wls:/offline> exit()
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect()
Please enter your username :weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://192.168.1.239:7001
Connecting to t3://192.168.1.239:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
wls:/base_domain/serverConfig> nmEnroll('/home/oracle/Oracle/Middleware/user_projects/domains/239base_domain')
Enrolling this machine with the domain directory at /home/oracle/Oracle/Middleware/user_projects/domains/239base_domain ...
Successfully enrolled this machine with the domain directory at /home/oracle/Oracle/Middleware/user_projects/domains/239base_domain.
wls:/base_domain/serverConfig> disconnect()
Disconnected from weblogic server: AdminServer
wls:/offline> exit()
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27042095/viewspace-1067206/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27042095/viewspace-1067206/