[richfaces-issues] [JBoss JIRA] (RF-13266) mediaOutput not working anymore on Glassfish3 and EAP6.1
Brian Leathem (JIRA)
issues at jboss.org
Tue Dec 17 14:37:32 EST 2013
[ https://issues.jboss.org/browse/RF-13266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem resolved RF-13266.
--------------------------------
Assignee: Brian Leathem (was: Matej Novotny)
Resolution: Done
The first demo worked fine for me on EAP 6.1.1 (as expected), the 2nd demo failed. I corrected the problem by adding the primitive Array types to the whitelistClassNameCache in the LookAheadObjectInputStream class.
[~manovotn] please verify this on EAP 6
[~fabmars] if you could, please try this on Glassfish. By tomorrow you should be able to download the SNAPSHOT build from the JBoss SNAPSHOTS repo:
https://repository.jboss.org/nexus/content/repositories/snapshots/org/richfaces/
> mediaOutput not working anymore on Glassfish3 and EAP6.1
> --------------------------------------------------------
>
> Key: RF-13266
> URL: https://issues.jboss.org/browse/RF-13266
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.4
> Environment: Glassfish 3.1.2.2 patched with Weld 1.1.14 (the problem appears also on earlier Weld builds) and JSF 2.1.26 and JDK 1.7.0_45
> Reporter: Fab Mars
> Assignee: Brian Leathem
> Labels: regression
> Fix For: 4.3.5
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> This is a followup to https://issues.jboss.org/browse/RF-13098 focusing on Glassfish3.
> I have 2 mediaOutput in my code, none works.
> The first one passes a Long as the value to the createContent method and the expected output is a PDF. I get
> SEVERE: Input error for deserialize data java.io.InvalidClassException: Unauthorized deserialization attempt; org.jboss.weld.util.el.ForwardingMethodExpression
> The second one passes an array of 3 bytes (a color code) and the expected result is an image. I get
> SEVERE: Input error for deserialize data java.io.InvalidClassException: Unauthorized deserialization attempt; [B
> I'm preparing a reproducer on github and will share the url in the next comment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list