Deploying an Application to Weblogic using WLST
2010-03-04 22:22
399 查看
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/reference.html#wp1024285
http://www.tek-tips.com/viewthread.cfm?qid=1455558&page=2
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/deployables
Deployment Instructions:
- Login on Weblogic Admin Server (admin1) with user weblogic
- Goto directory /bea/bea9/weblogic920/server/bin
- source setWLSEnv.sh script
- Run: java weblogic.WLST
wls:/offline> connect()
Please enter your username ["weblogic"] : adminid
Please enter your password ["weblogic"] : adminpassword
Please enter the url ["t3://localhost:7001"] : t3://stewlm90:10001 -- This should be your admin port
Connecting 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 port
should 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://www.tek-tips.com/viewthread.cfm?qid=1455558&page=2
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/deployables
Deployment Instructions:
- Login on Weblogic Admin Server (admin1) with user weblogic
- Goto directory /bea/bea9/weblogic920/server/bin
- source setWLSEnv.sh script
- Run: java weblogic.WLST
wls:/offline> connect()
Please enter your username ["weblogic"] : adminid
Please enter your password ["weblogic"] : adminpassword
Please enter the url ["t3://localhost:7001"] : t3://stewlm90:10001 -- This should be your admin port
Connecting 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 port
should 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.
相关文章推荐
- To consume a managed type from COM 之四 Deploying an Application for COM Access
- SpringBoot之Using WebSocket to build an interactive web application
- How to write an application that supports the Fast User Switching feature by using Visual Basic .NET or Visual Basic
- What are the best ways to determine what port an application is using?
- Using a Service Locator to Work with MessageBoxes in an MVVM Application
- How to execute an application on Windows using Python.
- Using WebSocket to build an interactive web application
- How to use an ASP.NET application to query an Indexing Service catalog by using Visual Basic .NET
- To upload an excel file using WebDynpro Application.
- PDF Writer ->an article on using virtual priter method to create pdf files
- android debug:Unable to add window -- token null is not for an application
- Using SQL*Loader to create an external table
- AlertDialog显示错误 Unable to add window token null is not for an application
- how to create an explorer interface on a dialog using the MFC
- 53 Which statement about using RMAN stored scripts is true? A. To create and execute an RMA
- How to Configure an SSIS Package to Access a Web Service using WCF
- How to setup an iSCSI target using tgtadm
- Deploying WebLogic SCA Runtime to WebLogic Server
- An Introduction to WebDriver Using the JavaScript Bindings
- 使用伪寄存器调试MSVC++程序的介绍--An introduction to debugging in MSVC++ using Pseudoregisters