Note that there are some explanatory texts on larger screens.

plurals
  1. POdeploy already installed application on WebLogic 10.3.4 using wlfullclient.jar
    primarykey
    data
    text
    <p>I have an application named <code>HelloWorld</code> installed, yet not deployed. Its state is <code>Installed</code>, like such:</p> <p><img src="https://i.stack.imgur.com/mzUd2.png" alt="enter image description here"></p> <p>When I'm trying to deploy it on target server, say <code>AdminServer</code>, it results in <strong>creating a new application named</strong> <code>helloworld.war</code> <strong>which is deployed on</strong> <code>AdminServer</code> whereas the original <code>HelloWorld</code> app remains in <code>Installed</code> state. App <code>helloworld.war</code> is the one that is in state <code>Active</code>... Snapshot:</p> <p><img src="https://i.stack.imgur.com/IJOtA.png" alt="enter image description here"></p> <p>Here's the code I use to deploy the already installed app:</p> <pre><code>File warFilePath = new File("c:/helloworld.war"); // war file path on AdminServer machine Target adminServerTarget = deployManager.getTarget("AdminServer"); WebLogicTargetModuleID targetModuleID = deployManager.createTargetModuleID( "HelloWorld", ModuleType.WAR, adminServerTarget); WebLogicTargetModuleID[] targetModuleIDs = new WebLogicTargetModuleID[1]; targetModuleIDs[0] = targetModuleID; ProgressObject redeployProcessObject = deployManager.redeploy(targetModuleIDs, warFilePath, null /*no deployment plan*/ ); </code></pre> <p>There are two surprising facts, though.</p> <p>First, when running this code on WebLogic versions 9.x to 10.3.<strong>3</strong> it works great.</p> <p>Second, when running this code from WLST prompt, with <strong>jython</strong> it also works great even on version 10.3.<strong>4</strong> (I can attach the exact commands although they're the same as java except for syntactic adoptions)...</p> <p>My question is, how do I make it work also on 10.3.4?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload