1 2 Previous Next 27 Replies Latest reply on May 18, 2016 1:14 PM by japochino1 Go to original post
      • 15. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
        japochino1

        I use Kurento Framework (for videocalls functionalities). So I have kurento-client artifact. This depends on kurento-jsonrpc-server and this depends on tomcat-embed-websocket > tomca-embed-core ...

         

        So I think I musn't remove this libraries. Does this means I can't deploy a kurento application in a WildFly server?

        • 16. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
          emag

          hmm, I'm not sure... Apparently you posted the problem Kurento forum. please wait for kurento guys answers.

          • 17. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
            japochino1

            Kurento guys told me: "it is possible to develop a Kurento application based on Wildfly, or any other Java Application server"

            • 18. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
              emag

              Great.

               

              I've just created kurento-jaxrpc example which has a client deployed on WildFly 10.0.0.Final.

               

              https://github.com/emag/kurento-jsonrpc-notes

               

              Though I'm new to Kurento, apparently it works fine. Please check it.

              1 of 1 people found this helpful
              • 19. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                emag

                And, kurento-jsonrpc-client doesn't depend on kurento-jsonrpc-server.

                 

                $ ./mvnw dependency:tree -pl client             

                [INFO] Scanning for projects...

                [INFO]                                                                  

                [INFO] ------------------------------------------------------------------------

                [INFO] Building kurento-jsonrpc-notes-client 1.0.0-SNAPSHOT

                [INFO] ------------------------------------------------------------------------

                [INFO]

                [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ kurento-jsonrpc-notes-client ---

                [INFO] kurento:kurento-jsonrpc-notes-client:war:1.0.0-SNAPSHOT

                [INFO] +- org.kurento:kurento-jsonrpc-client:jar:5.1.0:compile

                [INFO] |  +- org.kurento:kurento-commons:jar:5.1.0:compile

                [INFO] |  |  +- com.google.code.gson:gson:jar:2.3.1:compile

                [INFO] |  |  \- com.google.guava:guava:jar:18.0:compile

                [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.3.2:compile

                [INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.3.1:compile

                [INFO] |  |  +- commons-logging:commons-logging:jar:1.1.3:compile

                [INFO] |  |  \- commons-codec:commons-codec:jar:1.6:compile

                [INFO] |  +- org.apache.httpcomponents:fluent-hc:jar:4.3.2:compile

                [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.5:compile

                [INFO] |  +- com.woorea:keystone-client:jar:3.2.1:compile

                [INFO] |  |  +- com.woorea:openstack-client:jar:3.2.1:compile

                [INFO] |  |  +- com.woorea:keystone-model:jar:3.2.1:compile

                [INFO] |  |  \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.4:compile

                [INFO] |  |\- org.codehaus.jackson:jackson-core-asl:jar:1.9.4:compile

                [INFO] |  \- org.eclipse.jetty.websocket:websocket-client:jar:9.2.5.v20141112:compile

                [INFO] |+- org.eclipse.jetty:jetty-util:jar:9.2.5.v20141112:compile
                [INFO] |+- org.eclipse.jetty:jetty-io:jar:9.2.5.v20141112:compile
                [INFO] |\- org.eclipse.jetty.websocket:websocket-common:jar:9.2.5.v20141112:compile
                [INFO] |   \- org.eclipse.jetty.websocket:websocket-api:jar:9.2.5.v20141112:compile

                [INFO] +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec:jar:1.0.0.Final:provided

                [INFO] \- org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:1.0.0.Final:provided

                1 of 1 people found this helpful
                • 20. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                  japochino1

                  Thank you very much.

                   

                  Sorry but I'm not expert in maven.

                   

                  So, I understand I can deploy a Kurento application in a WildFly server and I could remove some tomcat libraries.

                   

                  I will go on

                  Thanks again!

                  • 21. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                    japochino1

                    I have created another project from scratch. No maven project, but a simple Java Web Application. Before adding any Framework, I start WildFly and get errors in the log:

                     

                    JAVA_OPTS already set in environment; overriding default settings with values: -Xms128m -Xmx512m -server -Dhttp.nonProxyHosts=localhost,127.0.0.1,MACJPG-2.local -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.management.http.port=9990 -Djboss.http.port=8180

                    =========================================================================

                     

                     

                      JBoss Bootstrap Environment

                     

                     

                      JBOSS_HOME: /Users/japochino/wildfly-10.0.0.Final

                     

                     

                      JAVA: /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java

                     

                     

                      JAVA_OPTS:  -Xms128m -Xmx512m -server -Dhttp.nonProxyHosts=localhost,127.0.0.1,MACJPG-2.local -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.management.http.port=9990 -Djboss.http.port=8180

                     

                     

                    =========================================================================

                     

                     

                    09:58:36,539 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final

                    09:58:36,761 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

                    09:58:36,858 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting

                    09:58:38,081 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment chp-1.1-SNAPSHOT.war

                    09:58:38,090 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found chp2.war in deployment directory. To trigger deployment create a file called chp2.war.dodeploy

                    09:58:38,090 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found chp-1.1-SNAPSHOT.war in deployment directory. To trigger deployment create a file called chp-1.1-SNAPSHOT.war.dodeploy

                    09:58:38,143 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

                    09:58:38,167 INFO  [org.xnio] (MSC service thread 1-5) XNIO version 3.3.4.Final

                    09:58:38,177 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.3.4.Final

                    09:58:38,220 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 60) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

                    09:58:38,231 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 41) WFLYCLINF0001: Activating Infinispan subsystem.

                    09:58:38,239 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 40) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors

                    09:58:38,275 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]

                    09:58:38,278 INFO  [org.wildfly.iiop.openjdk] (ServerService Thread Pool -- 42) WFLYIIOP0001: Activating IIOP Subsystem

                    09:58:38,278 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 52) WFLYNAM0001: Activating Naming Subsystem

                    09:58:38,280 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 59) WFLYSEC0002: Activating Security Subsystem

                    09:58:38,347 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 62) WFLYWS0002: Activating WebServices Extension

                    09:58:38,358 INFO  [org.jboss.as.security] (MSC service thread 1-7) WFLYSEC0001: Current PicketBox version=4.9.4.Final

                    09:58:38,432 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 4.0.18.Final

                    09:58:38,434 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

                    09:58:38,442 INFO  [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final)

                    09:58:38,443 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 1.3.15.Final starting

                    09:58:38,443 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0003: Undertow 1.3.15.Final starting

                    09:58:38,468 INFO  [org.jboss.as.naming] (MSC service thread 1-6) WFLYNAM0003: Starting Naming Service

                    09:58:38,468 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = h2

                    09:58:38,469 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

                    09:58:38,695 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0014: Creating file handler for path '/Users/japochino/wildfly-10.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']

                    09:58:38,769 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0012: Started server default-server.

                    09:58:38,772 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting

                    09:58:38,804 INFO  [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.

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

                    09:58:38,885 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8180

                    09:58:39,068 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

                    09:58:39,291 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-3) WFLYMSGAMQ0001: AIO wasn't located on this platform, it will fall back to using pure Java NIO.

                    09:58:39,308 INFO  [org.wildfly.iiop.openjdk] (MSC service thread 1-6) WFLYIIOP0009: CORBA ORB Service started

                    09:58:39,424 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "mysql-connector-java-5.1.39-bin.jar" (runtime-name: "mysql-connector-java-5.1.39-bin.jar")

                    09:58:39,429 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "chp-1.1-SNAPSHOT.war" (runtime-name: "chp-1.1-SNAPSHOT.war")

                    09:58:39,466 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) WFLYDS0013: Started FileSystemDeploymentService for directory /Users/japochino/wildfly-10.0.0.Final/standalone/deployments

                    09:58:39,603 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/Users/japochino/wildfly-10.0.0.Final/standalone/data/activemq/journal,bindingsDirectory=/Users/japochino/wildfly-10.0.0.Final/standalone/data/activemq/bindings,largeMessagesDirectory=/Users/japochino/wildfly-10.0.0.Final/standalone/data/activemq/largemessages,pagingDirectory=/Users/japochino/wildfly-10.0.0.Final/standalone/data/activemq/paging)

                    09:58:39,714 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221013: Using NIO Journal

                    09:58:40,063 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

                    09:58:40,063 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

                    09:58:40,063 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-6) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

                    09:58:40,130 INFO  [org.jboss.ws.common.management] (MSC service thread 1-5) JBWS022052: Starting JBossWS 5.1.3.Final (Apache CXF 3.1.4)

                    09:58:40,268 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE

                    09:58:40,276 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP

                    09:58:40,291 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ

                    09:58:40,294 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP

                    09:58:40,434 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                    09:58:40,436 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.fabric.jdbc.FabricMySQLDriver (version 5.1)

                    09:58:40,457 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.39-bin.jar_com.mysql.jdbc.Driver_5_1

                    09:58:40,459 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = mysql-connector-java-5.1.39-bin.jar_com.mysql.fabric.jdbc.FabricMySQLDriver_5_1

                    09:58:40,463 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:/CityHelpPointBD]

                    09:58:40,463 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0001: Bound data source [java:/CityHelpPointDS]

                    09:58:40,615 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-3) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor-throughput acceptor

                    09:58:40,615 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-4) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor acceptor

                    09:58:40,615 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-6) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor acceptor

                    09:58:40,615 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-1) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor-throughput acceptor

                    09:58:40,733 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221007: Server is now live

                    09:58:40,733 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 64) AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.1.0.wildfly-011 [nodeID=a032b6cc-12b4-11e6-a09a-a71e9d9c1940]

                    09:58:40,761 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 64) WFLYMSGAMQ0002: Bound messaging object to jndi name java:/ConnectionFactory

                    09:58:40,773 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 66) AMQ221003: trying to deploy queue jms.queue.DLQ

                    09:58:40,791 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 67) AMQ221003: trying to deploy queue jms.queue.ExpiryQueue

                    09:58:40,794 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 65) WFLYMSGAMQ0002: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

                    09:58:40,858 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0007: Registered connection factory java:/JmsXA

                    09:58:40,915 INFO  [org.apache.activemq.artemis.ra] (MSC service thread 1-4) Resource adaptor started

                    09:58:40,916 INFO  [org.jboss.as.connector.services.resourceadapters.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-4) IJ020002: Deployed: file://RaActivatoractivemq-ra

                    09:58:40,919 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0002: Bound JCA ConnectionFactory [java:/JmsXA]

                    09:58:40,919 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-4) WFLYMSGAMQ0002: Bound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory

                    09:58:42,934 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for chpPUN

                    09:58:43,132 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'chp-1.1-SNAPSHOT.war#chpPUN'

                    09:58:43,153 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 65) HHH000204: Processing PersistenceUnitInfo [

                      name: chpPUN

                      ...]

                    09:58:43,224 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 65) HHH000412: Hibernate Core {5.0.7.Final}

                    09:58:43,226 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 65) HHH000206: hibernate.properties not found

                    09:58:43,227 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 65) HHH000021: Bytecode provider name : javassist

                    09:58:43,261 INFO  [org.hibernate.orm.deprecation] (ServerService Thread Pool -- 65) HHH90000001: Found usage of deprecated setting for specifying Scanner [hibernate.ejb.resource_scanner]; use [hibernate.archive.scanner] instead

                    09:58:43,271 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 65) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}

                    09:58:43,357 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0003: Processing weld deployment chp-1.1-SNAPSHOT.war

                    09:58:43,425 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-7) HV000001: Hibernate Validator 5.2.3.Final

                    09:58:44,017 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                    09:58:44,018 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0006: Starting Services for CDI deployment: chp-1.1-SNAPSHOT.war

                    09:58:44,050 INFO  [org.jboss.weld.Version] (MSC service thread 1-8) WELD-000900: 2.3.2 (Final)

                    09:58:44,079 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = chp-1.1-SNAPSHOT.war_com.mysql.jdbc.Driver_5_1

                    09:58:44,081 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0009: Starting weld service for deployment chp-1.1-SNAPSHOT.war

                    09:58:44,231 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'chp-1.1-SNAPSHOT.war#chpPUN'

                    09:58:44,477 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 65) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

                    09:58:44,482 WARN  [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 65) HHH000431: Unable to determine H2 database version, certain features may not work

                    09:58:44,528 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 65) Envers integration enabled? : true

                    09:58:45,075 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 65) HHH000397: Using ASTQueryTranslatorFactory

                    09:58:46,604 INFO  [io.undertow.websockets.jsr] (ServerService Thread Pool -- 86) UT026003: Adding annotated server endpoint class com.alteda.chp.websockets.Mediador for path /mediador

                    09:58:46,623 INFO  [io.undertow.websockets.jsr] (ServerService Thread Pool -- 86) UT026003: Adding annotated server endpoint class com.alteda.chp.websockets.MediadorAtencion for path /mediadorAtencion

                    09:58:46,674 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 86) Spring WebApplicationInitializers detected on classpath: [org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration@7c9d71d5]

                    09:58:46,699 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 86) Initializing AtmosphereFramework

                    09:58:46,757 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 86) Inicializando Mojarra 2.2.12-jbossorg-2 20150729-1131 para el contexto '/chp'

                    09:58:48,013 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 86) Monitoring file:/Users/japochino/wildfly-10.0.0.Final/standalone/deployments/chp-1.1-SNAPSHOT.war/WEB-INF/faces-config.xml for modifications

                    09:58:48,060 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 86) Running on PrimeFaces 5.2

                    09:58:48,061 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 86) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./chp: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./chp: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)

                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                      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)

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

                    Caused by: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

                      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:231)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

                      ... 6 more

                    Caused by: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

                      at io.undertow.websockets.jsr.Bootstrap$WebSocketListener.contextInitialized(Bootstrap.java:104)

                      at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)

                      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)

                      ... 8 more

                     

                     

                    09:58:48,070 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "chp-1.1-SNAPSHOT.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./chp" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./chp: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

                        Caused by: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

                        Caused by: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer"}}

                    09:58:48,098 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "mysql-connector-java-5.1.39-bin.jar" (runtime-name : "mysql-connector-java-5.1.39-bin.jar")

                    09:58:48,099 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "chp-1.1-SNAPSHOT.war" (runtime-name : "chp-1.1-SNAPSHOT.war")

                    09:58:48,101 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

                    WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./chp: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./chp: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

                     

                     

                    09:58:48,228 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

                    09:58:48,229 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

                    09:58:48,229 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 12049ms - Started 992 of 1289 services (2 services failed or missing dependencies, 407 services are lazy, passive or on-demand)

                    09:58:48,272 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0019: Stopped Driver service with driver-name = chp-1.1-SNAPSHOT.war_com.mysql.jdbc.Driver_5_1

                    09:58:48,286 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) WFLYWELD0010: Stopping weld service for deployment chp-1.1-SNAPSHOT.war

                    09:58:48,305 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 86) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'chp-1.1-SNAPSHOT.war#chpPUN'

                    09:58:48,320 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 86) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'chp-1.1-SNAPSHOT.war#chpPUN'

                    09:58:48,374 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment chp-1.1-SNAPSHOT.war (runtime-name: chp-1.1-SNAPSHOT.war) in 108ms

                    09:58:48,487 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "chp-1.1-SNAPSHOT.war" (runtime-name: "chp-1.1-SNAPSHOT.war")

                    09:58:48,496 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

                    WFLYCTL0184:    New missing/unsatisfied dependencies:

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."com.alteda.chp.filtros.LoginFilter".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.common.core.CatchTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.common.core.ChooseTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.common.core.OtherwiseTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.common.core.RemoveTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.common.xml.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.common.xml.IfTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.common.xml.WhenTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.ForTokensTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.IfTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.ImportTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.OutTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.RedirectTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.SetTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.UrlTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.core.WhenTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.BundleTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.FormatDateTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.MessageTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseDateTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.SetBundleTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.sql.DateParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.sql.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.sql.QueryTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.sql.TransactionTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.sql.UpdateTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.xml.ExprTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.xml.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.el.xml.ParseTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.core.ForTokensTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.core.ImportTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.core.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.core.RedirectTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.core.UrlTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.core.WhenTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.BundleTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.MessageTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.sql.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.sql.QueryTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.sql.TransactionTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.sql.UpdateTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.xml.ExprTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.xml.ParamTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.xml.ParseTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tag.rt.xml.TransformTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tlv.JstlFmtTLV".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tlv.JstlSqlTLV".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.apache.taglibs.standard.tlv.JstlXmlTLV".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.atmosphere.container.Servlet30CometSupport$CometListener".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.http.server.ServletServerHttpAsyncRequestControl".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.context.request.async.StandardServletAsyncWebRequest".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.ArgumentTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.BindErrorsTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.BindTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.EscapeBodyTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.EvalTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.HtmlEscapeTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.MessageTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.ThemeTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.TransformTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.UrlTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.ButtonTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.CheckboxTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.CheckboxesTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.ErrorsTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.FormTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.HiddenInputTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.LabelTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.OptionTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.OptionsTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.PasswordInputTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.RadioButtonTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.SelectTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".component."org.springframework.web.servlet.tags.form.TextareaTag".START (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

                          service jboss.persistenceunit."chp-1.1-SNAPSHOT.war#chpPUN" (missing) dependents: [service jboss.deployment.unit."chp-1.1-SNAPSHOT.war".deploymentCompleteService]

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

                    WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./chp

                     

                     

                    09:58:53,139 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found chp-1.1-SNAPSHOT.war in deployment directory. To trigger deployment create a file called chp-1.1-SNAPSHOT.war.dodeploy

                    • 22. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                      emag

                      apparently your app includes tomcat libs.

                       

                      ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer.

                       

                      Please check WEB-INF/lib in your war and make sure not to depend on unnecessary libs. I guess you added some libraries to your app on your IDE.

                      • 23. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                        japochino1

                        I think I have problems with Netbeans (using first 8.0.2 and now 8.1 version)

                         

                        I can start Wildfly from Netbeans without problems, but when I run the project (named chp2) I get this log:

                         

                        JAVA_OPTS already set in environment; overriding default settings with values: -Xms128m -Xmx512m -server -Dhttp.nonProxyHosts=localhost,127.0.0.1,MACJPG-2.local -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.management.http.port=9990 -Djboss.http.port=8180

                        =========================================================================

                         

                         

                          JBoss Bootstrap Environment

                         

                         

                          JBOSS_HOME: /Users/japochino/wildfly-10.0.0.Final

                         

                         

                          JAVA: /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java

                         

                         

                          JAVA_OPTS:  -Xms128m -Xmx512m -server -Dhttp.nonProxyHosts=localhost,127.0.0.1,MACJPG-2.local -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.management.http.port=9990 -Djboss.http.port=8180

                         

                         

                        =========================================================================

                         

                         

                        16:22:40,503 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final

                        16:22:40,732 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

                        16:22:40,832 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting

                        16:22:42,218 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

                        16:22:42,236 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.3.4.Final

                        16:22:42,244 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.3.4.Final

                        16:22:42,287 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

                        16:22:42,300 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.

                        16:22:42,307 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors

                        16:22:42,313 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]

                        16:22:42,356 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem

                        16:22:42,367 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension

                        16:22:42,392 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem

                        16:22:42,401 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 4.0.18.Final

                        16:22:42,401 INFO  [org.jboss.as.security] (MSC service thread 1-6) WFLYSEC0001: Current PicketBox version=4.9.4.Final

                        16:22:42,556 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-5) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

                        16:22:42,497 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0003: Undertow 1.3.15.Final starting

                        16:22:42,554 INFO  [org.jboss.as.naming] (MSC service thread 1-8) WFLYNAM0003: Starting Naming Service

                        16:22:42,498 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final)

                        16:22:42,497 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0003: Undertow 1.3.15.Final starting

                        16:22:42,685 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                        16:22:42,688 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = mysql

                        16:22:42,690 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

                        16:22:42,691 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2

                        16:22:42,847 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.

                        16:22:42,848 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.

                        16:22:42,919 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

                        16:22:42,944 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path '/Users/japochino/wildfly-10.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']

                        16:22:42,951 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.

                        16:22:42,952 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting

                        16:22:43,018 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

                          at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:142)

                          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: java.net.BindException: Address already in use

                          at sun.nio.ch.Net.bind0(Native Method)

                          at sun.nio.ch.Net.bind(Net.java:433)

                          at sun.nio.ch.Net.bind(Net.java:425)

                          at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

                          at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

                          at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)

                          at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)

                          at org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:126)

                          at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:138)

                          ... 5 more

                         

                         

                        16:22:43,254 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory /Users/japochino/wildfly-10.0.0.Final/standalone/deployments

                        16:22:43,397 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service

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

                          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: java.lang.RuntimeException: java.net.BindException: Address already in use

                          at org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:157)

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

                          ... 5 more

                        Caused by: java.net.BindException: Address already in use

                          at sun.nio.ch.Net.bind0(Native Method)

                          at sun.nio.ch.Net.bind(Net.java:433)

                          at sun.nio.ch.Net.bind(Net.java:425)

                          at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

                          at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

                          at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)

                          at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:192)

                          at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)

                          at org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:144)

                          ... 6 more

                         

                         

                        16:22:43,492 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-8) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

                        16:22:43,492 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-5) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

                        16:22:43,492 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-7) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final

                        16:22:43,500 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: WFLYSRV0083: Failed to start the http-interface service

                            Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use

                            Caused by: java.net.BindException: Address already in use"},

                            "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {

                                "Services that were unable to start:" => ["jboss.serverManagement.controller.management.http.shutdown"],

                                "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]

                            }

                        }

                        16:22:43,504 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "webservices")]) - failure description: {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {

                            "Services that were unable to start:" => ["jboss.ws.config"],

                            "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]

                        }}

                        16:22:43,508 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "ejb3")]) - failure description: {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {

                            "Services that were unable to start:" => [

                                "jboss.ejb.default-local-ejb-receiver-service",

                                "jboss.ejb3.ejbClientContext.default",

                                "jboss.ejb3.localEjbReceiver.value"

                            ],

                            "Services that may be the cause:" => ["jboss.remoting.remotingConnectorInfoService.http-remoting-connector"]

                        }}

                        16:22:43,509 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

                            ("subsystem" => "ejb3"),

                            ("service" => "remote")

                        ]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.ejb3.connector is missing [jboss.remoting.remotingConnectorInfoService.http-remoting-connector]"]}

                        16:22:43,509 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

                            ("subsystem" => "undertow"),

                            ("server" => "default-server"),

                            ("http-listener" => "default")

                        ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.listener.default" => "org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

                            Caused by: java.net.BindException: Address already in use"}}

                        16:22:43,556 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

                        WFLYCTL0184:    New missing/unsatisfied dependencies:

                              service jboss.remoting.remotingConnectorInfoService.http-remoting-connector (missing) dependents: [service jboss.ejb3.connector]

                        WFLYCTL0186:   Services which failed to start:      service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

                              service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service

                         

                         

                        16:22:43,721 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled

                        16:22:43,722 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled

                        16:22:43,722 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 3596ms - Started 251 of 550 services (8 services failed or missing dependencies, 371 services are lazy, passive or on-demand)

                         

                        I can detect a "Address already in use" error. I don't know why, perhaps Netbeans is trying to start the server when it is already started?

                        If I do the deploy from Wildfly Administration Console it works fine and do the deploy correctly.

                         

                        any idea??

                        • 24. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                          emag

                          > I can detect a "Address already in use" error. I don't know why, perhaps Netbeans is trying to start the server when it is already started?

                          Yeah,. this means a process already uses port WildFly is trying to listen with.


                          please make sure whether WF already started.


                          You can check it with some command.


                          1. WildFly process check. jcmd or jps -mlv hepls with you.

                           

                          ```

                          $ jcmd

                          9520 /home/tanabe/wildfly-10.0/jboss-modules.jar -mp /home/tanabe/wildfly-10.0/modules org.jboss.as.standalone -Djboss.home.dir=/home/tanabe/wildfly-10.0 -Djboss.server.base.dir=/home/tanabe/wildfly-10.0/standalone -Djboss.http.port=8180

                          ```

                           

                          9520 is process id(pid).

                           

                          2. port checking. Though I don't have Mac, but netstat or ss may be avaialble .

                           

                          ```

                          $ ss -anp | grep 8180

                          tcpLISTEN 128127.0.0.1:8180              *:*               users:(("java",pid=9520,fd=376))

                          ```

                          pid will match the above 1 result.

                          # Since you add -Djboss.http.port=8180 system prop, WildFly http listener try to listen with 8180 port.

                          • 25. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                            japochino1

                            So why Netbeans is trying to start Wildfly if I have just started it? I have noticed that when I start Wildfly from Netbeans correctly, if I click right button on the server (in the Services window) I only have available the start options, but not the stop option. Normally, when server is started, Netbeans disables start options and enable stop option (and vice versa). It seems that Netbeans couldn't detect the Wildfly status and is always thinking it is stopped. For that reason is trying to start Wildfly although it is already started. Is this possible?

                            • 26. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                              emag

                              I don't know NB very much, however, it sounds like a bug from WildFly plugin or Netbeans itself because WF correctly started.

                               

                              perhaps Netbeans community will help with you.

                              1 of 1 people found this helpful
                              • 27. Re: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
                                japochino1

                                I will ask them...

                                Thank you very much!

                                1 2 Previous Next