首页 > WEBLOGIC启动报错

WEBLOGIC启动报错

Failed to initialize the application 'dgms' due to error weblogic.management.DeploymentException: [J2EE:160177]The application at "/home/weblogic/Oracle/Middleware/user_projects/domains/fk_domain/servers/dgms_01/stage/dgms/dgms" 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 "/home/weblogic/Oracle/Middleware/user_projects/domains/fk_domain/servers/dgms_01/stage/dgms/dgms" 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:106)
    at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:149)
    at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:114)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
    Truncated. see log file for complete stacktrace
> 

错误信息里面给出了充分的说明。我猜 /home/weblogic/Oracle/Middleware/user_projects/domains/fk_domain/servers/dgms_01/stage/dgms/dgms 是一个文件或目录,但是服务器无法识别它是什么类型的。你应该给他加上合适的后缀名。如果它是一个普通的 webapp,就加上 .war。

【热门文章】
【热门文章】