]
Shelly McGowan reassigned JBAS-9406:
------------------------------------
Assignee: jaikiran pai
Bean class local view SFSB fails to replicate
---------------------------------------------
Key: JBAS-9406
URL:
https://issues.jboss.org/browse/JBAS-9406
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 6.0.0.Final
Reporter: Jozef Hartinger
Assignee: jaikiran pai
Priority: Critical
Fix For: 6.1.0
Attachments: foo.war, non-serializable.log, serializable.log
The attached application contains a simple @SessionScoped SFSB:
@SessionScoped
@Stateful
@Named
public class Foo implements Serializable {
private String text;
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public void submit()
{
}
@Remove
public void remove() {
}
}
When an action is invoked on the bean, I can see replication failing in the server log.
See the attached logs for details. In the first one, the Foo bean does not implement
serializable (as it is not required to do so). The second log was captured after the bean
has been changed to implement the Serializable interface.
To reproduce:
1) Create two JBoss AS 6 instances as described at
https://github.com/weld/core/blob/master/examples/README.md
2) Deploy the attached war file
3) Open
http://localhost:8080/foo/foo.xhtml
4) Enter any text and click submit
This is where the replication fails and errors appear in the log
5) Verify text appears at
http://localhost:8180/foo/foo.xhtml - you'll need to copy
session id parameter as well, e.g.
http://localhost:8180/foo/foo.xhtml;jsessionid=PX5Q-ORdeUJLifFqqrOkQA__
Note that the replication succeeds if I use an explicit @Local interface for the Foo
bean.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: