TROUBLESHOOTING: Weblogic Server Exception: weblogic.management.ManagementException

来源:互联网 发布:java 项目时区设置 编辑:程序博客网 时间:2024/05/16 10:58

使用JDeveloper部署应用到Weblogic的时候,出现如下的错误:

[06:03:28 PM] Weblogic Server Exception: weblogic.management.ManagementException: [Deployer:149007]New source location, '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/app/SummitADF_application1.ear', cannot be deployed to configured application, 'SummitADF_application1'. The application source is at '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/deploy/SummitADF_application1.ear'. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.[06:03:28 PM]   See server logs or server console for more details.[06:03:28 PM] weblogic.management.ManagementException: [Deployer:149007]New source location, '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/app/SummitADF_application1.ear', cannot be deployed to configured application, 'SummitADF_application1'. The application source is at '/home/shawn/jdeveloper/mywork/SummitADFV1/SummitApp/deploy/SummitADF_application1.ear'. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.[06:03:28 PM] ####  Deployment incomplete.  ####[06:03:28 PM] Remote deployment failed

环境:JDeveoper 11GR1,standalone weblogic

解决方案:Weblgoic中已经存在需要部署的应用,并且部署的应用是通过Weblogic手到执行的。现在需要删除存在的应用,再部署就可以了。