Weblogic部署J2EE部署SPI:260101]参数'moduleArchive'可能不为null

时间:2013-05-16 07:10:54

标签: weblogic web-deployment weblogic11g

我正在尝试使用以下命令行部署将应用程序重新部署到Weblogic 10.3.6,

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

我收到以下错误

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

如何解决此问题?

1 个答案:

答案 0 :(得分:3)

将开关“-source”与redeploy命令一起使用:

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