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
>
谢谢大家的帮忙,我的问题已经糊里糊涂解决了,哎 展开
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
>
谢谢大家的帮忙,我的问题已经糊里糊涂解决了,哎 展开
3个回答
展开全部
tomcat和weblogic的jdk版本不一致导致的。指定一下weblogic的jdk跟tomcat用同一个就好了。
weblogic8是jdk1.4
9是jdk1.5
10是jdk1.6
weblogic8是jdk1.4
9是jdk1.5
10是jdk1.6
追问
试过了,不行,麻烦还有别的可能错误么
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
用 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。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
tomcat 和Weblogic的配置参数不一样,你仔细检查一下配置文件吧
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询