[JBoss JIRA] (WFLY-10288) Remove ee8.preview.mode support
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-10288?page=com.atlassian.jira.plugin... ]
Sanne Grinovero updated WFLY-10288:
-----------------------------------
Description:
Once Java EE 8 compliant we need to remove the support for the {{ee8.preview.mode}} system property.
The following modules will need to be updated:
* {{javax.enterprise.api}}
* {{javax.validation.api}}
* {{javax.json.bind.api}}
* {{javax.json.api}}
* {{javax.annotation.api}}
* {{javax.servlet.api}}
* {{org.wildfly.bridge.servlet-api-bridge}} (needs to be removed)
* {{org.eclipse.yasson}}
* {{org.glassfish.javax.json}}
* {{javax.persistence.api}}
* {{javax.ws.rs.api}}
* {{javax.faces.api}}
* {{javax.mail.api}}
* {{javax.xml.bind.api}}
* {{org.wildfly.cdi-api-bridge}}
* {{org.jboss.resteasy.resteasy-json-binding-provider}}
* {{org.jboss.resteasy.resteasy-jaxrs}}
* {{org.hibernate.validator}}
* {{org.hibernate.validator.cdi}}
* {{org.hibernate}}
* {{com.sun.jsf-impl}}
The following configuration needs to be removed:
* {{./feature-pack/src/main/resources/configuration/standalone/template-ee8.xml}}
The Hibernate Search modules are currently duplicated:
* {{org.hibernate.search.*}} using "main" slot should be removed
* {{org.hibernate.search.*}} using "5.10" slot should be promoted to main
* Update usage of constants {{org.jboss.as.jpa.config.Configuration#PROVIDER_MODULE_HIBERNATE_SEARCH_EE8}}, PROVIDER_MODULE_HIBERNATE_SEARCH_EE7
The following source files should be updated:
* {{org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.java}}
* {{org.wildfly.extension.undertow.deployment.WarMetaDataProcessor.java}}
Any solution for WFLY-10289 should be reverted.
The following documentation needs to be updated:
* {{./docs/src/main/asciidoc/Getting_Started_Guide.adoc}}
was:
Once Java EE 8 compliant we need to remove the support for the {{ee8.preview.mode}} system property.
The following modules will need to be updated:
* {{javax.enterprise.api}}
* {{javax.validation.api}}
* {{javax.json.bind.api}}
* {{javax.json.api}}
* {{javax.annotation.api}}
* {{javax.servlet.api}}
* {{org.wildfly.bridge.servlet-api-bridge}} (needs to be removed)
* {{org.eclipse.yasson}}
* {{org.glassfish.javax.json}}
* {{javax.persistence.api}}
* {{javax.ws.rs.api}}
* {{javax.faces.api}}
* {{javax.mail.api}}
* {{javax.xml.bind.api}}
* {{org.wildfly.cdi-api-bridge}}
* {{org.jboss.resteasy.resteasy-json-binding-provider}}
* {{org.jboss.resteasy.resteasy-jaxrs}}
* {{org.hibernate.validator}}
* {{org.hibernate.validator.cdi}}
* {{com.sun.jsf-impl}}
The following configuration needs to be removed:
* {{./feature-pack/src/main/resources/configuration/standalone/template-ee8.xml}}
The following source files should be updated:
* {{org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.java}}
* {{org.wildfly.extension.undertow.deployment.WarMetaDataProcessor.java}}
Any solution for WFLY-10289 should be reverted.
The following documentation needs to be updated:
* {{./docs/src/main/asciidoc/Getting_Started_Guide.adoc}}
> Remove ee8.preview.mode support
> -------------------------------
>
> Key: WFLY-10288
> URL: https://issues.jboss.org/browse/WFLY-10288
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: James Perkins
>
> Once Java EE 8 compliant we need to remove the support for the {{ee8.preview.mode}} system property.
> The following modules will need to be updated:
> * {{javax.enterprise.api}}
> * {{javax.validation.api}}
> * {{javax.json.bind.api}}
> * {{javax.json.api}}
> * {{javax.annotation.api}}
> * {{javax.servlet.api}}
> * {{org.wildfly.bridge.servlet-api-bridge}} (needs to be removed)
> * {{org.eclipse.yasson}}
> * {{org.glassfish.javax.json}}
> * {{javax.persistence.api}}
> * {{javax.ws.rs.api}}
> * {{javax.faces.api}}
> * {{javax.mail.api}}
> * {{javax.xml.bind.api}}
> * {{org.wildfly.cdi-api-bridge}}
> * {{org.jboss.resteasy.resteasy-json-binding-provider}}
> * {{org.jboss.resteasy.resteasy-jaxrs}}
> * {{org.hibernate.validator}}
> * {{org.hibernate.validator.cdi}}
> * {{org.hibernate}}
> * {{com.sun.jsf-impl}}
> The following configuration needs to be removed:
> * {{./feature-pack/src/main/resources/configuration/standalone/template-ee8.xml}}
> The Hibernate Search modules are currently duplicated:
> * {{org.hibernate.search.*}} using "main" slot should be removed
> * {{org.hibernate.search.*}} using "5.10" slot should be promoted to main
> * Update usage of constants {{org.jboss.as.jpa.config.Configuration#PROVIDER_MODULE_HIBERNATE_SEARCH_EE8}}, PROVIDER_MODULE_HIBERNATE_SEARCH_EE7
> The following source files should be updated:
> * {{org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.java}}
> * {{org.wildfly.extension.undertow.deployment.WarMetaDataProcessor.java}}
> Any solution for WFLY-10289 should be reverted.
> The following documentation needs to be updated:
> * {{./docs/src/main/asciidoc/Getting_Started_Guide.adoc}}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFLY-9849) Hibernate session related leak on module undeployment
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-9849?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero reassigned WFLY-9849:
-------------------------------------
Assignee: Scott Marlow (was: Jason Greene)
> Hibernate session related leak on module undeployment
> -----------------------------------------------------
>
> Key: WFLY-9849
> URL: https://issues.jboss.org/browse/WFLY-9849
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Final, 12.0.0.Final
> Environment: * Ubuntu 16.04.3 LTS
> * OpenJDK 1.8.0_151
> * Wildfly 11.0.0.Final
> Seems to occur at least on CentOS 7/OpenJDK 1.8.0_151 also.
> Reporter: Joni Syri
> Assignee: Scott Marlow
>
> In some cases it seems that removing deployment from the Wildfly, doesn't free up {{org.hibernate.internal.SessionFactoryImpl}}- instance related to the deployment. (plus some other Hibernate related classes). This can be seen by taking memory dump with VisualVM and looking up {{SessionFactoryImpl}} instances.
> This leads to cumulative memory leak in cases, where application is repeatedly deployed/undeployed (or updated).
> updated: Seems to occur on 12.0.0.Final also
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFLY-7524) Add Hibernate-Spatial to WildFly Feature Pack
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-7524?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on WFLY-7524:
---------------------------------------
Hi Dennis,
I'm sorry I couldn't get this into WF13, just getting Hibernate updated was very time consuming for out small team. We got the Hibernate ORM project to produce feature packs so to make such evolutions possible, but the WildFly project is making significant changes to the feature pack and modules system so we're not currently aligned.
I will try to make this happen again once the new build system is stable.
> Add Hibernate-Spatial to WildFly Feature Pack
> ---------------------------------------------
>
> Key: WFLY-7524
> URL: https://issues.jboss.org/browse/WFLY-7524
> Project: WildFly
> Issue Type: Feature Request
> Affects Versions: 11.0.0.Final, 12.0.0.Beta1
> Environment: Linux / OpenJDK 8 / Wildfly 11.0.0.Final
> Reporter: Dennis Gesker
> Assignee: Jason Greene
> Labels: wildfly-feature-pack
>
> If possible kindly add jars need to make use of hibernate-spatial to WildFly-Feature-Pack
> org.hibernate:hibernate-spatial
> org.geolatte:geolatte-geom
> com.vividsolutions:jts-parent
> BTW, thank you for this package. It saves a HUGE amount of time with dependencies.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFLY-5095) Infinispan subsystem configuration upgrade from WildFly 8 to WildFly 9 should set module="org.hibernate.infinispan"
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-5095?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on WFLY-5095:
---------------------------------------
Out of date?
> Infinispan subsystem configuration upgrade from WildFly 8 to WildFly 9 should set module="org.hibernate.infinispan"
> --------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-5095
> URL: https://issues.jboss.org/browse/WFLY-5095
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, JPA / Hibernate
> Affects Versions: 9.0.1.Final
> Reporter: Emond Papegaaij
> Assignee: Paul Ferraro
> Attachments: simple-jpa.tar.bz2
>
>
> When upgrading a Wildfly configuration (for example standalone.xml) from WF8 to WF9, the module attribute of the hibernate infinispan cache is not updated to 'org.hibernate.infinispan'. This results in the following error at startup:
> {code}
> 10:02:44,638 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 59) MSC000001: Failed to start service jboss.persistenceunit."simple-jpa.war#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."simple-jpa.war#primary": org.infinispan.commons.CacheException: Unable to construct a ComponentRegistry!
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)
> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:665)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> Caused by: org.infinispan.commons.CacheException: Unable to construct a ComponentRegistry!
> at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:91)
> at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:70)
> at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:58)
> at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:42)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:591)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:554)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:424)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:438)
> at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:118)
> at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:109)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.getCache(InfinispanRegionFactory.java:566)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.buildEntityRegion(InfinispanRegionFactory.java:237)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:364)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)
> at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:425)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:849)
> at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154)
> ... 7 more
> Caused by: org.infinispan.commons.CacheException: Error injecting dependencies for component org.infinispan.factories.ComponentRegistry
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:197)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:189)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:156)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:148)
> at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:76)
> ... 26 more
> Caused by: java.lang.ClassNotFoundException: Class org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifier cannot be found
> at org.infinispan.commons.util.ReflectionUtil.getClassForName(ReflectionUtil.java:325)
> at org.infinispan.commons.util.ReflectionUtil.toClassArray(ReflectionUtil.java:313)
> at org.infinispan.factories.AbstractComponentRegistry$Component.buildInjectionMethodsList(AbstractComponentRegistry.java:820)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:195)
> ... 30 more
> {code}
> I would expect the configuration upgrade to detect the special hibernate infinispan cache and to update the module attribute accordingly.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFCORE-3867) Space char always last char of read system property on Windows
by R Searls (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3867?page=com.atlassian.jira.plugi... ]
R Searls closed WFCORE-3867.
----------------------------
Resolution: Rejected
Inappropriate scipt use caused issue. Fixing script usage resolved issue.
> Space char always last char of read system property on Windows
> --------------------------------------------------------------
>
> Key: WFCORE-3867
> URL: https://issues.jboss.org/browse/WFCORE-3867
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Affects Versions: 5.0.0.Beta4
> Reporter: R Searls
> Assignee: R Searls
> Priority: Minor
>
> On Windows each system property read has a space char as the last char of string.
> This causes failures when the property represents a directory name. Calling
> tmp.toPath().toRealPath() in this situation.
> ServerEnvironment line, 434 Path resolved = tmp.toPath().toRealPath();
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (WFLY-10459) Hibernate Search compatibility mode is not being enabled
by Sanne Grinovero (JIRA)
Sanne Grinovero created WFLY-10459:
--------------------------------------
Summary: Hibernate Search compatibility mode is not being enabled
Key: WFLY-10459
URL: https://issues.jboss.org/browse/WFLY-10459
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 13.0.0.Beta1
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 13.0.0.CR1
We meant to set the {{hibernate.search.index_uninverting_allowed}} property, but this was set as a boolean (primitive) rather than as a string, which is ignored by {{Properties}} instance, which is what Hibernate consumes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months