-
Bug
-
Resolution: Workaround exists
-
Neutral
-
None
-
5.5
-
None
-
Wildfly 8, Java 1.8.0_141
Trying to deploy Magnolia 5.5.6 on Wildfly 8 fails with the following error:
========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /Users/rgange/JBoss/wildfly-8.0.0.Final JAVA: /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/bin/java JAVA_OPTS: -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true ========================================================================= Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 15:39:21,117 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final 15:39:31,295 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.0.Final 15:39:31,353 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.Final "WildFly" starting 15:39:32,162 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found magnolia-community-webapp-5.5.6.war in deployment directory. To trigger deployment create a file called magnolia-community-webapp-5.5.6.war.dodeploy 15:39:32,179 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http) 15:39:32,198 INFO [org.xnio] (MSC service thread 1-14) XNIO version 3.2.0.Final 15:39:32,203 INFO [org.xnio.nio] (MSC service thread 1-14) XNIO NIO Implementation Version 3.2.0.Final 15:39:32,232 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem. 15:39:32,261 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem 15:39:32,265 INFO [org.jboss.as.security] (ServerService Thread Pool -- 46) JBAS013171: Activating Security Subsystem 15:39:32,266 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 39) JBAS012615: Activated the following JSF Implementations: [main] 15:39:32,276 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.20.Final 15:39:32,288 INFO [org.jboss.as.connector.logging] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.3.Final) 15:39:32,298 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension 15:39:32,317 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 15:39:32,323 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service 15:39:32,325 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017502: Undertow 1.0.0.Final starting 15:39:32,324 INFO [org.jboss.as.mail.extension] (MSC service thread 1-10) JBAS015400: Bound mail session [java:jboss/mail/Default] 15:39:32,325 INFO [org.wildfly.extension.undertow] (MSC service thread 1-16) JBAS017502: Undertow 1.0.0.Final starting 15:39:32,327 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) JBAS010417: Started Driver service with driver-name = h2 15:39:32,383 INFO [org.jboss.remoting] (MSC service thread 1-14) JBoss Remoting version 4.0.0.Final 15:39:32,437 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 49) JBAS017527: Creating file handler for path /Users/rgange/JBoss/wildfly-8.0.0.Final/welcome-content 15:39:32,565 INFO [org.wildfly.extension.undertow] (MSC service thread 1-11) JBAS017525: Started server default-server. 15:39:32,582 INFO [org.wildfly.extension.undertow] (MSC service thread 1-15) JBAS017531: Host default-host starting 15:39:32,647 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080 15:39:32,742 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments 15:39:32,745 INFO [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015876: Starting deployment of "magnolia-community-webapp-5.5.6.war" (runtime-name: "magnolia-community-webapp-5.5.6.war") 15:39:32,892 INFO [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.3.Final 15:39:37,099 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_cs.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,099 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_de_DE.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,100 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_es.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,100 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_fr.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,100 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_hu.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,101 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_it.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,101 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_ja_JP.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,101 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_ko_KR.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,102 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_pl.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,102 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_pt_BR.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,102 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_ru.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,103 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_zh_CN.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,103 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry derbyLocale_zh_TW.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference. 15:39:37,133 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry jaxb-api.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/jaxb-core-2.2.7.jar does not point to a valid jar for a Class-Path reference. 15:39:37,133 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry jaxb-api.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 15:39:37,134 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry jaxb-core.jar in /Users/rgange/JBoss/wildfly-8.0.0.Final/standalone/deployments/magnolia-community-webapp-5.5.6.war/WEB-INF/lib/jaxb-impl-2.2.7.jar does not point to a valid jar for a Class-Path reference. 15:39:37,756 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) JBAS016002: Processing weld deployment magnolia-community-webapp-5.5.6.war 15:39:37,824 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-5) HV000001: Hibernate Validator 5.0.3.Final 15:39:38,239 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-10) JBAS010403: Deploying JDBC-compliant driver class org.apache.derby.jdbc.AutoloadedDriver (version 10.5) 15:39:38,241 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-10) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4) 15:39:38,242 INFO [org.jboss.weld.deployer] (MSC service thread 1-10) JBAS016005: Starting Services for CDI deployment: magnolia-community-webapp-5.5.6.war 15:39:38,285 INFO [org.jboss.weld.Version] (MSC service thread 1-10) WELD-000900: 2.1.2 (Final) 15:39:38,340 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-14) JBAS010417: Started Driver service with driver-name = magnolia-community-webapp-5.5.6.war_org.h2.Driver_1_4 15:39:38,340 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) JBAS010417: Started Driver service with driver-name = magnolia-community-webapp-5.5.6.war_org.apache.derby.jdbc.AutoloadedDriver_10_5 15:39:38,509 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 53) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 15:39:38,517 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 53) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 15:39:38,517 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-7) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 15:39:38,518 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-7) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 15:39:38,520 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 53) ISPN000128: Infinispan version: Infinispan 'Infinium' 6.0.1.Final 15:39:38,773 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 53) ISPN000031: MBeans were successfully registered to the platform MBean server. 15:39:38,775 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 53) JBAS010281: Started default-host/magnolia-community-webapp-5.5.6 cache from web container 15:39:42,662 INFO [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016008: Starting weld service for deployment magnolia-community-webapp-5.5.6.war 15:39:42,708 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 15:39:43,313 INFO [org.jboss.weld.Bootstrap] (weld-worker-4) WELD-000119: Not generating any bean definitions from info.magnolia.module.jsmodels.factory.JavascriptObjectFactory because of underlying class loading error: Type jdk.nashorn.internal.runtime.ScriptObject from [Module "deployment.magnolia-community-webapp-5.5.6.war:main" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error. 15:39:44,230 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."magnolia-community-webapp-5.5.6.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."magnolia-community-webapp-5.5.6.war".WeldStartService: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.0.Final.jar:1.2.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_141] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_141] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_141] Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public org.jboss.resteasy.core.AcceptHeaderByFileSuffixFilter.mediaTypeMappings at org.jboss.weld.bean.ManagedBean.checkBeanImplementation(ManagedBean.java:218) at org.jboss.weld.bean.AbstractClassBean.internalInitialize(AbstractClassBean.java:74) at org.jboss.weld.bean.ManagedBean.internalInitialize(ManagedBean.java:96) at org.jboss.weld.bean.RIBean.initialize(RIBean.java:65) at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$5.doWork(ConcurrentBeanDeployer.java:114) at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$5.doWork(ConcurrentBeanDeployer.java:112) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53) at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_141] ... 3 more 15:39:44,240 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "magnolia-community-webapp-5.5.6.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"magnolia-community-webapp-5.5.6.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"magnolia-community-webapp-5.5.6.war\".WeldStartService: Failed to start service Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000075: Normal scoped managed bean implementation class has a public field: [EnhancedAnnotatedFieldImpl] public org.jboss.resteasy.core.AcceptHeaderByFileSuffixFilter.mediaTypeMappings"}}
Acceptance criteria
- is related to
-
DOCU-1017 Update JBoss WildFly deployment instructions
- Closed