6 Replies Latest reply on Sep 14, 2017 2:49 PM by gir489

    Wildfly 10.1Final Manager interface will not show deployments

    Gabriella Turek Newbie

      Hello, I have 2 instances of Wildfly 10.1Final  (actually 10 patched to 10.1). Even though I can deploy my war file using jenkins and maven, when I log into the

      management web app it does not show me the deployed war files (I have 2). The error it gives me in the interface is "Unable to load deployments".

      However the error that shows in the logs is as follows:

      2017-09-14 13:34:10,588 ERROR [org.jboss.as.controller.management-operation] (External Management R equest Threads -- 1) WFLYCTL0013: Operation ("read-attribute") failed - address: ([     ("deployment" => "riskscapemr_rest.war"),     ("subsystem" => "jpa"),     ("hibernate-persistence-unit" => "riskscapemr_rest.war#riskscapemr"),     ("entity-cache" => "nz.org.riskscape.archive.entity.Module") ]): java.lang.NullPointerException         at org.hibernate.stat.internal.ConcurrentStatisticsImpl.getSecondLevelCacheStatistics(Concu rrentStatisticsImpl.java:306)         at org.hibernate.stat.internal.ConcurrentStatisticsImpl.getSecondLevelCacheStatistics(Concu rrentStatisticsImpl.java:30)         at org.jboss.as.jpa.hibernate5.management.HibernateEntityCacheStatistics.getStatistics(Hibe rnateEntityCacheStatistics.java:94)         at org.jboss.as.jpa.hibernate5.management.HibernateEntityCacheStatistics$4.invoke(Hibernate EntityCacheStatistics.java:126)         at org.jboss.as.jpa.hibernate5.management.HibernateAbstractStatistics.getValue(HibernateAbstractStatistics.java:99)         at org.jboss.as.jpa.management.ManagementResourceDefinition$1.handle(ManagementResourceDefinition.java:130)         at org.jboss.as.jpa.management.ManagementResourceDefinition$AbstractMetricsHandler.executeRuntimeStep(ManagementResourceDefinition.java:268)         at org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:53)         at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)         at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)         at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)         at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1329)         at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:400)         at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:222)         at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:219)         at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)         at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72)         at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68)         at java.security.AccessController.doPrivileged(Native Method)         at javax.security.auth.Subject.doAs(Subject.java:422)         at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)         at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68)         at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63)         at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)         at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:95)         at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)         at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)         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)         at org.jboss.threads.JBossThread.run(JBossThread.java:320) This is only happening on one of the two servers, the other works just fine. Only one of the 2 apps is hibernate dependent, the other is not, but the error prevents both being shown. How can I fix this, the management web app is mostly useless because of this. Thank you