本文共 1135 字,大约阅读时间需要 3 分钟。
I am just posting this here as handy reference on how to deploy an application from the command line to BEA Weblogic 9.2 Server. Simply change my server names with yours:Drop your EAR File Location: /bea/bea9/deployablesDeployment Instructions:- Login on Weblogic Admin Server (admin1) with user weblogic- Goto directory /bea/bea9/weblogic920/server/bin
- source setWLSEnv.sh script
- Run: java weblogic.WLSTwls:/offline> connect()Please enter your username ["weblogic"] : adminidPlease enter your password ["weblogic"] : adminpasswordPlease enter the url ["t3://localhost:7001"] : t3://stewlm90:10001 -- This should be your admin portConnecting to weblogic server instance running at t3://stewlm90:10001 as username admin ...Successfully connected to Admin Server 'stewlm90' that belongs to domain 'wlsdomain'.Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin portshould be used instead.wls:/wlsdomain/serverConfig> redeploy('myApp')wls:/wlsdomain/serverConfig> disconnect()
Questions or comments? Feel free to post them here. No login or id required.
转载地址:http://zxqmb.baihongyu.com/