[MGNLCE-97] Cannot start Magnolia 5.5 on EAP 6.4 Created: 11/Oct/17  Updated: 20/Jun/18  Resolved: 11/Oct/17

Status: Closed
Project: Community Edition
Component/s: None
Affects Version/s: 5.5
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Unassigned
Resolution: Workaround exists Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

JBoss EAP 6.4, Java 1.8.0_141


Issue Links:
relation
is related to DOCU-1017 Update JBoss WildFly deployment instr... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Trying to deploy Magnolia 5.5.6 on JBoss EAP 6.4 fails with the following error:

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

  JBoss Bootstrap Environment

  JBOSS_HOME: /Users/rgange/JBoss/jboss-eap-6.4

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

  JAVA_OPTS:  -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/Users/rgange/JBoss/jboss-eap-6.4/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true

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

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
08:56:22,141 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.6.Final-redhat-1
08:56:32,308 INFO  [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1
08:56:32,370 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) starting
08:56:33,173 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment magnoliaAuthor.war
08:56:33,179 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found magnoliaAuthor.war in deployment directory. To trigger deployment create a file called magnoliaAuthor.war.dodeploy
08:56:33,180 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015010: The deployment scanner found a directory named WEB-INF that was not inside a directory whose name ends with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside the /Users/rgange/JBoss/jboss-eap-6.4/standalone/deployments directory, which is a user error. The WEB-INF directory will not be scanned for deployments, but it is possible that the scanner mayfind other files from the unzipped archive and attempt to deploy them, leading to errors.
08:56:33,203 INFO  [org.xnio] (MSC service thread 1-13) XNIO Version 3.0.13.GA-redhat-1
08:56:33,211 INFO  [org.xnio.nio] (MSC service thread 1-13) XNIO NIO Implementation Version 3.0.13.GA-redhat-1
08:56:33,212 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
08:56:33,240 INFO  [org.jboss.remoting] (MSC service thread 1-13) JBoss Remoting version 3.3.4.Final-redhat-1
08:56:33,264 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
08:56:33,271 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 39) JBAS011800: Activating Naming Subsystem
08:56:33,280 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 37) JBAS012615: Activated the following JSF Implementations: [main, 1.2]
08:56:33,295 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013371: Activating Security Subsystem
08:56:33,298 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.
08:56:33,310 INFO  [org.jboss.as.security] (MSC service thread 1-9) JBAS013370: Current PicketBox version=4.1.1.Final-redhat-1
08:56:33,322 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
08:56:33,337 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-14) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.31.Final-redhat-1)
08:56:33,344 INFO  [org.jboss.as.naming] (MSC service thread 1-10) JBAS011802: Starting Naming Service
08:56:33,348 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-10) JBAS015400: Bound mail session [java:jboss/mail/Default]
08:56:33,383 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
08:56:33,733 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-16) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080
08:56:33,760 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-16) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080
08:56:33,903 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-16) JBAS015012: Started FileSystemDeploymentService for directory /Users/rgange/JBoss/jboss-eap-6.4/standalone/deployments
08:56:33,907 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015876: Starting deployment of "magnoliaAuthor.war" (runtime-name: "magnoliaAuthor.war")
08:56:33,928 INFO  [org.jboss.as.remoting] (MSC service thread 1-14) JBAS017100: Listening on 127.0.0.1:4447
08:56:33,928 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 127.0.0.1:9999
08:56:33,978 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.4.Final-redhat-1
08:56:39,548 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)
08:56:39,551 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-10) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
08:56:39,719 INFO  [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 51) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.11.Final
08:56:39,751 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 51) ISPN000161: Using a batchMode transaction manager
08:56:39,751 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 50) ISPN000161: Using a batchMode transaction manager
08:56:39,903 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 50) ISPN000031: MBeans were successfully registered to the platform MBean server.
08:56:39,904 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 51) ISPN000031: MBeans were successfully registered to the platform MBean server.
08:56:39,905 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) JBAS010281: Started default-host/magnoliaAuthor cache from web container
08:56:39,905 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 50) JBAS010281: Started local-web cache from web container
08:56:43,792 INFO  [org.jboss.web] (ServerService Thread Pool -- 79) JBAS018210: Register web context: /magnoliaAuthor
08:56:43,817 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-11) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
08:56:55,232 INFO  [stdout] (ServerService Thread Pool -- 79) Initializing Log4J
08:56:55,232 INFO  [stdout] (ServerService Thread Pool -- 79) Initializing Log4J from [WEB-INF/config/default/log4j.xml]
08:56:55,369 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:55,367 INFO  info.magnolia.init.MagnoliaServletContextListener : Property sources loaded: [DefaultMagnoliaConfigurationProperties with sources: [SystemPropertySource][ServletContextPropertySource from WEB-INF/config/magnoliaAuthor/magnolia.properties][ServletContextPropertySource from WEB-INF/config/default/magnolia.properties][ModulePropertiesSource from modules [core, dam, freemarker-support, lang-el, activation, categorization-support, ce-product-descriptor, imaging-support, resource-loader, rest-client, rest-integration, cache, config, i18n, rest-services, dam-jcr, ehcache3, rendering, ui-framework, virtual-uri, appswitcher, imaging, resteasy-client, scheduler, templating, ui-mediaeditor, resources, task-management, templating-jsp, ui-admincentral, about-app, cache-app, groovy, log-tools, magnolia-resources-templating, mail, messages-app, pages, resources-app, security-app, site, ui-contentapp, cache-browser-app, contacts, dam-app, dam-imaging, dam-templating, definitions-app, form, forum, google-sitemap, jcr-browser-app, jcr-tools, mte-imaging, site-app, commenting, javascript-models, lang-da, mte, mtk, rssaggregator, categorization, lang-ar, lang-cs, lang-de, lang-es, lang-fi, lang-fr, lang-he, lang-hr, lang-hu, lang-id, lang-it, lang-ja, lang-ko, lang-nl, lang-no, lang-pl, lang-pt, lang-pt_BR, lang-ru, lang-sk, lang-sq, lang-sv, lang-tr, lang-zh_CN, lang-zh_TW, webapp]][InitPathsPropertySource]]
08:56:55,374 INFO  [stdout] (ServerService Thread Pool -- 79) ---------------------------------------------
08:56:55,374 INFO  [stdout] (ServerService Thread Pool -- 79) MAGNOLIA LICENSE
08:56:55,374 INFO  [stdout] (ServerService Thread Pool -- 79) ---------------------------------------------
08:56:55,374 INFO  [stdout] (ServerService Thread Pool -- 79) Version number : 5.5.6
08:56:55,375 INFO  [stdout] (ServerService Thread Pool -- 79) Core version   : 5.5.6
08:56:55,375 INFO  [stdout] (ServerService Thread Pool -- 79) Build          : 28. August 2017 (rev. 545355ed9b0287501fac0dc85c6449cf4693dd64 of UNKNOWN)
08:56:55,375 INFO  [stdout] (ServerService Thread Pool -- 79) Edition        : Community Edition
08:56:55,375 INFO  [stdout] (ServerService Thread Pool -- 79) Provider       : Magnolia International Ltd. (info@magnolia-cms.com)
08:56:55,375 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:55,375 INFO  info.magnolia.cms.beans.config.ConfigLoader       : Initializing content repositories
08:56:55,376 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:55,376 INFO  info.magnolia.repository.DefaultRepositoryManager : Loading JCR
08:56:55,381 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:55,381 INFO  info.magnolia.repository.DefaultRepositoryManager : Loading JCR magnolia
08:56:55,394 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:55,394 INFO  info.magnolia.jackrabbit.ProviderImpl             : Loading repository at /Users/rgange/JBoss/jboss-eap-6.4/standalone/deployments/magnoliaAuthor.war/repositories/magnolia (config file: /Users/rgange/JBoss/jboss-eap-6.4/standalone/deployments/magnoliaAuthor.war/WEB-INF/config/repo-conf/jackrabbit-bundle-h2-search.xml) - cluster id: "<unset>"
08:56:56,582 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,582 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering prefix [mgnl] with URI http://www.magnolia.info/jcr/mgnl
08:56:56,592 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,592 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}metaData on repository magnolia
08:56:56,701 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,701 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}lastModified on repository magnolia
08:56:56,723 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,723 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}activatable on repository magnolia
08:56:56,743 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,743 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}renderable on repository magnolia
08:56:56,760 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,760 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}created on repository magnolia
08:56:56,770 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,770 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}versionable on repository magnolia
08:56:56,806 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,806 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}deleted on repository magnolia
08:56:56,822 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,822 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}content on repository magnolia
08:56:56,838 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,838 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}contentNode on repository magnolia
08:56:56,853 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,852 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}folder on repository magnolia
08:56:56,870 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,870 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}resource on repository magnolia
08:56:56,883 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,883 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}reserve on repository magnolia
08:56:56,897 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,897 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}page on repository magnolia
08:56:56,909 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,909 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}area on repository magnolia
08:56:56,920 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,920 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}component on repository magnolia
08:56:56,933 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,933 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}user on repository magnolia
08:56:56,946 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,945 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}role on repository magnolia
08:56:56,957 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,957 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}group on repository magnolia
08:56:56,968 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:56,968 INFO  info.magnolia.jackrabbit.ProviderImpl             : Registering nodetype {http://www.magnolia.info/jcr/mgnl}hasVersion on repository magnolia
08:56:57,273 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:57,273 INFO  info.magnolia.repository.DefaultRepositoryManager : Loading workspace mgnlVersion (logical name magnolia-mgnlVersion).
08:56:57,277 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:57,277 INFO  info.magnolia.repository.DefaultRepositoryManager : Loading workspace default (logical name default).
08:56:57,280 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:57,280 INFO  info.magnolia.repository.DefaultRepositoryManager : Loading workspace mgnlSystem (logical name magnolia-mgnlSystem).
08:56:57,478 INFO  [stdout] (ServerService Thread Pool -- 79) 2017-10-11 08:56:57,476 ERROR info.magnolia.init.MagnoliaServletContextListener : Oops, Magnolia could not be started
08:56:57,478 INFO  [stdout] (ServerService Thread Pool -- 79) java.lang.NullPointerException
08:56:57,478 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:158)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:152)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.guice.GuiceComponentProvider.getComponent(GuiceComponentProvider.java:106)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.Components.getComponent(Components.java:107)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.context.ContextFactory.getInstance(ContextFactory.java:72)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.context.MgnlContext.getSystemContext(MgnlContext.java:369)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.context.MgnlContext.release(MgnlContext.java:637)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.init.MagnoliaServletContextListener.startServer(MagnoliaServletContextListener.java:256)
08:56:57,479 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:182)
08:56:57,480 INFO  [stdout] (ServerService Thread Pool -- 79) 	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:128)
08:56:57,480 INFO  [stdout] (ServerService Thread Pool -- 79) 	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)
08:56:57,480 INFO  [stdout] (ServerService Thread Pool -- 79) 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3780)
08:56:57,480 INFO  [stdout] (ServerService Thread Pool -- 79) 	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163)
08:56:57,480 INFO  [stdout] (ServerService Thread Pool -- 79) 	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)
08:56:57,480 INFO  [stdout] (ServerService Thread Pool -- 79) 	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
08:56:57,480 INFO  [stdout] (ServerService Thread Pool -- 79) 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
08:56:57,481 INFO  [stdout] (ServerService Thread Pool -- 79) 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
08:56:57,481 INFO  [stdout] (ServerService Thread Pool -- 79) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
08:56:57,481 INFO  [stdout] (ServerService Thread Pool -- 79) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
08:56:57,481 INFO  [stdout] (ServerService Thread Pool -- 79) 	at java.lang.Thread.run(Thread.java:748)
08:56:57,481 INFO  [stdout] (ServerService Thread Pool -- 79) 	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
08:56:57,481 ERROR [stderr] (ServerService Thread Pool -- 79) java.lang.NullPointerException
08:56:57,482 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:158)
08:56:57,482 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:152)
08:56:57,482 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.guice.GuiceComponentProvider.getComponent(GuiceComponentProvider.java:106)
08:56:57,482 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.objectfactory.Components.getComponent(Components.java:107)
08:56:57,482 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.context.ContextFactory.getInstance(ContextFactory.java:72)
08:56:57,482 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.context.MgnlContext.getSystemContext(MgnlContext.java:369)
08:56:57,483 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.context.MgnlContext.release(MgnlContext.java:637)
08:56:57,483 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403)
08:56:57,483 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.init.MagnoliaServletContextListener.startServer(MagnoliaServletContextListener.java:256)
08:56:57,483 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:182)
08:56:57,483 ERROR [stderr] (ServerService Thread Pool -- 79) 	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:128)
08:56:57,483 ERROR [stderr] (ServerService Thread Pool -- 79) 	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)
08:56:57,483 ERROR [stderr] (ServerService Thread Pool -- 79) 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3780)
08:56:57,484 ERROR [stderr] (ServerService Thread Pool -- 79) 	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163)
08:56:57,484 ERROR [stderr] (ServerService Thread Pool -- 79) 	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)
08:56:57,484 ERROR [stderr] (ServerService Thread Pool -- 79) 	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
08:56:57,484 ERROR [stderr] (ServerService Thread Pool -- 79) 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
08:56:57,484 ERROR [stderr] (ServerService Thread Pool -- 79) 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
08:56:57,484 ERROR [stderr] (ServerService Thread Pool -- 79) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
08:56:57,484 ERROR [stderr] (ServerService Thread Pool -- 79) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
08:56:57,485 ERROR [stderr] (ServerService Thread Pool -- 79) 	at java.lang.Thread.run(Thread.java:748)
08:56:57,485 ERROR [stderr] (ServerService Thread Pool -- 79) 	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
08:56:57,494 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/magnoliaAuthor]] (ServerService Thread Pool -- 79) JBWEB000287: Exception sending context initialized event to listener instance of class info.magnolia.init.MagnoliaServletContextListener: java.lang.NullPointerException
	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:158) [magnolia-core-5.5.6.jar:]
	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:152) [magnolia-core-5.5.6.jar:]
	at info.magnolia.objectfactory.guice.GuiceComponentProvider.getComponent(GuiceComponentProvider.java:106) [magnolia-core-5.5.6.jar:]
	at info.magnolia.objectfactory.Components.getComponent(Components.java:107) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.ContextFactory.getInstance(ContextFactory.java:72) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.MgnlContext.getSystemContext(MgnlContext.java:369) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.MgnlContext.release(MgnlContext.java:637) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403) [magnolia-core-5.5.6.jar:]
	at info.magnolia.init.MagnoliaServletContextListener.startServer(MagnoliaServletContextListener.java:256) [magnolia-core-5.5.6.jar:]
	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:182) [magnolia-core-5.5.6.jar:]
	at info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:128) [magnolia-core-5.5.6.jar:]
	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3780) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_141]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_141]
	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]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122)

08:56:57,530 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 79) JBWEB001103: Error detected during context /magnoliaAuthor start, will stop it
08:56:57,547 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/magnoliaAuthor]] (ServerService Thread Pool -- 79) JBWEB000306: Exception sending context destroyed event to listener instance of class info.magnolia.init.MagnoliaServletContextListener: java.lang.NullPointerException
	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:158) [magnolia-core-5.5.6.jar:]
	at info.magnolia.objectfactory.guice.GuiceUtils.hasExplicitBindingFor(GuiceUtils.java:152) [magnolia-core-5.5.6.jar:]
	at info.magnolia.objectfactory.guice.GuiceComponentProvider.getComponent(GuiceComponentProvider.java:106) [magnolia-core-5.5.6.jar:]
	at info.magnolia.objectfactory.Components.getComponent(Components.java:107) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.ContextFactory.getInstance(ContextFactory.java:72) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.MgnlContext.getSystemContext(MgnlContext.java:369) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.MgnlContext.release(MgnlContext.java:637) [magnolia-core-5.5.6.jar:]
	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403) [magnolia-core-5.5.6.jar:]
	at info.magnolia.init.MagnoliaServletContextListener.stopServer(MagnoliaServletContextListener.java:266) [magnolia-core-5.5.6.jar:]
	at info.magnolia.init.MagnoliaServletContextListener.contextDestroyed(MagnoliaServletContextListener.java:206) [magnolia-core-5.5.6.jar:]
	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3427) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3939) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3843) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_141]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_141]
	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]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122)

08:56:57,554 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 79) MSC000001: Failed to start service jboss.web.deployment.default-host./magnoliaAuthor: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./magnoliaAuthor: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:99)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_141]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_141]
	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]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:168)
	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)
	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
	... 6 more

08:56:57,560 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "magnoliaAuthor.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./magnoliaAuthor" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./magnoliaAuthor: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
    Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context"}}
08:56:57,583 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS015859: Deployed "magnoliaAuthor.war" (runtime-name : "magnoliaAuthor.war")


 Comments   
Comment by Richard Gange [ 11/Oct/17 ]

To workaround this issue upgrade to JBoss 7 or better

Comment by Richard Gange [ 11/Oct/17 ]

Same Guice exception occurs on both EE std and pro. Upgrade to EAP 7 to workaround it.

Comment by Richard Gange [ 11/Oct/17 ]

Certified Stack updated: EAP 7 or better is certified for M5.5

https://documentation.magnolia-cms.com/display/DOCS/Certified+stack

Generated at Mon Feb 12 00:06:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.