7 Replies Latest reply on Nov 20, 2014 4:47 PM by Frank Langelage

    WildFly problem

    Bruno Fontainha Newbie

      Here is the log of the wildfly-8.0.0.Beta1 server

       

      Could one help me?

       

      13:21:23,400 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final
      13:21:23,712 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.0.Beta2
      13:21:23,790 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.Beta1 "WildFly" starting
      13:21:24,987 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found EEDemo-EXT.ear in deployment directory. To trigger deployment create a file called EEDemo-EXT.ear.dodeploy
      13:21:25,011 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
      13:21:25,011 INFO  [org.xnio] (MSC service thread 1-11) XNIO version 3.1.0.CR7
      13:21:25,026 INFO  [org.xnio.nio] (MSC service thread 1-11) XNIO NIO Implementation Version 3.1.0.CR7
      13:21:25,057 INFO  [org.jboss.remoting] (MSC service thread 1-11) JBoss Remoting version 4.0.0.Beta1
      13:21:25,057 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) JBAS010280: Activating Infinispan subsystem.
      13:21:25,073 INFO  [org.jboss.as.jacorb] (ServerService Thread Pool -- 37) JBAS016300: Activating JacORB Subsystem
      13:21:25,073 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 52) JBAS013171: Activating Security Subsystem
      13:21:25,073 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 47) JBAS011800: Activating Naming Subsystem
      13:21:25,089 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) JBAS015537: Activating WebServices Extension
      13:21:25,104 INFO  [org.jboss.as.security] (MSC service thread 1-5) JBAS013170: Current PicketBox version=4.0.17.SP1
      13:21:25,120 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 43) JBAS012605: Activated the following JSF Implementations: [main]
      13:21:25,120 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-13) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.0.Final)
      13:21:25,151 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) JBAS017502: Undertow 1.0.0.Beta17 starting
      13:21:25,151 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-16) JBAS017502: Undertow 1.0.0.Beta17 starting
      13:21:25,167 INFO  [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service
      13:21:25,167 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]
      13:21:25,214 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 31) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      13:21:25,214 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010417: Started Driver service with driver-name = h2
      13:21:25,370 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) JBAS017527: Creating file handler for path C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1/welcome-content
      13:21:25,386 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017525: Started server default-server.
      13:21:25,386 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017531: Host default-host starting
      13:21:25,464 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-15) JBAS017519: Undertow HTTP listener default listening on localhost/127.0.0.1:8080
      13:21:25,511 WARN  [jacorb.codeset] (MSC service thread 1-9) Warning - unknown codeset (Cp1252) - defaulting to ISO-8859-1
      13:21:25,589 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1\standalone\deployments
      13:21:25,589 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "EEDemo-EXT.ear" (runtime-name: "EEDemo-EXT.ear")
      13:21:25,604 INFO  [org.jboss.as.remoting] (MSC service thread 1-10) JBAS017100: Listening on 127.0.0.1:9999
      13:21:25,604 WARN  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
      13:21:25,620 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-14) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      13:21:25,620 INFO  [org.jboss.as.jacorb] (MSC service thread 1-9) JBAS016330: CORBA ORB Service started
      13:21:25,667 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221000: live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1\standalone\data\messagingjournal,bindingsDirectory=C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1\standalone\data\messagingbindings,largeMessagesDirectory=C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1\standalone\data\messaginglargemessages,pagingDirectory=C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1\standalone\data\messagingpaging)
      13:21:25,667 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221006: Waiting to obtain live lock
      13:21:25,714 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221013: Using NIO Journal
      13:21:25,745 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ224067: Adding protocol support CORE
      13:21:25,745 INFO  [org.jboss.as.jacorb] (MSC service thread 1-9) JBAS016328: CORBA Naming Service started
      13:21:25,761 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTClient.jar")
      13:21:25,761 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTWeb.war")
      13:21:25,761 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTEJB.jar")
      13:21:25,761 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTConnector.rar")
      13:21:25,761 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ224067: Adding protocol support AMQP
      13:21:25,776 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ224067: Adding protocol support STOMP
      13:21:25,776 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ224067: Adding protocol support STOMP_WS
      13:21:25,776 INFO  [org.jboss.ws.common.management] (MSC service thread 1-15) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.1.Final
      13:21:25,805 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221034: Waiting to obtain live lock
      13:21:25,805 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221035: Live Server Obtained live lock
      13:21:25,977 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS018210: Register web context: /hornetq-server
      13:21:26,024 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221020: Started Netty Acceptor version 3.6.6.Final-90e1eb2 127.0.0.1:5455 for CORE protocol
      13:21:26,034 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221020: Started Netty Acceptor version 3.6.6.Final-90e1eb2 127.0.0.1:5445 for CORE protocol
      13:21:26,034 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221020: Started Netty Acceptor version 3.6.6.Final-90e1eb2 org.hornetq.default.servlet:5445 for CORE protocol
      13:21:26,034 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221007: Server is now live
      13:21:26,034 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221001: HornetQ Server version 2.4.0.Beta2 (Andromedian Flyer, 123) [09fe3e38-6fdd-11e4-a15f-c7b5644196cd] 
      13:21:26,065 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 58) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory
      13:21:26,065 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 59) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      13:21:26,065 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 60) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/ServletConnectionFactory
      13:21:26,128 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) JBAS010406: Registered connection factory java:/JmsXA
      13:21:26,143 INFO  [org.jboss.as.jpa] (MSC service thread 1-9) JBAS011401: Read persistence.xml for primary
      13:21:26,159 INFO  [org.hornetq.ra] (MSC service thread 1-3) HornetQ resource adaptor started
      13:21:26,159 INFO  [org.jboss.as.connector.services.resourceadapters.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-3) IJ020002: Deployed: file://RaActivatorhornetq-ra
      13:21:26,159 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-12) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
      13:21:26,159 INFO  [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory
      13:21:26,456 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016002: Processing weld deployment EEDemo-EXT.ear
      13:21:26,534 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-1) HV000001: Hibernate Validator 5.0.1.Final
      13:21:26,659 INFO  [org.jboss.weld.deployer] (MSC service thread 1-10) JBAS016002: Processing weld deployment EEDemo-EXTConnector.rar
      13:21:26,659 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016002: Processing weld deployment EEDemo-EXTClient.jar
      13:21:26,674 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-11) MSC000001: Failed to start service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "EEDemo-EXTWeb.war" of deployment "EEDemo-EXT.ear"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1944) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1877) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_05]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_05]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]
      Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.demo.web.servlet.AsyncServlet with ClassLoader ModuleClassLoader for Module "deployment.EEDemo-EXT.ear.EEDemo-EXTWeb.war:main" from Service Module Loader
        at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
        at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
        ... 5 more
      Caused by: java.lang.NoClassDefFoundError: LManagedExecutorService;
        at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.8.0_05]
        at java.lang.Class.privateGetDeclaredFields(Class.java:2570) [rt.jar:1.8.0_05]
        at java.lang.Class.getDeclaredFields(Class.java:1903) [rt.jar:1.8.0_05]
        at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
        at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
        ... 10 more
      Caused by: java.lang.ClassNotFoundException: ManagedExecutorService from [Module "deployment.EEDemo-EXT.ear.EEDemo-EXTWeb.war:main" from Service Module Loader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final]
        ... 15 more
      
      
      13:21:26,737 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "EEDemo-EXT.ear")]) - failure description: {
          "JBAS014671: Failed services" => {"jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTWeb.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTWeb.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"EEDemo-EXTWeb.war\" of deployment \"EEDemo-EXT.ear\"
          Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.demo.web.servlet.AsyncServlet with ClassLoader ModuleClassLoader for Module \"deployment.EEDemo-EXT.ear.EEDemo-EXTWeb.war:main\" from Service Module Loader
          Caused by: java.lang.NoClassDefFoundError: LManagedExecutorService;
          Caused by: java.lang.ClassNotFoundException: ManagedExecutorService from [Module \"deployment.EEDemo-EXT.ear.EEDemo-EXTWeb.war:main\" from Service Module Loader]"},
          "JBAS014771: Services with missing/unavailable dependencies" => [
              "jboss.deployment.unit.\"EEDemo-EXT.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"EEDemo-EXT.ear\".beanmanager]",
              "jboss.persistenceunit.\"EEDemo-EXT.ear/EEDemo-EXTEJB.jar#primary\".__FIRST_PHASE__ is missing [jboss.naming.context.java.jboss.datasources.MysqlDS]"
          ]
      }
      13:21:26,768 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS018559: Deployed "EEDemo-EXT.ear" (runtime-name : "EEDemo-EXT.ear")
      13:21:26,768 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.deployment.unit."EEDemo-EXT.ear".beanmanager (missing) dependents: [service jboss.deployment.unit."EEDemo-EXT.ear".weld.weldClassIntrospector] 
            service jboss.naming.context.java.jboss.datasources.MysqlDS (missing) dependents: [service jboss.persistenceunit."EEDemo-EXT.ear/EEDemo-EXTEJB.jar#primary".__FIRST_PHASE__] 
      JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "EEDemo-EXTWeb.war" of deployment "EEDemo-EXT.ear"
      
      
      13:21:27,049 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
      13:21:27,049 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      13:21:27,060 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.Beta1 "WildFly" started (with errors) in 4024ms - Started 300 of 343 services (7 services failed or missing dependencies, 83 services are lazy, passive or on-demand)
      13:21:27,077 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTEJB.jar) in 6ms
      13:21:27,077 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTConnector.rar) in 6ms
      13:21:27,077 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTWeb.war) in 10ms
      13:21:27,077 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTClient.jar) in 11ms
      13:21:27,077 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment EEDemo-EXT.ear (runtime-name: EEDemo-EXT.ear) in 12ms
      13:21:27,124 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "EEDemo-EXT.ear" (runtime-name: "EEDemo-EXT.ear")
      13:21:27,124 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.naming.context.java.module.EEDemo-EXT.EEDemo-EXTClient (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTClient.jar".INSTALL] 
            service jboss.naming.context.java.module.EEDemo-EXT.EEDemo-EXTConnector (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTConnector.rar".INSTALL] 
            service jboss.persistenceunit."EEDemo-EXT.ear/EEDemo-EXTEJB.jar#primary".__FIRST_PHASE__ (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTEJB.jar".POST_MODULE] 
      JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".POST_MODULE
      
      
      13:21:32,062 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found EEDemo-EXT.ear in deployment directory. To trigger deployment create a file called EEDemo-EXT.ear.dodeploy
      
        • 1. Re: WildFly problem
          David Lloyd Master

          It looks like your "com.demo.web.servlet.AsyncServlet" class is referencing a non-existent class called "ManagedExecutorService" (no package name).  It's not really clear how you managed to compile against this non-existent class unless you used some messed up EE example JAR.

          • 2. Re: Re: WildFly problem
            Bruno Fontainha Newbie

            I solved that problem.

             

            In this moment the log file is the next:

             

            14:31:18,454 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-16) JNDI bindings for session bean named UpdateImportantListBean in deployment unit subdeployment "EEDemo-EXTWeb.war" of deployment "EEDemo-EXT.ear" are as follows:
            
            
              java:global/EEDemo-EXT/EEDemo-EXTWeb/UpdateImportantListBean!com.demo.app.bean.UpdateImportantListBean
              java:app/EEDemo-EXTWeb/UpdateImportantListBean!com.demo.app.bean.UpdateImportantListBean
              java:module/UpdateImportantListBean!com.demo.app.bean.UpdateImportantListBean
              java:global/EEDemo-EXT/EEDemo-EXTWeb/UpdateImportantListBean
              java:app/EEDemo-EXTWeb/UpdateImportantListBean
              java:module/UpdateImportantListBean
            
            
            14:31:18,454 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-16) JNDI bindings for session bean named ATMBean in deployment unit subdeployment "EEDemo-EXTWeb.war" of deployment "EEDemo-EXT.ear" are as follows:
            
            
              java:global/EEDemo-EXT/EEDemo-EXTWeb/ATMBean!com.demo.app.bean.ATMBean
              java:app/EEDemo-EXTWeb/ATMBean!com.demo.app.bean.ATMBean
              java:module/ATMBean!com.demo.app.bean.ATMBean
              java:global/EEDemo-EXT/EEDemo-EXTWeb/ATMBean
              java:app/EEDemo-EXTWeb/ATMBean
              java:module/ATMBean
            
            
            14:31:18,735 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "EEDemo-EXT.ear")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => [
                "jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTWeb.war\".batch is missing [jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTWeb.war\".beanmanager]",
                "jboss.deployment.unit.\"EEDemo-EXT.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"EEDemo-EXT.ear\".beanmanager]",
                "jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTWeb.war\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTWeb.war\".beanmanager]",
                "jboss.persistenceunit.\"EEDemo-EXT.ear/EEDemo-EXTEJB.jar#primary\".__FIRST_PHASE__ is missing [jboss.naming.context.java.jboss.datasources.MysqlDS]"
            ]}
            14:31:18,767 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 32) JBAS018559: Deployed "EEDemo-EXT.ear" (runtime-name : "EEDemo-EXT.ear")
            14:31:18,767 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
            JBAS014775:    New missing/unsatisfied dependencies:
                  service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".beanmanager (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".batch, service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".weld.weldClassIntrospector] 
                  service jboss.deployment.unit."EEDemo-EXT.ear".beanmanager (missing) dependents: [service jboss.deployment.unit."EEDemo-EXT.ear".weld.weldClassIntrospector] 
                  service jboss.naming.context.java.jboss.datasources.MysqlDS (missing) dependents: [service jboss.persistenceunit."EEDemo-EXT.ear/EEDemo-EXTEJB.jar#primary".__FIRST_PHASE__] 
            
            
            14:31:18,798 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
            14:31:18,798 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
            14:31:18,798 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.Beta1 "WildFly" started (with errors) in 3471ms - Started 313 of 358 services (9 services failed or missing dependencies, 83 services are lazy, passive or on-demand)
            14:31:19,001 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTConnector.rar) in 7ms
            14:31:19,001 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTEJB.jar) in 7ms
            14:31:19,012 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTClient.jar) in 11ms
            14:31:19,012 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTWeb.war) in 18ms
            14:31:19,012 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment EEDemo-EXT.ear (runtime-name: EEDemo-EXT.ear) in 19ms
            14:31:19,043 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "EEDemo-EXT.ear" (runtime-name: "EEDemo-EXT.ear")
            14:31:19,043 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
            JBAS014775:    New missing/unsatisfied dependencies:
                  service jboss.naming.context.java.module.EEDemo-EXT.EEDemo-EXTClient (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTClient.jar".INSTALL] 
                  service jboss.naming.context.java.module.EEDemo-EXT.EEDemo-EXTConnector (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTConnector.rar".INSTALL] 
                  service jboss.naming.context.java.module.EEDemo-EXT.EEDemo-EXTWeb (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTWeb.war".INSTALL] 
                  service jboss.persistenceunit."EEDemo-EXT.ear/EEDemo-EXTEJB.jar#primary".__FIRST_PHASE__ (missing) dependents: [service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTEJB.jar".POST_MODULE] 
            
            
            14:31:23,808 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found EEDemo-EXT.ear in deployment directory. To trigger deployment create a file called EEDemo-EXT.ear.dodeploy
            
            • 3. Re: WildFly problem
              Frank Langelage Master

              "is missing [jboss.naming.context.java.jboss.datasources.MysqlDS]"

              You're referencing your datasource with name java:jboss/datasources/MysqlDS.

              But either there is no datasource defined or with different jndi-name.


              • 4. Re: Re: WildFly problem
                Bruno Fontainha Newbie

                The problem is not only in  [jboss.naming.context.java.jboss.datasources.MysqlDS].

                 

                When i create a new enterprise application project with the next three files, the server give me problems too.

                 

                EJB Project

                 

                package com.demo.app.bean;
                
                public interface Auto {
                  public String info();
                }
                

                 

                package com.demo.app.bean;
                
                public class HondaAuto implements Auto{
                
                  @Override
                  public String info() {
                  return "Honda Accord Hybrid";
                  }
                }
                

                 

                Web Project

                 

                package com.demo.web.servlet;
                import java.io.PrintWriter;
                import javax.inject.Inject;
                import javax.servlet.annotation.WebServlet;
                import javax.servlet.http.HttpServlet;
                import com.demo.app.bean.Auto;
                
                
                @SuppressWarnings("serial")
                @WebServlet(urlPatterns = {"/AutoDealerServlet"})
                public class AutoDealerServlet extends HttpServlet {
                
                  @Inject
                  Auto auto;
                
                  protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) 
                  throws javax.servlet.ServletException ,java.io.IOException {
                
                  resp.setContentType("text/html;charset=UTF-8");
                        
                   PrintWriter out = resp.getWriter();
                   out.println("<!DOCTYPE html>");
                          out.println("<html>");
                          out.println("<head>");
                          out.println("<title>Injection Points : Field</title>");
                          out.println("</head>");
                          out.println("<body>");
                          out.println("<h1>Injection Points : Field</h1>");
                          out.println(auto.info());
                          out.println("</body>");
                          out.println("</html>");
                
                
                  };
                }
                

                 

                Log Server with errors

                 

                22:57:20,082 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final
                22:57:20,309 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.0.Beta2
                22:57:20,384 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.Beta1 "WildFly" starting
                22:57:21,322 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment Demo.ear
                22:57:21,332 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment EEDemo-EXT.ear
                22:57:21,408 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found Demo.ear in deployment directory. To trigger deployment create a file called Demo.ear.dodeploy
                22:57:21,408 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found EEDemo-EXT.ear in deployment directory. To trigger deployment create a file called EEDemo-EXT.ear.dodeploy
                22:57:21,424 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
                22:57:21,424 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.1.0.CR7
                22:57:21,424 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.1.0.CR7
                22:57:21,455 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 4.0.0.Beta1
                22:57:21,486 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
                22:57:21,486 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 39) JBAS012605: Activated the following JSF Implementations: [main]
                22:57:21,486 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem
                22:57:21,502 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem.
                22:57:21,518 INFO  [org.jboss.as.security] (MSC service thread 1-6) JBAS013170: Current PicketBox version=4.0.17.SP1
                22:57:21,518 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem
                22:57:21,518 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.0.Final)
                22:57:21,549 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017502: Undertow 1.0.0.Beta17 starting
                22:57:21,549 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-14) JBAS017502: Undertow 1.0.0.Beta17 starting
                22:57:21,549 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
                22:57:21,565 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-9) JBAS010417: Started Driver service with driver-name = h2
                22:57:21,596 INFO  [org.jboss.as.naming] (MSC service thread 1-16) JBAS011802: Starting Naming Service
                22:57:21,596 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-12) JBAS015400: Bound mail session [java:jboss/mail/Default]
                22:57:21,658 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017527: Creating file handler for path C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1/welcome-content
                22:57:21,674 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017525: Started server default-server.
                22:57:21,674 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-13) JBAS017531: Host default-host starting
                22:57:21,768 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017519: Undertow HTTP listener default listening on localhost/127.0.0.1:8080
                22:57:21,893 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-13) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\BrunoFontainha\Downloads\wildfly-8.0.0.Beta1\standalone\deployments
                22:57:21,908 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015876: Starting deployment of "Demo.ear" (runtime-name: "Demo.ear")
                22:57:21,908 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015876: Starting deployment of "EEDemo-EXT.ear" (runtime-name: "EEDemo-EXT.ear")
                22:57:21,908 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
                22:57:21,908 INFO  [org.jboss.as.remoting] (MSC service thread 1-10) JBAS017100: Listening on 127.0.0.1:9999
                22:57:22,002 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015876: Starting deployment of "null" (runtime-name: "DemoConnector.rar")
                22:57:22,018 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015876: Starting deployment of "null" (runtime-name: "DemoWeb.war")
                22:57:22,018 INFO  [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.1.Final
                22:57:22,049 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTWeb.war")
                22:57:22,049 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTConnector.rar")
                22:57:22,049 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTEJB.jar")
                22:57:22,049 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "null" (runtime-name: "EEDemo-EXTClient.jar")
                22:57:22,252 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."Demo.ear"."DemoWeb.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Demo.ear"."DemoWeb.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "DemoWeb.war" of deployment "Demo.ear"
                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1944) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1877) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_05]
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_05]
                  at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]
                Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.demo.web.servlet.AutoDealerServlet with ClassLoader ModuleClassLoader for Module "deployment.Demo.ear.DemoWeb.war:main" from Service Module Loader
                  at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:72) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
                  at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
                  at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:107)
                  at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:92)
                  at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:77)
                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
                  ... 5 more
                Caused by: java.lang.NoClassDefFoundError: Lcom/demo/app/bean/Auto;
                  at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.8.0_05]
                  at java.lang.Class.privateGetDeclaredFields(Class.java:2570) [rt.jar:1.8.0_05]
                  at java.lang.Class.getDeclaredFields(Class.java:1903) [rt.jar:1.8.0_05]
                  at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
                  at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:68) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
                  ... 10 more
                Caused by: java.lang.ClassNotFoundException: com.demo.app.bean.Auto from [Module "deployment.Demo.ear.DemoWeb.war:main" from Service Module Loader]
                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final]
                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final]
                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final]
                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final]
                  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final]
                  ... 15 more
                
                
                22:57:22,268 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-9) MSC000001: Failed to start service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTEJB.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTEJB.jar".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "EEDemo-EXTEJB.jar" of deployment "EEDemo-EXT.ear"
                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1944) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1877) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_05]
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_05]
                  at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]
                Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found
                  at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:668) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
                  at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:270)
                  at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:152)
                  at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:80)
                  at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:58)
                  at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81)
                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.Beta1.jar:8.0.0.Beta1]
                  ... 5 more
                
                
                22:57:22,377 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "Demo.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"Demo.ear\".\"DemoWeb.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"Demo.ear\".\"DemoWeb.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"DemoWeb.war\" of deployment \"Demo.ear\"
                    Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class com.demo.web.servlet.AutoDealerServlet with ClassLoader ModuleClassLoader for Module \"deployment.Demo.ear.DemoWeb.war:main\" from Service Module Loader
                    Caused by: java.lang.NoClassDefFoundError: Lcom/demo/app/bean/Auto;
                    Caused by: java.lang.ClassNotFoundException: com.demo.app.bean.Auto from [Module \"deployment.Demo.ear.DemoWeb.war:main\" from Service Module Loader]"}}
                22:57:22,377 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "EEDemo-EXT.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTEJB.jar\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"EEDemo-EXT.ear\".\"EEDemo-EXTEJB.jar\".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment \"EEDemo-EXTEJB.jar\" of deployment \"EEDemo-EXT.ear\"
                    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}}
                22:57:22,398 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "EEDemo-EXT.ear" (runtime-name : "EEDemo-EXT.ear")
                22:57:22,398 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 29) JBAS018559: Deployed "Demo.ear" (runtime-name : "Demo.ear")
                22:57:22,398 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
                JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTEJB.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTEJB.jar".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "EEDemo-EXTEJB.jar" of deployment "EEDemo-EXT.ear"
                      service jboss.deployment.subunit."Demo.ear"."DemoWeb.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."Demo.ear"."DemoWeb.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "DemoWeb.war" of deployment "Demo.ear"
                
                
                22:57:22,430 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
                22:57:22,430 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
                22:57:22,430 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.Beta1 "WildFly" started (with errors) in 2614ms - Started 248 of 293 services (8 services failed or missing dependencies, 68 services are lazy, passive or on-demand)
                22:57:22,644 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTEJB.jar) in 3ms
                22:57:22,644 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTConnector.rar) in 3ms
                22:57:22,644 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment null (runtime-name: DemoConnector.rar) in 5ms
                22:57:22,644 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015877: Stopped deployment null (runtime-name: DemoWeb.war) in 5ms
                22:57:22,644 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTClient.jar) in 7ms
                22:57:22,644 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015877: Stopped deployment Demo.ear (runtime-name: Demo.ear) in 8ms
                22:57:22,660 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment null (runtime-name: EEDemo-EXTWeb.war) in 15ms
                22:57:22,660 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment EEDemo-EXT.ear (runtime-name: EEDemo-EXT.ear) in 15ms
                22:57:22,675 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "EEDemo-EXT.ear" (runtime-name: "EEDemo-EXT.ear")
                22:57:22,675 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "Demo.ear" (runtime-name: "Demo.ear")
                22:57:22,675 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
                JBAS014775:    New missing/unsatisfied dependencies:
                      service jboss.naming.context.java.module.Demo.DemoConnector (missing) dependents: [service jboss.deployment.subunit."Demo.ear"."DemoConnector.rar".INSTALL] 
                JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."EEDemo-EXT.ear"."EEDemo-EXTEJB.jar".PARSE
                      service jboss.deployment.subunit."Demo.ear"."DemoWeb.war".POST_MODULE
                
                
                22:57:27,435 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found Demo.ear in deployment directory. To trigger deployment create a file called Demo.ear.dodeploy
                22:57:27,436 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found EEDemo-EXT.ear in deployment directory. To trigger deployment create a file called EEDemo-EXT.ear.dodeploy
                

                 

                Someone could help me with these problems?

                I'm in this situation a few days,

                • 5. Re: WildFly problem
                  Frank Langelage Master

                  which modules are part of your ear besides DemoWeb.war?

                  jar -tvf Demo.ear

                  Class com/demo/app/bean/Auto is somewhere in your ear?

                   

                  Other question: why are you using 8.0.0.Beta1? 8.1.0.Final is out for months.

                  • 6. Re: Re: WildFly problem
                    Bruno Fontainha Newbie

                    what is jar -tvf Demo.ear? could you explain me?

                     

                    in this link i sent you the whole project.

                     

                    http://www.filedropper.com/jeetests

                     

                    If you can see what is happening with this project, I thank you.

                     

                    I have another major project with the same problem, and to test the server I created this little project to debug the problem.

                     

                    But I can not find the solution.

                     

                    Thanks for your help.


                    .

                    • 7. Re: Re: Re: WildFly problem
                      Frank Langelage Master

                      You have to add an application.xml Demo/EarContent/META-INF. See the attached one as an example.

                      After that I could deploy the ear successfully.