专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 应用服务器

请教:关于weblogic.xml文件

发布时间:2010-06-14 17:14:18 文章来源:www.iduyao.cn 采编人员:星星草
请问:关于weblogic.xml文件?
我有一个在weblogic8.1上部署好的系统test.war,现在我把它部署到weblogic9.2上时出现以下错误:

An error occurred during activation of changes, please see the log for details.


[J2EE:160177]The application at "D:\test.war" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml. WAR files require a WEB-INF/web.xml, and RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, please consult the WebLogic Server documentation.


1.
为什么会出现以上错误:
我看了WEB-INF下的weblogic.xml中的头部是:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
是不是应该改成92 ?

2. 
weblogic.xml文件是在部署应用时自动生成的,还是自己手工添加的?因为我重新部署一个应用时,在WEB-INF文件夹下并没有生成weblogic.xml文件.

谢谢!





------解决方案--------------------
2.weblogic.xml文件需要自己手工增加的
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: