[jboss-remoting-issues] [JBoss JIRA] Updated: (JBREM-1072) Synchronize access to static maps in MarshalFactory
Ron Sigal (JIRA)
jira-events at lists.jboss.org
Thu Dec 25 01:01:55 EST 2008
[ https://jira.jboss.org/jira/browse/JBREM-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ron Sigal updated JBREM-1072:
-----------------------------
Attachment: jboss-remoting.jar
Attached jboss-remoting.jar in which the Maps in MarshalFactory are synchronized.
jboss-remoting.jar identifies itself:
$ java -jar jboss-remoting.jar
JBossRemoting Version 2.2.2.SP10+JBREM-1041+1042+1045+1050+1052+1055+1056+1069+1070+1072
> Synchronize access to static maps in MarshalFactory
> ---------------------------------------------------
>
> Key: JBREM-1072
> URL: https://jira.jboss.org/jira/browse/JBREM-1072
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.2.2.SP10, 2.5.0.SP2 (Flounder)
> Reporter: Ron Sigal
> Assignee: Ron Sigal
> Fix For: 2.2.2.SP11, 2.5.0.SP3 (Flounder)
>
> Attachments: jboss-remoting.jar
>
>
> Users have experienced the exception
> org.jboss.remoting.marshal.InvalidMarshallingResource: Can not find a valid marshaller for data type: serializable
> at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:79)
> at org.jboss.remoting.Client.invoke(Client.java:1634)
> at org.jboss.remoting.Client.invoke(Client.java:548)
> at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
> This is strange, since a marshaller for the datatype "serializable" is hardcoded in org.jboss.remoting.marshal.MarshalFactory. However, access to the static Map marshallers is not synchronized, so it's possible that one subsystem is adding a marshaller (e.g., EJB2, JBossMessaging) at the same time that EJB3 is trying to extract a marshaller. The same observation applies to unmarshallers.
--
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
More information about the jboss-remoting-issues
mailing list