在 weblogic 10.3 服务器中重新部署版本化应用程序时出错 [英] Getting error while re-deploying a versioned application in weblogic 10.3 server

查看:48
本文介绍了在 weblogic 10.3 服务器中重新部署版本化应用程序时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 weblogic 10.3 服务器上已经部署了一个 EAR 应用程序.现在我做了一些修改并重新创建了 EAR 文件并尝试重新部署应用程序.但我收到错误:

I have an EAR application already deployed on my weblogic 10.3 server. Now I did some modifications and re-created the EAR file and trying to re-deploy the application. But I am getting error as :

您不能分发没有版本的应用程序sample.appl".该应用程序之前部署的版本为xxxx"

请帮我解决这个错误?

推荐答案

有两个选项,重新部署或删除旧部署:

There are two options, redeploy or delete the old deployment:

1 - 要使重新部署工作,部署 .ear 文件的名称应完全相同,并在清单文件中使用 weblogic 版本编号.具体来说,您应该在 META-INF/MANIFEST.MF 中添加类似以下内容:

1 - For a redeploy to work, the deployment .ear file should be named exactly the same AND use weblogic version numbering in the manifest file. Specifically you should probably add something like the following to your META-INF/MANIFEST.MF:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.0
Created-By: 1.6.0_37-b06 (Sun Microsystems Inc.)
Built-On: 2014-02-20-16-10-35
Weblogic-Application-Version: V4.0.0.2014-02-20-16-10-35

你可以在这里找到更多的信息:http://tihlde.org/~eivindw/weblogic-production-redeploy-version-with-maven/

You can find a little more info about it here: http://tihlde.org/~eivindw/weblogic-production-redeploy-version-with-maven/

2 - 从 deployments 链接中停止旧的 .ear 文件,然后将其删除.然后正常安装

2 - Stop your old .ear file from the deployments link and then delete it. Then do your install as normal

这篇关于在 weblogic 10.3 服务器中重新部署版本化应用程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆