[JBoss JIRA] (WFCORE-3167) option to filter out aged out patches from the patching history
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3167?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-3167:
-------------------------------------
Fix Version/s: 4.0.0.Alpha1
(was: 3.0.0.CR1)
> option to filter out aged out patches from the patching history
> ---------------------------------------------------------------
>
> Key: WFCORE-3167
> URL: https://issues.jboss.org/browse/WFCORE-3167
> Project: WildFly Core
> Issue Type: Feature Request
> Components: CLI, Patching
> Affects Versions: 3.0.0.Beta30
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
> Fix For: 4.0.0.Alpha1
>
>
> show-history management operation (and patch history cli command) returns all the patches that have been applied to the installation even if some of them have been aged out by executing ageout-history management operation.
> In some cases it would be useful to filter out the aged out patches from the result, leaving only the patches that can actually be rolled back by a user.
> That could be achieved by adding an optional boolean parameter exclude-agedout (with default value false to preserve the current behavior) to show-history operation.
> The high level CLI command patch history could include an equivalent --exclude-agedout argument.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-9214) Remove experimental Hibernate Search / JGroups integration
by Sanne Grinovero (JIRA)
Sanne Grinovero created WFLY-9214:
-------------------------------------
Summary: Remove experimental Hibernate Search / JGroups integration
Key: WFLY-9214
URL: https://issues.jboss.org/browse/WFLY-9214
Project: WildFly
Issue Type: Task
Components: JPA / Hibernate
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 11.0.0.CR1
The {{<artifactId>hibernate-search-backend-jgroups</artifactId>}} has never matured from its experimental status, and should not have been included in WildFly.
We never supported it, it's presence is not documented in EAP docs, and should simply be removed as it was a mistake to include it in the first place.
I'll keep the reference to it as an optional dependency from the module, so that people can still drop in the module if they want to. I just don't believe this should be shipped by default.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-5743) Module org.javassist not excluded when persistence.xml contains property <property name="jboss.as.jpa.providerModule" value="application" />
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-5743?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on WFLY-5743:
---------------------------------------
I can confirm observing the same problem. As far as I remember, it's injected by JipiJapa.
> Module org.javassist not excluded when persistence.xml contains property <property name="jboss.as.jpa.providerModule" value="application" />
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-5743
> URL: https://issues.jboss.org/browse/WFLY-5743
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading
> Affects Versions: 9.0.2.Final
> Environment: OS: Windows 7
> JVM: jdk1.7.0_79,
> WF: wildfly-9.0.2.Final
> DB: h2
> Reporter: Juraj Staník
> Assignee: David Lloyd
> Attachments: class-loading-problem.zip
>
>
> Excluding the module 'org.javassit' in the jboss-deployment-structure.xml does not work correctly for all modules in EAR when shipping custom version of Hibernate and Javassist and setting property
> <property name="jboss.as.jpa.providerModule" value="application" />
> in the persistence.xml.
> In case of the following EAR structure:
> {noformat}
> EAR
> |`-- lib
> | |`-- javassist-3.20.0-GA.jar
> | `-- <hibernate 4.2.19 jars>
> |`-- META-INF
> | |`-- jboss-deployment-structure.xml
> | `-- application.xml
> |`-- EJB-JAR
> | `-- META-INF
> | `-- persistence.xml
> `-- WAR
> {noformat}
> and the content of the jboss-deployment-structure.xml
> {code:title=jboss-deployment-structure.xml|xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
> <ear-subdeployments-isolated>false</ear-subdeployments-isolated>
> <deployment>
> <exclusions>
> <module name="org.hibernate" />
> <module name="org.javassist" />
> </exclusions>
> </deployment>
> </jboss-deployment-structure>
> {code}
> and persistence.xml
> {code:title=persistence.xml|xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
> version="2.1">
> <persistence-unit name="cce-example" transaction-type="JTA">
> <provider>org.hibernate.ejb.HibernatePersistence</provider>
> <jta-data-source>jdbc/CCE_DS</jta-data-source>
> <properties>
> <property name="jboss.as.jpa.providerModule" value="application" />
> </properties>
> </persistence-unit>
> </persistence>
> {code}
> The module EJB-JAR loads javassist classes not from the bundled {{EAR/lib/javassist-3.20.0-GA.jar}} but from {{<WF>/modules/system/layers/base/org/javassist/main/javassist-3.18.1-GA.jar}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3171) Untrusted SSL certificate used for client authentication leads to Broken pipe IOException intermittently
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3171?page=com.atlassian.jira.plugi... ]
Jan Kalina commented on WFCORE-3171:
------------------------------------
JDK not-a-bug:
https://bugs.openjdk.java.net/browse/JDK-8172163
Fixed by allowing IOException in test.
> Untrusted SSL certificate used for client authentication leads to Broken pipe IOException intermittently
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3171
> URL: https://issues.jboss.org/browse/WFCORE-3171
> Project: WildFly Core
> Issue Type: Bug
> Components: Security, Test Suite
> Affects Versions: 3.0.0.Beta30
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Priority: Blocker
>
> Untrusted SSL certificate used for authentication leads to "IOException: Broken pipe" intermittently.
> *Description of problem:*
> ExternalMgmtSaslTestCase from wf-core fails intermittently (80%) on pure-ipv6 RHEL6 machines.
> The test configures two-way-SSL and try to use untrusted client certificate. IOException comes and the test checks if the cause is an SSLException (which is expected), but in some cases "IOException: Broken pipe" comes as the cause instead.
> *How reproducible:*
> 80% on pure-ipv6 RHEL6 machines
> *Steps to Reproduce:*
> {code}
> cd testsuite/elytron
> export PROXY_PARAMS="-DproxySet=true -DproxyHost=proxy-01-ipv6.mw.lab.eng.bos.redhat.com -DproxyPort=3128 -Dhttp.proxyHost=proxy-01-ipv6.mw.lab.eng.bos.redhat.com -Dhttp.proxyPort=3128 -Dhttps.proxyHost=proxy-01-ipv6.mw.lab.eng.bos.redhat.com -Dhttps.proxyPort=3128"
> mvn install -B -fae -llr -Dipv6 $PROXY_PARAMS -Dts.timeout.factor=300 -Dtimeout.factor=300 -Dtest=ExternalMgmtSaslTestCase
> {code}
> Failing test is *testUntrustedCertFails*, but looks like not reproducible without running whole testcase.
> *Actual results:*
> StackTrace:
> {noformat}
> 17:03:12 java.lang.AssertionError: SSLException was expected as the second cause when certificate authentication fails
> 17:03:12 Expected: is an instance of javax.net.ssl.SSLException
> 17:03:12 but: <java.io.IOException: Broken pipe> is a java.io.IOException
> 17:03:12 at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> 17:03:12 at org.junit.Assert.assertThat(Assert.java:956)
> 17:03:12 at org.wildfly.test.integration.elytron.sasl.mgmt.ExternalMgmtSaslTestCase.assertCertAuthenticationFails(ExternalMgmtSaslTestCase.java:216)
> 17:03:12 at org.wildfly.test.integration.elytron.sasl.mgmt.ExternalMgmtSaslTestCase.lambda$testUntrustedCertFails$3(ExternalMgmtSaslTestCase.java:201)
> {noformat}
> Standard output:
> {noformat}
> [0m15:03:10,908 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Core 3.0.0.Beta30-redhat-1 "Kenny" stopped in 39ms
> [0m[0m15:03:10,910 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Core 3.0.0.Beta30-redhat-1 "Kenny" starting
> [0m[0m15:03:11,057 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
> [0m[33m15:03:11,132 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-1) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
> [0m[0m15:03:11,146 INFO [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly cumulative patch ID is: base, one-off patches include: none
> [0m[33m15:03:11,147 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-4) WFLYDM0111: Keystore /mnt/hudson_workspace/eap-7x-as-testsuite-test-core-rhel-ipv6-broken-pipe/7a0f50f2/testsuite/elytron/target/wildfly-core/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
> [0m[0m15:03:11,252 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
> [0m[0m15:03:11,256 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management
> [0m[0m15:03:11,256 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://[::1]:9990
> [0m[0m15:03:11,260 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 3.0.0.Beta30-redhat-1 "Kenny" started in 345ms - Started 83 of 86 services (17 services are lazy, passive or on-demand)
> [0m[0m15:03:11,369 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0236: Suspending server with no timeout.
> [0m[0m15:03:11,399 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
> [0m[0m15:03:11,474 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Core 3.0.0.Beta30-redhat-1 "Kenny" stopped in 45ms
> [0m
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-9098) Infinispan & Wildfly
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-9098?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on WFLY-9098:
---------------------------------------
Hi [~majidmostafavi] could you please provide some more details?
Apparently you are using the {{org.infinispan.query}} package, which is not included in WildFly.
> Infinispan & Wildfly
> ---------------------
>
> Key: WFLY-9098
> URL: https://issues.jboss.org/browse/WFLY-9098
> Project: WildFly
> Issue Type: Bug
> Reporter: Majid Mostafavi
> Assignee: Sanne Grinovero
>
> 2:05:27,107 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 131) WFLYCLINF0003: Stopped nejat#nejat.org.hibernate.cache.internal.StandardQueryCache cache from hibernate container
> 22:05:27,115 WARN [org.infinispan.factories.ComponentRegistry] (ServerService Thread Pool -- 131) ISPN000189: While stopping a cache or cache manager, one of its components failed to stop: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.notifications.cachelistener.CacheNotifierImpl.stop() on object of type CacheNotifierImpl
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:859)
> at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:664)
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:564)
> at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:260)
> at org.infinispan.cache.impl.SimpleCacheImpl.stop(SimpleCacheImpl.java:149)
> at org.infinispan.cache.impl.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:331)
> at org.hibernate.cache.infinispan.impl.BaseRegion.destroy(BaseRegion.java:124)
> at org.hibernate.cache.spi.UpdateTimestampsCache.destroy(UpdateTimestampsCache.java:216)
> at org.hibernate.internal.CacheImpl.close(CacheImpl.java:263)
> at org.hibernate.internal.SessionFactoryImpl.close(SessionFactoryImpl.java:1074)
> at org.hibernate.jpa.internal.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:347)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:237)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:217)
> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2.run(PersistenceUnitServiceImpl.java:262)
> 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: {color:red}{color:#d04437}java.lang.NullPointerException{color}{color}
> at org.infinispan.query.dsl.embedded.impl.BaseJPAFilterIndexingServiceProvider.stop(BaseJPAFilterIndexingServiceProvider.java:51)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.stop(CacheNotifierImpl.java:216)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.infinispan.commons.util.Refl
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-9098) Infinispan & Wildfly
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-9098?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero reassigned WFLY-9098:
-------------------------------------
Assignee: Sanne Grinovero (was: Jason Greene)
> Infinispan & Wildfly
> ---------------------
>
> Key: WFLY-9098
> URL: https://issues.jboss.org/browse/WFLY-9098
> Project: WildFly
> Issue Type: Bug
> Reporter: Majid Mostafavi
> Assignee: Sanne Grinovero
>
> 2:05:27,107 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 131) WFLYCLINF0003: Stopped nejat#nejat.org.hibernate.cache.internal.StandardQueryCache cache from hibernate container
> 22:05:27,115 WARN [org.infinispan.factories.ComponentRegistry] (ServerService Thread Pool -- 131) ISPN000189: While stopping a cache or cache manager, one of its components failed to stop: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.notifications.cachelistener.CacheNotifierImpl.stop() on object of type CacheNotifierImpl
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:859)
> at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:664)
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:564)
> at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:260)
> at org.infinispan.cache.impl.SimpleCacheImpl.stop(SimpleCacheImpl.java:149)
> at org.infinispan.cache.impl.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:331)
> at org.hibernate.cache.infinispan.impl.BaseRegion.destroy(BaseRegion.java:124)
> at org.hibernate.cache.spi.UpdateTimestampsCache.destroy(UpdateTimestampsCache.java:216)
> at org.hibernate.internal.CacheImpl.close(CacheImpl.java:263)
> at org.hibernate.internal.SessionFactoryImpl.close(SessionFactoryImpl.java:1074)
> at org.hibernate.jpa.internal.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:347)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:237)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:217)
> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2.run(PersistenceUnitServiceImpl.java:262)
> 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: {color:red}{color:#d04437}java.lang.NullPointerException{color}{color}
> at org.infinispan.query.dsl.embedded.impl.BaseJPAFilterIndexingServiceProvider.stop(BaseJPAFilterIndexingServiceProvider.java:51)
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.stop(CacheNotifierImpl.java:216)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.infinispan.commons.util.Refl
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 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:
---------------------------------------
[~gesker] did you mean to ask the Hibernate team to add it to the feature pack we release with each release off Hibernate ORM ?
> 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: 10.1.0.Final
> Environment: Linux / OpenJDK 8 / WildFly 10.1.0.Final
> Reporter: Dennis Gesker
> Assignee: Jason Greene
> Labels: wildfly-feature-pack
> Fix For: 10.2.0.Final
>
>
> 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.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-9209) Patch needed for WF 10.1.0.Final for CVE-2016-4970
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/WFLY-9209?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on WFLY-9209:
---------------------------------------
[~jhovell] while we love openness and open source, security issues are often not suitable to be discussed in public.
The right process is described here: https://access.redhat.com/security/team/contact/
> Patch needed for WF 10.1.0.Final for CVE-2016-4970
> --------------------------------------------------
>
> Key: WFLY-9209
> URL: https://issues.jboss.org/browse/WFLY-9209
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.1.0.Final
> Reporter: John Hovell
> Assignee: Jason Greene
>
> Several 3rd party security scanners we use flag Wildfly 10.1.0.Final as containing the following DoS vulnerability:
> https://nvd.nist.gov/vuln/detail/CVE-2016-4970
> I have found a Redhat errata and bugzilla but neither references Wildfly specifically nor does CVE-2016-4970 turn up on a search here in Jira.
> https://access.redhat.com/security/cve/cve-2016-4970
> https://bugzilla.redhat.com/show_bug.cgi?id=1343616
> I am trying to understand if Wildfly team believes WF 10.1.0 is vulnerable and if so if it should be patched. I understand that WF 11 has an upgraded version of Netty which is not vulnerable to this CVE, but it is still in beta and security patches shouldn't need a major version upgrade.
> I am also trying to understand the official channel that the Wildfly project uses to track security errata as a search for "CVE" here only turns up ~3 other issues. Are the above Redhat links the place to look? And if so should Wildfly be marked as not affected, or why do they only refer to very very old versions of JBoss? I'd still be confused however how WF wouldn't be affected as it seems to contain wildfly/modules/system/layers/base/io/netty/main/netty-all-4.0.33.Final.jar which does not appear to be back-ported with a fix.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months