Search code examples
weblogicweb-deploymentweblogic11g

Weblogic deployment J2EE Deployment SPI:260101]Parameter 'moduleArchive' may not be null


I am trying to re-deploy an application to Weblogic 10.3.6 using command line deployment using the following,

 java weblogic.Deployer -adminurl myserver:7001 -user deploymyuser 
-password welcome1 -targets mytarget -name appname -redeploy 
 D:/app/deploy/app.ear -upload -remote

I am getting the following errors

<Error> <J2EE Deployment SPI> <BEA-260101> <Parameter 'moduleArchive' 
may not be null.>
[J2EE Deployment SPI:260101]Parameter 'moduleArchive' may not be null.

How can I resolve this issue?


Solution

  • Use the switch "-source" with the redeploy command:

    java weblogic.Deployer -adminurl myserver:7001 -user deploymyuser -
    password welcome1 -targets mytarget -name appname -redeploy 
    -source D:/app/deploy/app.ear -upload -remote