Showing posts with label WebLogic. Show all posts
Showing posts with label WebLogic. Show all posts

Saturday, March 25, 2017

How To: Deploying applications on WebLogic using command line

This article is a quick reference on how to deploy applications to WebLogic server using command line interface.

Set classpath as follows:
set CLASSPATH=C:\Weblogic\Middleware\wlserver_10.3\server\lib\weblogic.jar


To deploy from your local desktop (remote):


To deploy a WAR file:
java weblogic.Deployer -adminurl <<admin server host:port>> -user weblogic -password ulorcl123$ -deploy C:\JDeveloper\mywork\myApp\deploy\myApp.war -remote -upload
To redeploy a WAR file:
java weblogic.Deployer -adminurl <<admin server host:port>> -user weblogic -password ulorcl123$ -redeploy -source C:\JDeveloper\mywork\myApp\deploy\myApp.war -remote -upload -name myApp.war


Common Errors:


Error:
'ModuleArchive' cannot be null
Resolution:
Make sure the source parameter is specified in the redeploy command

Hope you find this helpful! Please share your feedback below.
CaptiveCode


Tuesday, July 5, 2016

SOA: Basics: URLs for SOA Consoles - EM, OSB, B2B

If you are a beginner in middleware practice, keep these URLs handy for your reference!

Get the SOA Server Host Name & Port Number from your SOA Administrator.

Once you obtain that, below are the URLs you will use to access your middleware products:
  • SOA Console: https://host:port/console
  • SOA Enterprise Manager: https://host:port/em
  • OSB Console: https://host:port/sbconsole
  • B2B Console: https://host:port/b2bconsole


Hope you find this information useful.Please share your feedback below. I would love to hear from you.

CaptiveCode