web项目在tomcat上可以部署成功,但换成weblogic就无法部署成功,提示如下,求助,谢谢

011-8-9下午01时19分10秒CST><Error><Deployer><BEA-149265><Failureoccurredintheexecutionofde... 011-8-9 下午01时19分10秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1312867149875' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160177]The application at "E:\weblogic\bea\user_projects\domains\mydomain\autodeploy\uptms" 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 or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". 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.'
weblogic.management.DeploymentException: [J2EE:160177]The application at "E:\weblogic\bea\user_projects\domains\mydomain\autodeploy\uptms" 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 or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". 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.
at weblogic.application.internal.DeploymentManagerImpl.createDeployment(DeploymentManagerImpl.java:111)
at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:149)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:192)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
Truncated. see log file for complete stacktrace
>
谢谢大家的帮忙,我的问题已经糊里糊涂解决了,哎
展开
 我来答
gaowenhui2008
2011-08-09 · TA获得超过376个赞
知道小有建树答主
回答量:647
采纳率:100%
帮助的人:410万
展开全部
tomcat和weblogic的jdk版本不一致导致的。指定一下weblogic的jdk跟tomcat用同一个就好了。
weblogic8是jdk1.4
9是jdk1.5
10是jdk1.6
追问
试过了,不行,麻烦还有别的可能错误么
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
dawn1423
2011-08-09 · TA获得超过204个赞
知道答主
回答量:159
采纳率:100%
帮助的人:36.7万
展开全部
用 bea 的jdk
追问
用过,不行啊,还有什么办法 啊?
追答
If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
gyqlyy
2011-08-09 · 超过12用户采纳过TA的回答
知道答主
回答量:49
采纳率:0%
帮助的人:28.6万
展开全部
tomcat 和Weblogic的配置参数不一样,你仔细检查一下配置文件吧
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式