SlideShare a Scribd company logo
weblogic.Deployer usage
Deploy application on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp.ear
Deploy individual modules in application to different targets:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -targets
mywar@webserver,myjar@ejbserver -deploy c:/myapps/myapp.ear
Undeploy application from specified targets:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -undeploy -targets
server1,server2..
Redeploy application on current targets:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy
Redeploy individual module in an application:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy -targets
moduleA@serverA,moduleA@serverB
Partially redeploy, for example, to update a JSP in a exploded webapp:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy mywar/index.jsp
The path of JSP to be updated is relative to the root of the application. If a directory is specified the entire subtree is updated.
Multiple servers sharing the same physical deployment:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -targets server1,server2 -nostage
-deploy c:/myapps/myapp.ear
The -nostage option indicates that the application is available on all target servers at the same path and hence server should not
copy files to the managed servers.
Deploy the first application version on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp_v1.ear
Perform Production Redeployment of a new application version on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy -source
c:/myapps/myapp_v2.ear
Note: The above feature is used for Side By Side deployment strategies ideally preferred for production environments.
Refer the below article know more about Side By Side deployment.
http://weblogic-wonders.com/weblogic/2009/12/02/side-by-side-deploymentversioning/
Deploy application to administration mode on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp.ear
-adminmode
Note: The above feature is ideally used for sanity testing so that the application can process only admin requests.
Transition application from administration mode to running on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -start
Transition application from running to administration mode on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -stop -adminmode
Deploy a library on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name mylib -library -libspecver 1.0 -libimplver
2.0 -deploy c:/myapps/mylib.jar
Note: This feature would deploy the file as library rather than as an application.
Deploy an application on admin server with a deployment plan:
java weblogic.Deployer -adminurl url -username username -password password -plan c:/myapps/myapp/plan/plan.xml -deploy
c:/myapps/myapp/app/myapp.jar
Note: The above feature uses plan.xml to help administrators easily change an application’s WebLogic Server configuration for a
specific environment without modifying existing Java EE or WebLogic-specific deployment descriptors.
Refer the below article for a sample usage of plan.xml
http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
Update an application configuration:
java weblogic.Deployer -adminurl url -username username -password password -plan c:/myapps/myapp/plan/newplan.xml
-name myapp -update
Deploy a queue to a specific JMS server:
java weblogic.Deployer -adminurl url -username username -password password -submoduletargets
myqueue@myjmsmodule@JMSServer -deploy c:/myapps/myapp/app/myapp.ear
For documentation on weblogic.Deployer refer the below link:-
http://download.oracle.com/docs/cd/E14571_01/web.1111/e13702/wldeployer.htm
For trouble shooting deployment issues refer the below article.
http://weblogic-wonders.com/weblogic/2010/11/30/deployment-issues-on-weblogic-server/
Note: In the above examples we are specifying the username and password in plain text format and that could cause a security
issue.
You can use the STOREUSERCONFIG feature of the weblogic.Admin utility which generates userconfig file and userkey file
containing an encrypted username and password.
Refer the below article for more information on userconfig and userkey files.
http://weblogic-wonders.com/weblogic/2009/11/30/steps-to-use-userconfig-file-and-userkey-file/
For example, deploying an ear file using the userConfigFile feature is below.
java weblogic.Deployer -userconfigfile C:/bea103/storeconfig/config-file -userkeyfile C:/bea103/storeconfig/keyfile -name
myapp -targets MS1,MS2 -deploy C:/myapps/myapp.ear

More Related Content

What's hot

Mule: Munit domain support
Mule: Munit domain supportMule: Munit domain support
Mule: Munit domain support
Shanky Gupta
 
Readme
ReadmeReadme
Readme
112ONE
 
MUnit - Testing Mule
MUnit - Testing MuleMUnit - Testing Mule
MUnit - Testing Mule
Shanky Gupta
 
Enterprise Build And Test In The Cloud
Enterprise Build And Test In The CloudEnterprise Build And Test In The Cloud
Enterprise Build And Test In The Cloud
Carlos Sanchez
 
ICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax FrameworkICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEsoftTech
 
Mule esb soap_service
Mule esb soap_serviceMule esb soap_service
Mule esb soap_service
Gennaro Spagnoli
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
Sindhu VL
 
Mule CXF component
Mule CXF componentMule CXF component
Mule CXF component
Ankush Sharma
 
Mule - logger
Mule -  loggerMule -  logger
Mule - logger
Ankush Sharma
 
Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in Mule
Khasim Saheb
 
How to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_frameworkHow to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_framework
Harshad Ingle
 
Invoke component demo in mule
Invoke component demo in muleInvoke component demo in mule
Invoke component demo in mule
Ramakrishna kapa
 
The Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET EcosystemThe Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET Ecosystem
James Avery
 
Maven tools & archetypes
Maven tools & archetypesMaven tools & archetypes
Maven tools & archetypes
Son Nguyen
 
Troubleshooting mule
Troubleshooting muleTroubleshooting mule
Troubleshooting mule
Son Nguyen
 
Running mule as worker role on azure
Running mule as worker role on azureRunning mule as worker role on azure
Running mule as worker role on azure
Son Nguyen
 
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtMaven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
OPITZ CONSULTING Deutschland
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5...
WebStackAcademy
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
Anirban Sen Chowdhary
 
Mule with drools
Mule with droolsMule with drools
Mule with drools
Khan625
 

What's hot (20)

Mule: Munit domain support
Mule: Munit domain supportMule: Munit domain support
Mule: Munit domain support
 
Readme
ReadmeReadme
Readme
 
MUnit - Testing Mule
MUnit - Testing MuleMUnit - Testing Mule
MUnit - Testing Mule
 
Enterprise Build And Test In The Cloud
Enterprise Build And Test In The CloudEnterprise Build And Test In The Cloud
Enterprise Build And Test In The Cloud
 
ICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax FrameworkICEfaces EE - Enterprise-ready JSF Ajax Framework
ICEfaces EE - Enterprise-ready JSF Ajax Framework
 
Mule esb soap_service
Mule esb soap_serviceMule esb soap_service
Mule esb soap_service
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
 
Mule CXF component
Mule CXF componentMule CXF component
Mule CXF component
 
Mule - logger
Mule -  loggerMule -  logger
Mule - logger
 
Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in Mule
 
How to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_frameworkHow to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_framework
 
Invoke component demo in mule
Invoke component demo in muleInvoke component demo in mule
Invoke component demo in mule
 
The Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET EcosystemThe Emergence of Choice in the .NET Ecosystem
The Emergence of Choice in the .NET Ecosystem
 
Maven tools & archetypes
Maven tools & archetypesMaven tools & archetypes
Maven tools & archetypes
 
Troubleshooting mule
Troubleshooting muleTroubleshooting mule
Troubleshooting mule
 
Running mule as worker role on azure
Running mule as worker role on azureRunning mule as worker role on azure
Running mule as worker role on azure
 
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtMaven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5...
 Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5... Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 5...
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Mule with drools
Mule with droolsMule with drools
Mule with drools
 

Viewers also liked

Riches or Poverty, Choose One
Riches or Poverty, Choose OneRiches or Poverty, Choose One
Riches or Poverty, Choose One
Dare Nana
 
Entre costures i burils: una història d'amor al Carme
Entre costures i burils: una història d'amor al CarmeEntre costures i burils: una història d'amor al Carme
Entre costures i burils: una història d'amor al Carme
Mireia Corachán Latorre
 
Diseño en el deporte
Diseño en el deporteDiseño en el deporte
Diseño en el deporte
pacaparo
 
Towards Indicators of Strength of Public Management Systems
Towards Indicators of Strength of Public Management SystemsTowards Indicators of Strength of Public Management Systems
Towards Indicators of Strength of Public Management Systems
Governance & Public Sector Management - The World Bank
 
Nevera Bosch KGN49AI22
Nevera Bosch KGN49AI22Nevera Bosch KGN49AI22
Nevera Bosch KGN49AI22
Alsako Electrodomésticos
 
Aplicatie din persp elevului
Aplicatie din persp elevuluiAplicatie din persp elevului
Aplicatie din persp elevului
Dorin Guţuleac
 
how to Make a Homemade Soap
how to Make a Homemade Soaphow to Make a Homemade Soap
how to Make a Homemade Soap
unatheiah
 
13 Techniques to Light Your Presentation on Fire by CTR
13 Techniques to Light Your Presentation on Fire by CTR13 Techniques to Light Your Presentation on Fire by CTR
13 Techniques to Light Your Presentation on Fire by CTR
Andre Hannemann Harris
 
La aventura diaria de Javi y Ana
La aventura diaria de Javi y AnaLa aventura diaria de Javi y Ana
La aventura diaria de Javi y Ana
Mireia Corachán Latorre
 
Al Madani Group
Al Madani GroupAl Madani Group
Al Madani Group
Khaja Moinuddin
 
Broadridge-Restructuring-for-Profitability-2015
Broadridge-Restructuring-for-Profitability-2015Broadridge-Restructuring-for-Profitability-2015
Broadridge-Restructuring-for-Profitability-2015
Kevin Alexander
 
Surat Pernyataan Beda Nama-BrankasArsip.com
Surat Pernyataan Beda Nama-BrankasArsip.comSurat Pernyataan Beda Nama-BrankasArsip.com
Surat Pernyataan Beda Nama-BrankasArsip.com
Abah Jihan
 
Campana AEG X69264MI1
Campana AEG X69264MI1Campana AEG X69264MI1
Campana AEG X69264MI1
Alsako Electrodomésticos
 
La familia real, la corte y Rasputin
La familia real, la corte y RasputinLa familia real, la corte y Rasputin
La familia real, la corte y Rasputin
IES Las Musas
 
Coco, Inés y Blanca, una historia de amistad
Coco, Inés y Blanca, una historia de amistadCoco, Inés y Blanca, una historia de amistad
Coco, Inés y Blanca, una historia de amistad
Mireia Corachán Latorre
 
Acabe com a digitação: automatize a entrada de NFS-e em papel, pdf e link
Acabe com a digitação: automatize a entrada de NFS-e em papel, pdf e linkAcabe com a digitação: automatize a entrada de NFS-e em papel, pdf e link
Acabe com a digitação: automatize a entrada de NFS-e em papel, pdf e link
Gabriela Bornhausen Branco
 

Viewers also liked (16)

Riches or Poverty, Choose One
Riches or Poverty, Choose OneRiches or Poverty, Choose One
Riches or Poverty, Choose One
 
Entre costures i burils: una història d'amor al Carme
Entre costures i burils: una història d'amor al CarmeEntre costures i burils: una història d'amor al Carme
Entre costures i burils: una història d'amor al Carme
 
Diseño en el deporte
Diseño en el deporteDiseño en el deporte
Diseño en el deporte
 
Towards Indicators of Strength of Public Management Systems
Towards Indicators of Strength of Public Management SystemsTowards Indicators of Strength of Public Management Systems
Towards Indicators of Strength of Public Management Systems
 
Nevera Bosch KGN49AI22
Nevera Bosch KGN49AI22Nevera Bosch KGN49AI22
Nevera Bosch KGN49AI22
 
Aplicatie din persp elevului
Aplicatie din persp elevuluiAplicatie din persp elevului
Aplicatie din persp elevului
 
how to Make a Homemade Soap
how to Make a Homemade Soaphow to Make a Homemade Soap
how to Make a Homemade Soap
 
13 Techniques to Light Your Presentation on Fire by CTR
13 Techniques to Light Your Presentation on Fire by CTR13 Techniques to Light Your Presentation on Fire by CTR
13 Techniques to Light Your Presentation on Fire by CTR
 
La aventura diaria de Javi y Ana
La aventura diaria de Javi y AnaLa aventura diaria de Javi y Ana
La aventura diaria de Javi y Ana
 
Al Madani Group
Al Madani GroupAl Madani Group
Al Madani Group
 
Broadridge-Restructuring-for-Profitability-2015
Broadridge-Restructuring-for-Profitability-2015Broadridge-Restructuring-for-Profitability-2015
Broadridge-Restructuring-for-Profitability-2015
 
Surat Pernyataan Beda Nama-BrankasArsip.com
Surat Pernyataan Beda Nama-BrankasArsip.comSurat Pernyataan Beda Nama-BrankasArsip.com
Surat Pernyataan Beda Nama-BrankasArsip.com
 
Campana AEG X69264MI1
Campana AEG X69264MI1Campana AEG X69264MI1
Campana AEG X69264MI1
 
La familia real, la corte y Rasputin
La familia real, la corte y RasputinLa familia real, la corte y Rasputin
La familia real, la corte y Rasputin
 
Coco, Inés y Blanca, una historia de amistad
Coco, Inés y Blanca, una historia de amistadCoco, Inés y Blanca, una historia de amistad
Coco, Inés y Blanca, una historia de amistad
 
Acabe com a digitação: automatize a entrada de NFS-e em papel, pdf e link
Acabe com a digitação: automatize a entrada de NFS-e em papel, pdf e linkAcabe com a digitação: automatize a entrada de NFS-e em papel, pdf e link
Acabe com a digitação: automatize a entrada de NFS-e em papel, pdf e link
 

Similar to Weblogic.deployer usage

The WordPress developer's toolkit
The WordPress developer's toolkit The WordPress developer's toolkit
The WordPress developer's toolkit
Ivelina Dimova
 
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1
Alessandro Pilotti
 
Introduction maven3 and gwt2.5 rc2 - Lesson 01
Introduction maven3 and gwt2.5 rc2 - Lesson 01Introduction maven3 and gwt2.5 rc2 - Lesson 01
Introduction maven3 and gwt2.5 rc2 - Lesson 01
rhemsolutions
 
WordPress Acceptance Testing, Solved!
WordPress Acceptance Testing, Solved!WordPress Acceptance Testing, Solved!
WordPress Acceptance Testing, Solved!
Taylor Lovett
 
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Dilouar Hossain
 
Enjector Kernel - Workflow Module Demo
Enjector Kernel  - Workflow Module DemoEnjector Kernel  - Workflow Module Demo
Enjector Kernel - Workflow Module Demo
Ajay Soni
 
Building Mobile Friendly APIs in Rails
Building Mobile Friendly APIs in RailsBuilding Mobile Friendly APIs in Rails
Building Mobile Friendly APIs in Rails
Jim Jeffers
 
DevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of ChefDevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of Chef
Antons Kranga
 
Java, Eclipse, Maven & JSF tutorial
Java, Eclipse, Maven & JSF tutorialJava, Eclipse, Maven & JSF tutorial
Java, Eclipse, Maven & JSF tutorial
Raghavan Mohan
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration I
Sachin Kumar
 
Rails engines
Rails enginesRails engines
Rails engines
Josh Schramm
 
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoas
Zeid Hassan
 
Vue micro frontend implementation patterns
Vue micro frontend implementation patternsVue micro frontend implementation patterns
Vue micro frontend implementation patterns
Albert Brand
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
RootGate
 
Practical advice on deployment and management of enterprise workloads
Practical advice on deployment and management of enterprise workloadsPractical advice on deployment and management of enterprise workloads
Practical advice on deployment and management of enterprise workloads
Jarek Miszczyk
 
Ajax, JSF, Facelets, Eclipse & Maven tutorials
Ajax, JSF, Facelets, Eclipse & Maven tutorialsAjax, JSF, Facelets, Eclipse & Maven tutorials
Ajax, JSF, Facelets, Eclipse & Maven tutorials
Raghavan Mohan
 
Pyramid deployment
Pyramid deploymentPyramid deployment
Pyramid deployment
Carlos de la Guardia
 
Docker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a MinuteDocker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a Minute
dchq
 
Take Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLITake Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLI
Diana Thompson
 
Pyramid Deployment and Maintenance
Pyramid Deployment and MaintenancePyramid Deployment and Maintenance
Pyramid Deployment and Maintenance
Jazkarta, Inc.
 

Similar to Weblogic.deployer usage (20)

The WordPress developer's toolkit
The WordPress developer's toolkit The WordPress developer's toolkit
The WordPress developer's toolkit
 
Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1Building drupal web farms with IIS - part 1
Building drupal web farms with IIS - part 1
 
Introduction maven3 and gwt2.5 rc2 - Lesson 01
Introduction maven3 and gwt2.5 rc2 - Lesson 01Introduction maven3 and gwt2.5 rc2 - Lesson 01
Introduction maven3 and gwt2.5 rc2 - Lesson 01
 
WordPress Acceptance Testing, Solved!
WordPress Acceptance Testing, Solved!WordPress Acceptance Testing, Solved!
WordPress Acceptance Testing, Solved!
 
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
 
Enjector Kernel - Workflow Module Demo
Enjector Kernel  - Workflow Module DemoEnjector Kernel  - Workflow Module Demo
Enjector Kernel - Workflow Module Demo
 
Building Mobile Friendly APIs in Rails
Building Mobile Friendly APIs in RailsBuilding Mobile Friendly APIs in Rails
Building Mobile Friendly APIs in Rails
 
DevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of ChefDevOps hackathon Session 2: Basics of Chef
DevOps hackathon Session 2: Basics of Chef
 
Java, Eclipse, Maven & JSF tutorial
Java, Eclipse, Maven & JSF tutorialJava, Eclipse, Maven & JSF tutorial
Java, Eclipse, Maven & JSF tutorial
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration I
 
Rails engines
Rails enginesRails engines
Rails engines
 
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoas
 
Vue micro frontend implementation patterns
Vue micro frontend implementation patternsVue micro frontend implementation patterns
Vue micro frontend implementation patterns
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
Practical advice on deployment and management of enterprise workloads
Practical advice on deployment and management of enterprise workloadsPractical advice on deployment and management of enterprise workloads
Practical advice on deployment and management of enterprise workloads
 
Ajax, JSF, Facelets, Eclipse & Maven tutorials
Ajax, JSF, Facelets, Eclipse & Maven tutorialsAjax, JSF, Facelets, Eclipse & Maven tutorials
Ajax, JSF, Facelets, Eclipse & Maven tutorials
 
Pyramid deployment
Pyramid deploymentPyramid deployment
Pyramid deployment
 
Docker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a MinuteDocker Java App with MariaDB – Deployment in Less than a Minute
Docker Java App with MariaDB – Deployment in Less than a Minute
 
Take Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLITake Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLI
 
Pyramid Deployment and Maintenance
Pyramid Deployment and MaintenancePyramid Deployment and Maintenance
Pyramid Deployment and Maintenance
 

Recently uploaded

Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 

Recently uploaded (20)

Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 

Weblogic.deployer usage

  • 1. weblogic.Deployer usage Deploy application on admin server: java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp.ear Deploy individual modules in application to different targets: java weblogic.Deployer -adminurl url -username username -password password -name myapp -targets mywar@webserver,myjar@ejbserver -deploy c:/myapps/myapp.ear Undeploy application from specified targets: java weblogic.Deployer -adminurl url -username username -password password -name myapp -undeploy -targets server1,server2.. Redeploy application on current targets: java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy Redeploy individual module in an application: java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy -targets moduleA@serverA,moduleA@serverB Partially redeploy, for example, to update a JSP in a exploded webapp: java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy mywar/index.jsp The path of JSP to be updated is relative to the root of the application. If a directory is specified the entire subtree is updated. Multiple servers sharing the same physical deployment: java weblogic.Deployer -adminurl url -username username -password password -name myapp -targets server1,server2 -nostage -deploy c:/myapps/myapp.ear The -nostage option indicates that the application is available on all target servers at the same path and hence server should not copy files to the managed servers. Deploy the first application version on admin server: java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp_v1.ear Perform Production Redeployment of a new application version on admin server: java weblogic.Deployer -adminurl url -username username -password password -name myapp -redeploy -source c:/myapps/myapp_v2.ear Note: The above feature is used for Side By Side deployment strategies ideally preferred for production environments. Refer the below article know more about Side By Side deployment. http://weblogic-wonders.com/weblogic/2009/12/02/side-by-side-deploymentversioning/ Deploy application to administration mode on admin server: java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp.ear -adminmode Note: The above feature is ideally used for sanity testing so that the application can process only admin requests. Transition application from administration mode to running on admin server: java weblogic.Deployer -adminurl url -username username -password password -name myapp -start Transition application from running to administration mode on admin server:
  • 2. java weblogic.Deployer -adminurl url -username username -password password -name myapp -stop -adminmode Deploy a library on admin server: java weblogic.Deployer -adminurl url -username username -password password -name mylib -library -libspecver 1.0 -libimplver 2.0 -deploy c:/myapps/mylib.jar Note: This feature would deploy the file as library rather than as an application. Deploy an application on admin server with a deployment plan: java weblogic.Deployer -adminurl url -username username -password password -plan c:/myapps/myapp/plan/plan.xml -deploy c:/myapps/myapp/app/myapp.jar Note: The above feature uses plan.xml to help administrators easily change an application’s WebLogic Server configuration for a specific environment without modifying existing Java EE or WebLogic-specific deployment descriptors. Refer the below article for a sample usage of plan.xml http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/ Update an application configuration: java weblogic.Deployer -adminurl url -username username -password password -plan c:/myapps/myapp/plan/newplan.xml -name myapp -update Deploy a queue to a specific JMS server: java weblogic.Deployer -adminurl url -username username -password password -submoduletargets myqueue@myjmsmodule@JMSServer -deploy c:/myapps/myapp/app/myapp.ear For documentation on weblogic.Deployer refer the below link:- http://download.oracle.com/docs/cd/E14571_01/web.1111/e13702/wldeployer.htm For trouble shooting deployment issues refer the below article. http://weblogic-wonders.com/weblogic/2010/11/30/deployment-issues-on-weblogic-server/ Note: In the above examples we are specifying the username and password in plain text format and that could cause a security issue. You can use the STOREUSERCONFIG feature of the weblogic.Admin utility which generates userconfig file and userkey file containing an encrypted username and password. Refer the below article for more information on userconfig and userkey files. http://weblogic-wonders.com/weblogic/2009/11/30/steps-to-use-userconfig-file-and-userkey-file/ For example, deploying an ear file using the userConfigFile feature is below. java weblogic.Deployer -userconfigfile C:/bea103/storeconfig/config-file -userkeyfile C:/bea103/storeconfig/keyfile -name myapp -targets MS1,MS2 -deploy C:/myapps/myapp.ear