JBoss HelloWorld Beantragung nicht starten
Hi,
Ich versuche zu starten JBoss Beispiel-Anwendung "jboss-as-helloworld'.
Und bekam solche Ausnahme:
16:23:51,118 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "jboss-as-helloworld.war"
16:23:51,176 INFO [org.jboss.weld] (MSC service thread 1-5) Processing CDI deployment: jboss-as-helloworld.war
16:23:51,178 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.unit."jboss-as-helloworld.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."jboss-as-helloworld.war".INSTALL: Failed to process phase INSTALL of deployment "jboss-as-helloworld.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0_02]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0_02]
at java.lang.Thread.run(Thread.java:722) [:1.7.0_02]
Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.naming.context.java.app.jboss-as-helloworld is already registered
at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226)
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201)
at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2194)
at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201)
at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2194)
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307)
at org.jboss.as.ee.naming.ApplicationContextProcessor.deploy(ApplicationContextProcessor.java:62)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
16:23:51,180 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "jboss-as-helloworld.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"jboss-as-helloworld.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jboss-as-helloworld.war\".INSTALL: Failed to process phase INSTALL of deployment \"jboss-as-helloworld.war\""}}
16:23:51,191 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment jboss-as-helloworld.war in 10ms
16:23:51,192 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"jboss-as-helloworld.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jboss-as-helloworld.war\".INSTALL: Failed to process phase INSTALL of deployment \"jboss-as-helloworld.war\""}}}}
JBoss 7.0 Runtime-Server gestartet und ich kann auf JBoss-Startseite http://localhost:8080
- und JBoss-Konsole.
Ich nicht ändern code oder xml, ist alles Standard.
Sagen Sie mir, wenn es ist, müssen zusätzliche info, um dieses Problem zu untersuchen.
Du musst angemeldet sein, um einen Kommentar abzugeben.
Fehler, es sieht aus wie "Hallo Welt" bereits auf dem server bereitgestellt (vielleicht sind Sie für die Installation ausgewählt Beispiele):
Versuchen, deinstallieren Sie diese app und dann nochmals installieren. Oder Sie umbenennen könnte dein erstes "hello world" - app und bereitstellen - so gibt es keinen Namenskonflikt.
Diese sind die Schritte, die ich gefolgt, um das Problem zu beheben.