weblogic部署项目问题-Java/Web开发
来源:互联网 发布:js input模拟点击 编辑:程序博客网 时间:2024/06/11 20:04
If this is an EAR file, please ensure the META-INF/application.xml exists.
转自:http://biancheng.dnbcw.info/java/124491.html
首先我说下我的部署环境和开发模式:部署环境是MyEclipse+Weblogic9i,开发环境是JSP+Servlet,没有用框架,所以不是框架的包的问题。我部署的时候都是通过MyEclipse直接部署项目的,具体步骤就是启动服务,然后通过MyEclipse部署,结果每次部署都是报同一个错误(有时候重启下服务然后再部署就不报了,我也不知道怎么回事)。希望哪位大虾帮忙解决下,呵呵。下面是后台的异常:
没有加入EJB的包!!!
<2009-11-20 下午05时12分25秒 CST> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1258708344578' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\tools\bea\user_projects\domains\mydomain\.\autodeploy\1.5_project" 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 "D:\tools\bea\user_projects\domains\mydomain\.\autodeploy\1.5_project" 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-11-20 下午05时12分26秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_1.5_project_dir'.>
<2009-11-20 下午05时12分26秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\tools\bea\user_projects\domains\mydomain\.\autodeploy\1.5_project" 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
>
没有加入EJB的包!!!
<2009-11-20 下午05时12分25秒 CST> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1258708344578' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\tools\bea\user_projects\domains\mydomain\.\autodeploy\1.5_project" 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 "D:\tools\bea\user_projects\domains\mydomain\.\autodeploy\1.5_project" 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-11-20 下午05时12分26秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_1.5_project_dir'.>
<2009-11-20 下午05时12分26秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\tools\bea\user_projects\domains\mydomain\.\autodeploy\1.5_project" 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
>
------回答---------
------其他回答(50分)---------
.\autodeploy\1.5_project" was not recognized as a valid application type.
weblogic不能识别你的工程类型,具体地说就是在webroot中没找到你的web.xml
0 0
- weblogic部署项目问题-Java/Web开发
- tomcat开发的web项目部署到weblogic注意事项
- java开发 web项目部署
- weblogic部署web项目小结
- weblogic控制台web项目部署
- Weblogic部署maven web项目
- Java Web项目部署问题
- java web项目Tomcat转移到weblogic部署失败解决
- weblogic部署项目缓存问题
- 修改weblogic配置文件快速部署web项目
- 将web项目部署到weblogic
- weblogic安装部署web项目注意事项
- weblogic部署web项目出现错误
- WebLogic部署Web项目生成路径
- weblogic部署web应用项目步骤
- maven部署web项目到weblogic中
- weblogic部署web项目jar文件冲突
- 关于在weblogic上部署web项目
- 吾爱破解论坛的运作
- 今天知道了在js中怎么得到<s:property value="****"/>的value值
- android网络编程--从网络下载图片,并保存到内存卡
- 《从程序员到项目经理》读书笔记(十四) 原来一切问题都是可以解决的
- 交叉编译mjpeg streamer on RT5350(不成功)
- weblogic部署项目问题-Java/Web开发
- 论onclicklistener、ontouchlistener、ontouchevent
- 扎金花大小比较算法(Java版)
- php mysqli
- Android_高仿ios左滑删除的(改进版)
- Java 实现双色球机选一柱 (一个与众不同的代码)01篇
- Java学习笔记一
- eclipse 无法识别web项目
- Java 实现双色球机选一柱 (一个与众不同的代码)02篇