Issues to deploy on redhat host

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issues to deploy on redhat host

vfbsilva
Folks after being unable to find a solution to deploy on kubernetes due the problems faced with the ingress controller my company decided to deploy the server in a centos real host. Still by some reason the up server is not deploying for me:
Seems im having some unmet dependencies:
2017-08-14 19:54:38,168 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting
2017-08-14 19:54:38,169 DEBUG [org.jboss.as.config] (MSC service thread 1-2) Configured system properties:
        [Standalone] =
        awt.toolkit = sun.awt.X11.XToolkit
        file.encoding = UTF-8
        file.encoding.pkg = sun.io
        file.separator = /
        java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
        java.awt.headless = true
        java.awt.printerjob = sun.print.PSPrinterJob
        java.class.path = /root/wildfly-10.1.0.Final/jboss-modules.jar
        java.class.version = 52.0
        java.endorsed.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/endorsed
        java.ext.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
        java.home = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre
        java.io.tmpdir = /tmp
        java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
        java.net.preferIPv4Stack = true
        java.runtime.name = OpenJDK Runtime Environment
        java.runtime.version = 1.8.0_141-b16
        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_141
        java.vm.info = mixed mode
        java.vm.name = OpenJDK 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.141-b16
        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 = 0.0.0.0
        jboss.bind.address.management = 0.0.0.0
        jboss.home.dir = /root/wildfly-10.1.0.Final
        jboss.host.name = instancia-1502475752933
        jboss.modules.dir = /root/wildfly-10.1.0.Final/modules
        jboss.modules.system.pkgs = org.jboss.byteman
        jboss.node.name = instancia-1502475752933
        jboss.qualified.host.name = instancia-1502475752933
        jboss.server.base.dir = /root/wildfly-10.1.0.Final/standalone
        jboss.server.config.dir = /root/wildfly-10.1.0.Final/standalone/configuration
        jboss.server.data.dir = /root/wildfly-10.1.0.Final/standalone/data
        jboss.server.deploy.dir = /root/wildfly-10.1.0.Final/standalone/data/content
        jboss.server.log.dir = /root/wildfly-10.1.0.Final/standalone/log
        jboss.server.name = instancia-1502475752933
        jboss.server.persist.config = true
        jboss.server.temp.dir = /root/wildfly-10.1.0.Final/standalone/tmp
        line.separator =

        logging.configuration = file:/root/wildfly-10.1.0.Final/standalone/configuration/logging.properties
        module.path = /root/wildfly-10.1.0.Final/modules
        org.jboss.boot.log.file = /root/wildfly-10.1.0.Final/standalone/log/server.log
        org.jboss.resolver.warning = true
        org.xml.sax.driver = __redirected.__XMLReaderFactory
        os.arch = amd64
        os.name = Linux
        os.version = 3.10.0-327.18.2.el7.x86_64
        path.separator = :
        sun.arch.data.model = 64
        sun.boot.class.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/classes
        sun.boot.library.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/lib/amd64
        sun.cpu.endian = little
        sun.cpu.isalist =
        sun.io.unicode.encoding = UnicodeLittle
        sun.java.command = /root/wildfly-10.1.0.Final/jboss-modules.jar -mp /root/wildfly-10.1.0.Final/modules org.jboss.as.standalone -Djboss.home.dir=/root/wildfly-10.1.0.Final -Djboss.server.base.dir=/root/wildfly-10.1.0.Final/standalone --server-config=standalone.xml -b 0.0.0.0 -bmanagement 0.0.0.0
        sun.java.launcher = SUN_STANDARD
        sun.jnu.encoding = UTF-8
        sun.management.compiler = HotSpot 64-Bit Tiered Compilers
        sun.os.patch.level = unknown
        user.country = BR
        user.dir = /root
        user.home = /root
        user.language = pt
        user.name = root
        user.timezone = America/Sao_Paulo
2017-08-14 19:54:38,170 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -D[Standalone] -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/root/wildfly-10.1.0.Final/standalone/log/server.log -Dlogging.configuration=file:/root/wildfly-10.1.0.Final/standalone/configuration/logging.properties
2017-08-14 19:54:41,190 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
2017-08-14 19:54:41,270 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.4.0.Final
2017-08-14 19:54:41,307 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.4.0.Final
2017-08-14 19:54:41,510 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
2017-08-14 19:54:41,636 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]
2017-08-14 19:54:41,854 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
2017-08-14 19:54:41,868 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.
2017-08-14 19:54:41,896 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
2017-08-14 19:54:41,872 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
2017-08-14 19:54:42,052 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
2017-08-14 19:54:42,069 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 4.0.21.Final
2017-08-14 19:54:42,073 INFO  [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)
2017-08-14 19:54:42,244 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 2 core threads with 16 task threads based on your 1 available processors
2017-08-14 19:54:42,326 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.3)
2017-08-14 19:54:42,414 INFO  [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current PicketBox version=4.9.6.Final
2017-08-14 19:54:42,647 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.4.0.Final starting
2017-08-14 19:54:42,668 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = org.postgresql
2017-08-14 19:54:42,835 INFO  [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
2017-08-14 19:54:42,837 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2
2017-08-14 19:54:42,874 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
2017-08-14 19:54:42,918 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path '/root/wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
2017-08-14 19:54:43,385 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 16 (per class), which is derived from thread worker pool sizing.
2017-08-14 19:54:43,398 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 4 (per class), which is derived from the number of CPUs on this host.
2017-08-14 19:54:43,460 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server.
2017-08-14 19:54:43,764 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080
2017-08-14 19:54:43,765 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting
2017-08-14 19:54:44,154 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) WFLYDS0013: Started FileSystemDeploymentService for directory /root/wildfly-10.1.0.Final/standalone/deployments
2017-08-14 19:54:45,060 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final
2017-08-14 19:54:45,228 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2017-08-14 19:54:45,250 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2017-08-14 19:54:45,607 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
2017-08-14 19:54:45,608 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/UnifiedPushDS]
2017-08-14 19:54:45,608 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]
2017-08-14 19:54:45,614 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2017-08-14 19:54:45,615 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2017-08-14 19:54:45,615 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2017-08-14 19:54:45,616 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2017-08-14 19:54:45,700 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTPS listener https listening on 0.0.0.0:8443
2017-08-14 19:54:45,880 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6)
2017-08-14 19:54:46,344 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://0.0.0.0:9990/management
2017-08-14 19:54:46,345 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://0.0.0.0:9990
2017-08-14 19:54:46,345 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started in 9570ms - Started 346 of 592 services (395 services are lazy, passive or on-demand)
2017-08-14 19:59:26,176 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location /root/wildfly-10.1.0.Final/standalone/data/content/bc/19249d29335afa4c200b2bba31d87c35919fa3/content
2017-08-14 19:59:26,578 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location /root/wildfly-10.1.0.Final/standalone/data/content/a3/3756444b7334e04a07e49542f80cb6ed55b0c0/content
2017-08-14 19:59:26,624 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war")
2017-08-14 19:59:26,622 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth-server.war")
2017-08-14 19:59:36,462 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry jaxb-api.jar in /content/unifiedpush-auth-server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar  does not point to a valid jar for a Class-Path reference.
2017-08-14 19:59:36,462 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry activation.jar in /content/unifiedpush-auth-server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar  does not point to a valid jar for a Class-Path reference.
2017-08-14 19:59:36,463 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry jsr173_1.0_api.jar in /content/unifiedpush-auth-server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar  does not point to a valid jar for a Class-Path reference.
2017-08-14 19:59:36,463 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry jaxb1-impl.jar in /content/unifiedpush-auth-server.war/WEB-INF/lib/jaxb-impl-2.2.4.jar  does not point to a valid jar for a Class-Path reference.
2017-08-14 19:59:36,486 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /content/unifiedpush-auth-server.war/WEB-INF/lib/liquibase-core-3.4.1.jar  does not point to a valid jar for a Class-Path reference.
2017-08-14 19:59:36,871 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) WFLYJPA0002: Read persistence.xml for keycloak-default
2017-08-14 19:59:37,592 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice.
2017-08-14 19:59:37,593 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice.
2017-08-14 19:59:37,593 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice.
2017-08-14 19:59:38,679 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for unifiedpush-default
2017-08-14 19:59:39,568 WARN  [org.jboss.modules] (MSC service thread 1-1) Failed to define class org.jboss.aerogear.unifiedpush.message.jms.AbstractJMSMessageListener in Module "deployment.unifiedpush-server-wildfly.war:main" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/jboss/aerogear/unifiedpush/message/jms/AbstractJMSMessageListener (Module "deployment.unifiedpush-server-wildfly.war:main" from Service Module Loader): javax/jms/MessageListener
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
        at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
        at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
        at org.jboss.modules.Module.loadModuleClass(Module.java:606)
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)
        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)
        at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
        at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
        at org.jboss.modules.Module.loadModuleClass(Module.java:606)
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:21)
        at org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:14)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:84)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

2017-08-14 19:59:39,569 WARN  [org.jboss.modules] (MSC service thread 1-1) Failed to define class org.jboss.aerogear.unifiedpush.message.jms.MessageHolderWithTokensConsumer in Module "deployment.unifiedpush-server-wildfly.war:main" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/jboss/aerogear/unifiedpush/message/jms/MessageHolderWithTokensConsumer (Module "deployment.unifiedpush-server-wildfly.war:main" from Service Module Loader): Failed to link org/jboss/aerogear/unifiedpush/message/jms/AbstractJMSMessageListener (Module "deployment.unifiedpush-server-wildfly.war:main" from Service Module Loader): javax/jms/MessageListener
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
        at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
        at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
        at org.jboss.modules.Module.loadModuleClass(Module.java:606)
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:21)
        at org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:14)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:84)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

2017-08-14 19:59:39,570 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "unifiedpush-server-wildfly.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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: Failed to link org/jboss/aerogear/unifiedpush/message/jms/MessageHolderWithTokensConsumer (Module "deployment.unifiedpush-server-wildfly.war:main" from Service Module Loader): Failed to link org/jboss/aerogear/unifiedpush/message/jms/AbstractJMSMessageListener (Module "deployment.unifiedpush-server-wildfly.war:main" from Service Module Loader): javax/jms/MessageListener
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
        at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
        at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
        at org.jboss.modules.Module.loadModuleClass(Module.java:606)
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:21)
        at org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:14)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:84)
        at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
        ... 5 more

2017-08-14 19:59:39,603 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 66) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'unifiedpush-server-wildfly.war#unifiedpush-default'
2017-08-14 19:59:39,612 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 66) HHH000204: Processing PersistenceUnitInfo [
        name: unifiedpush-default
        ...]
2017-08-14 19:59:39,866 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 66) HHH000412: Hibernate Core {5.0.10.Final}
2017-08-14 19:59:39,867 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 66) HHH000206: hibernate.properties not found
2017-08-14 19:59:39,869 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 66) HHH000021: Bytecode provider name : javassist
2017-08-14 19:59:39,889 WARN  [org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl] (ServerService Thread Pool -- 66) HHH000059: Defining hibernate.transaction.flush_before_completion=true ignored in HEM
2017-08-14 19:59:39,982 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 66) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2017-08-14 19:59:40,158 WARN  [org.hibernate.orm.deprecation] (ServerService Thread Pool -- 66) HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-mapping. Use namespace http://www.hibernate.org/dtd/hibernate-mapping instead.  Support for obsolete DTD/XSD namespaces may be removed at any time.
2017-08-14 19:59:40,266 INFO  [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Load config from vfs:/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json
2017-08-14 19:59:42,893 WARN  [org.hibernate.ejb.HibernatePersistence] (ServerService Thread Pool -- 67) HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.
2017-08-14 19:59:42,908 WARN  [org.hibernate.ejb.HibernatePersistence] (ServerService Thread Pool -- 67) HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.
2017-08-14 19:59:42,909 WARN  [org.hibernate.ejb.HibernatePersistence] (ServerService Thread Pool -- 67) HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.hibernate.jpa.HibernatePersistenceProvider] instead.
2017-08-14 19:59:42,969 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 67) HHH000204: Processing PersistenceUnitInfo [
        name: keycloak-default
        ...]
2017-08-14 19:59:43,137 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 67) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL92Dialect
2017-08-14 19:59:43,559 INFO  [org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl] (ServerService Thread Pool -- 67) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2017-08-14 19:59:43,563 INFO  [org.hibernate.type.BasicTypeRegistry] (ServerService Thread Pool -- 67) HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@c5ceb8
2017-08-14 19:59:43,583 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 67) Envers integration enabled? : true
2017-08-14 19:59:44,728 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 67) HV000001: Hibernate Validator 5.2.4.Final
2017-08-14 19:59:46,352 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 67) HHH000397: Using ASTQueryTranslatorFactory
2017-08-14 19:59:48,998 INFO  [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Not importing realm aerogear from resource /WEB-INF/ups-realm.json.  It already exists.
2017-08-14 19:59:49,079 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,082 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.WelcomeResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,082 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.ThemeResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,082 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.QRCodeResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,083 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.JsResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,083 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.ServerVersionResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,083 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.admin.AdminRoot from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,083 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002210: Adding provider singleton org.keycloak.services.util.ObjectMapperResolver from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,083 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002210: Adding provider singleton org.keycloak.services.resources.ModelExceptionMapper from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,084 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RealmsResource from Application class org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication
2017-08-14 19:59:49,282 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0021: Registered web context: /auth
2017-08-14 19:59:49,289 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-wildfly.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"unifiedpush-server-wildfly.war\"
    Caused by: java.lang.NoClassDefFoundError: Failed to link org/jboss/aerogear/unifiedpush/message/jms/MessageHolderWithTokensConsumer (Module \"deployment.unifiedpush-server-wildfly.war:main\" from Service Module Loader): Failed to link org/jboss/aerogear/unifiedpush/message/jms/AbstractJMSMessageListener (Module \"deployment.unifiedpush-server-wildfly.war:main\" from Service Module Loader): javax/jms/MessageListener"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".POST_MODULE"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
2017-08-14 19:59:49,394 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-server-wildfly.war")
2017-08-14 19:59:49,394 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth-server.war")
2017-08-14 19:59:49,395 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."unifiedpush-server-wildfly.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "unifiedpush-server-wildfly.war"




For some reason I have tons of stuck connections on the database
root      1484  0.0  0.0 113124  1480 pts/1    S    19:54   0:00 sh wildfly-10.1.0.Final/bin/standalone.sh --server-config=standalone.xml -b 0.0.0.0 -bmanagement 0.0.0.0
root      1543  1.9 23.4 2728040 441528 pts/1  Sl   19:54   0:46 java -D[Standalone] -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss
postgres  1643  0.0  0.2 233512  4324 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44925) idle
postgres  1646  0.0  0.2 233512  4324 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44926) idle
postgres  1647  0.0  0.2 233512  4320 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44927) idle
postgres  1648  0.0  0.2 233512  4324 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44928) idle
postgres  1649  0.0  0.2 233512  4324 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44929) idle
postgres  1650  0.0  0.2 233512  4328 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44930) idle
postgres  1651  0.0  0.2 233512  4328 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44931) idle
postgres  1652  0.0  0.2 233512  4328 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44932) idle
postgres  1653  0.0  0.2 233512  4332 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44933) idle
postgres  1654  0.0  0.2 233512  4332 ?        Ss   19:54   0:00 postgres: unifiedpush unifiedpush 127.0.0.1(44934) idle
postgres  1655  0.0  0.2 233512  4328 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44935) idle
postgres  1656  0.0  0.2 233512  4328 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44936) idle
postgres  1657  0.0  0.2 233512  4064 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44937) idle
postgres  1658  0.0  0.2 233512  4064 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44938) idle
postgres  1659  0.0  0.2 233512  4328 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44939) idle
postgres  1660  0.0  0.2 233512  4068 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44940) idle
postgres  1661  0.0  0.2 233512  4068 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44941) idle
postgres  1662  0.0  0.3 234652  6892 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44942) idle
postgres  1663  0.0  0.4 234760  8356 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44943) idle in transaction
postgres  1664  0.0  0.4 234572  7556 ?        Ss   19:54   0:00 postgres: unifiedpush keycloak 127.0.0.1(44944) idle in transaction


What might be the issue?