2014-02-14 308 views
12

啓動jboss服務器時,它發出錯誤無法啓動服務jboss.deployment.unit。「jbpm-console.war 」。但是當我使用start.demo運行jbpm6 demo時,它的工作正常。Jboss服務器錯誤:無法啓動服務jboss.deployment.unit。「jbpm-console.war」

23:43:41,042 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."jbpm-console.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-console.war".PARSE: Failed to process phase PARSE of deployment "jbpm-console.war" 
     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] 
     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] 
     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] 
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09] 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09] 
     at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09] 
Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found 
     at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:447) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] 
     at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:273) 
     at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageDrivenBeanMetaData(MessageDrivenComponentDescriptionFactory.java:244) 
     at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processBeanMetaData(MessageDrivenComponentDescriptionFactory.java:88) 
     at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processBeanMetaData(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:65) 
     at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.processDeploymentDescriptor(AbstractDeploymentUnitProcessor.java:143) 
     at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:84) 
     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] 
     ... 5 more 

23:43:41,104 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015951: Admin console listening on http://127.0.0.1:9990 
23:43:41,104 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "jbpm-console.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"jbpm-console.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jbpm-console.war\".PARSE: Failed to process phase PARSE of deployment \"jbpm-console.war\""}} 
23:43:41,104 ERROR [org.jboss.as] (MSC service thread 1-6) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 49681ms - Started 344 of 423 services (1 services failed or missing dependencies, 76 services are passive or on-demand) 
23:43:41,104 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "dashboard-builder.war" was rolled back with no failure message 

回答

15

盯着嘗試與JBoss的-c ./standalone.sh獨立-full.xml或任何其他的替代方案,可以讓你開始的完整資料

+0

我同意這個答案,但只是一個側面說明 - 不要忘記standalone-full.xml不會有jbpm datasource配置開箱即用。 –

+0

@salaboy,謝謝..我對這個錯誤感到沮喪很多小時,搜索了一下,發現在standalone-full.xml中添加 ..,並且在服務器啓動時沒有運行該文件..但是最後我成功運行了...再次感謝... –

4

最好的解決辦法:後藤的jboss-AS-7.1。 1.Final \獨立\部署的文件夾,並刪除所有現有文件....

再次運行您的問題將得到解決

1

你應該standlone.bat運行或-c獨立-full.xml開關的.sh 可能是工作。

6

我有完全相同的問題,發現我是在獨立/配置/ standalone.xml失蹤

<mdb> 
    <resource-adapter-ref resource-adapter-name="hornetq-ra"/> 
    <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/> 
</mdb> 

<subsystem xmlns="urn:jboss:domain:ejb3:1.2"> 

+1

你能解釋一下嗎?這些標籤有什麼作用?這些名稱有什麼含義? – ArtOfWarfare

1
  1. 刪除其下的項目文件夾C:\....\wildfly-9.0.1.Final\standalone\deployments\YOUR-PROJEKT-FOLDER
  2. 重新啓動您的wildfl Y型服務器
0

我也有類似的問題,我的錯誤是:

Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException:org.glassfish.jersey.servlet.ServletContainer from [Module "deployment.RESTful_Services_CRUD.war:main" from Service Module Loader] 

我用jbossglassfish所以我改變了web.xml以下:

<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class> 

相反的:

<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class> 

希望這個w ork給你。