myeclipse配置的weblogic启动时没有问题  
项目在tomcat下也没问题当weblogic add deployment时就会报错
错误信息如下:
<2010-3-24 下午10时02分11秒 CST> <Warning> <Application Poller> <BEA-149417> <Another process is using this file 'D:\bea\user_projects\domains\base_domain\autodeploy\yjkh'. The server will attempt to deploy the application once it is unlocked by the other process.> 
<2010-3-24 下午10时02分15秒 CST> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1269439335078' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\bea\user_projects\domains\base_domain\.\autodeploy\yjkh" 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:\bea\user_projects\domains\base_domain\.\autodeploy\yjkh" 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:101)
at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:141)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:178)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:84)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:219)
Truncated. see log file for complete stacktrace

<2010-3-24 下午10时02分15秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_yjkh_dir'.> 
<2010-3-24 下午10时02分15秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160177]The application at "D:\bea\user_projects\domains\base_domain\.\autodeploy\yjkh" 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:101)
at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:141)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:178)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:84)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:219)
Truncated. see log file for complete stacktrace
> 是不是weblogic还需要配置什么东西?高手都来帮帮忙

解决方案 »

  1.   

    The application at "D:\bea\user_projects\domains\base_domain\.\autodeploy\yjkh" was not recognized as a valid application type.你发布的是什么啊? 一个web项目? 你发布的东西有问题, weblogic 不认识。
      

  2.   

    又是weblogic又是tomcat
    出错信息显示当你部署到weblogic的时候进程已经在使用了。也就是说资源拿不过来……有两个程序在用。自己检查一下
      

  3.   

    说你的里面没有配置文件,你的项目里面用到了ebj,可能是少包
      

  4.   

    用eclipse远程调试weblogic运行的source  http://www.phome.asia/forum/thread/18290.html