[JBoss JIRA] (WFCORE-4087) Starting an embedded server with older versions of WildFly Core results in a NoSuchMethodException
by James Perkins (JIRA)
James Perkins created WFCORE-4087:
-------------------------------------
Summary: Starting an embedded server with older versions of WildFly Core results in a NoSuchMethodException
Key: WFCORE-4087
URL: https://issues.jboss.org/browse/WFCORE-4087
Project: WildFly Core
Issue Type: Bug
Components: Embedded
Reporter: James Perkins
Assignee: James Perkins
WFCORE-3943 introduced a new method which accepts a class loader for the reflective invocation. This fails with any release of WildFly Core prior to 6.0.0.Alpha5 as the method including the class loader is not present. The method using the class loader should be checked and fallback to the method without the class loader parameter.
Note that this _may_ affect the migration tool which could require a 6.0.2.Final release of WildFly Core.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2397) PMML modules have classloader issues in OSGi
by Matteo Mortari (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2397?page=com.atlassian.jira.plugi... ]
Matteo Mortari commented on DROOLS-2397:
----------------------------------------
poker: n/a
> PMML modules have classloader issues in OSGi
> --------------------------------------------
>
> Key: DROOLS-2397
> URL: https://issues.jboss.org/browse/DROOLS-2397
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.6.0.Final
> Environment: Equinox OSGi container, Java 8
> Reporter: Jens Reimann
> Assignee: Lance Leverich
> Labels: drools-core
>
> The drools PMML modules (drools-pmml and kie-pmml) both suffer from a few class loader issues when running inside an OSGi container.
> The KieBase built for transforming the PMML model to Drools model selects the wrong class loader (based on the context class loader). The JAXB instance creator fails with the same problem.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10964) JPA statistics do not show in the management console
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-10964?page=com.atlassian.jira.plugin... ]
Scott Marlow updated WFLY-10964:
--------------------------------
Description:
Currently, the following "Unknown entity" error shows up in the server console:
{code}
2018-09-04 12:01:32,740 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "JpaStatisticsTestCase.jar" (runtime-name : "JpaStatisticsTestCase.jar")
2018-09-04 12:01:32,810 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("deployment" => "JpaStatisticsTestCase.jar"),
("subsystem" => "jpa"),
("hibernate-persistence-unit" => "JpaStatisticsTestCase.jar#mypc"),
("entity" => "org.jboss.as.test.integration.jpa.secondlevelcache.Company")
]): org.hibernate.MappingException: Unknown entity: entity-update-count
at org.hibernate.metamodel.internal.MetamodelImpl.entityPersister(MetamodelImpl.java:670)
at org.hibernate.stat.internal.StatisticsImpl.lambda$getEntityStatistics$0(StatisticsImpl.java:215)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
at org.hibernate.stat.internal.StatisticsImpl.getEntityStatistics(StatisticsImpl.java:213)
at org.hibernate.stat.internal.StatisticsImpl.getEntityStatistics(StatisticsImpl.java:32)
at org.jboss.as.jpa.hibernate5.management.HibernateEntityStatistics.getStatistics(HibernateEntityStatistics.java:86)
at org.jboss.as.jpa.hibernate5.management.HibernateEntityStatistics.access$000(HibernateEntityStatistics.java:37)
at org.jboss.as.jpa.hibernate5.management.HibernateEntityStatistics$5.invoke(HibernateEntityStatistics.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:59)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411)
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:265)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:231)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:240)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:138)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:162)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:158)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:246)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:158)
at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
{code}
Fix this bug and add test to testsuite for this.
was:
{code}
)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
^C11:00:55,490 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0236: Suspending server with no timeout.
11:00:55,493 INFO [org.jboss.as.ejb3] (Thread-2) WFLYEJB0493: EJB subsystem suspension complete
11:00:55,497 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested via an OS signal
11:00:55,535 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
11:00:55,536 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 77) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service '2lc.jar#TEST_PU'
11:00:55,541 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 78) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service '2lc.jar#second_PU'
11:00:55,551 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 79) WFLYCLINF0003: Stopped client-mappings cache from ejb container
11:00:55,552 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0003: Stopped 2lc.jar#TEST_PU.Employee cache from hibernate container
11:00:55,552 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0019: Host default-host stopping
11:00:55,554 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0003: Stopped 2lc.jar#second_PU.default-query-results-region cache from hibernate container
11:00:55,555 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0003: Stopped 2lc.jar#TEST_PU.Employee-pending-puts cache from hibernate container
11:00:55,559 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0003: Stopped 2lc.jar#second_PU.default-update-timestamps-region cache from hibernate container
11:00:55,561 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0003: Stopped 2lc.jar#TEST_PU.default-query-results-region cache from hibernate container
11:00:55,561 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0003: Stopped 2lc.jar#TEST_PU.default-update-timestamps-region cache from hibernate container
11:00:55,563 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 78) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service '2lc.jar#second_PU'
11:00:55,577 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 78) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service '2lc.jar#TEST_PU'
11:00:55,577 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
11:00:55,585 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with driver-name = h2
11:00:55,589 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
11:00:55,590 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTPS listener https suspending
11:00:55,590 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment 2lc.jar (runtime-name: 2lc.jar) in 85ms
11:00:55,591 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
11:00:55,590 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
11:00:55,593 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0004: Undertow 2.0.13.Final stopping
11:00:55,601 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 14.0.0.Final (WildFly Core 6.0.1.Final) stopped in 94ms
wildfly-14.0.0.Final/bin $ ./standalone.sh
JAVA_OPTS already set in environment; overriding default settings with values: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs= -Djava.awt.headless=true -Dorg.jboss.logmanager.nocolor=true
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/smarlow/work/wildfly/dist/target/wildfly-14.0.0.Final
JAVA: /home/smarlow/jdk1.8.0_131/bin/java
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs= -Djava.awt.headless=true -Dorg.jboss.logmanager.nocolor=true -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=y
=========================================================================
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Listening for transport dt_socket at address: 8787
11:01:00,591 INFO [org.jboss.modules] (main) JBoss Modules version 1.8.6.Final
11:01:01,306 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.3.Final
11:01:01,315 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.2.Final
11:01:01,434 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 14.0.0.Final (WildFly Core 6.0.1.Final) starting
11:01:02,066 INFO [org.wildfly.security] (ServerService Thread Pool -- 15) ELY00001: WildFly Elytron version 1.6.0.Final
11:01:02,593 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 a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:01:02,646 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 34) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:01:02,672 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
11:01:02,690 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.6.5.Final
11:01:02,698 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.6.5.Final
11:01:02,748 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) WFLYCLINF0001: Activating Infinispan subsystem.
11:01:02,751 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 41) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
11:01:02,764 INFO [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 57) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
11:01:02,768 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 49) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
11:01:02,778 INFO [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 59) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
11:01:02,786 INFO [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.11.Final)
11:01:02,788 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 50) WFLYRS0016: RESTEasy version 3.6.1.Final
11:01:02,813 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 60) WFLYNAM0001: Activating Naming Subsystem
11:01:02,815 INFO [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 5.0.8.Final
11:01:02,815 INFO [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 58) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
11:01:02,817 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 55) WFLYJSF0007: Activated the following JSF Implementations: [main]
11:01:02,819 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
11:01:02,829 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = h2
11:01:02,852 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 68) 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:01:02,861 INFO [org.jboss.as.security] (ServerService Thread Pool -- 66) WFLYSEC0002: Activating Security Subsystem
11:01:02,867 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=5.0.3.Final
11:01:02,876 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 70) WFLYWS0002: Activating WebServices Extension
11:01:02,885 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
11:01:02,894 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
11:01:02,905 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0003: Undertow 2.0.13.Final starting
11:01:02,915 INFO [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
11:01:02,961 INFO [org.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.
11:01:02,961 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.
11:01:03,062 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.
11:01:03,063 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 69) WFLYUT0014: Creating file handler for path '/home/smarlow/work/wildfly/dist/target/wildfly-14.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
11:01:03,066 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018: Host default-host starting
11:01:03,115 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
11:01:03,252 INFO [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
11:01:03,267 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-4) WFLYDM0111: Keystore /home/smarlow/work/wildfly/dist/target/wildfly-14.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:01:03,483 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory /home/smarlow/work/wildfly/dist/target/wildfly-14.0.0.Final/standalone/deployments
11:01:03,489 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "2lc.jar" (runtime-name: "2lc.jar")
11:01:03,548 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
11:01:03,598 INFO [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 5.2.3.Final (Apache CXF 3.2.5.jbossorg-1)
11:01:03,755 INFO [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for TEST_PU
11:01:03,755 INFO [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for second_PU
11:01:03,889 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0493: EJB subsystem suspension complete
11:01:03,949 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
11:01:04,200 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan 'Estrella Galicia' 9.3.1.Final
11:01:04,211 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 72) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service '2lc.jar#second_PU'
11:01:04,211 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 73) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service '2lc.jar#TEST_PU'
11:01:04,227 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 73) HHH000204: Processing PersistenceUnitInfo [
name: TEST_PU
...]
11:01:04,227 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 72) HHH000204: Processing PersistenceUnitInfo [
name: second_PU
...]
11:01:04,287 INFO [org.hibernate.Version] (ServerService Thread Pool -- 73) HHH000412: Hibernate Core {5.3.6.Final}
11:01:04,288 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 73) HHH000206: hibernate.properties not found
11:01:04,405 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 73) HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
11:03:04,277 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 77) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service '2lc.jar#second_PU'
11:03:04,280 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 78) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service '2lc.jar#TEST_PU'
11:03:04,363 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 76) WFLYCLINF0002: Started client-mappings cache from ejb container
11:03:04,480 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 78) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
11:03:04,480 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 77) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
11:03:04,487 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 77) HHH000431: Unable to determine H2 database version, certain features may not work
11:03:04,487 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 78) HHH000431: Unable to determine H2 database version, certain features may not work
11:03:04,545 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 78) Envers integration enabled? : true
11:03:04,545 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 77) Envers integration enabled? : true
11:03:04,635 INFO [org.hibernate.bytecode.enhance.spi.Enhancer] (ServerService Thread Pool -- 77) Enhancing [Employee] as Entity
11:03:04,635 INFO [org.hibernate.bytecode.enhance.spi.Enhancer] (ServerService Thread Pool -- 78) Enhancing [Employee] as Entity
11:03:05,043 INFO [org.hibernate.orm.beans] (ServerService Thread Pool -- 78) HHH10005002: No explicit CDI BeanManager reference was passed to Hibernate, but CDI is available on the Hibernate ClassLoader.
11:03:05,043 INFO [org.hibernate.orm.beans] (ServerService Thread Pool -- 77) HHH10005002: No explicit CDI BeanManager reference was passed to Hibernate, but CDI is available on the Hibernate ClassLoader.
11:03:05,199 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 77) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,199 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 78) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,199 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 78) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,200 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 77) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,200 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 78) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,200 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 77) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,200 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 78) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,200 WARN [org.infinispan.hibernate.cache.v53.InfinispanRegionFactory] (ServerService Thread Pool -- 77) HHH025030: Transactional caches are not supported. The configuration option will be ignored; please unset.
11:03:05,223 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (ServerService Thread Pool -- 77) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
11:03:05,223 INFO [org.infinispan.expiration.impl.ExpirationManagerImpl] (ServerService Thread Pool -- 78) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
11:03:05,224 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0002: Started 2lc.jar#second_PU.default-update-timestamps-region cache from hibernate container
11:03:05,224 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0002: Started 2lc.jar#TEST_PU.default-update-timestamps-region cache from hibernate container
11:03:05,254 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0002: Started 2lc.jar#second_PU.default-query-results-region cache from hibernate container
11:03:05,255 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0002: Started 2lc.jar#TEST_PU.default-query-results-region cache from hibernate container
11:03:05,299 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 77) HV000001: Hibernate Validator 6.0.13.Final
11:03:05,451 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0002: Started 2lc.jar#TEST_PU.Employee cache from hibernate container
11:03:05,460 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0002: Started 2lc.jar#TEST_PU.Employee-pending-puts cache from hibernate container
11:03:05,590 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 77) HHH000397: Using ASTQueryTranslatorFactory
11:03:05,590 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 78) HHH000397: Using ASTQueryTranslatorFactory
11:03:05,660 INFO [org.jboss.as.server] (ServerService Thread Pool -- 42) WFLYSRV0010: Deployed "2lc.jar" (runtime-name : "2lc.jar")
11:03:05,699 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
11:03:05,701 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
11:03:05,701 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
11:03:05,701 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 14.0.0.Final (WildFly Core 6.0.1.Final) started in 125447ms - Started 403 of 570 services (324 services are lazy, passive or on-demand)
11:21:15,223
{code}
Fix this bug and add test to testsuite for this.
> JPA statistics do not show in the management console
> ----------------------------------------------------
>
> Key: WFLY-10964
> URL: https://issues.jboss.org/browse/WFLY-10964
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.0.Final
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 15.0.0.Alpha1
>
>
> Currently, the following "Unknown entity" error shows up in the server console:
> {code}
> 2018-09-04 12:01:32,740 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "JpaStatisticsTestCase.jar" (runtime-name : "JpaStatisticsTestCase.jar")
> 2018-09-04 12:01:32,810 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
> ("deployment" => "JpaStatisticsTestCase.jar"),
> ("subsystem" => "jpa"),
> ("hibernate-persistence-unit" => "JpaStatisticsTestCase.jar#mypc"),
> ("entity" => "org.jboss.as.test.integration.jpa.secondlevelcache.Company")
> ]): org.hibernate.MappingException: Unknown entity: entity-update-count
> at org.hibernate.metamodel.internal.MetamodelImpl.entityPersister(MetamodelImpl.java:670)
> at org.hibernate.stat.internal.StatisticsImpl.lambda$getEntityStatistics$0(StatisticsImpl.java:215)
> at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
> at org.hibernate.stat.internal.StatisticsImpl.getEntityStatistics(StatisticsImpl.java:213)
> at org.hibernate.stat.internal.StatisticsImpl.getEntityStatistics(StatisticsImpl.java:32)
> at org.jboss.as.jpa.hibernate5.management.HibernateEntityStatistics.getStatistics(HibernateEntityStatistics.java:86)
> at org.jboss.as.jpa.hibernate5.management.HibernateEntityStatistics.access$000(HibernateEntityStatistics.java:37)
> at org.jboss.as.jpa.hibernate5.management.HibernateEntityStatistics$5.invoke(HibernateEntityStatistics.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:59)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
> at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:265)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:231)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:240)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:138)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:162)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:158)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:246)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:158)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> {code}
> Fix this bug and add test to testsuite for this.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2945) DMN Designer - opening data type dialog shows warning in browser console
by Guilherme Carreiro (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2945?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-2945:
---------------------------------------
Story Points: 1 (was: 0)
> DMN Designer - opening data type dialog shows warning in browser console
> ------------------------------------------------------------------------
>
> Key: DROOLS-2945
> URL: https://issues.jboss.org/browse/DROOLS-2945
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.11.0.Final
> Reporter: Jozef Marko
> Assignee: Guilherme Carreiro
> Priority: Minor
> Labels: drools-tools
> Attachments: Port Clearance Rules - Solution 3.dmn
>
>
> Opening *manage custom data types dialog* shows warning in the browser console.
> {code}
> org.kie.workbench.drools.KIEDroolsWebapp-0.js:22170 13:54:49 WARNING [TemplateUtil] Replacing Element type [SPAN] in org/kie/workbench/common/dmn/client/editors/types/listview/DataTypeListItemView.html with type [TD] for type in org.kie.workbench.common.dmn.client.editors.types.listview.DataTypeListItemView
> {code}
> h3. Acceptance test
> Check browser console after *manage custom data types* dialog opening in
> - IE11
> - Chrome
> - Firefox
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2962) Incremental and Non-Incremental evaluation instead of sequential mode.
by Mark Proctor (JIRA)
Mark Proctor created DROOLS-2962:
------------------------------------
Summary: Incremental and Non-Incremental evaluation instead of sequential mode.
Key: DROOLS-2962
URL: https://issues.jboss.org/browse/DROOLS-2962
Project: Drools
Issue Type: Feature Request
Reporter: Mark Proctor
Assignee: Mario Fusco
While Drools supports sequential mode at the engine configuration level. We should move this to a unit and rule level.
We should enhance this work too. Right now Drools evaluation is either fully incremental or non-incremental if the kbase is set to stateless.
Sequential mode current means two things.
1) Rules evaluate and fire in load order.
2) Rules are non-incremental.
By default now all rules are load order anyway. If we simply supported a @NonIncremental or @Incremental(NO) attribute on a unit, then it's behaviour would be the same as sequential is now, but scoped to the unit. I believe this is true, but I'd like this verified (challenged).
As with existence/data driven, this is the default for the unit's rules. A unit may override with the opposite configuration.
This means a unit can be mixed incremental and non-incremental.
Existence or Data Driven annotations for non-incremental do not make sense, and their combination should throw an error, as explained below.
Instead a non-incremental rule should have control on whether it is to be re-evaluated and fired, each time the unit is entered. At first glance this behaviour looks very similar to Existence Driven, however the choice not to allow @ExistenceDriven + @NonIncremetal is due to the lack of symmetry. You could not combined @DataDriven + @NonIncremental. That lack of symmetry may break intuitive learning, if it's not kept clean.
If an alternative annotation is introduced - such as @OneShot|@EvalAndFireOnce|etc. We should make sure it fits intuitively and cleanly with how we explain @ExistenceDriven.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2922) CSS: Pop-over menu for DMN decision tables.
by Sarah Rambacher (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2922?page=com.atlassian.jira.plugi... ]
Sarah Rambacher updated DROOLS-2922:
------------------------------------
Story Points: 2
> CSS: Pop-over menu for DMN decision tables.
> -------------------------------------------
>
> Key: DROOLS-2922
> URL: https://issues.jboss.org/browse/DROOLS-2922
> Project: Drools
> Issue Type: Story
> Components: DMN Editor
> Reporter: Liz Clayton
> Assignee: Sarah Rambacher
> Labels: UX, UXTeam, drools-tools
> Attachments: DataType selection ('Properties Panel' and 'in-grid').png, Screen Shot 2018-08-10 at 10.23.36 AM.png, pop-overc.png, pop-overcSpecs.png, select.png
>
>
> *Background*
> Persona: Business analyst or Rules practitioner
> Use Cases from the DMN canvas view, as a user I want to:
> * Search a list of available data types from a decision table, as part of an input/selection process.
> * Select a data type inline from a decision table.
> * Have a means to rename the Decision (node.)
> * Have a means to access the Manage Data Types dialog.
> Notes:
> Design requires a Pop-over, which includes:
> * Form field labels for usability (context) and accessibility.
> * Variant 1 of the PF pop-over patterns, which supports a the pop-up title.
> * Drop down component with Live Search
> * "Manage" link opens a dialog.
> * Pop-up is initiated by a single-left mouse click within the respective decision table cell.
> * Design needs to be reasonably consistent with Stunner and PF components.
> Verification conditions:
> * Scrum team and PO review.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2762) [DMN Editor] Custom data-types - "Add row" component - this component creates new lines (in the treegrid-table)
by Guilherme Carreiro (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2762?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-2762:
---------------------------------------
Attachment: DROOLS-2762.png
> [DMN Editor] Custom data-types - "Add row" component - this component creates new lines (in the treegrid-table)
> ---------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-2762
> URL: https://issues.jboss.org/browse/DROOLS-2762
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Affects Versions: 7.9.0.Final
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Labels: drools-tools
> Attachments: DROOLS-2762.png
>
>
> The "Add component" creates new lines (in the treegrid-table) representing nested fields (in ItemDefinition):
> - This component must be disabled (or hidden) when an existing/primitive data type is selected.
> h3. Acceptance test
> - User not able to add and save lines that are filled just partially
> - Check added rows after reopening
> - Check undo redo commands
> - The "Add row" button must always appear to the user
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months