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

Bug 1080057

Summary: DR1 is missing properly compiled modules for JDKs version 6
Product: [JBoss] JBoss Data Grid 6 Reporter: Tomas Sykora <tsykora>
Component: BuildAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: jdg-bugs, vjuranek
Target Milestone: DR2   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 14:04:31 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:
Attachments:
Description Flags
6.3.0 DR1 fails with JDKs 6 none

Description Tomas Sykora 2014-03-24 15:20:49 UTC
Created attachment 878106 [details]
6.3.0 DR1 fails with JDKs 6

A pile of specific modules was compiled with JDK 1.7 with target 1.7. Now we experience problems running JDK using any JDK of version 1.6.

Suggested problematic bits by Tristan -- infinispan, jgroups, security, endpoint subsystem and forked CLI.

Please see attached server output file with related ERRORs.

No external JIRA as this seems to be product related.

Comment 2 Tomas Sykora 2014-03-26 09:56:20 UTC
Just a note here -- using for example IBM JDK 7, JDG can start, but can't be properly monitored by JON (probably from the same reason ^).

2014-03-26 05:53:11,902 ERROR [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failed to start component for Resource[id=11858, uuid=49d89899-1517-49a1-bbf2-88429bc2656c, type={JDG}Infinispan, key=subsystem=infinispan, name=infinispan, parent=JDG (0.0.0.0:10090)] from synchronized merge.
org.rhq.core.clientapi.agent.PluginContainerException: Could not build component for Resource [Resource[id=11858, uuid=49d89899-1517-49a1-bbf2-88429bc2656c, type={JDG}Infinispan, key=subsystem=infinispan, name=infinispan, parent=JDG (0.0.0.0:10090)]]
        at org.rhq.core.pc.inventory.InventoryManager.prepareResourceForActivation(InventoryManager.java:1826)
        at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:1903)
        at org.rhq.core.pc.inventory.InventoryManager.refreshResourceComponentState(InventoryManager.java:3371)
        at org.rhq.core.pc.inventory.InventoryManager.processSyncInfo(InventoryManager.java:2939)
        at org.rhq.core.pc.inventory.InventoryManager.processSyncInfo(InventoryManager.java:2946)
        at org.rhq.core.pc.inventory.InventoryManager.processSyncInfo(InventoryManager.java:2946)
        at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1242)
        at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1211)
        at org.rhq.core.pc.inventory.InventoryManager.handleReport(InventoryManager.java:1193)
        at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:126)
        at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:61)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.UnsupportedClassVersionError: org/infinispan/server/rhq/IspnComponent : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at org.rhq.core.pc.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:63)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.rhq.core.pc.plugin.PluginComponentFactory.instantiateClass(PluginComponentFactory.java:288)
        at org.rhq.core.pc.plugin.PluginComponentFactory.buildResourceComponent(PluginComponentFactory.java:170)
        at org.rhq.core.pc.inventory.InventoryManager.prepareResourceForActivation(InventoryManager.java:1824)
        ... 17 more

Comment 3 Vojtech Juranek 2014-04-07 12:10:31 UTC
Verified with JDG server and JDK 1.6.0_45. JON monitoring with IBM 1.7 wasn't verified. As the subject of the issue is JDK 1.6 incompatibility, marking as verified.

Comment 4 Tomas Sykora 2014-04-08 08:56:32 UTC
I will take care about all JON related aspects. Thank you, Vojto, very much for JDG functionality verification!