Lukas,
I suspect we have an issue in inventory (or two)
- when I run inventory as is with h2db, it works, but may or may not
contribute (a lot) to the growth of the heap as seen in the
"Hawkular-services and memory" thread.
- When I try to run against postgres 9.5, the WildFly of the platform
never is available inside inventory. I see tables in postgres, but the
WF never shows. Also later on I got below error
I am also a bit puzzled, that using postgres starts of a c3p0 connection
pool instead of using what is already present in WildFly
hawkular_1 | 20:11:37,309 WARN [org.hawkular.inventory.rest]
(default task-26) RestEasy exception, :
java.lang.IllegalArgumentException: A metric type with path
'/t;hawkular/f;f38c6e77-6ee0-47da-a80a-bdac9a249457/mt;Singleton%20EJB%20Metrics~Wait%20Time'
not found relative to
'/t;hawkular/f;f38c6e77-6ee0-47da-a80a-bdac9a249457/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-metrics.ear/r;Local~%2Fdeployment%3Dhawkular-metrics.ear%2Fsubdeployment%3Dhawkular-alerts.war/r;Local~%2Fdeployment%3Dhawkular-metrics.ear%2Fsubdeployment%3Dhawkular-alerts.war%2Fsubsystem%3Dejb3%2Fsingleton-bean%3DPartitionManagerImpl'.
hawkular_1 | at
org.hawkular.inventory.base.BaseMetrics$ReadWrite.wireUpNewEntity(BaseMetrics.java:79)
hawkular_1 | at
org.hawkular.inventory.base.BaseMetrics$ReadWrite.wireUpNewEntity(BaseMetrics.java:51)
hawkular_1 | at
org.hawkular.inventory.base.Mutator.doCreate(Mutator.java:168)
hawkular_1 | at
org.hawkular.inventory.base.Mutator.lambda$doCreate$95(Mutator.java:81)
hawkular_1 | at
org.hawkular.inventory.base.TransactionPayload$Committing.lambda$committing$44(TransactionPayload.java:34)
hawkular_1 | at
org.hawkular.inventory.base.Traversal.lambda$inCommittableTxWithNotifications$94(Traversal.java:119)
hawkular_1 | at
org.hawkular.inventory.base.Util.onFailureRetry(Util.java:110)
hawkular_1 | at
org.hawkular.inventory.base.Util.inCommittableTx(Util.java:81)
hawkular_1 | at
org.hawkular.inventory.base.Traversal.inCommittableTxWithNotifications(Traversal.java:118)
hawkular_1 | at
org.hawkular.inventory.base.Traversal.inTxWithNotifications(Traversal.java:91)
hawkular_1 | at
org.hawkular.inventory.base.Mutator.doCreate(Mutator.java:81)
hawkular_1 | at
org.hawkular.inventory.base.BaseMetrics$ReadWrite.create(BaseMetrics.java:122)
hawkular_1 | at
org.hawkular.inventory.base.BaseMetrics$ReadWrite.create(BaseMetrics.java:51)
hawkular_1 | at
org.hawkular.inventory.api.WriteInterface.create(WriteInterface.java:60)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher$1.visitMetric(SingleSyncedFetcher.java:313)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher$1.visitMetric(SingleSyncedFetcher.java:305)
hawkular_1 | at
org.hawkular.inventory.paths.ElementTypeVisitor.accept(ElementTypeVisitor.java:36)
hawkular_1 | at
org.hawkular.inventory.paths.Path$Segment.accept(Path.java:648)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.create(SingleSyncedFetcher.java:305)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.create(SingleSyncedFetcher.java:350)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.create(SingleSyncedFetcher.java:350)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.create(SingleSyncedFetcher.java:350)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.lambda$syncTrees$121(SingleSyncedFetcher.java:246)
hawkular_1 | at java.lang.Iterable.forEach(Iterable.java:75)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.syncTrees(SingleSyncedFetcher.java:246)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.lambda$synchronize$119(SingleSyncedFetcher.java:123)
hawkular_1 | at
org.hawkular.inventory.base.TransactionPayload$Committing.lambda$committing$44(TransactionPayload.java:34)
hawkular_1 | at
org.hawkular.inventory.base.Traversal.lambda$inCommittableTx$93(Traversal.java:106)
hawkular_1 | at
org.hawkular.inventory.base.Util.onFailureRetry(Util.java:110)
hawkular_1 | at
org.hawkular.inventory.base.Util.inCommittableTx(Util.java:81)
hawkular_1 | at
org.hawkular.inventory.base.Traversal.inCommittableTx(Traversal.java:105)
hawkular_1 | at
org.hawkular.inventory.base.Traversal.inTx(Traversal.java:96)
hawkular_1 | at
org.hawkular.inventory.base.Traversal.inTx(Traversal.java:79)
hawkular_1 | at
org.hawkular.inventory.base.SingleSyncedFetcher.synchronize(SingleSyncedFetcher.java:93)
hawkular_1 | at
org.hawkular.inventory.base.BaseResources$Single.synchronize(BaseResources.java:206)
hawkular_1 | at
org.hawkular.inventory.rest.RestSync.sync(RestSync.java:80)
hawkular_1 | at
org.hawkular.inventory.rest.RestSync$Proxy$_$$_WeldClientProxy.sync(Unknown
Source)
hawkular_1 | at
sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
hawkular_1 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
hawkular_1 | at java.lang.reflect.Method.invoke(Method.java:498)
hawkular_1 | at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
hawkular_1 | at
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
hawkular_1 | at
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
hawkular_1 | at
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
hawkular_1 | at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
hawkular_1 | at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
hawkular_1 | at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
hawkular_1 | at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
hawkular_1 | at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
hawkular_1 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
hawkular_1 | at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
hawkular_1 | at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
hawkular_1 | at
io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:129)
hawkular_1 | at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
hawkular_1 | at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
hawkular_1 | at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
hawkular_1 | at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
hawkular_1 | at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
hawkular_1 | at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
hawkular_1 | at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
hawkular_1 | at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
hawkular_1 | at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
hawkular_1 | at
io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
hawkular_1 | at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
hawkular_1 | at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
hawkular_1 | at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
hawkular_1 | at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
hawkular_1 | at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
hawkular_1 | at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
hawkular_1 | at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
hawkular_1 | at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
hawkular_1 | at
io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
hawkular_1 | at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
hawkular_1 | at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
hawkular_1 | at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
hawkular_1 | at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
hawkular_1 | at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
hawkular_1 | at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
hawkular_1 | at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
hawkular_1 | at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
hawkular_1 | at
io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
hawkular_1 | at
io.undertow.server.HttpServerExchun(HttpServerExchange.java:793)
hawkular_1 | at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
hawkular_1 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
hawkular_1 | at java.lang.Thread.run(Thread.java:745)
hawkular_1 |
Show replies by date