[webbeans-issues] [JBoss JIRA] Created: (WBRI-140) Proxied beans cannot be deserialized
by David Allen (JIRA)
Proxied beans cannot be deserialized
------------------------------------
Key: WBRI-140
URL: https://jira.jboss.org/jira/browse/WBRI-140
Project: Web Beans RI
Issue Type: Bug
Affects Versions: 1.0.0.ALPHA2
Reporter: David Allen
The test ClientProxyTest.testSimpleWebBeanClientProxyIsSerializable fails when run in a container due to classloader issues. Javassist is trying to use its own classloader, which in JBoss AS is a server classloader, to load the class loaded by the WAR classloader. The correct classloaders need to be setup with Javassist in order for persistence to work.
Current error in the server is:
java.io.InvalidClassException: org.jboss.jsr299.tck.unit.lookup.clientProxy.TunedTuna
at javassist.util.proxy.SerializedProxy.readResolve(SerializedProxy.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.jboss.jsr299.tck.AbstractTest.deserialize(AbstractTest.java:268)
at org.jboss.jsr299.tck.unit.lookup.clientProxy.ClientProxyTest.testSimpleWebBeanClientProxyIsSerializable(ClientProxyTest.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[webbeans-issues] [JBoss JIRA] Created: (WBRI-281) All producermethods.po and producermethods.pot files are broken.
by Daisuke Sano (JIRA)
All producermethods.po and producermethods.pot files are broken.
----------------------------------------------------------------
Key: WBRI-281
URL: https://jira.jboss.org/jira/browse/WBRI-281
Project: Web Beans
Issue Type: Bug
Components: Documentation
Affects Versions: 1.0.0.PREVIEW1, 1.0.0.BETA1, 1.0.0.ALPHA2, 1.0.0.ALPHA1, 1.0.0.CR1, 1.0.0.CR2
Reporter: Daisuke Sano
Fix For: 1.0.0.CR2
In webbeans/doc/trunk/reference/en-US/producermethods.xml, because of unexpected occurence of the dot (.) character, all producermethods.po and producermethods.pot files are broken.
doc/trunk/reference/en-US/producermethods.xml
...
<para>This injection point has the same type and binding annotations as the producer
method, so it resolves to the producer method using the usual Web Beans injection
rules. The producer method will be called by the Web Bean manager to obtain an instance
to service this injection point.</para>. <-here
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months