]
Tomaz Cerar commented on WFCORE-1661:
-------------------------------------
I think more (or all) subsystem to usage of capabilities would improve this considerably.
But this is an ongoing work ever since they ware introduced in 10.
Make startup errors human readable when missing/unsatisfied
dependencies
------------------------------------------------------------------------
Key: WFCORE-1661
URL:
https://issues.jboss.org/browse/WFCORE-1661
Project: WildFly Core
Issue Type: Enhancement
Reporter: Claus Ibsen
When you run WF-Swarm you may get some errors such as missing/unsatisfied dependencies
that is hard to understand for new users to WF-Swarm.
The output is very dense as if its a stacktrace.
You should make it human readable and better understandable.
{code}
2016-07-08 11:48:22,760 INFO [org.jboss.as.controller] (main) WFLYCTL0183: Service
status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.deployment.unit."forge-web.war".WeldBootstrapService
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation".WeldInstantiator,
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator,
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator,
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator,
WFLYCTL0208: ... and 3 more ]
service jboss.deployment.unit."forge-web.war".WeldStartService (missing)
dependents: [service
jboss.deployment.unit."forge-web.war".component."org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation".WeldInstantiator,
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator,
service jboss.undertow.deployment.default-server.default-host./, service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator,
WFLYCTL0208: ... and 2 more ]
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START
(missing) dependents: [service jboss.undertow.deployment.default-server.default-host./,
service jboss.deployment.unit."forge-web.war".deploymentCompleteService]
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START
(missing) dependents: [service jboss.undertow.deployment.default-server.default-host./,
service jboss.deployment.unit."forge-web.war".deploymentCompleteService]
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]
service
jboss.deployment.unit."forge-web.war".component."org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation".START
(missing) dependents: [service jboss.undertow.deployment.default-server.default-host./,
service
jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService,
service jboss.deployment.unit."forge-web.war".deploymentCompleteService]
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".CREATE
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".START]
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".START
(missing) dependents: [service jboss.undertow.deployment.default-server.default-host./,
service jboss.deployment.unit."forge-web.war".deploymentCompleteService]
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".START]
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".CREATE
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".START]
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".START
(missing) dependents: [service jboss.undertow.deployment.default-server.default-host./,
service jboss.deployment.unit."forge-web.war".deploymentCompleteService]
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".START]
service jboss.deployment.unit."forge-web.war".jndiDependencyService
(missing) dependents: [service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldTerminalListener".START,
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START,
service
jboss.deployment.unit."forge-web.war".component."org.jboss.weld.servlet.WeldInitialListener".START,
service
jboss.deployment.unit."forge-web.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]
service jboss.undertow.deployment.default-server.default-host./ (missing)
dependents: [service
jboss.deployment.unit."forge-web.war".deploymentCompleteService]
service
jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService
(missing) dependents: [service jboss.undertow.deployment.default-server.default-host./]
service jboss.undertow.deployment.default-server.default-host./.session (missing)
dependents: [service
jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService]
WFLYCTL0186: Services which failed to start: service
jboss.deployment.unit."forge-web.war".WeldStartService
2016-07-08 11:48:22,762 ERROR [stderr] (main) Exception in thread "main"
org.wildfly.swarm.container.DeploymentException: {"WFLYCTL0080: Failed services"
=> {"jboss.deployment.unit.\"forge-web.war\".WeldStartService"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"forge-web.war\".WeldStartService: Failed to start
service
2016-07-08 11:48:22,763 ERROR [stderr] (main) Caused by:
org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a
parameterized bean class must be @Dependent: class
org.apache.cxf.jaxrs.provider.XSLTJaxbProvider"}}
2016-07-08 11:48:22,763 ERROR [stderr] (main) at
org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:159)
2016-07-08 11:48:22,763 ERROR [stderr] (main) at
org.wildfly.swarm.container.Container.deploy(Container.java:432)
2016-07-08 11:48:22,763 ERROR [stderr] (main) at
org.wildfly.swarm.Swarm.deploy(Swarm.java:122)
2016-07-08 11:48:22,763 ERROR [stderr] (main) at
org.wildfly.swarm.Swarm.deploy(Swarm.java:45)
2016-07-08 11:48:22,763 ERROR [stderr] (main) at
org.wildfly.swarm.container.Container.deploy(Container.java:416)
2016-07-08 11:48:22,764 ERROR [stderr] (main) at
org.wildfly.swarm.Swarm.deploy(Swarm.java:117)
2016-07-08 11:48:22,764 ERROR [stderr] (main) at
org.wildfly.swarm.Swarm.deploy(Swarm.java:45)
2016-07-08 11:48:22,764 ERROR [stderr] (main) at
org.wildfly.swarm.Swarm.simpleMain(Swarm.java:150)
2016-07-08 11:48:22,764 ERROR [stderr] (main) at
org.wildfly.swarm.Swarm.main(Swarm.java:141)
{code}