5 Replies Latest reply on Apr 5, 2017 9:59 AM by Jon Sh

    Missing dependencies

    Jon Sh Newbie

      Hi!

      I have started learning JavaEE but I have problems when i try to use CDI. I have tried doing examples from video tutorials and even downloading examples (in which i have changed only libraries i.e. jre1.75 to 1.8). In browser i get 404 not found.

       

      Also, please move to the correct forum, I am not sure where to post it.

       

      Here is an error example (from server.log):

       

      2017-02-22 09:30:46,351 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final

      2017-02-22 09:30:50,975 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

      2017-02-22 09:30:51,296 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting

      2017-02-22 09:30:51,411 DEBUG [org.jboss.as.config] (MSC service thread 1-1) Configured system properties:

        awt.toolkit = sun.awt.windows.WToolkit

        file.encoding = Cp1252

        file.encoding.pkg = sun.io

        file.separator = \

        java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment

        java.awt.headless = true

        java.awt.printerjob = sun.awt.windows.WPrinterJob

        java.class.path = C:\wildfly\jboss-modules.jar

        java.class.version = 52.0

        java.endorsed.dirs = C:\Program Files\Java\jdk8_121\lib\endorsed

        java.ext.dirs = C:\Program Files\Java\jdk8_121\lib\ext;C:\WINDOWS\Sun\Java\lib\ext

        java.home = C:\Program Files\Java\jdk8_121

        java.io.tmpdir = C:\Users\idiot\AppData\Local\Temp\

        java.library.path = C:\Program Files\Java\jdk8_121\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native;C:/Program Files/Java/jdk1.8.0_121/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_121/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_121/bin/../jre/lib/amd64;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Users\idiot\AppData\Local\Microsoft\WindowsApps;;C:\eclipse;;.

        java.net.preferIPv4Stack = true

        java.runtime.name = Java(TM) SE Runtime Environment

        java.runtime.version = 1.8.0_121-b13

        java.specification.name = Java Platform API Specification

        java.specification.vendor = Oracle Corporation

        java.specification.version = 1.8

        java.util.logging.manager = org.jboss.logmanager.LogManager

        java.vendor = Oracle Corporation

        java.vendor.url = http://java.oracle.com/

        java.vendor.url.bug = http://bugreport.sun.com/bugreport/

        java.version = 1.8.0_121

        java.vm.info = mixed mode

        java.vm.name = Java HotSpot(TM) 64-Bit Server VM

        java.vm.specification.name = Java Virtual Machine Specification

        java.vm.specification.vendor = Oracle Corporation

        java.vm.specification.version = 1.8

        java.vm.vendor = Oracle Corporation

        java.vm.version = 25.121-b13

        javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder

        javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory

        javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory

        javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory

        javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory

        javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory

        javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory

        javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory

        javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory

        javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory

        jboss.bind.address = localhost

        jboss.bind.address.management = localhost

        jboss.home.dir = C:\wildfly

        jboss.host.name = desktop-eqpest0

        jboss.modules.dir = C:\wildfly\modules

        jboss.modules.system.pkgs = org.jboss.byteman

        jboss.node.name = desktop-eqpest0

        jboss.qualified.host.name = desktop-eqpest0

        jboss.server.base.dir = C:\wildfly\standalone

        jboss.server.config.dir = C:\wildfly\standalone\configuration

        jboss.server.data.dir = C:\wildfly\standalone\data

        jboss.server.deploy.dir = C:\wildfly\standalone\data\content

        jboss.server.log.dir = C:\wildfly\standalone\log

        jboss.server.name = desktop-eqpest0

        jboss.server.persist.config = true

        jboss.server.temp.dir = C:\wildfly\standalone\tmp

        line.separator =

       

       

        logging.configuration = file:/C:/wildfly/standalone/configuration/logging.properties

        module.path = C:/wildfly/modules

        org.jboss.boot.log.file = C:/wildfly/standalone/log/boot.log

        org.jboss.logmanager.nocolor = true

        org.jboss.resolver.warning = true

        org.xml.sax.driver = __redirected.__XMLReaderFactory

        os.arch = amd64

        os.name = Windows 10

        os.version = 10.0

        path.separator = ;

        program.name = JBossTools: WildFly 10.x

        sun.arch.data.model = 64

        sun.boot.class.path = C:\Program Files\Java\jdk8_121\lib\resources.jar;C:\Program Files\Java\jdk8_121\lib\rt.jar;C:\Program Files\Java\jdk8_121\lib\sunrsasign.jar;C:\Program Files\Java\jdk8_121\lib\jsse.jar;C:\Program Files\Java\jdk8_121\lib\jce.jar;C:\Program Files\Java\jdk8_121\lib\charsets.jar;C:\Program Files\Java\jdk8_121\lib\jfr.jar;C:\Program Files\Java\jdk8_121\classes

        sun.boot.library.path = C:\Program Files\Java\jdk8_121\bin

        sun.cpu.endian = little

        sun.cpu.isalist = amd64

        sun.desktop = windows

        sun.io.unicode.encoding = UnicodeLittle

        sun.java.command = org.jboss.modules.Main -mp C:/wildfly/modules org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=C:\wildfly\standalone

        sun.java.launcher = SUN_STANDARD

        sun.jnu.encoding = Cp1252

        sun.management.compiler = HotSpot 64-Bit Tiered Compilers

        sun.os.patch.level =

        sun.rmi.dgc.client.gcInterval = 3600000

        sun.rmi.dgc.server.gcInterval = 3600000

        user.country = US

        user.dir = C:\wildfly\bin

        user.home = C:\Users\idiot

        user.language = en

        user.name = idiot

        user.script =

        user.timezone = Europe/Prague

        user.variant =

      2017-02-22 09:30:51,437 DEBUG [org.jboss.as.config] (MSC service thread 1-1) VM Arguments: -Dprogram.name=JBossTools: WildFly 10.x -Xms64m -Xmx512m -Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=C:/wildfly/standalone/log/boot.log -Dlogging.configuration=file:/C:/wildfly/standalone/configuration/logging.properties -Djboss.home.dir=C:/wildfly -Dorg.jboss.logmanager.nocolor=true -Djboss.bind.address.management=localhost -Dfile.encoding=Cp1252

      2017-02-22 09:31:21,363 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found secondCDI.war in deployment directory. To trigger deployment create a file called secondCDI.war.dodeploy

      2017-02-22 09:31:21,712 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

      2017-02-22 09:31:21,965 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.4.0.Final

      2017-02-22 09:31:21,984 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.4.0.Final

      2017-02-22 09:31:28,735 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 47) WFLYCLINF0001: Activating Infinispan subsystem.

      2017-02-22 09:31:28,692 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 63) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

      2017-02-22 09:31:28,795 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 62) WFLYSEC0002: Activating Security Subsystem

      2017-02-22 09:31:28,853 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 53) WFLYJSF0007: Activated the following JSF Implementations: [main]

      2017-02-22 09:31:28,895 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 65) WFLYWS0002: Activating WebServices Extension

      2017-02-22 09:31:28,907 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 46) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors

      2017-02-22 09:31:29,160 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.6.Final

      2017-02-22 09:31:29,169 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 55) WFLYNAM0001: Activating Naming Subsystem

      2017-02-22 09:31:31,227 INFO  [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)

      2017-02-22 09:31:31,684 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 42) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      2017-02-22 09:31:32,086 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.4.0.Final starting

      2017-02-22 09:31:32,177 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2

      2017-02-22 09:31:32,766 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 64) WFLYUT0014: Creating file handler for path 'C:\wildfly/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']

      2017-02-22 09:31:34,087 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 4.0.21.Final

      2017-02-22 09:31:34,126 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.

      2017-02-22 09:31:34,132 INFO  [org.jboss.as.naming] (MSC service thread 1-4) WFLYNAM0003: Starting Naming Service

      2017-02-22 09:31:34,146 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting

      2017-02-22 09:31:34,187 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

      2017-02-22 09:31:35,061 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 8 (per class), which is derived from the number of CPUs on this host.

      2017-02-22 09:31:35,063 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 32 (per class), which is derived from thread worker pool sizing.

      2017-02-22 09:31:35,483 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

      2017-02-22 09:31:36,397 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

      2017-02-22 09:31:40,085 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final

      2017-02-22 09:31:40,414 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore C:\wildfly\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost

      2017-02-22 09:31:40,624 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) WFLYDS0013: Started FileSystemDeploymentService for directory C:\wildfly\standalone\deployments

      2017-02-22 09:31:40,680 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 68) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 09:31:40,727 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 71) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 09:31:40,728 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 70) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 09:31:40,732 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 70) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 09:31:40,740 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 71) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 09:31:40,743 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 68) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 09:31:40,828 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "secondCDI.war" (runtime-name: "secondCDI.war")

      2017-02-22 09:31:42,177 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

        at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:273)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

       

       

      2017-02-22 09:31:44,701 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443

      2017-02-22 09:31:53,413 INFO  [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6)

      2017-02-22 09:32:00,465 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment secondCDI.war

      2017-02-22 09:32:03,439 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-3) HV000001: Hibernate Validator 5.2.4.Final

      2017-02-22 09:32:04,935 INFO  [org.jboss.weld.Version] (MSC service thread 1-3) WELD-000900: 2.3.5 (Final)

      2017-02-22 09:32:12,796 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 84) Initializing Mojarra 2.2.13.SP1 20160303-1204 for context '/secondCDI'

      2017-02-22 09:32:22,584 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 84) WFLYUT0021: Registered web context: /secondCDI

      2017-02-22 09:32:22,720 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("core-service" => "management"),

          ("management-interface" => "http-interface")

      ]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.serverManagement.controller.management.http" => "org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.serverManagement.controller.management.http"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-02-22 09:32:24,673 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 43) WFLYSRV0010: Deployed "secondCDI.war" (runtime-name : "secondCDI.war")

      2017-02-22 09:32:24,678 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

       

       

      2017-02-22 09:32:25,641 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled

      2017-02-22 09:32:25,643 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled

      2017-02-22 09:32:25,643 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 102841ms - Started 429 of 681 services (2 services failed or missing dependencies, 404 services are lazy, passive or on-demand)

      2017-02-22 09:51:54,843 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found ThirdDWP.war in deployment directory. To trigger deployment create a file called ThirdDWP.war.dodeploy

      2017-02-22 09:51:54,899 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "ThirdDWP.war" (runtime-name: "ThirdDWP.war")

      2017-02-22 09:51:55,175 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for ThirdDWP

      2017-02-22 09:51:55,684 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "ThirdDWP.war"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

      Caused by: javax.persistence.PersistenceException: WFLYJPA0057: PersistenceProvider 'org.eclipse.persistence.jpa.PersistenceProvider' not found

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.lookupProvider(PersistenceUnitServiceHandler.java:1009)

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:270)

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleWarDeployment(PersistenceUnitServiceHandler.java:203)

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:131)

        at org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:52)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

        ... 5 more

       

       

      2017-02-22 09:51:55,687 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ThirdDWP.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ThirdDWP.war\".FIRST_MODULE_USE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ThirdDWP.war\".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment \"ThirdDWP.war\"

          Caused by: javax.persistence.PersistenceException: WFLYJPA0057: PersistenceProvider 'org.eclipse.persistence.jpa.PersistenceProvider' not found"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"ThirdDWP.war\".FIRST_MODULE_USE"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-02-22 09:51:57,428 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "ThirdDWP.war" (runtime-name : "ThirdDWP.war")

      2017-02-22 09:51:57,429 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

            service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "ThirdDWP.war"

       

       

      2017-02-22 10:03:46,365 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found SecondDWP.war in deployment directory. To trigger deployment create a file called SecondDWP.war.dodeploy

      2017-02-22 10:03:46,399 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "SecondDWP.war" (runtime-name: "SecondDWP.war")

      2017-02-22 10:03:46,731 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment SecondDWP.war

      2017-02-22 10:03:46,854 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-3) WFLYEJB0473: JNDI bindings for session bean named 'SentenceTranslator' in deployment unit 'deployment "SecondDWP.war"' are as follows:

       

       

        java:global/SecondDWP/SentenceTranslator!local.Translator

        java:app/SecondDWP/SentenceTranslator!local.Translator

        java:module/SentenceTranslator!local.Translator

        java:global/SecondDWP/SentenceTranslator

        java:app/SecondDWP/SentenceTranslator

        java:module/SentenceTranslator

       

       

      2017-02-22 10:03:47,663 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 86) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:03:47,668 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 86) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:03:50,865 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 87) WFLYCLINF0002: Started client-mappings cache from ejb container

      2017-02-22 10:03:52,457 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."SecondDWP.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."SecondDWP.war".WeldStartService: Failed to start service

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type ToBeInjected with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject FirstServlet.inj

        at FirstServlet.inj(FirstServlet.java:0)

       

       

        at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)

        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)

        at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)

        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:155)

        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)

        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)

        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

        at org.jboss.threads.JBossThread.run(JBossThread.java:320)

       

       

      2017-02-22 10:03:52,474 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "SecondDWP.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"SecondDWP.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"SecondDWP.war\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type ToBeInjected with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject FirstServlet.inj

        at FirstServlet.inj(FirstServlet.java:0)

      "},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"SecondDWP.war\".WeldStartService"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-02-22 10:03:53,156 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "SecondDWP.war" (runtime-name : "SecondDWP.war")

      2017-02-22 10:03:53,158 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

            service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "ThirdDWP.war"

            service jboss.deployment.unit."SecondDWP.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."SecondDWP.war".WeldStartService: Failed to start service

       

       

      2017-02-22 10:06:45,567 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final

      2017-02-22 10:06:48,354 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

      2017-02-22 10:06:48,840 INFO  [org.jboss.as] (MSC service thread 1-3) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting

      2017-02-22 10:06:48,849 DEBUG [org.jboss.as.config] (MSC service thread 1-3) Configured system properties:

        awt.toolkit = sun.awt.windows.WToolkit

        file.encoding = Cp1252

        file.encoding.pkg = sun.io

        file.separator = \

        java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment

        java.awt.headless = true

        java.awt.printerjob = sun.awt.windows.WPrinterJob

        java.class.path = C:\wildfly\jboss-modules.jar

        java.class.version = 52.0

        java.endorsed.dirs = C:\Program Files\Java\jdk8_121\lib\endorsed

        java.ext.dirs = C:\Program Files\Java\jdk8_121\lib\ext;C:\WINDOWS\Sun\Java\lib\ext

        java.home = C:\Program Files\Java\jdk8_121

        java.io.tmpdir = C:\Users\idiot\AppData\Local\Temp\

        java.library.path = C:\Program Files\Java\jdk8_121\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native;C:/Program Files/Java/jdk1.8.0_121/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_121/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_121/bin/../jre/lib/amd64;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Users\idiot\AppData\Local\Microsoft\WindowsApps;;C:\eclipse;;.

        java.net.preferIPv4Stack = true

        java.runtime.name = Java(TM) SE Runtime Environment

        java.runtime.version = 1.8.0_121-b13

        java.specification.name = Java Platform API Specification

        java.specification.vendor = Oracle Corporation

        java.specification.version = 1.8

        java.util.logging.manager = org.jboss.logmanager.LogManager

        java.vendor = Oracle Corporation

        java.vendor.url = http://java.oracle.com/

        java.vendor.url.bug = http://bugreport.sun.com/bugreport/

        java.version = 1.8.0_121

        java.vm.info = mixed mode

        java.vm.name = Java HotSpot(TM) 64-Bit Server VM

        java.vm.specification.name = Java Virtual Machine Specification

        java.vm.specification.vendor = Oracle Corporation

        java.vm.specification.version = 1.8

        java.vm.vendor = Oracle Corporation

        java.vm.version = 25.121-b13

        javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder

        javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory

        javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory

        javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory

        javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory

        javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory

        javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory

        javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory

        javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory

        javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory

        jboss.bind.address = localhost

        jboss.bind.address.management = localhost

        jboss.home.dir = C:\wildfly

        jboss.host.name = desktop-eqpest0

        jboss.modules.dir = C:\wildfly\modules

        jboss.modules.system.pkgs = org.jboss.byteman

        jboss.node.name = desktop-eqpest0

        jboss.qualified.host.name = desktop-eqpest0

        jboss.server.base.dir = C:\wildfly\standalone

        jboss.server.config.dir = C:\wildfly\standalone\configuration

        jboss.server.data.dir = C:\wildfly\standalone\data

        jboss.server.deploy.dir = C:\wildfly\standalone\data\content

        jboss.server.log.dir = C:\wildfly\standalone\log

        jboss.server.name = desktop-eqpest0

        jboss.server.persist.config = true

        jboss.server.temp.dir = C:\wildfly\standalone\tmp

        line.separator =

       

       

        logging.configuration = file:/C:/wildfly/standalone/configuration/logging.properties

        module.path = C:/wildfly/modules

        org.jboss.boot.log.file = C:/wildfly/standalone/log/boot.log

        org.jboss.logmanager.nocolor = true

        org.jboss.resolver.warning = true

        org.xml.sax.driver = __redirected.__XMLReaderFactory

        os.arch = amd64

        os.name = Windows 10

        os.version = 10.0

        path.separator = ;

        program.name = JBossTools: WildFly 10.x

        sun.arch.data.model = 64

        sun.boot.class.path = C:\Program Files\Java\jdk8_121\lib\resources.jar;C:\Program Files\Java\jdk8_121\lib\rt.jar;C:\Program Files\Java\jdk8_121\lib\sunrsasign.jar;C:\Program Files\Java\jdk8_121\lib\jsse.jar;C:\Program Files\Java\jdk8_121\lib\jce.jar;C:\Program Files\Java\jdk8_121\lib\charsets.jar;C:\Program Files\Java\jdk8_121\lib\jfr.jar;C:\Program Files\Java\jdk8_121\classes

        sun.boot.library.path = C:\Program Files\Java\jdk8_121\bin

        sun.cpu.endian = little

        sun.cpu.isalist = amd64

        sun.desktop = windows

        sun.io.unicode.encoding = UnicodeLittle

        sun.java.command = org.jboss.modules.Main -mp C:/wildfly/modules org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=C:\wildfly\standalone

        sun.java.launcher = SUN_STANDARD

        sun.jnu.encoding = Cp1252

        sun.management.compiler = HotSpot 64-Bit Tiered Compilers

        sun.os.patch.level =

        sun.rmi.dgc.client.gcInterval = 3600000

        sun.rmi.dgc.server.gcInterval = 3600000

        user.country = US

        user.dir = C:\wildfly\bin

        user.home = C:\Users\idiot

        user.language = en

        user.name = idiot

        user.script =

        user.timezone = Europe/Prague

        user.variant =

      2017-02-22 10:06:48,853 DEBUG [org.jboss.as.config] (MSC service thread 1-3) VM Arguments: -Dprogram.name=JBossTools: WildFly 10.x -Xms64m -Xmx512m -Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=C:/wildfly/standalone/log/boot.log -Dlogging.configuration=file:/C:/wildfly/standalone/configuration/logging.properties -Djboss.home.dir=C:/wildfly -Dorg.jboss.logmanager.nocolor=true -Djboss.bind.address.management=localhost -Dfile.encoding=Cp1252

      2017-02-22 10:07:22,081 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment SecondDWP.war

      2017-02-22 10:07:22,248 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment ThirdDWP.war

      2017-02-22 10:07:22,263 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found SecondDWP.war in deployment directory. To trigger deployment create a file called SecondDWP.war.dodeploy

      2017-02-22 10:07:22,264 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found secondCDI.war in deployment directory. To trigger deployment create a file called secondCDI.war.dodeploy

      2017-02-22 10:07:22,265 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found ThirdDWP.war in deployment directory. To trigger deployment create a file called ThirdDWP.war.dodeploy

      2017-02-22 10:07:22,359 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

      2017-02-22 10:07:22,533 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.4.0.Final

      2017-02-22 10:07:22,601 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.4.0.Final

      2017-02-22 10:07:23,017 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 61) WFLYNAM0001: Activating Naming Subsystem

      2017-02-22 10:07:23,040 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 53) WFLYCLINF0001: Activating Infinispan subsystem.

      2017-02-22 10:07:23,004 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 69) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

      2017-02-22 10:07:23,139 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 71) WFLYWS0002: Activating WebServices Extension

      2017-02-22 10:07:23,158 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 68) WFLYSEC0002: Activating Security Subsystem

      2017-02-22 10:07:23,219 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 59) WFLYJSF0007: Activated the following JSF Implementations: [main]

      2017-02-22 10:07:23,316 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 52) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors

      2017-02-22 10:07:25,581 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 48) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      2017-02-22 10:07:26,909 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 70) WFLYUT0014: Creating file handler for path 'C:\wildfly/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']

      2017-02-22 10:07:27,935 INFO  [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)

      2017-02-22 10:07:28,171 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.6.Final

      2017-02-22 10:07:28,175 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0003: Undertow 1.4.0.Final starting

      2017-02-22 10:07:28,200 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 8 (per class), which is derived from the number of CPUs on this host.

      2017-02-22 10:07:28,202 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 32 (per class), which is derived from thread worker pool sizing.

      2017-02-22 10:07:28,208 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2

      2017-02-22 10:07:28,210 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service

      2017-02-22 10:07:28,344 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

      2017-02-22 10:07:28,750 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.21.Final

      2017-02-22 10:07:28,815 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.

      2017-02-22 10:07:29,089 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting

      2017-02-22 10:07:29,351 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

      2017-02-22 10:07:31,038 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final

      2017-02-22 10:07:31,261 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore C:\wildfly\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost

      2017-02-22 10:07:31,304 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) WFLYDS0013: Started FileSystemDeploymentService for directory C:\wildfly\standalone\deployments

      2017-02-22 10:07:31,329 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "SecondDWP.war" (runtime-name: "SecondDWP.war")

      2017-02-22 10:07:31,338 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "ThirdDWP.war" (runtime-name: "ThirdDWP.war")

      2017-02-22 10:07:31,339 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "secondCDI.war" (runtime-name: "secondCDI.war")

      2017-02-22 10:07:31,420 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 80) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:31,439 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 78) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:31,441 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 78) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:31,448 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 80) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:31,451 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 77) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:31,453 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 77) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:32,468 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

        at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:273)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

       

       

      2017-02-22 10:07:32,477 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

      2017-02-22 10:07:33,770 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443

      2017-02-22 10:07:39,723 INFO  [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6)

      2017-02-22 10:07:40,435 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for ThirdDWP

      2017-02-22 10:07:42,328 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "ThirdDWP.war"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

      Caused by: javax.persistence.PersistenceException: WFLYJPA0057: PersistenceProvider 'org.eclipse.persistence.jpa.PersistenceProvider' not found

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.lookupProvider(PersistenceUnitServiceHandler.java:1009)

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:270)

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleWarDeployment(PersistenceUnitServiceHandler.java:203)

        at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:131)

        at org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:52)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

        ... 5 more

       

       

      2017-02-22 10:07:43,492 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment secondCDI.war

      2017-02-22 10:07:43,492 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment SecondDWP.war

      2017-02-22 10:07:44,961 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-4) HV000001: Hibernate Validator 5.2.4.Final

      2017-02-22 10:07:45,470 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'SentenceTranslator' in deployment unit 'deployment "SecondDWP.war"' are as follows:

       

       

        java:global/SecondDWP/SentenceTranslator!local.Translator

        java:app/SecondDWP/SentenceTranslator!local.Translator

        java:module/SentenceTranslator!local.Translator

        java:global/SecondDWP/SentenceTranslator

        java:app/SecondDWP/SentenceTranslator

        java:module/SentenceTranslator

       

       

      2017-02-22 10:07:46,131 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 74) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:46,134 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 74) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      2017-02-22 10:07:46,213 INFO  [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 2.3.5 (Final)

      2017-02-22 10:07:49,191 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 74) WFLYCLINF0002: Started client-mappings cache from ejb container

      2017-02-22 10:07:51,962 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."SecondDWP.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."SecondDWP.war".WeldStartService: Failed to start service

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type ToBeInjected with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject FirstServlet.inj

        at FirstServlet.inj(FirstServlet.java:0)

       

       

        at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)

        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)

        at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)

        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:155)

        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)

        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)

        at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)

        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)

        at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

        at org.jboss.threads.JBossThread.run(JBossThread.java:320)

       

       

      2017-02-22 10:07:53,452 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 84) Initializing Mojarra 2.2.13.SP1 20160303-1204 for context '/secondCDI'

      2017-02-22 10:07:55,967 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 84) WFLYUT0021: Registered web context: /secondCDI

      2017-02-22 10:07:55,983 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("core-service" => "management"),

          ("management-interface" => "http-interface")

      ]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.serverManagement.controller.management.http" => "org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.serverManagement.controller.management.http"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-02-22 10:07:55,991 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "SecondDWP.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"SecondDWP.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"SecondDWP.war\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type ToBeInjected with qualifiers @Default

        at injection point [BackedAnnotatedField] @Inject FirstServlet.inj

        at FirstServlet.inj(FirstServlet.java:0)

      "},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"SecondDWP.war\".WeldStartService"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-02-22 10:07:55,992 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ThirdDWP.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ThirdDWP.war\".FIRST_MODULE_USE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ThirdDWP.war\".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment \"ThirdDWP.war\"

          Caused by: javax.persistence.PersistenceException: WFLYJPA0057: PersistenceProvider 'org.eclipse.persistence.jpa.PersistenceProvider' not found"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"ThirdDWP.war\".FIRST_MODULE_USE"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-02-22 10:07:56,681 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 49) WFLYSRV0010: Deployed "ThirdDWP.war" (runtime-name : "ThirdDWP.war")

      2017-02-22 10:07:56,682 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 49) WFLYSRV0010: Deployed "SecondDWP.war" (runtime-name : "SecondDWP.war")

      2017-02-22 10:07:56,682 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 49) WFLYSRV0010: Deployed "secondCDI.war" (runtime-name : "secondCDI.war")

      2017-02-22 10:07:56,688 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

            service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "ThirdDWP.war"

            service jboss.deployment.unit."SecondDWP.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."SecondDWP.war".WeldStartService: Failed to start service

       

       

      2017-02-22 10:07:57,444 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled

      2017-02-22 10:07:57,444 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled

      2017-02-22 10:07:57,445 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 73480ms - Started 545 of 818 services (28 services failed or missing dependencies, 417 services are lazy, passive or on-demand)

      2017-02-22 10:07:57,756 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment ThirdDWP.war (runtime-name: ThirdDWP.war) in 67ms

      2017-02-22 10:07:57,828 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment SecondDWP.war (runtime-name: SecondDWP.war) in 139ms

      2017-02-22 10:07:57,835 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) WFLYCLINF0003: Stopped client-mappings cache from ejb container

      2017-02-22 10:07:58,018 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []

      2017-02-22 10:07:58,019 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []

      2017-02-22 10:07:58,021 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0009: Undeployed "ThirdDWP.war" (runtime-name: "ThirdDWP.war")

      2017-02-22 10:07:58,022 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0009: Undeployed "SecondDWP.war" (runtime-name: "SecondDWP.war")

      2017-02-22 10:07:58,040 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report

      WFLYCTL0184:    New missing/unsatisfied dependencies:

            service jboss.deployment.unit."SecondDWP.war".WeldBootstrapService (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.WeldInstantiator, service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator, service jboss.deployment.unit."SecondDWP.war".CdiValidatorFactoryService, service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator, WFLYCTL0208: ... and 8 more ]

            service jboss.deployment.unit."SecondDWP.war".WeldStartService (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".CdiValidatorFactoryService, service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator, service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.WeldInterceptorBindingsService, service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator, WFLYCTL0208: ... and 10 more ]

            service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.START]

            service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.START]

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.START]

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.START (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".moduleDeploymentRuntimeInformationStart, service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.VIEW."local.Translator".LOCAL (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.START]

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.START]

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.WeldInstantiator]

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.START]

            service jboss.deployment.unit."SecondDWP.war".component.Servlet2.CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.Servlet2.START]

            service jboss.deployment.unit."SecondDWP.war".component.Servlet2.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component.Servlet2.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component.Servlet2.START]

            service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".START]

            service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".START]

            service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".START]

            service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".START]

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".START]

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".START]

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".CREATE (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".START]

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP, service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService, service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".START]

            service jboss.deployment.unit."SecondDWP.war".ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService]

            service jboss.deployment.unit."SecondDWP.war".jndiDependencyService (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".START, service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START, service jboss.deployment.unit."SecondDWP.war".component.Servlet2.START, service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".START, WFLYCTL0208: ... and 6 more ]

            service jboss.deployment.unit."SecondDWP.war".moduleDeploymentRuntimeInformation (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".moduleDeploymentRuntimeInformationStart, service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.START]

            service jboss.undertow.deployment.default-server.default-host./SecondDWP (missing) dependents: [service jboss.deployment.unit."SecondDWP.war".deploymentCompleteService]

            service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP]

            service jboss.undertow.deployment.default-server.default-host./SecondDWP.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService]

            service jboss.undertow.deployment.default-server.default-host./SecondDWP.session (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService]

            service org.wildfly.request-controller.control-point."SecondDWP.war".undertow (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService]

      WFLYCTL0186:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

            service jboss.deployment.unit."ThirdDWP.war".FIRST_MODULE_USE

            service jboss.deployment.unit."SecondDWP.war".WeldStartService

       

       

      2017-02-22 10:08:02,138 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found SecondDWP.war in deployment directory. To trigger deployment create a file called SecondDWP.war.dodeploy

      2017-02-22 10:08:02,139 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found ThirdDWP.war in deployment directory. To trigger deployment create a file called ThirdDWP.war.dodeploy

      2017-02-22 10:09:27,784 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 88) WFLYUT0022: Unregistered web context: /secondCDI

      2017-02-22 10:09:28,044 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment secondCDI.war (runtime-name: secondCDI.war) in 272ms

      2017-02-22 10:09:28,869 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []

      2017-02-22 10:09:28,870 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "secondCDI.war" (runtime-name: "secondCDI.war")

      2017-02-22 10:09:28,872 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

      WFLYCTL0185:    Newly corrected services:

            service jboss.deployment.unit."SecondDWP.war".WeldBootstrapService (no longer required)

            service jboss.deployment.unit."SecondDWP.war".WeldStartService (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.FirstServlet.WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.VIEW."local.Translator".LOCAL (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.WeldInterceptorBindingsService (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.SentenceTranslator.ejb.non-functional-timerservice (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.Servlet2.CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.Servlet2.START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component.Servlet2.WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.faces.webapp.FacetTag".WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".CREATE (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (no longer required)

            service jboss.deployment.unit."SecondDWP.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator (no longer required)

            service jboss.deployment.unit."SecondDWP.war".ee.ComponentRegistry (no longer required)

            service jboss.deployment.unit."SecondDWP.war".jndiDependencyService (no longer required)

            service jboss.deployment.unit."SecondDWP.war".moduleDeploymentRuntimeInformation (no longer required)

            service jboss.undertow.deployment.default-server.default-host./SecondDWP (no longer required)

            service jboss.undertow.deployment.default-server.default-host./SecondDWP.UndertowDeploymentInfoService (no longer required)

            service jboss.undertow.deployment.default-server.default-host./SecondDWP.codec (no longer required)

            service jboss.undertow.deployment.default-server.default-host./SecondDWP.session (no longer required)

            service org.wildfly.request-controller.control-point."SecondDWP.war".undertow (no longer required)

      WFLYCTL0186:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990

       

       

      2017-02-22 10:09:33,886 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found secondCDI.war in deployment directory. To trigger deployment create a file called secondCDI.war.dodeploy

        • 1. Re: Missing dependencies
          Tomaz Cerar Master

          java.net.BindException: Address already in use: bind localhost/127.0.0.1:9990"},

          you have something running on port 9990, close that app and restart server.

          • 2. Re: Missing dependencies
            Anup Dey Apprentice

            Hi,

             

             

            Below is the steps to use EclipseLink in Wildfly 10, follow and apply it:

             

            1.Copy eclipselink-2.6.1.jar into the folder /wildfly-10.0.0.Final/modules/system/layers/base/org/eclipse/persistence/main

             

            2.Edit in the same folder the module.xml-file:

            ~~~

            <resources>

                    <resource-root path="jipijapa-eclipselink-10.0.0.Final.jar"/>

                    <resource-root path="eclipselink-2.6.1.jar">

                    <filter>

                            <exclude path="javax/**" />

                    </filter>

            </resource-root>

                </resources>

            ~~~

             

            3.If you are using MySql you need to place the MySql-connector into /wildfly-10.0.0.Final/modules/system/layers/base/com/mysql/main

             

            4.In your standalone-full.xml (or standalone.xml if you are using it) you need to include your DataSources and driver:

             

            ~~~

            <subsystem xmlns="urn:jboss:domain:datasources:4.0">

              

                    <datasource jndi-name="java:/testDS" pool-name="TestDS" enabled="true">

                        <connection-url>jdbc:mysql://localhost/AdisMngmtDS</connection-url>

                        <driver>mysql</driver>

                        <security>

                            <user-name>root</user-name>

                            <password>password</password>

                        </security>

                        <validation>

              <validate-on-match>true</validate-on-match>

                            <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/>

                            <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/>

                        </validation>

                    </datasource>              

                    <drivers>

                        <driver name="h2" module="com.h2database.h2">

                           <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>

                        </driver>

                        <driver name="mysql" module="com.mysql">

                            <driver-class>com.mysql.jdbc.Driver</driver-class>

                            <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>

                        </driver>

                    </drivers>

                </datasources>

            </subsystem>

            ~~~

             

            (you should not delete the example datasource, because Wildfly needs this somehow)

             

            5.You might want to include in your standalone-full.xml

            ~~~

            <system-properties>

                <property name="eclipselink.archive.factory" value="org.jipijapa.eclipselink.JBossArchiveFactoryImpl"/>

            </system-properties>

            ~~~

             

            If you don't include this, EclipseLink will use CamelCase for table-names, etc.

             

            6.Your project shouldn't include any dependencies to Dom4J because you might run into ClassCast-Exceptions.

             

            see the link:

            https://docs.jboss.org/author/display/WFLY10/JPA+Reference+Guide#JPAReferenceGuide-UsingEclipseLink

            • 3. Re: Missing dependencies
              Jon Sh Newbie

              thanks for tips

              I am using IntelliJ, OS: Xubuntu

              I tried it and it gives the following errors:

               

              18:49:50,501 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 33) WFLYCTL0013: Operation ("add") failed - address: ([

                  ("subsystem" => "datasources"),

                  ("jdbc-driver" => "mysql")

              ]) - failure description: "WFLYJCA0041: Failed to load module for driver [com.mysql]"

               

               

               

              Followed by:

               

              18:49:51,543 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

                  ("subsystem" => "datasources"),

                  ("data-source" => "TestDS")

              ]) - failure description: {

                  "WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.mysql"],

                  "WFLYCTL0180: Services with missing/unavailable dependencies" => [

                      "org.wildfly.data-source.TestDS is missing [jboss.jdbc-driver.mysql]",

                      "jboss.driver-demander.java:/testDS is missing [jboss.jdbc-driver.mysql]"

                  ]

              }

              18:49:51,546 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

                  ("subsystem" => "datasources"),

                  ("data-source" => "TestDS")

              ]) - failure description: {

                  "WFLYCTL0412: Required services that are not installed:" => [

                      "jboss.jdbc-driver.mysql",

                      "jboss.jdbc-driver.mysql"

                  ],

                  "WFLYCTL0180: Services with missing/unavailable dependencies" => [

                      "org.wildfly.data-source.TestDS is missing [jboss.jdbc-driver.mysql]",

                      "jboss.driver-demander.java:/testDS is missing [jboss.jdbc-driver.mysql]",

                      "org.wildfly.data-source.TestDS is missing [jboss.jdbc-driver.mysql]"

                  ]

              }

              18:49:51,592 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

              WFLYCTL0184:    New missing/unsatisfied dependencies:

                    service jboss.jdbc-driver.mysql (missing) dependents: [service jboss.driver-demander.java:/testDS, service org.wildfly.data-source.TestDS]

               

              18:49:51,823 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

              18:49:51,824 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

              18:49:51,824 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 3922ms - Started 332 of 583 services (4 services failed or missing dependencies, 394 services are lazy, passive or on-demand)

              Connected to server

              [2017-04-01 06:49:52,177] Artifact FirstApp:war exploded: Artifact is being deployed, please wait...

              18:49:52,369 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "FirstApp_war_exploded" (runtime-name: "FirstApp_war_exploded.war")

              18:49:54,061 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."FirstApp_war_exploded.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."FirstApp_war_exploded.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "FirstApp_war_exploded.war"

                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

                  at java.lang.Thread.run(Thread.java:745)

              Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

                  at org.jboss.as.weld.deployment.processors.BeansXmlProcessor.parseBeansXml(BeansXmlProcessor.java:148)

                  at org.jboss.as.weld.deployment.processors.BeansXmlProcessor.deploy(BeansXmlProcessor.java:109)

                  at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

                  ... 5 more

              Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

                  at org.jboss.weld.xml.BeansXmlParser.parse(BeansXmlParser.java:124)

                  at org.jboss.as.weld.deployment.processors.BeansXmlProcessor.parseBeansXml(BeansXmlProcessor.java:144)

                  ... 7 more

              Caused by: java.io.FileNotFoundException: /home/jon/Downloads/YouTubeChannel-master/YouTubeEE_ (No such file or directory)

                  at java.io.FileInputStream.open0(Native Method)

                  at java.io.FileInputStream.open(FileInputStream.java:195)

                  at java.io.FileInputStream.<init>(FileInputStream.java:138)

                  at org.jboss.vfs.spi.RootFileSystem.openInputStream(RootFileSystem.java:51)

                  at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:318)

                  at org.jboss.vfs.protocol.VirtualFileURLConnection.getInputStream(VirtualFileURLConnection.java:62)

                  at java.net.URL.openStream(URL.java:1045)

                  at org.jboss.weld.xml.BeansXmlParser.parse(BeansXmlParser.java:101)

                  ... 8 more

               

              18:49:54,063 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "FirstApp_war_exploded")]) - failure description: {

                  "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"FirstApp_war_exploded.war\"

                  Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

                  Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

                  Caused by: java.io.FileNotFoundException: /home/jon/Downloads/YouTubeChannel-master/YouTubeEE_ (No such file or directory)"},

                  "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE"],

                  "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

              }

              18:49:54,065 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "FirstApp_war_exploded.war" was rolled back with the following failure message:

              {

                  "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"FirstApp_war_exploded.war\"

                  Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

                  Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

                  Caused by: java.io.FileNotFoundException: /home/jon/Downloads/YouTubeChannel-master/YouTubeEE_ (No such file or directory)"},

                  "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE"],

                  "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

              }

              18:49:54,085 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment FirstApp_war_exploded (runtime-name: FirstApp_war_exploded.war) in 19ms

              18:49:54,087 INFO  [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0183: Service status report

              WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."FirstApp_war_exploded.war".PARSE

               

              [2017-04-01 06:49:54,130] Artifact FirstApp:war exploded: Error during artifact deployment. See server log for details.

              [2017-04-01 06:49:54,131] Artifact FirstApp:war exploded: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FirstApp_war_exploded.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"FirstApp_war_exploded.war\"

                  Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

                  Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001201: Error loading beans.xml vfs:/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml

               

               

              Also i when i try to check connection from admin panel i can not connect:

               

               

               

              Failed to create JDBC connection.

              An internal error occurred.

              Unexpected HTTP response: 500  Request { "address" => [ ("subsystem" => "datasources"), ("data-source" => "TestDS") ], "operation" => "test-connection-in-pool" }  Response  Internal Server Error { "outcome" => "failed", "failure-description" => "WFLYJCA0040: failed to invoke operation: WFLYJCA0042: failed to match pool. Check JndiName: java:/testDS", "rolled-back" => true }
              • 4. Re: Missing dependencies
                Anup Dey Apprentice

                Hi,

                 

                The problem is java.io.FileNotFoundException: /home/jon/Downloads/YouTubeChannel-master/YouTubeEE_ (No such file or directory)"}

                "/home/jon/Downloads/YouTubeChannel-master/YouTubeEE_#3/out/artifacts/FirstApp_war_exploded/WEB-INF/beans.xml"

                 

                Either the file can't be found, or you are trying to include it from your web.xml with an ENTITY declaration. If you are trying to load beans.xml with an ENTITY declaration, then the problem is caused by a new security policy in Tomcat 7.0.59 -- blocking the loading of external entities is now the default. Context parameter xmlBlockExternal is now set to "true" by default.

                 

                You have to override this in a your context: either the main context in ~Tomcat/conf/context.xml or in your application-level context file. To override, add the param like this:

                 

                ~~~

                <Context xmlBlockExternal="false">

                ~~~

                • 5. Re: Missing dependencies
                  Jon Sh Newbie

                  Ok after i followed your steps and by looking around i was able to make it work. I made it work with eclipse-link and with mysql-connector

                   

                  Thanks

                   

                  I did not touch standalone.xml but added driver via admin panel.

                  I also understood:

                  1. that there should be 1 datasource for 1 database

                  2.user and pass that you put in datasources are the ones that you have in your xampp login.

                  3. You must write database name that you will use instead of "mysqldb" when you fill the form in admin panel.