THEODOROS CHAIKALIS created DELTASPIKE-1418:
-----------------------------------------------
Summary: BeanManagerProvider didn't implement the
javax.enterprise.inject.spi.Extension interface
Key: DELTASPIKE-1418
URL: https://issues.apache.org/jira/browse/DELTASPIKE-1418
Project: DeltaSpike
Issue Type: Bug
Security Level: public (Regular issues)
Components: Core
Affects Versions: 1.8.2
Environment: Wildfly 18.1
Deltaspike 1.8.2
Reporter: THEODOROS CHAIKALIS
Iam getting a strange error during deployment:
The scenario is: Iam trying to port the application from Weblogic 12c to
Wildfly 18.1.
The war deploys successfully on WL 12c
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYWELD0021: Service class
org.apache.deltaspike.core.api.provider.BeanManagerProvider didn't implement
the javax.enterprise.inject.spi.Extension interface
FULL ERROR STACK:
{{17:39:06,999 INFO [org.jboss.as.repository] (management-handler-thread - 1)
WFLYDR0001: Content added at location
C:\Wildfly\wildfly-18.0.1.Final\standalone\data\content\ae\a8437df71db3a6747bc93111cc195e59d7355a\content}}
{{17:39:07,004 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3)
WFLYSRV0027: Starting deployment of "ssp.webservices.process.war"
(runtime-name: "ssp.webservices.process.war")}}
{{17:39:08,786 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002:
Read persistence.xml for auditPU}}
{{17:39:08,788 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002:
Read persistence.xml for commonPU}}
{{17:39:08,791 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002:
Read persistence.xml for processPU}}
{{17:39:08,797 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002:
Read persistence.xml for registryPU}}
{{17:39:08,800 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002:
Read persistence.xml for rulesPU}}
{{17:39:09,337 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 83)
WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#auditPU'}}
{{17:39:09,337 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService
Thread Pool -- 83) HHH000204: Processing PersistenceUnitInfo [}}
{{ name: auditPU}}
{{ ...]}}
{{17:39:09,415 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 95)
WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#registryPU'}}
{{17:39:09,418 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService
Thread Pool -- 95) HHH000204: Processing PersistenceUnitInfo [}}
{{ name: registryPU}}
{{ ...]}}
{{17:39:09,417 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 96)
WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#rulesPU'}}
{{17:39:09,429 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService
Thread Pool -- 96) HHH000204: Processing PersistenceUnitInfo [}}
{{ name: rulesPU}}
{{ ...]}}
{{17:39:09,417 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 93)
WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#processPU'}}
{{17:39:09,438 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService
Thread Pool -- 93) HHH000204: Processing PersistenceUnitInfo [}}
{{ name: processPU}}
{{ ...]}}
{{17:39:09,418 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 94)
WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#commonPU'}}
{{17:39:09,447 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService
Thread Pool -- 94) HHH000204: Processing PersistenceUnitInfo [}}
{{ name: commonPU}}
{{ ...]}}
{{17:39:09,999 INFO [org.jboss.weld.deployer] (MSC service thread 1-8)
WFLYWELD0003: Processing weld deployment ssp.webservices.process.war}}
{{17:39:10,122 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8)
MSC000001: Failed to start service
jboss.deployment.unit."ssp.webservices.process.war".POST_MODULE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ssp.webservices.process.war".POST_MODULE: WFLYSRV0153:
Failed to process phase POST_MODULE of deployment
"ssp.webservices.process.war"}}
{{ at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:183)}}
{{ at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)}}
{{ at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)}}
{{ at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)}}
{{ at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)}}
{{ at
org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)}}
{{ at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)}}
{{ at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)}}
{{ at java.lang.Thread.run(Thread.java:748)}}
{{Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYWELD0021: Service class
org.apache.deltaspike.core.api.provider.BeanManagerProvider didn't implement
the javax.enterprise.inject.spi.Extension interface}}
{{ at
org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:53)}}
{{ at
org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:119)}}
{{ at
org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:79)}}
{{ at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:176)}}
{{ ... 8 more}}{{17:39:10,130 ERROR
[org.jboss.as.controller.management-operation] (management-handler-thread - 1)
WFLYCTL0013: Operation ("add") failed - address: ([("deployment" =>
"ssp.webservices.process.war")]) - failure description: {"WFLYCTL0080: Failed
services" =>
{"jboss.deployment.unit.\"ssp.webservices.process.war\".POST_MODULE" =>
"WFLYSRV0153: Failed to process phase POST_MODULE of deployment
\"ssp.webservices.process.war\"}}
{{ Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYWELD0021: Service class
org.apache.deltaspike.core.api.provider.BeanManagerProvider didn't implement
the javax.enterprise.inject.spi.Extension interface"}}}}
{{17:39:10,136 ERROR [org.jboss.as.server] (management-handler-thread - 1)
WFLYSRV0021: Deploy of deployment "ssp.webservices.process.war" was rolled back
with the following failure message:}}
{{{"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"ssp.webservices.process.war\".POST_MODULE" =>
"WFLYSRV0153: Failed to process phase POST_MODULE of deployment
\"ssp.webservices.process.war\"}}
{{ Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYWELD0021: Service class
org.apache.deltaspike.core.api.provider.BeanManagerProvider didn't implement
the javax.enterprise.inject.spi.Extension interface"}}}}
{{17:39:10,139 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 94)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#registryPU'}}
{{17:39:10,139 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 96)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#commonPU'}}
{{17:39:10,139 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 93)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#auditPU'}}
{{17:39:10,139 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 83)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#rulesPU'}}
{{17:39:10,139 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 95)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'ssp.webservices.process.war#processPU'}}
{{17:39:10,568 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8)
WFLYSRV0028: Stopped deployment ssp.webservices.process.war (runtime-name:
ssp.webservices.process.war) in 432ms}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)