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

Bug 1090596

Summary: Seam 2.2 Drools doesn't work in EAP 6.3 on JDK8
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ron Šmeral <rsmeral>
Component: Seam2Assignee: Marek Novotny <mnovotny>
Status: CLOSED NOTABUG QA Contact: Marek Schmidt <maschmid>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.3.0CC: amelicha, bmaxwell
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-20 20:07:50 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: 1091383    
Bug Blocks:    
Attachments:
Description Flags
Reproducer
none
server.log none

Description Ron Šmeral 2014-04-23 17:11:11 UTC
Created attachment 889034 [details]
Reproducer

Description of problem:
The Seam 2.2 Drools module fails in EAP 6.3 on JDK8 with the following exception:
...
Caused by: java.lang.RuntimeException: wrong class format
	at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:260) [drools-compiler.jar:5.1.0.BRMS-jdk7]
	at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:204) [drools-compiler.jar:5.1.0.BRMS-jdk7]
...
Caused by: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
	at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:372) [ecj-4.3.1.redhat-1.jar:4.3.1.redhat-1]
	at org.drools.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:254) [drools-compiler.jar:5.1.0.BRMS-jdk7]

Version-Release number of selected component (if applicable):
EAP 6.3.0.ER2 (target)
EAP 5.3.0.ER3 (Seam)

Steps to reproduce:
1. Deploy the EAP6-migrated Seam 2.2 Drools example to EAP 6.3 running on JDK8.
2. Open http://localhost:8080/seam-drools
3. Submit any valid number

Actual results:
HTTP 500 Error appears, with the above mentioned exception.

Expected results:
The application works.

Comment 1 Ron Šmeral 2014-04-23 17:12:55 UTC
Created attachment 889035 [details]
server.log

Comment 2 JBoss JIRA Server 2014-07-08 12:39:49 UTC
Marek Novotny <mnovotny> updated the status of jira JBPAPP-11145 to Resolved

Comment 4 Brad Maxwell 2017-02-20 20:07:50 UTC
Closing out old issues, this does not look like EAP issue as there is a drools bug, if there is an issue with JBoss, please open an upstream jira 
https://issues.jboss.org/browse/DROOLS-329