im trying to run a wildfly example from
when i deploy i get error
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit."jaxws-retail.war".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered
im not able to understand this. any help apreciated.
> 18:24:26,195 INFO [.jboss.modules] (main) JBoss Modules version 2.1.6.Final
18:24:26,829 INFO [.jboss.msc] (main) JBoss MSC version 1.5.5.Final
18:24:26,839 INFO [.jboss.threads] (main) JBoss Threads version 2.4.0.Final
18:24:26,952 INFO [.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly 35.0.1.Final (WildFly Core 27.0.1.Final) starting
18:24:27,763 INFO [.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 2.6.0.Final
18:24:28,347 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
18:24:28,361 INFO [.xnio] (MSC service thread 1-5) XNIO version 3.8.16.Final
18:24:28,369 INFO [.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.8.16.Final
18:24:28,404 INFO [.wildfly.extension.elytron.oidc._private] (ServerService Thread Pool -- 53) WFLYOIDC0001: Activating WildFly Elytron OIDC Subsystem
18:24:28,414 INFO [.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0001: Activating Infinispan subsystem.
18:24:28,418 INFO [.wildfly.extension.health] (ServerService Thread Pool -- 54) WFLYHEALTH0001: Activating Base Health Subsystem
18:24:28,424 INFO [.wildfly.extension.io] (ServerService Thread Pool -- 56) WFLYIO001: Worker 'default' has auto-configured to 24 IO threads with 192 max task threads based on your 12 available processors
18:24:28,434 INFO [.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.30.Final
18:24:28,436 INFO [.jboss.as.connector] (MSC service thread 1-5) WFLYJCA0009: Starting Jakarta Connectors Subsystem (WildFly/IronJacamar 3.0.10.Final)
18:24:28,446 INFO [.wildfly.extension.microprofile.config.smallrye] (ServerService Thread Pool -- 65) WFLYCONF0001: Activating MicroProfile Config Subsystem
18:24:28,454 INFO [.wildfly.extension.microprofile.jwt.smallrye] (ServerService Thread Pool -- 66) WFLYJWT0001: Activating MicroProfile JWT Subsystem
18:24:28,466 INFO [.wildfly.extension.metrics] (ServerService Thread Pool -- 64) WFLYMETRICS0001: Activating Base Metrics Subsystem
18:24:28,468 INFO [.jboss.as.naming] (ServerService Thread Pool -- 67) WFLYNAM0001: Activating Naming Subsystem
18:24:28,470 WARN [.jboss.as.txn] (ServerService Thread Pool -- 74) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
18:24:28,483 INFO [.jboss.as.jsf] (ServerService Thread Pool -- 62) WFLYJSF0007: Activated the following Jakarta Server Faces Implementations: [main]
18:24:28,486 INFO [.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 44) WFLYJCA0004: Deploying JDBC-compliant driver class .h2.Driver (version 2.2)
18:24:28,498 INFO [.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = h2
18:24:28,515 INFO [.jboss.as.webservices] (ServerService Thread Pool -- 76) WFLYWS0002: Activating WebServices Extension
18:24:28,519 INFO [.jboss.as.jaxrs] (ServerService Thread Pool -- 57) WFLYRS0016: RESTEasy version 6.2.11.Final
18:24:28,567 INFO [.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
18:24:28,568 INFO [.jboss.as.naming] (MSC service thread 1-6) WFLYNAM0003: Starting Naming Service
18:24:28,588 INFO [.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0003: Undertow 2.3.18.Final starting
18:24:28,603 WARN [.wildfly.extension.elytron] (MSC service thread 1-7) WFLYELY00023: KeyStore file '/home/xxx/java/wildfly-35.0.1.Final/standalone/configuration/application.keystore' does not exist. Used blank.
18:24:28,626 WARN [.wildfly.extension.elytron] (MSC service thread 1-7) WFLYELY01084: KeyStore /home/xxx/java/wildfly-35.0.1.Final/standalone/configuration/application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost
18:24:28,647 INFO [.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 192 (per class), which is derived from thread worker pool sizing.
18:24:28,662 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 75) WFLYUT0014: Creating file handler for path '/home/xxx/java/wildfly-35.0.1.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
18:24:28,698 INFO [.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 48 (per class), which is derived from the number of CPUs on this host.
18:24:28,716 INFO [.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0012: Started server default-server.
18:24:28,718 INFO [.wildfly.extension.undertow] (MSC service thread 1-4) Queuing requests.
18:24:28,719 INFO [.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
18:24:28,805 INFO [.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
18:24:28,818 INFO [.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
18:24:28,885 INFO [.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
18:24:28,887 INFO [.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "helloworld-ws.war" (runtime-name: "helloworld-ws.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "helloworld.war" (runtime-name: "helloworld.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "jaxrs-client.war" (runtime-name: "jaxrs-client.war")
18:24:28,893 INFO [.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "jaxws-ejb.war" (runtime-name: "jaxws-ejb.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "numberguess.war" (runtime-name: "numberguess.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "helloworld-rs.war" (runtime-name: "helloworld-rs.war")
18:24:28,897 INFO [.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "helloworld-singleton.war" (runtime-name: "helloworld-singleton.war")
18:24:28,956 INFO [.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory /home/xxx/java/wildfly-35.0.1.Final/standalone/deployments
18:24:29,031 INFO [.jboss.wsmon.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 7.3.1.Final (Apache CXF 4.0.6)
18:24:29,659 INFO [.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment jaxrs-client.war
18:24:29,659 INFO [.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment helloworld.war
18:24:29,659 INFO [.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment numberguess.war
18:24:29,660 INFO [.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment jaxws-ejb.war
18:24:29,660 INFO [.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment helloworld-singleton.war
18:24:29,919 INFO [.hibernate.validator.internal.util.Version] (MSC service thread 1-4) HV000001: Hibernate Validator 8.0.2.Final
18:24:29,954 INFO [.jboss.ws.cxf.metadata] (MSC service thread 1-6) JBWS024061: Adding service endpoint metadata: id=.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
address=http://localhost:8080/helloworld-ws/HelloWorldService
implementor=.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
serviceName={}HelloWorldService
portName={}HelloWorld
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
18:24:30,238 INFO [.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'EJB3Bean' in deployment unit 'deployment "jaxws-ejb.war"' are as follows:
java:global/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
java:app/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
java:module/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
java:jboss/exported/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
ejb:/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
18:24:30,243 INFO [.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'Counter' in deployment unit 'deployment "helloworld-singleton.war"' are as follows:
java:global/helloworld-singleton/Counter!.jboss.as.quickstarts.singleton.Counter
java:app/helloworld-singleton/Counter!.jboss.as.quickstarts.singleton.Counter
java:module/Counter!.jboss.as.quickstarts.singleton.Counter
java:global/helloworld-singleton/Counter
java:app/helloworld-singleton/Counter
java:module/Counter
18:24:30,397 INFO [.jboss.weld.Version] (MSC service thread 1-4) WELD-000900: 5.1.4 (Final)
18:24:30,435 INFO [.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=EJB3Bean
address=http://localhost:8080/EJB3Bean
implementor=.jboss.quickstarts.wsejb.EJB3Bean
serviceName={/}EJB3BeanService
portName={/}EJB3BeanPort
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
18:24:30,665 INFO [.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 79) RESTEASY002225: Deploying jakarta.ws.rs.core.Application: class .jboss.as.quickstarts.helloworld.rest.JakartaRESTActivator
18:24:30,753 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 79) WFLYUT0021: Registered web context: '/helloworld-rs' for server 'default-server'
18:24:30,880 INFO [.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-6) Creating Service {}HelloWorldService from class .jboss.as.quickstarts.wshelloworld.HelloWorldService
18:24:30,880 INFO [.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-8) Creating Service {/}EJB3BeanService from class .jboss.quickstarts.wsejb.EJB3RemoteInterface
18:24:31,373 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 80) WFLYUT0021: Registered web context: '/helloworld' for server 'default-server'
18:24:31,406 INFO [.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-8) Setting the server's publish address to be http://localhost:8080/EJB3Bean
18:24:31,406 INFO [.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-6) Setting the server's publish address to be http://localhost:8080/helloworld-ws/HelloWorldService
18:24:31,436 INFO [.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 78) RESTEASY002225: Deploying jakarta.ws.rs.core.Application: class .jboss.as.quickstarts.jaxrsclient.rest.RestApplication
18:24:31,466 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 78) WFLYUT0021: Registered web context: '/jaxrs-client' for server 'default-server'
18:24:31,477 INFO [jakarta.enterprise.resource.webcontainer.faces.config] (ServerService Thread Pool -- 79) Initializing Mojarra 4.0.8 for context '/numberguess'
18:24:31,477 INFO [jakarta.enterprise.resource.webcontainer.faces.config] (ServerService Thread Pool -- 84) Initializing Mojarra 4.0.8 for context '/helloworld-singleton'
18:24:31,526 INFO [.jboss.ws.cxf.deployment] (MSC service thread 1-8) JBWS024074: WSDL published to: file:/home/xxx/java/wildfly-35.0.1.Final/standalone/data/wsdl/jaxws-ejb.war/EJB3BeanService.wsdl
18:24:31,528 INFO [.jboss.ws.cxf.deployment] (MSC service thread 1-6) JBWS024074: WSDL published to: file:/home/xxx/java/wildfly-35.0.1.Final/standalone/data/wsdl/helloworld-ws.war/HelloWorldService.wsdl
18:24:31,576 INFO [.jboss.as.webservices] (MSC service thread 1-7) WFLYWS0003: Starting service jboss.ws.endpoint."jaxws-ejb.war".EJB3Bean
18:24:31,578 INFO [.jboss.as.webservices] (MSC service thread 1-4) WFLYWS0003: Starting service jboss.ws.endpoint."helloworld-ws.war".".jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl"
18:24:31,593 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 78) WFLYUT0021: Registered web context: '/helloworld-ws' for server 'default-server'
18:24:31,804 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 83) WFLYUT0021: Registered web context: '/' for server 'default-server'
18:24:31,949 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 79) WFLYUT0021: Registered web context: '/numberguess' for server 'default-server'
18:24:31,949 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 84) WFLYUT0021: Registered web context: '/helloworld-singleton' for server 'default-server'
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "jaxws-ejb.war" (runtime-name : "jaxws-ejb.war")
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "jaxrs-client.war" (runtime-name : "jaxrs-client.war")
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld-ws.war" (runtime-name : "helloworld-ws.war")
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld-singleton.war" (runtime-name : "helloworld-singleton.war")
18:24:32,000 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld-rs.war" (runtime-name : "helloworld-rs.war")
18:24:32,000 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld.war" (runtime-name : "helloworld.war")
18:24:32,000 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "numberguess.war" (runtime-name : "numberguess.war")
18:24:32,046 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
18:24:32,052 INFO [.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
18:24:32,052 INFO [.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
18:24:32,057 INFO [.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly 35.0.1.Final (WildFly Core 27.0.1.Final) started in 6218ms - Started 940 of 1143 services (358 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community
18:36:43,054 INFO [.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /home/xxx/java/wildfly-35.0.1.Final/standalone/data/content/1b/8fab7ea6495c5046a3187bf9f34f65f8442cd2/content
18:36:43,058 INFO [.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "jaxws-retail.war" (runtime-name: "jaxws-retail.war")
18:36:43,168 INFO [.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment jaxws-retail.war
18:36:43,199 INFO [.jboss.as.ejb3.deployment] (MSC service thread 1-8) WFLYEJB0473: JNDI bindings for session bean named 'ProfileMgmtBean' in deployment unit 'deployment "jaxws-retail.war"' are as follows:
18:36:43,273 INFO [.jboss.ws.cxf.metadata] (MSC service thread 1-6) JBWS024061: Adding service endpoint metadata: id=ProfileMgmtBean
address=http://localhost:8080/ProfileMgmtService/ProfileMgmt
implementor=.jboss.quickstarts.ws.jaxws.samples.retail.profile.ProfileMgmtBean
serviceName={}ProfileMgmtService
portName={}ProfileMgmtPort
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
18:36:43,306 INFO [.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-6) Creating Service {}ProfileMgmtService from class .jboss.quickstarts.ws.jaxws.samples.retail.profile.ProfileMgmtBean
18:36:43,363 INFO [.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-6) Setting the server's publish address to be http://localhost:8080/ProfileMgmtService/ProfileMgmt
18:36:43,373 INFO [.jboss.ws.cxf.deployment] (MSC service thread 1-6) JBWS024074: WSDL published to: file:/home/xxx/java/wildfly-35.0.1.Final/standalone/data/wsdl/jaxws-retail.war/ProfileMgmtService.wsdl
18:36:43,410 ERROR [.jboss.wsmon.deployment] (MSC service thread 1-6) JBWS022102: Cannot stop endpoint in state UNDEFINED: jboss.ws:context=,endpoint=ProfileMgmtBean
18:36:43,452 ERROR [.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."jaxws-retail.war".INSTALL: .jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-retail.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "jaxws-retail.war"
at [email protected]//.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
at [email protected]//.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617)
at [email protected]//.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580)
at [email protected]//.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438)
at [email protected]//.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at [email protected]//.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit."jaxws-retail.war".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered
at [email protected]//.wildfly.extension.undertow.deployment.UndertowDeploymentProcessor.deploy(UndertowDeploymentProcessor.java:397)
at [email protected]//.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
... 8 more
18:36:43,459 ERROR [.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "jaxws-retail.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-retail.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-retail.war\"
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit.\"jaxws-retail.war\".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"jaxws-retail.war\".beanmanager",
"jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"service jboss.deployment.unit.\"jaxws-retail.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]",
"service jboss.deployment.unit.\"jaxws-retail.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService, jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]"
]
}
18:36:43,461 ERROR [.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "jaxws-retail.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-retail.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-retail.war\"
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit.\"jaxws-retail.war\".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"jaxws-retail.war\".beanmanager",
"jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"service jboss.deployment.unit.\"jaxws-retail.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]",
"service jboss.deployment.unit.\"jaxws-retail.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService, jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]"
]
}
18:36:43,463 ERROR [.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "jaxws-retail.war" was rolled back with the following failure message:
{
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-retail.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-retail.war\"
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit.\"jaxws-retail.war\".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"jaxws-retail.war\".beanmanager",
"jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"service jboss.deployment.unit.\"jaxws-retail.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]",
"service jboss.deployment.unit.\"jaxws-retail.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService, jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]"
]
}
18:36:43,479 INFO [.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment jaxws-retail.war (runtime-name: jaxws-retail.war) in 16ms
18:38:32,438 INFO [.jboss.as.repository] (ServerService Thread Pool -- 41) WFLYDR0009: Content /home/xxx/java/wildfly-35.0.1.Final/standalone/data/content/a4/bda91d594a7e11adbc9b6d7031dd6b24c5d470 is obsolete and will be removed
18:38:32,450 INFO [.jboss.as.repository] (ServerService Thread Pool -- 41) WFLYDR0002: Content removed from location /home/xxx/java/wildfly-35.0.1.Final/standalone/data/content/a4/bda91d594a7e11adbc9b6d7031dd6b24c5d470/content
also getting error DiscountResponse cannot be resolved to a type. is this missing something?
im trying to run a wildfly example from https://github/wildfly/quickstart/tree/main/jaxws-retail
when i deploy i get error
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit."jaxws-retail.war".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered
im not able to understand this. any help apreciated.
> 18:24:26,195 INFO [.jboss.modules] (main) JBoss Modules version 2.1.6.Final
18:24:26,829 INFO [.jboss.msc] (main) JBoss MSC version 1.5.5.Final
18:24:26,839 INFO [.jboss.threads] (main) JBoss Threads version 2.4.0.Final
18:24:26,952 INFO [.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly 35.0.1.Final (WildFly Core 27.0.1.Final) starting
18:24:27,763 INFO [.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 2.6.0.Final
18:24:28,347 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
18:24:28,361 INFO [.xnio] (MSC service thread 1-5) XNIO version 3.8.16.Final
18:24:28,369 INFO [.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.8.16.Final
18:24:28,404 INFO [.wildfly.extension.elytron.oidc._private] (ServerService Thread Pool -- 53) WFLYOIDC0001: Activating WildFly Elytron OIDC Subsystem
18:24:28,414 INFO [.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0001: Activating Infinispan subsystem.
18:24:28,418 INFO [.wildfly.extension.health] (ServerService Thread Pool -- 54) WFLYHEALTH0001: Activating Base Health Subsystem
18:24:28,424 INFO [.wildfly.extension.io] (ServerService Thread Pool -- 56) WFLYIO001: Worker 'default' has auto-configured to 24 IO threads with 192 max task threads based on your 12 available processors
18:24:28,434 INFO [.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.30.Final
18:24:28,436 INFO [.jboss.as.connector] (MSC service thread 1-5) WFLYJCA0009: Starting Jakarta Connectors Subsystem (WildFly/IronJacamar 3.0.10.Final)
18:24:28,446 INFO [.wildfly.extension.microprofile.config.smallrye] (ServerService Thread Pool -- 65) WFLYCONF0001: Activating MicroProfile Config Subsystem
18:24:28,454 INFO [.wildfly.extension.microprofile.jwt.smallrye] (ServerService Thread Pool -- 66) WFLYJWT0001: Activating MicroProfile JWT Subsystem
18:24:28,466 INFO [.wildfly.extension.metrics] (ServerService Thread Pool -- 64) WFLYMETRICS0001: Activating Base Metrics Subsystem
18:24:28,468 INFO [.jboss.as.naming] (ServerService Thread Pool -- 67) WFLYNAM0001: Activating Naming Subsystem
18:24:28,470 WARN [.jboss.as.txn] (ServerService Thread Pool -- 74) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
18:24:28,483 INFO [.jboss.as.jsf] (ServerService Thread Pool -- 62) WFLYJSF0007: Activated the following Jakarta Server Faces Implementations: [main]
18:24:28,486 INFO [.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 44) WFLYJCA0004: Deploying JDBC-compliant driver class .h2.Driver (version 2.2)
18:24:28,498 INFO [.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = h2
18:24:28,515 INFO [.jboss.as.webservices] (ServerService Thread Pool -- 76) WFLYWS0002: Activating WebServices Extension
18:24:28,519 INFO [.jboss.as.jaxrs] (ServerService Thread Pool -- 57) WFLYRS0016: RESTEasy version 6.2.11.Final
18:24:28,567 INFO [.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
18:24:28,568 INFO [.jboss.as.naming] (MSC service thread 1-6) WFLYNAM0003: Starting Naming Service
18:24:28,588 INFO [.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0003: Undertow 2.3.18.Final starting
18:24:28,603 WARN [.wildfly.extension.elytron] (MSC service thread 1-7) WFLYELY00023: KeyStore file '/home/xxx/java/wildfly-35.0.1.Final/standalone/configuration/application.keystore' does not exist. Used blank.
18:24:28,626 WARN [.wildfly.extension.elytron] (MSC service thread 1-7) WFLYELY01084: KeyStore /home/xxx/java/wildfly-35.0.1.Final/standalone/configuration/application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost
18:24:28,647 INFO [.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 192 (per class), which is derived from thread worker pool sizing.
18:24:28,662 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 75) WFLYUT0014: Creating file handler for path '/home/xxx/java/wildfly-35.0.1.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
18:24:28,698 INFO [.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 48 (per class), which is derived from the number of CPUs on this host.
18:24:28,716 INFO [.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0012: Started server default-server.
18:24:28,718 INFO [.wildfly.extension.undertow] (MSC service thread 1-4) Queuing requests.
18:24:28,719 INFO [.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
18:24:28,805 INFO [.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
18:24:28,818 INFO [.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
18:24:28,885 INFO [.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
18:24:28,887 INFO [.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "helloworld-ws.war" (runtime-name: "helloworld-ws.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "helloworld.war" (runtime-name: "helloworld.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "jaxrs-client.war" (runtime-name: "jaxrs-client.war")
18:24:28,893 INFO [.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "jaxws-ejb.war" (runtime-name: "jaxws-ejb.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "numberguess.war" (runtime-name: "numberguess.war")
18:24:28,892 INFO [.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "helloworld-rs.war" (runtime-name: "helloworld-rs.war")
18:24:28,897 INFO [.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "helloworld-singleton.war" (runtime-name: "helloworld-singleton.war")
18:24:28,956 INFO [.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory /home/xxx/java/wildfly-35.0.1.Final/standalone/deployments
18:24:29,031 INFO [.jboss.wsmon.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 7.3.1.Final (Apache CXF 4.0.6)
18:24:29,659 INFO [.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment jaxrs-client.war
18:24:29,659 INFO [.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment helloworld.war
18:24:29,659 INFO [.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment numberguess.war
18:24:29,660 INFO [.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment jaxws-ejb.war
18:24:29,660 INFO [.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment helloworld-singleton.war
18:24:29,919 INFO [.hibernate.validator.internal.util.Version] (MSC service thread 1-4) HV000001: Hibernate Validator 8.0.2.Final
18:24:29,954 INFO [.jboss.ws.cxf.metadata] (MSC service thread 1-6) JBWS024061: Adding service endpoint metadata: id=.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
address=http://localhost:8080/helloworld-ws/HelloWorldService
implementor=.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl
serviceName={http://www.jboss./eap/quickstarts/wshelloworld/HelloWorld}HelloWorldService
portName={http://www.jboss./eap/quickstarts/wshelloworld/HelloWorld}HelloWorld
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
18:24:30,238 INFO [.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'EJB3Bean' in deployment unit 'deployment "jaxws-ejb.war"' are as follows:
java:global/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
java:app/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
java:module/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
java:jboss/exported/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
ejb:/jaxws-ejb/EJB3Bean!.jboss.quickstarts.wsejb.EJB3RemoteInterface
18:24:30,243 INFO [.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'Counter' in deployment unit 'deployment "helloworld-singleton.war"' are as follows:
java:global/helloworld-singleton/Counter!.jboss.as.quickstarts.singleton.Counter
java:app/helloworld-singleton/Counter!.jboss.as.quickstarts.singleton.Counter
java:module/Counter!.jboss.as.quickstarts.singleton.Counter
java:global/helloworld-singleton/Counter
java:app/helloworld-singleton/Counter
java:module/Counter
18:24:30,397 INFO [.jboss.weld.Version] (MSC service thread 1-4) WELD-000900: 5.1.4 (Final)
18:24:30,435 INFO [.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=EJB3Bean
address=http://localhost:8080/EJB3Bean
implementor=.jboss.quickstarts.wsejb.EJB3Bean
serviceName={http://wsejb.quickstarts.jboss./}EJB3BeanService
portName={http://wsejb.quickstarts.jboss./}EJB3BeanPort
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
18:24:30,665 INFO [.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 79) RESTEASY002225: Deploying jakarta.ws.rs.core.Application: class .jboss.as.quickstarts.helloworld.rest.JakartaRESTActivator
18:24:30,753 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 79) WFLYUT0021: Registered web context: '/helloworld-rs' for server 'default-server'
18:24:30,880 INFO [.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-6) Creating Service {http://www.jboss./eap/quickstarts/wshelloworld/HelloWorld}HelloWorldService from class .jboss.as.quickstarts.wshelloworld.HelloWorldService
18:24:30,880 INFO [.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-8) Creating Service {http://wsejb.quickstarts.jboss./}EJB3BeanService from class .jboss.quickstarts.wsejb.EJB3RemoteInterface
18:24:31,373 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 80) WFLYUT0021: Registered web context: '/helloworld' for server 'default-server'
18:24:31,406 INFO [.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-8) Setting the server's publish address to be http://localhost:8080/EJB3Bean
18:24:31,406 INFO [.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-6) Setting the server's publish address to be http://localhost:8080/helloworld-ws/HelloWorldService
18:24:31,436 INFO [.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 78) RESTEASY002225: Deploying jakarta.ws.rs.core.Application: class .jboss.as.quickstarts.jaxrsclient.rest.RestApplication
18:24:31,466 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 78) WFLYUT0021: Registered web context: '/jaxrs-client' for server 'default-server'
18:24:31,477 INFO [jakarta.enterprise.resource.webcontainer.faces.config] (ServerService Thread Pool -- 79) Initializing Mojarra 4.0.8 for context '/numberguess'
18:24:31,477 INFO [jakarta.enterprise.resource.webcontainer.faces.config] (ServerService Thread Pool -- 84) Initializing Mojarra 4.0.8 for context '/helloworld-singleton'
18:24:31,526 INFO [.jboss.ws.cxf.deployment] (MSC service thread 1-8) JBWS024074: WSDL published to: file:/home/xxx/java/wildfly-35.0.1.Final/standalone/data/wsdl/jaxws-ejb.war/EJB3BeanService.wsdl
18:24:31,528 INFO [.jboss.ws.cxf.deployment] (MSC service thread 1-6) JBWS024074: WSDL published to: file:/home/xxx/java/wildfly-35.0.1.Final/standalone/data/wsdl/helloworld-ws.war/HelloWorldService.wsdl
18:24:31,576 INFO [.jboss.as.webservices] (MSC service thread 1-7) WFLYWS0003: Starting service jboss.ws.endpoint."jaxws-ejb.war".EJB3Bean
18:24:31,578 INFO [.jboss.as.webservices] (MSC service thread 1-4) WFLYWS0003: Starting service jboss.ws.endpoint."helloworld-ws.war".".jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl"
18:24:31,593 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 78) WFLYUT0021: Registered web context: '/helloworld-ws' for server 'default-server'
18:24:31,804 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 83) WFLYUT0021: Registered web context: '/' for server 'default-server'
18:24:31,949 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 79) WFLYUT0021: Registered web context: '/numberguess' for server 'default-server'
18:24:31,949 INFO [.wildfly.extension.undertow] (ServerService Thread Pool -- 84) WFLYUT0021: Registered web context: '/helloworld-singleton' for server 'default-server'
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "jaxws-ejb.war" (runtime-name : "jaxws-ejb.war")
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "jaxrs-client.war" (runtime-name : "jaxrs-client.war")
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld-ws.war" (runtime-name : "helloworld-ws.war")
18:24:31,999 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld-singleton.war" (runtime-name : "helloworld-singleton.war")
18:24:32,000 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld-rs.war" (runtime-name : "helloworld-rs.war")
18:24:32,000 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "helloworld.war" (runtime-name : "helloworld.war")
18:24:32,000 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "numberguess.war" (runtime-name : "numberguess.war")
18:24:32,046 INFO [.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
18:24:32,052 INFO [.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
18:24:32,052 INFO [.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
18:24:32,057 INFO [.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly 35.0.1.Final (WildFly Core 27.0.1.Final) started in 6218ms - Started 940 of 1143 services (358 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community
18:36:43,054 INFO [.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /home/xxx/java/wildfly-35.0.1.Final/standalone/data/content/1b/8fab7ea6495c5046a3187bf9f34f65f8442cd2/content
18:36:43,058 INFO [.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "jaxws-retail.war" (runtime-name: "jaxws-retail.war")
18:36:43,168 INFO [.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment jaxws-retail.war
18:36:43,199 INFO [.jboss.as.ejb3.deployment] (MSC service thread 1-8) WFLYEJB0473: JNDI bindings for session bean named 'ProfileMgmtBean' in deployment unit 'deployment "jaxws-retail.war"' are as follows:
18:36:43,273 INFO [.jboss.ws.cxf.metadata] (MSC service thread 1-6) JBWS024061: Adding service endpoint metadata: id=ProfileMgmtBean
address=http://localhost:8080/ProfileMgmtService/ProfileMgmt
implementor=.jboss.quickstarts.ws.jaxws.samples.retail.profile.ProfileMgmtBean
serviceName={http://.jboss.ws/samples/retail/profile}ProfileMgmtService
portName={http://.jboss.ws/samples/retail/profile}ProfileMgmtPort
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
18:36:43,306 INFO [.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-6) Creating Service {http://.jboss.ws/samples/retail/profile}ProfileMgmtService from class .jboss.quickstarts.ws.jaxws.samples.retail.profile.ProfileMgmtBean
18:36:43,363 INFO [.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-6) Setting the server's publish address to be http://localhost:8080/ProfileMgmtService/ProfileMgmt
18:36:43,373 INFO [.jboss.ws.cxf.deployment] (MSC service thread 1-6) JBWS024074: WSDL published to: file:/home/xxx/java/wildfly-35.0.1.Final/standalone/data/wsdl/jaxws-retail.war/ProfileMgmtService.wsdl
18:36:43,410 ERROR [.jboss.wsmon.deployment] (MSC service thread 1-6) JBWS022102: Cannot stop endpoint in state UNDEFINED: jboss.ws:context=,endpoint=ProfileMgmtBean
18:36:43,452 ERROR [.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."jaxws-retail.war".INSTALL: .jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-retail.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "jaxws-retail.war"
at [email protected]//.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
at [email protected]//.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617)
at [email protected]//.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580)
at [email protected]//.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438)
at [email protected]//.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at [email protected]//.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit."jaxws-retail.war".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered
at [email protected]//.wildfly.extension.undertow.deployment.UndertowDeploymentProcessor.deploy(UndertowDeploymentProcessor.java:397)
at [email protected]//.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
... 8 more
18:36:43,459 ERROR [.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "jaxws-retail.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-retail.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-retail.war\"
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit.\"jaxws-retail.war\".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"jaxws-retail.war\".beanmanager",
"jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"service jboss.deployment.unit.\"jaxws-retail.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]",
"service jboss.deployment.unit.\"jaxws-retail.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService, jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]"
]
}
18:36:43,461 ERROR [.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "jaxws-retail.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-retail.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-retail.war\"
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit.\"jaxws-retail.war\".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"jaxws-retail.war\".beanmanager",
"jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"service jboss.deployment.unit.\"jaxws-retail.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]",
"service jboss.deployment.unit.\"jaxws-retail.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService, jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]"
]
}
18:36:43,463 ERROR [.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "jaxws-retail.war" was rolled back with the following failure message:
{
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-retail.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-retail.war\"
Caused by: .jboss.msc.service.DuplicateServiceException: WFLYUT0105: Host and context path are occupied, service jboss.deployment.unit.\"jaxws-retail.war\".undertow-deployment.UndertowDeploymentInfoService can't be registered. Message was: Service .wildfly.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService is already registered"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"jaxws-retail.war\".beanmanager",
"jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"service jboss.deployment.unit.\"jaxws-retail.war\".batch.artifact.factory is missing [jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]",
"service jboss.deployment.unit.\"jaxws-retail.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"jaxws-retail.war\".WeldStartService, jboss.deployment.unit.\"jaxws-retail.war\".beanmanager]"
]
}
18:36:43,479 INFO [.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment jaxws-retail.war (runtime-name: jaxws-retail.war) in 16ms
18:38:32,438 INFO [.jboss.as.repository] (ServerService Thread Pool -- 41) WFLYDR0009: Content /home/xxx/java/wildfly-35.0.1.Final/standalone/data/content/a4/bda91d594a7e11adbc9b6d7031dd6b24c5d470 is obsolete and will be removed
18:38:32,450 INFO [.jboss.as.repository] (ServerService Thread Pool -- 41) WFLYDR0002: Content removed from location /home/xxx/java/wildfly-35.0.1.Final/standalone/data/content/a4/bda91d594a7e11adbc9b6d7031dd6b24c5d470/content
also getting error DiscountResponse cannot be resolved to a type. is this missing something?
Share Improve this question asked 2 days ago ZeusZeus 591 gold badge1 silver badge4 bronze badges 1- How are you building and deploying the example? – James R. Perkins Commented yesterday
1 Answer
Reset to default 1I was building using the WildFly Jboss ToolKit plugin in VS Code. anyways i was able to resolve by editing the config server and removing older deployments. Also fot I had to use wsimport. Thanks