weblogic9在MyEclipse 7.0下报错问题 望解答

本文解决在WebLogic 9.0中设置JDK时遇到的问题,并详细描述了在发布应用程序时出现的有效应用类型识别错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在Servers设置weblogic9。0的JDK时报错为: To launch an application server a full JDK(not just a JRE) must be specified. If the selected JRE is actually party of a full JDK,please update its configuration to point to the JDK installation root directory, not to its included jre subdirectory;

 

然后选择系统原装的JDK后,可以顺利通过,但是发布程序时又报错为:

<Failure occured in the execution of deployment request with ID '1238049705984' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160177]The application at "E:/Program_run/bea/user_projects/domains/mydomain/autodeploy/ssh_training_itemmgr" 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.'
weblogic.management.DeploymentException: [J2EE:160177]The application at "E:/Program_run/bea/user_projects/domains/mydomain/autodeploy/ssh_training_itemmgr" 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.
 at weblogic.application.internal.DeploymentManagerImpl.createDeployment(DeploymentManagerImpl.java:109)
 at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:146)
 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:184)
 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
 Truncated. see log file for complete stacktrace
>
<2009-3-26 下午02时41分46秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_ssh_training_itemmgr_dir'.>
<2009-3-26 下午02时41分46秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160177]The application at "E:/Program_run/bea/user_projects/domains/mydomain/autodeploy/ssh_training_itemmgr" 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.
 at weblogic.application.internal.DeploymentManagerImpl.createDeployment(DeploymentManagerImpl.java:109)
 at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:146)
 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:184)
 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
 Truncated. see log file for complete stacktrace
>

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值