Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1178152

Summary: all-query needs fix in relocation for org.jboss.logging
Product: [JBoss] JBoss Data Grid 6 Reporter: Tomas Sykora <tsykora>
Component: EmbeddedAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.4.0CC: jdg-bugs, slaskawi
Target Milestone: CR1   
Target Release: 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-28 13:26:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1153111    

Description Tomas Sykora 2015-01-02 15:20:17 UTC
This is regression in ER8. (ER7 was ok)

<relocation>
<pattern>org.jboss.logging</pattern>                           <shadedPattern>infinispanembedded.org.jboss.logging</shadedPattern>
</relocation>

needs to be

<relocation>
<pattern>org.jboss.logging</pattern>                           <shadedPattern>infinispan.org.jboss.logging</shadedPattern>
</relocation>

PR fixing this comming in a couple of minutes. 

Details:

testAllEmbedded(org.infinispan.all.embeddedquery.EmbeddedAllQueryTest)  Time elapsed: 0.17 sec  <<< FAILURE!
java.util.ServiceConfigurationError: org.infinispan.lifecycle.ModuleLifecycle: Provider org.infinispan.query.impl.LifecycleManager could not be instantiated
	at infinispan.org.jboss.logging.Logger$1.run(Logger.java:2260)
	at java.security.AccessController.doPrivileged(Native Method)
	at infinispan.org.jboss.logging.Logger.getMessageLogger(Logger.java:2227)
	at infinispan.org.jboss.logging.Logger.getMessageLogger(Logger.java:2214)
	at org.infinispan.util.logging.LogFactory.getLog(LogFactory.java:22)
	at org.infinispan.query.impl.LifecycleManager.<clinit>(LifecycleManager.java:70)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
	at java.lang.Class.newInstance(Class.java:438)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at org.infinispan.commons.util.ServiceFinder.addServices(ServiceFinder.java:60)
	at org.infinispan.commons.util.ServiceFinder.load(ServiceFinder.java:42)
	at org.infinispan.util.ModuleProperties.resolveModuleLifecycles(ModuleProperties.java:41)
	at org.infinispan.factories.GlobalComponentRegistry.<init>(GlobalComponentRegistry.java:105)
	at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:210)
	at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:150)
	at org.infinispan.all.embeddedquery.EmbeddedAllQueryTest.testAllEmbedded(EmbeddedAllQueryTest.java:27)

Comment 2 Tomas Sykora 2015-01-02 15:28:18 UTC
PR ready: https://github.com/infinispan/jdg/pull/419

Comment 3 Tomas Sykora 2015-01-05 15:50:13 UTC
Setting target to 6.4.0 CR1

Comment 4 Tomas Sykora 2015-01-06 09:41:40 UTC
Setting priority to urgent to reflect current situation. 
CR1 is comming soon.

Comment 5 Sebastian Ɓaskawiec 2015-01-08 11:17:25 UTC
PR: https://github.com/infinispan/jdg/pull/419

Comment 6 Tomas Sykora 2015-01-12 10:54:32 UTC
It's working now. 

Thanks Sebastian and Dave for integrating this!