| Summary: | Unable to start portal with jdk1.6 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | vramik | ||||||
| Component: | Portal | Assignee: | Peter Palaga <ppalaga> | ||||||
| Status: | VERIFIED --- | QA Contact: | Tomas Kyjovsky <tkyjovsk> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.1.1 | CC: | epp-bugs, theute, tkyjovsk | ||||||
| Target Milestone: | ER01 | ||||||||
| Target Release: | 6.1.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1185260 (view as bug list) | Environment: | |||||||
| Last Closed: | Type: | Bug | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1185260 | ||||||||
| Attachments: |
|
||||||||
|
Description
vramik
2013-12-04 10:18:01 UTC
Created attachment 832536 [details]
log
As of JP 6.1.1.DR1, the PBR is fixed, but there is at least one more lib with Unsupported major.minor version 51.0. [0m[33m18:02:22,067 WARN [org.jboss.modules] (MSC service thread 1-4) Failed to define class org.jgroups.ChannelFactory in Module "org.jgroups:gatein" from local module loader @2d1e233 (finder: local module finder @215983b7 (roots: /home/ppalaga/scratch/gatein-portal-3.6.x-prod/wildFly/modules,/home/ppalaga/scratch/gatein-portal-3.6.x-prod/wildFly/modules/system/layers/gatein,/home/ppalaga/scratch/gatein-portal-3.6.x-prod/wildFly/modules/system/layers/base)): java.lang.UnsupportedClassVersionError: org/jgroups/ChannelFactory : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_35] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [rt.jar:1.6.0_35] ... This is fixed by putting jgroups jar compiled by JDK 1.6 Try get jgroups from http://download.devel.redhat.com/brewroot/repos/jb-jpp-6-build/latest/maven/jgroups/jgroups/2.6.22.Final/jgroups-2.6.22.Final.jar With jgroups-2.6.22.Final.jar manually replaced with the one refered to by Honza, the portal compiled from 3.6.x branch can be run on Java 6. I tried that to ensure that there are other incompatible libraries. In JBoss Portal 6.1.1.ER1 produced by Honza, a proper jgroups-2.6.22.Final-redhat-x.jar should be included which should work out of the box. All tests for JVM compatibility for 6.1.1.CR1 PASSED. https://tcms.engineering.redhat.com/run/114753/ I did a quick manual test with OpenJDK 1.6.0_27-b27 and the server started ok. I'm reopening this issue for 6.2.0.ER7. java.lang.UnsupportedClassVersionError: org/jgroups/ChannelFactory : Unsupported major.minor version 51.0 Created attachment 983096 [details]
server.log of 6.2.0.ER7 with Oracle JDK 1.6, RHEL5
Tomáš, please do not hijack bugs from old & released versions. It simply does not mirror the real state of affairs like this. This bug has been fixed in 6.1.1 and it will stay fixed there forever unless, someone is able to reproduce it on 6.1.1. Being able to reproduce on 6.2 is a distinct issue with differing steps to reproduce. Cloning is the right instrument for situations like this. Please clone this bug (you may want to add 6.2 to the subject of the clone) and please revert all you have changed here. |