Created attachment 573084 [details] Server log Seam version: 2.2.5.EAP5 (included in EAP 5.1.2.GA) The spring example from Seam 2.2 was migrated to EAP6 according to the migration guide on Documentation-Stage (http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Beta_Documentation/Migrate_Seam_22_Archives_to_JBoss_Enterprise_Application_Platform_6.html) and the bug was verified to occur with EAP 6.0.0.ER3. When the ftests are run, they fail immediately. Relevant part of server log attached.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: This issue can be worked around by unsigning the cglib.jar as in: zip -d $SEAM_DIR/lib/cglib.jar META-INF/JBOSSCOD\*
Marek, I am unclear where this belongs. Here: http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Migration_Guide/Section-Seam_22_changes.html#Migrate_Seam_22_Archives_to_JBoss_Enterprise_Application_Platform_6 Or here: http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Migration_Guide/Section-Spring_changes.html You point the the Seam 2.2 page, but this mentions Spring.
Never mind. I misunderstood. I think I understand what you're saying here.
That issue should disappear in EAP 6 GA as we will distribute unsigned jars.
I have tested it with EAP6.0.0.ER8, which is *not* signed and the error is still the same, so apparently the signed cglib from Seam2.2.5.EAP5 doesn't work even on the unsigned EAP6.
Marek Schmidt, the problem is being the signed cglib not the signed EAP6.
Marek Novotny <mnovotny> made a comment on jira JBPAPP-8465 Bundle cglib.jar from jboss-as/common/lib/cglib.jar or edit jboss-as/bin/security_cc.policy and add something like {noformat} grant codeBase "file:${jboss.home.dir}/common/lib/cglib.jar" { permission java.security.AllPermission; }; {noformat}
WFK 2.0 does not delivere Seam 2.2, however, these issues have already been documented in the EAP 6 release notes, so no need to duplicate each issue in WFk 2.0 release notes. However, we should include a pointer to the EAP 6 release notes to assist customers looking for Seam 2.2 bug information.
Marek Novotny <mnovotny> updated the status of jira JBPAPP-8465 to Resolved
Marek Novotny <mnovotny> made a comment on jira JBPAPP-8465 I have removed cglib from spring and jee5/booking examples. They can use cglib and asm from EAP AS libraries. cglib is now required only for seam-gen and reverse db generation.
Ron Šmeral <rsmeral> updated the status of jira JBPAPP-8465 to Reopened
Ron Šmeral <rsmeral> made a comment on jira JBPAPP-8465 It appears to be still broken, the CGLIB is not found on the classpath: {noformat} Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces. {noformat}
Ron Šmeral <rsmeral> made a comment on jira JBPAPP-8465 I haven't read the previous comment properly. After including {{jboss-as/common/lib/cglib.jar}} in the classpath, the test passes.
Ron Šmeral <rsmeral> updated the status of jira JBPAPP-8465 to Closed
Russell Dickenson <rdickens> updated the status of jira JBPAPP-8465 to Reopened
Russell Dickenson <rdickens> made a comment on jira JBPAPP-8465 Issue reopened to change Release Notes field.
Russell Dickenson <rdickens> updated the status of jira JBPAPP-8465 to Closed