Tak.
Stworzyłem nowe środowisko (wirtualka na Win10), gdzie oprócz WildFly 11.0 zainstalowałem javę 1.8 (nie może być niższa).
Testowo uruchomiłem trywialną aplikację EJB 'Hello World', żeby upewnić się, że serwer dobrze postawiony.
Po wgraniu (a w zasadzie zdeploy'owaniu) mojego projektu do folderu ...\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\deployments\ , przy uruchamianiu serwera pojawiają się błędy w logu (w logu zmieniłem nazwy 'własne' plików, reszta oryginał):
11:43:27,960 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
11:43:29,047 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
11:43:29,520 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) starting
11:43:32,754 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:43:32,800 INFO [org.wildfly.security] (ServerService Thread Pool -- 6) ELY00001: WildFly Elytron version 1.1.6.Final
11:43:32,831 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 17) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:43:33,566 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 23) WFLYDR0001: Content added at location C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\data\content\e4\c6e3517d7b7f75be05a4677c409f460dd20f06\content
11:43:33,581 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
11:43:33,660 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.5.4.Final
11:43:33,660 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.5.4.Final
11:43:33,800 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) WFLYCLINF0001: Activating Infinispan subsystem.
11:43:33,988 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001: Activating Naming Subsystem
11:43:34,050 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: Activating WebServices Extension
11:43:34,097 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016: RESTEasy version 3.0.24.Final
11:43:34,113 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
11:43:34,128 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
11:43:34,050 INFO [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: Activating Security Subsystem
11:43:34,035 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 58) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
11:43:34,269 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 5.0.5.Final
11:43:34,457 INFO [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
11:43:34,504 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=5.0.2.Final
11:43:34,535 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 1.4.18.Final starting
11:43:34,581 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
11:43:34,613 INFO [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
11:43:34,770 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
11:43:34,963 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2
11:43:35,354 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 8 (per class), which is derived from the number of CPUs on this host.
11:43:35,291 INFO [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 32 (per class), which is derived from thread worker pool sizing.
11:43:35,416 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path 'C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
11:43:35,682 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
11:43:35,682 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting
11:43:35,869 INFO [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0493: EJB subsystem suspension complete
11:43:35,891 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
11:43:36,125 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
11:43:36,594 INFO [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
11:43:36,828 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
11:43:36,844 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\deployments
11:43:36,844 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "XSkins.war" (runtime-name: "XSkins.war")
11:43:36,844 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "X.ear" (runtime-name: "X.ear")
11:43:37,250 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
11:43:37,645 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12)
11:43:39,834 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
11:43:40,846 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started client-mappings cache from ejb container
11:43:41,116 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: '/XSkins' for server 'default-server'
11:43:54,773 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0207: Starting subdeployment (runtime-name: "XWEBSERVICE.war")
11:43:54,789 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0207: Starting subdeployment (runtime-name: "XWEB.war")
11:43:54,789 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0207: Starting subdeployment (runtime-name: "XEJB.jar")
11:43:56,886 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-beanutils.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar does not point to a valid jar for a Class-Path reference.
11:43:56,886 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-collections.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-digester.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-logging.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry commons-validator.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar does not point to a valid jar for a Class-Path reference.
11:43:56,901 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry struts-legacy.jar in /C:/install/wildfly-11.0.0.Final/wildfly-11.0.0.Final/bin/content/X.ear/XWEB.war/WEB-INF/lib/struts.jar does not point to a valid jar for a Class-Path reference.
11:43:57,513 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment X.ear
11:43:57,560 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-3) HV000001: Hibernate Validator 5.3.5.Final
11:43:57,919 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment XWEBSERVICE.war
11:43:57,961 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."X.ear"."XEJB.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."X.ear"."XEJB.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment "XEJB.jar" of deployment "X.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
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.RuntimeException: WFLYSRV0177: Error getting reflective information for class pl.iz.ejb.WebFasadeBean with ClassLoader ModuleClassLoader for Module "deployment.X.ear.XEJB.jar" from Service Module Loader
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:78)
at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
... 5 more
Caused by: java.lang.NoClassDefFoundError: org/hibernate/HibernateException
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.HibernateException from [Module "deployment.X.ear.XEJB.jar" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
... 15 more
11:43:59,133 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment XWEB.war
11:43:59,242 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "X.ear")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"X.ear\".\"XEJB.jar\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment \"XEJB.jar\" of deployment \"X.ear\"
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class pl.iz.ejb.WebFasadeBean with ClassLoader ModuleClassLoader for Module \"deployment.X.ear.XEJB.jar\" from Service Module Loader
Caused by: java.lang.NoClassDefFoundError: org/hibernate/HibernateException
Caused by: java.lang.ClassNotFoundException: org.hibernate.HibernateException from [Module \"deployment.X.ear.XEJB.jar\" from Service Module Loader]"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"X.ear\".beanmanager",
"jboss.deployment.subunit.\"X.ear\".\"XWEBSERVICE.war\".beanmanager",
"jboss.deployment.subunit.\"X.ear\".\"XWEB.war\".beanmanager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.deployment.subunit.\"X.ear\".\"XWEBSERVICE.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"X.ear\".\"XWEBSERVICE.war\".beanmanager]",
"jboss.deployment.subunit.\"X.ear\".\"XWEB.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"X.ear\".\"XWEB.war\".beanmanager]",
"jboss.deployment.unit.\"X.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"X.ear\".beanmanager]"
]
}
11:43:59,461 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "X.ear" (runtime-name : "X.ear")
11:43:59,477 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "XSkins.war" (runtime-name : "XSkins.war")
11:43:59,493 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.deployment.subunit."X.ear"."XWEB.war".beanmanager (missing) dependents: [service jboss.deployment.subunit."X.ear"."XWEB.war".batch.artifact.factory]
service jboss.deployment.subunit."X.ear"."XWEBSERVICE.war".beanmanager (missing) dependents: [service jboss.deployment.subunit."X.ear"."XWEBSERVICE.war".batch.artifact.factory]
service jboss.deployment.unit."X.ear".beanmanager (missing) dependents: [service jboss.deployment.unit."X.ear".weld.weldClassIntrospector]
WFLYCTL0186: Services which failed to start: service jboss.deployment.subunit."X.ear"."XEJB.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment "XEJB.jar" of deployment "X.ear"
11:43:59,743 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
11:43:59,760 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
11:43:59,760 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
11:43:59,760 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) started (with errors) in 32690ms - Started 475 of 714 services (11 services failed or missing dependencies, 361 services are lazy, passive or on-demand)
11:44:00,555 INFO [org.jboss.as.protocol] (management I/O-1) WFLYPRT0057: cancelled task by interrupting thread Thread[management-handler-thread - 2,5,management-handler-thread]
11:53:30,458 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 67) WFLYDR0009: Content C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\data\content\c2\e196dc44baab3b0cda9891d2d099d7cf3eed5e is obsolete and will be removed
11:53:30,510 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 67) WFLYDR0002: Content removed from location C:\install\wildfly-11.0.0.Final\wildfly-11.0.0.Final\standalone\data\content\c2\e196dc44baab3b0cda9891d2d099d7cf3eed5e\content