]
yangju commented on WFLY-1356:
------------------------------
Above error was from CR1
kitchensink quickstart fails against WildFly
--------------------------------------------
Key: WFLY-1356
URL:
https://issues.jboss.org/browse/WFLY-1356
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CDI / Weld
Reporter: jaikiran pai
Assignee: Stuart Douglas
Fix For: 8.0.0.Alpha1
I've been updating the quickstarts to run them against WildFly. The branch is here
https://github.com/jaikiran/quickstart/commits/wildfly-upgrade.
The kitchensink quickstart application
https://github.com/jaikiran/quickstart/tree/wildfly-upgrade/kitchensink fails to deploy
with the following logs:
{code}
20:28:08,730 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016002:
Processing weld deployment jboss-as-kitchensink.war
20:28:08,734 INFO
[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC
service thread 1-4) JNDI bindings for session bean named MemberRegistration in deployment
unit deployment "jboss-as-kitchensink.war" are as follows:
java:global/jboss-as-kitchensink/MemberRegistration!org.jboss.as.quickstarts.kitchensink.service.MemberRegistration
java:app/jboss-as-kitchensink/MemberRegistration!org.jboss.as.quickstarts.kitchensink.service.MemberRegistration
java:module/MemberRegistration!org.jboss.as.quickstarts.kitchensink.service.MemberRegistration
java:global/jboss-as-kitchensink/MemberRegistration
java:app/jboss-as-kitchensink/MemberRegistration
java:module/MemberRegistration
20:28:08,862 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016005:
Starting Services for CDI deployment: jboss-as-kitchensink.war
20:28:08,895 INFO [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900 2.0.0
(CR4)
20:28:08,916 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016008:
Starting weld service for deployment jboss-as-kitchensink.war
20:28:08,917 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 58) JBAS011402:
Starting Persistence Unit Service 'jboss-as-kitchensink.war#primary'
20:28:09,029 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool
-- 58) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
20:28:09,034 INFO [org.hibernate.Version] (ServerService Thread Pool -- 58) HHH000412:
Hibernate Core {4.2.0.Final}
20:28:09,036 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 58)
HHH000206: hibernate.properties not found
20:28:09,038 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 58)
HHH000021: Bytecode provider name : javassist
20:28:09,207 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-3) Legacy deployment
metadata provided by the integrator. Certain functionality will not be available.
20:28:09,223 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool --
58) HHH000204: Processing PersistenceUnitInfo [
name: primary
...]
20:28:09,353 INFO
[org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator]
(ServerService Thread Pool -- 58) HHH000130: Instantiating explicit connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
20:28:09,517 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 58)
HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
20:28:09,520 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 58)
HHH000431: Unable to determine H2 database version, certain features may not work
20:28:09,522 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService
Thread Pool -- 58) HHH000423: Disabling contextual LOB creation as JDBC driver reported
JDBC version [3] less than 4
20:28:09,529 INFO
[org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService
Thread Pool -- 58) HHH000268: Transaction strategy:
org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
20:28:09,532 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory]
(ServerService Thread Pool -- 58) HHH000397: Using ASTQueryTranslatorFactory
20:28:09,559 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread
Pool -- 58) HV000001: Hibernate Validator 4.3.1.Final
20:28:09,765 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool
-- 58) HHH000227: Running hbm2ddl schema export
20:28:09,772 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool
-- 58) HHH000389: Unsuccessful: drop sequence hibernate_sequence
20:28:09,772 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool
-- 58) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
drop sequence hibernate_sequence [90036-168]
20:28:09,775 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool
-- 58) HHH000230: Schema export complete
20:28:10,049 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001:
Failed to start service
jboss.deployment.unit."jboss-as-kitchensink.war".WeldStartService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."jboss-as-kitchensink.war".WeldStartService: Failed to
start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1930)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_15]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_15]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [Validator] with qualifiers [@Default] at injection point
[[BackedAnnotatedField] @Inject private
org.jboss.as.quickstarts.kitchensink.rest.MemberResourceRESTService.validator]
at
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:403)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:325)
at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:177)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:208)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:519)
at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:70)
at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_15]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_15]
... 3 more
20:28:10,058 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 1) JBAS014613: Operation ("deploy") failed -
address: ([("deployment" => "jboss-as-kitchensink.war")]) - failure
description: {"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"jboss-as-kitchensink.war\".WeldStartService"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"jboss-as-kitchensink.war\".WeldStartService: Failed to
start service
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [Validator] with qualifiers [@Default] at injection point
[[BackedAnnotatedField] @Inject private
org.jboss.as.quickstarts.kitchensink.rest.MemberResourceRESTService.validator]"}}
20:28:10,063 ERROR [org.jboss.as.server] (management-handler-thread - 1) JBAS015870:
Deploy of deployment "jboss-as-kitchensink.war" was rolled back with the
following failure message:
{"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"jboss-as-kitchensink.war\".WeldStartService"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"jboss-as-kitchensink.war\".WeldStartService: Failed to
start service
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [Validator] with qualifiers [@Default] at injection point
[[BackedAnnotatedField] @Inject private
org.jboss.as.quickstarts.kitchensink.rest.MemberResourceRESTService.validator]"}}
20:28:10,069 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 58) JBAS011403:
Stopping Persistence Unit Service 'jboss-as-kitchensink.war#primary'
20:28:10,070 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool
-- 58) HHH000227: Running hbm2ddl schema export
20:28:10,072 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016009:
Stopping weld service for deployment jboss-as-kitchensink.war
20:28:10,074 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool
-- 58) HHH000230: Schema export complete
20:28:10,092 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-1) JBAS010409: Unbound data source [java:jboss/datasources/KitchensinkQuickstartDS]
20:28:10,101 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877:
Stopped deployment jboss-as-kitchensink.war (runtime-name: jboss-as-kitchensink.war) in
39ms
20:28:10,107 INFO [org.jboss.as.controller] (management-handler-thread - 1) JBAS014774:
Service status report
JBAS014775: New missing/unsatisfied dependencies:
service
jboss.deployment.unit."jboss-as-kitchensink.war".WeldBootstrapService (missing)
dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.faces.webapp.FacetTag".WeldInstantiator,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator,
service jboss.undertow.deployment.default-host./jboss-as-kitchensink, service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".WeldInstantiator,
JBAS014799: ... and 5 more ]
service jboss.deployment.unit."jboss-as-kitchensink.war".WeldStartService
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.faces.webapp.FacetTag".WeldInstantiator,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".WeldInstantiator,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator,
JBAS014799: ... and 3 more ]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.CREATE
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.VIEW."org.jboss.as.quickstarts.kitchensink.service.MemberRegistration".LOCAL
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.ejb.non-functional-timerservice
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".CREATE
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".START
(missing) dependents: [service
jboss.undertow.deployment.default-host./jboss-as-kitchensink, service
jboss.undertow.deployment.default-host./jboss-as-kitchensink.UndertowDeploymentInfoService,
service
jboss.deployment.unit."jboss-as-kitchensink.war".deploymentCompleteService]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.faces.webapp.FacetTag".CREATE
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.faces.webapp.FacetTag".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.faces.webapp.FacetTag".START
(missing) dependents: [service
jboss.undertow.deployment.default-host./jboss-as-kitchensink, service
jboss.undertow.deployment.default-host./jboss-as-kitchensink.UndertowDeploymentInfoService,
service
jboss.deployment.unit."jboss-as-kitchensink.war".deploymentCompleteService]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.faces.webapp.FacetTag".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.faces.webapp.FacetTag".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START
(missing) dependents: [service
jboss.undertow.deployment.default-host./jboss-as-kitchensink, service
jboss.undertow.deployment.default-host./jboss-as-kitchensink.UndertowDeploymentInfoService,
service
jboss.deployment.unit."jboss-as-kitchensink.war".deploymentCompleteService]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START
(missing) dependents: [service
jboss.undertow.deployment.default-host./jboss-as-kitchensink, service
jboss.undertow.deployment.default-host./jboss-as-kitchensink.UndertowDeploymentInfoService,
service
jboss.deployment.unit."jboss-as-kitchensink.war".deploymentCompleteService]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".CREATE
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".START
(missing) dependents: [service
jboss.undertow.deployment.default-host./jboss-as-kitchensink, service
jboss.undertow.deployment.default-host./jboss-as-kitchensink.UndertowDeploymentInfoService,
service
jboss.deployment.unit."jboss-as-kitchensink.war".deploymentCompleteService]
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".START]
service
jboss.deployment.unit."jboss-as-kitchensink.war".jndiDependencyService (missing)
dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".START,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".START,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START,
JBAS014799: ... and 3 more ]
service
jboss.deployment.unit."jboss-as-kitchensink.war".moduleDeploymentRuntimeInformation
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component.MemberRegistration.START]
service jboss.persistenceunit."jboss-as-kitchensink.war#primary"
(missing) dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".component."com.sun.faces.config.ConfigureListener".START,
service jboss.undertow.deployment.default-host./jboss-as-kitchensink, service
jboss.deployment.unit."jboss-as-kitchensink.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START,
service
jboss.deployment.unit."jboss-as-kitchensink.war".component."org.jboss.weld.servlet.WeldListener".START,
JBAS014799: ... and 6 more ]
service jboss.undertow.deployment.default-host./jboss-as-kitchensink (missing)
dependents: [service
jboss.deployment.unit."jboss-as-kitchensink.war".deploymentCompleteService]
service
jboss.undertow.deployment.default-host./jboss-as-kitchensink.UndertowDeploymentInfoService
(missing) dependents: [service
jboss.undertow.deployment.default-host./jboss-as-kitchensink]
JBAS014777: Services which failed to start: service
jboss.deployment.unit."jboss-as-kitchensink.war".WeldStartService
{code}
P.S: I haven't yet investigated the issue and am just guessing it might be related to
Weld, based on the exception stacktrace. At this point, I'm just filing JIRAs so that
we investigate these before our release.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: