Wildfly WFLYCTL0412 and WFLYCTL0180 very long issues

237 views
Skip to first unread message

Roberto Cisternino

unread,
Dec 21, 2020, 10:42:55 AM12/21/20
to WildFly
Hello !
someone can explain me why a simple War and a session bean are generating so many deployment issues even with no Java exceptions ?
The same code on Glassfish Payara works... but I need to work with WildFly 12, so I am a little bit lost.  I have just an explicit beans.xml 1.2 on the ejb module and that's it.
There is not a single explanation on user guides on how to interpret this kind of widlfly logs.
Thanks for your comments.

10:27:44,827 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment Portal-Home-war.war
10:27:44,842 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-3) WFLYEJB0473: JNDI bindings for session bean named 'GenericServiceBean' in deployment unit 'deployment "Portal-Home-war.war"' are as follows:

java:global/Portal-Home-war/GenericServiceBean!com.javest.ejb.GenericServiceLocal
java:app/Portal-Home-war/GenericServiceBean!com.javest.ejb.GenericServiceLocal
java:module/GenericServiceBean!com.javest.ejb.GenericServiceLocal
java:global/Portal-Home-war/GenericServiceBean
java:app/Portal-Home-war/GenericServiceBean
java:module/GenericServiceBean

10:27:44,906 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.naming.context.java.module.Portal-Home-war.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\"",
        "jboss.naming.context.java.global.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\"",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".START",
        "jboss.undertow.deployment.default-server.default-host./eb",
        "jboss.deployment.unit.\"Portal-Home-war.war\".ee.ComponentRegistry",
        "jboss.naming.context.java.app.Portal-Home-war.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\"",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".START",
        "jboss.security.security-domain.PortalSecurityDomain",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".START",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".WeldInstantiator",
        "jboss.undertow.deployment.default-server.default-host./eb.UndertowDeploymentInfoService",
        "jboss.naming.context.java.app.Portal-Home-war.Portal-Home-war.GenericServiceBean",
        "jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".START",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".WeldInstantiator",
        "jboss.naming.context.java.global.Portal-Home-war.GenericServiceBean",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".WeldInstantiator",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.WeldInterceptorBindingsService",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.CREATE",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".WeldInstantiator",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".START",
        "jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".START",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL",
        "jboss.deployment.unit.\"Portal-Home-war.war\".weld.weldClassIntrospector",
        "jboss.deployment.unit.\"Portal-Home-war.war\".moduleDeploymentRuntimeInformation",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".WeldInstantiator",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".WeldInstantiator",
        "jboss.naming.context.java.module.Portal-Home-war.Portal-Home-war.GenericServiceBean",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.JndiBindingsService",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".WeldInstantiator",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.WeldInstantiator",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.START"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".WeldInstantiator]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".WeldInstantiator, jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".CdiValidatorFactoryService is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.CREATE]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".WeldEndInitService is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.START]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".WeldInstantiator, jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.WeldInterceptorBindingsService is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".WeldInstantiator, jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".moduleDeploymentRuntimeInformationStart is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.START, jboss.deployment.unit.\"Portal-Home-war.war\".moduleDeploymentRuntimeInformation]",
        "jboss.naming.context.java.app.Portal-Home-war.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\" is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL]",
        "jboss.undertow.deployment.default-server.default-host./eb.UndertowDeploymentInfoService is missing [jboss.deployment.unit.\"Portal-Home-war.war\".ee.ComponentRegistry, jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".ee.ComponentRegistry is missing [jboss.deployment.unit.\"Portal-Home-war.war\".weld.weldClassIntrospector]",
        "jboss.undertow.deployment.default-server.default-host./eb is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".START, jboss.undertow.deployment.default-server.default-host./eb.UndertowDeploymentInfoService, jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.START]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".deploymentCompleteService is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".START, jboss.undertow.deployment.default-server.default-host./eb, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.faces.webapp.FacetTag\".START]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.JndiBindingsService is missing [jboss.naming.context.java.app.Portal-Home-war.Portal-Home-war.GenericServiceBean, jboss.naming.context.java.global.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\", jboss.naming.context.java.module.Portal-Home-war.Portal-Home-war.GenericServiceBean, jboss.naming.context.java.app.Portal-Home-war.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\", jboss.naming.context.java.global.Portal-Home-war.GenericServiceBean, jboss.naming.context.java.module.Portal-Home-war.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\"]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.CREATE is missing [jboss.security.security-domain.PortalSecurityDomain]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".WeldInstantiator, jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.JndiBindingsService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.WeldInterceptorBindingsService, jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService is missing [jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.naming.context.java.module.Portal-Home-war.Portal-Home-war.GenericServiceBean is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.sun.faces.config.ConfigureListener\".WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.WeldInstantiator, jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL, jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService, jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.CREATE, jboss.deployment.unit.\"Portal-Home-war.war\".moduleDeploymentRuntimeInformation]",
        "jboss.naming.context.java.global.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\" is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".WeldInstantiator, jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".WeldInstantiator is missing [jboss.deployment.unit.\"Portal-Home-war.war\".WeldStartService]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".START is missing [jboss.deployment.unit.\"Portal-Home-war.war\".jndiDependencyService, jboss.deployment.unit.\"Portal-Home-war.war\".component.\"com.javest.auth.LoginRouter\".WeldInstantiator]",
        "jboss.naming.context.java.global.Portal-Home-war.GenericServiceBean is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL]",
        "jboss.naming.context.java.module.Portal-Home-war.Portal-Home-war.\"GenericServiceBean!com.javest.ejb.GenericServiceLocal\" is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL]",
        "jboss.naming.context.java.app.Portal-Home-war.Portal-Home-war.GenericServiceBean is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL]",
        "jboss.deployment.unit.\"Portal-Home-war.war\".moduleDeploymentRuntimeInformation is missing [jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.VIEW.\"com.javest.ejb.GenericServiceLocal\".LOCAL, jboss.deployment.unit.\"Portal-Home-war.war\".component.GenericServiceBean.CREATE]"
    ]
}
10:27:45,030 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0016: Replaced deployment "Portal-Home-war.war" with deployment "Portal-Home-war.war"

Wolfgang

unread,
Dec 21, 2020, 4:16:37 PM12/21/20
to WildFly
Hi,

does your EJB jar or WAR file contain any other JAR files, e.g. JSF implementations?

It seems you use JSTL. I am not sure about this, but at least in an older WildFly version the JSTL implementation had to be part of your deployment to be useable, though WildFly bundles it itself ("wildfly-11.0.0.Final/modules/system/layers/base/javax/servlet/jstl/api/main/")

Hope this helps

Wolfgang
Reply all
Reply to author
Forward
0 new messages